/* Form layout */
.form-group {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.form-label {
  min-width: 120px;
  margin-right: 10px;
  font-weight: bold;
}

.form-control-container {
  flex: 1;
}

/* Form elements */
.form-control,
input,
select,
textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #F5D117;
  border-radius: 4px;
  padding: 8px;
  font-size: 1rem;
  background-color: #fff;
  color: #333;
}

textarea.form-control {
  resize: none;
}

input:disabled,
select:disabled,
textarea:disabled {
  background-color: #333;
  color: #999;
}

/* Form validation */
.form-error {
  color: red;
  font-size: 0.9em;
  margin-top: 5px;
}

/* Buttons */
.btn-submit {
  background-color: #F5D117; /* Explicitly set yellow background */
  color: #0062A6; /* Explicitly set blue text */
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
  font-weight: bold;
}

.btn-submit:hover {
  opacity: 0.9;
}

/* Responsive forms */
@media (max-width: 767px) {
  .form-group {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 10px;
  }

  .form-label {
    margin-bottom: 3px;
    font-size: 1em;
  }

  /* Compact form on mobile */
  textarea.form-control {
    height: 80px; /* Smaller textarea on mobile */
  }

  /* More compact mobile form elements */
  .form-control,
  input,
  select {
    padding: 6px;
    height: 36px;
  }

  /* Compact specific forms */
  .compact-mobile-form .form-control,
  .compact-mobile-form input,
  .compact-mobile-form select {
    padding: 5px;
    height: 34px;
  }

  .compact-mobile-form textarea.form-control {
    height: 60px;
  }

  .compact-mobile-form .btn-submit {
    padding: 8px;
    height: 40px;
  }
}