/* Overton Funding Form Styling - ISO Partner Application */

/* Form Container */
.overton-iso-form {
  background: linear-gradient(135deg, rgba(202, 228, 248, 0.3) 0%, rgba(173, 216, 230, 0.2) 100%);
  padding: 40px;
  border-radius: 12px;
  max-width: 800px;
  margin: 40px auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Form Fields - Input Styling */
.overton-iso-form input[type="text"],
.overton-iso-form input[type="email"],
.overton-iso-form input[type="number"],
.overton-iso-form textarea,
.overton-iso-form select {
  border: 2px solid #E0EEF7;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 16px;
  background-color: #FFFFFF;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  transition: all 0.3s ease;
}

.overton-iso-form input[type="text"]:focus,
.overton-iso-form input[type="email"]:focus,
.overton-iso-form input[type="number"]:focus,
.overton-iso-form textarea:focus,
.overton-iso-form select:focus {
  outline: none;
  border-color: #1A73B8;
  background-color: #F8FBFF;
  box-shadow: 0 0 0 3px rgba(26, 115, 184, 0.1);
}

/* Labels */
.overton-iso-form label {
  font-weight: 600;
  color: #1A1A1A;
  font-size: 15px;
  margin-bottom: 8px;
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Required Indicator */
.overton-iso-form .gfield_required {
  color: #E74C3C;
  font-weight: bold;
}

/* Form Sections */
.overton-iso-form .gsection {
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 1px solid #E0EEF7;
}

.overton-iso-form .gsection:last-child {
  border-bottom: none;
}

/* Section Heading */
.overton-iso-form .gsection h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1A73B8;
  margin-bottom: 25px;
  margin-top: 0;
  padding-bottom: 12px;
  border-bottom: 3px solid #7AC943;
  display: inline-block;
}

/* Field Row Spacing */
.overton-iso-form .gfield {
  margin-bottom: 24px;
}

/* Submit Button */
.overton-iso-form input[type="submit"],
.overton-iso-form button[type="submit"],
.overton-iso-form .gform_button {
  background-color: #7AC943;
  color: white;
  border: none;
  padding: 16px 48px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  box-shadow: 0 4px 12px rgba(122, 201, 67, 0.3);
}

.overton-iso-form input[type="submit"]:hover,
.overton-iso-form button[type="submit"]:hover,
.overton-iso-form .gform_button:hover {
  background-color: #6BA036;
  box-shadow: 0 6px 16px rgba(122, 201, 67, 0.4);
  transform: translateY(-2px);
}

/* Checkboxes and Radio Buttons */
.overton-iso-form input[type="checkbox"],
.overton-iso-form input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  cursor: pointer;
  accent-color: #1A73B8;
}

/* Helper Text / Descriptions */
.overton-iso-form .description {
  font-size: 14px;
  color: #666666;
  margin-top: 6px;
  font-style: italic;
}

/* Error Messages */
.overton-iso-form .validation_error,
.overton-iso-form .gfield_error {
  color: #E74C3C;
  font-size: 14px;
  margin-top: 6px;
}

.overton-iso-form .gfield_error {
  border-color: #E74C3C !important;
}

/* Validation Summary */
.overton-iso-form .validation_summary {
  background-color: #FCF1F1;
  border-left: 4px solid #E74C3C;
  padding: 16px;
  border-radius: 6px;
  margin-bottom: 25px;
  color: #C0392B;
  font-weight: 500;
}