/* --- General form container --- */
.frmpad {
  background: #ffffff;
  max-width: 600px;
  margin: 50px auto;
  padding: 30px 40px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  font-family: 'Poppins', sans-serif;
}

/* --- Labels --- */
.frmpad .form-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
  display: block;
}

/* --- Input and textarea styling --- */
.frmpad .form-control,
.frmpad select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s ease;
}

/* --- Focus state (when user clicks the field) --- */
.frmpad .form-control:focus,
.frmpad select:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
  outline: none;
}

/* --- Textarea height --- */
.frmpad textarea {
  resize: none;
}

/* --- Radio buttons and labels --- */
.form-check-label {
  font-weight: 500;
  color: #444;
}

.form-check-input {
  transform: scale(1.2);
  margin-right: 6px;
  accent-color: #007bff; /* makes the radio blue */
}

/* --- Submit button --- */
#bbn {
  background-color: #007bff;
  border: none;
  color: #fff;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 8px;
  width: 100%;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 15px;
}

#bbn:hover {
  background-color: #0056b3;
}

/* --- Responsive design --- */
@media (max-width: 576px) {
  .frmpad {
    padding: 25px;
  }

  #bbn {
    font-size: 15px;
    padding: 10px 16px;
  }
}