/* GFF Renewal Form Styles */

/* Form Container */
.gff-renewal-form {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

/* Form Sections */
.gform_page {
  margin-bottom: 30px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.gfield.gfield--type-html {
  font-size: 12px;
}

.gfield.gfield--type-section {
  font-size: 12px;
  margin-top: 0px;
  padding: 0 0 20px;
}

h3.gsection_title {
  font-size: 18px;
}

/* Field Labels */
.gform_wrapper .gfield_label {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

/* Required Field Indicator */
.gform_wrapper .gfield_required {
  color: #d32f2f;
}

/* Text Inputs */
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="url"],
.gform_wrapper input[type="number"],
.gform_wrapper textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  line-height: 1.5;
  transition: border-color 0.3s ease;
}

.gform_wrapper input[type="text"]:focus,
.gform_wrapper input[type="email"]:focus,
.gform_wrapper input[type="tel"]:focus,
.gform_wrapper input[type="url"]:focus,
.gform_wrapper input[type="number"]:focus,
.gform_wrapper textarea:focus {
  border-color: #2196f3;
  outline: none;
  box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.2);
}

/* Radio Buttons */
.gform_wrapper .gfield_radio {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gform_wrapper .gfield_radio li {
  margin-bottom: 8px;
}

/* File Upload Fields */
.gform_wrapper .gfield_fileupload_rules {
  color: #666;
  font-size: 14px;
  margin-top: 4px;
}

/* Navigation Buttons */
.gform_page_footer {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gform_page_footer .button {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.gform_page_footer .gform_next_button {
  background-color: #4caf50;
  color: white;
}

.gform_page_footer .gform_previous_button {
  background-color: #9e9e9e;
  color: white;
}

.gform_page_footer .gform_next_button:hover {
  background-color: #388e3c;
}

.gform_page_footer .gform_previous_button:hover {
  background-color: #757575;
}

/* Progress Bar */
.gf_progressbar_wrapper {
  margin-bottom: 20px;
}

.gf_progressbar {
  border-radius: 4px;
  background-color: #f5f5f5;
  padding: 1px;
}

.gf_progressbar_percentage {
  background-color: #2196f3;
  color: white;
  text-align: center;
  height: 20px;
  line-height: 20px;
  border-radius: 3px;
}

/* Validation Messages */
.gform_wrapper .validation_message {
  color: #d32f2f;
  font-size: 14px;
  margin-top: 4px;
}

.gform_wrapper .gfield_error input,
.gform_wrapper .gfield_error textarea {
  border-color: #d32f2f;
}

.ginput_preview_list {
  margin-left: auto;
}

/* Description Text */
.gform_wrapper .gfield_description {
  color: #666;
  font-size: 12px;
  margin-top: 0px;
}

/* Conditional Logic Fields */
.gfield_visibility_visible {
  display: block;
}

.gfield_visibility_hidden {
  display: none;
}

/* Currency Fields */
.gform_wrapper .ginput_container_number {
  position: relative;
}

.gform_wrapper .ginput_container_number:before {
  content: "$";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

.gform_wrapper .ginput_container_number input {
  padding-left: 24px;
}

/* Address Fields */
.gform_wrapper .address_line_1,
.gform_wrapper .address_line_2,
.gform_wrapper .address_city,
.gform_wrapper .address_state,
.gform_wrapper .address_zip,
.gform_wrapper .address_country {
  margin-bottom: 8px;
}

/* Name Fields */
.gform_wrapper .name_first,
.gform_wrapper .name_last {
  display: inline-block;
  width: calc(50% - 8px);
}

.gform_wrapper .name_first {
  margin-right: 16px;
}

/* Phone Fields */
.gform_wrapper .iti__country-name,
.gform_wrapper .iti__dial-code {
  font-size: 13px;
}



/* Save Progress */
.gform_save_link {
  color: #2196f3;
  text-decoration: none;
  font-size: 14px;
  margin-top: 10px;
  display: inline-block;
}

.gform_save_link:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .gff-renewal-form {
    padding: 10px;
  }

  .gform_wrapper .name_first,
  .gform_wrapper .name_last {
    width: 100%;
    margin-right: 0;
  }

  .gform_page_footer {
    flex-direction: column;
    gap: 10px;
  }

  .gform_page_footer .button {
    width: 100%;
  }
}

/* Debug info styling */
.debug-info {
  font-family: monospace;
  background: #f5f5f5;
  padding: 1rem;
  margin-top: 0.5rem;
  border-radius: 4px;
  font-size: 0.875rem;
  color: #666;
  word-break: break-all;
}

/* Form percentage field styling*/
.gform_wrapper .ginput_container_number:before {
  content: "";
  font-size: 13px;
  color: #222;
}
.gform_wrapper .percent-field .ginput_container_number:after {
  content: "%";
  font-size: 13px;
  color: #222;
}
.gform_wrapper .percent-field input {
  padding-left: 0;
  width: 26px !important;
  margin: 0 !important;
  padding-right: 0;
}

.gff-notice {
    padding: 12px 15px;
    margin: 15px 0;
    border-radius: 4px;
    border-left: 4px solid;
}

.gff-notice p {
    margin: 0;
    padding: 0;
}

.gff-notice-error {
    background-color: #fef7f7;
    border-left-color: #dc3232;
    color: #dc3232;
}

.gff-notice-info {
    background-color: #f0f6fc;
    border-left-color: #2271b1;
    color: #2271b1;
}
