/* ============================================================
   GF Customized Booking System — Modern UI v3
   Author: Ishan Sahu
   Brand: Schengen Travel  |  Primary: #3962a0
   Style ref: Loseva.pro step-form aesthetic
   ============================================================ */

:root {
  --primary:        #3962a0;
  --primary-dark:   #2c4f87;
  --primary-light:  #eef3fb;
  --accent:         #5b8dd9;
  --success:        #22c55e;
  --error:          #ef4444;
  --text:           #111827;
  --text-mid:       #374151;
  --text-muted:     #9ca3af;
  --border:         #e5e7eb;
  --border-focus:   #3962a0;
  --bg:             #f0f2f5;
  --card:           #ffffff;
  --shadow-card:    0 8px 40px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.06);
  --shadow-sm:      0 1px 3px rgba(0,0,0,.07);
  --radius-card:    20px;
  --radius-input:   50px;
  --radius-pill:    50px;
  --radius-sm:      12px;
  --transition:     all .2s cubic-bezier(.4,0,.2,1);
}

/* ── Page background ── */
body { background-color: var(--bg); }

/* ============================================================
   PROGRESS BAR  —  Segmented thin track  +  dots
   ============================================================ */

ul.progressbar.nav-wizard {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 0 0 0;
  background: transparent;
  box-shadow: none;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  overflow: visible;
  position: relative;
  counter-reset: step-counter;
  /* Top strip of the unified card */
  background: var(--card);
  padding: 28px 40px 0 40px;
}

/* ─ connecting track line ─ */
ul.progressbar.nav-wizard::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 40px;
  right: 40px;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  z-index: 0;
}

.progressbar > li {
  flex: 1;
  float: none;
  text-align: center;
  position: relative;
  counter-increment: step-counter;
  padding-bottom: 16px;
}

/* Filled track segment for done/active steps */
.progressbar > li.done::after,
.progressbar > li.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  z-index: 1;
}
.progressbar > li.active::after {
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

/* Step link layout */
.progressbar > li > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 13px;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  position: relative;
  z-index: 2;
  cursor: default;
  pointer-events: none;
}

/* Step dot circle */
.progressbar > li > a::before {
  content: counter(step-counter);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f3f4f6;
  border: 2px solid var(--border);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  transition: var(--transition);
}

/* Kill old chevron pseudo-elements */
.progressbar > li > a::after { display: none !important; }

/* Done step */
.progressbar > li.done > a { color: var(--primary); }
.progressbar > li.done > a::before {
  content: "✓";
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-size: 14px;
}

/* Active step */
.progressbar > li.active > a {
  color: var(--primary);
  font-weight: 700;
}
.progressbar > li.active > a::before {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(57,98,160,.14);
}

/* Remove old radius overrides */
.progressbar > li:first-child > a,
.progressbar > li:last-child > a {
  border-radius: 0;
  background: transparent;
}

/* ─ Mobile icons ─ */
.ids-progress i.fa { display: none; }
@media screen and (max-width: 767px) {
  .m-hide { display: none; }
}

/* ─ Step visibility rules — preserved exactly ─ */
.progressbar li.step-2,
.progressbar li.step-3 { display: none; }
.progressbar li.active.step-2,
.progressbar li.active.step-3,
.progressbar li.active.step-4 { display: flex; align-items: center; justify-content: center; }
.step-number-3 li.step-2 { display: none; }
.step-number-2 li.step-3 { display: none; }
.progressbar li { width: 50%; }
.progressbar.step-number-3 li { width: 25%; }
.step-number-3 li.step-2,
.step-number-3 li.step-3 { display: flex; align-items: center; justify-content: center; }
.step-number-4 li.step-2,
.step-number-4 li.step-3,
.step-number-4 li.step-4 { display: flex; align-items: center; justify-content: center; }

.progressbar.step-number-4.hotel-no.insurance-no li.step-2,
.progressbar.step-number-4.hotel-no.insurance-no li.step-3,
.progressbar.step-number-2.hotel-yes.insurance-no li.step-3,
.progressbar.step-number-4.hotel-yes.insurance-no li.step-3,
.progressbar.step-number-3.hotel-no.insurance-yes li.step-2,
.progressbar.step-number-4.hotel-no.insurance-yes li.step-2,
.progressbar.step-number-4.insurance-no li.step-3 { display: none; }

.insurance .progressbar.nav-wizard.step-number-2 li.step-2 { display: flex; align-items: center; justify-content: center; }
.progressbar.step-number-4.hotel-no.insurance-no li,
.insurance .progressbar.nav-wizard.step-number-1 li { width: 50%; }

.progressbar.step-number-2.hotel-yes.insurance-no li,
.progressbar.step-number-4.hotel-yes.insurance-no li,
.progressbar.step-number-3.hotel-no.insurance-yes li,
.progressbar.step-number-4.hotel-no.insurance-yes li,
.progressbar.step-number-2.insurance-no li,
.progressbar.step-number-4.insurance-no li,
.flight-hotel-booking .progressbar.nav-wizard.step-number-1 li { width: 33.33%; }

.progressbar.step-number-2.hotel-yes.insurance-yes li.step-2,
.progressbar.step-number-2.hotel-yes.insurance-yes li.step-3,
.progressbar.step-number-2.insurance-yes li.step-3,
.flight-hotel-insurance .progressbar.nav-wizard.step-number-1 li.step-2,
.flight-hotel-insurance .progressbar.nav-wizard.step-number-1 li.step-3,
.flight-hotel-insurance .progressbar.nav-wizard.step-number-2 li.step-2,
.flight-hotel-insurance .progressbar.nav-wizard.step-number-2 li.step-3,
.flight-hotel-insurance .progressbar.nav-wizard.step-number-3 li.step-2,
.flight-hotel-insurance .progressbar.nav-wizard.step-number-3 li.step-3,
.flight-hotel-insurance .progressbar.nav-wizard.step-number-4 li.step-2,
.flight-hotel-insurance .progressbar.nav-wizard.step-number-4 li.step-3,
.flight-hotel-booking .progressbar.nav-wizard.step-number-1 li.step-2 { display: flex; align-items: center; justify-content: center; }

.progressbar.step-number-2.hotel-yes.insurance-yes li,
.progressbar.step-number-4.hotel-yes.insurance-yes li,
.progressbar.step-number-2.insurance-yes li,
.progressbar.step-number-4.insurance-yes li,
.progressbar.step-number-4 li,
.flight-hotel-insurance .progressbar.nav-wizard li { width: 25%; }

.insurance .progressbar.progressbar.step-number-1 li.step-2,
.insurance .progressbar.progressbar.step-number-1 li.step-3 { display: none; }
.insurance .progressbar.progressbar.step-number-3.hotel-yes.insurance-no li.step-2,
.insurance .progressbar.progressbar.step-number-4.hotel-yes.insurance-no li.step-2,
.insurance .progressbar.progressbar.step-number-2.hotel-no.insurance-yes li.step-3,
.insurance .progressbar.progressbar.step-number-3.hotel-no.insurance-yes li.step-3,
.insurance .progressbar.progressbar.step-number-4.hotel-no.insurance-yes li.step-3 { display: none; }
.insurance .progressbar.progressbar.step-number-4.hotel-yes.insurance-no li.step-3,
.insurance .progressbar.progressbar.step-number-3.hotel-no.insurance-yes li.step-2,
.insurance .progressbar.progressbar.step-number-4.hotel-no.insurance-yes li.step-2 { display: flex; align-items: center; justify-content: center; }
.insurance .progressbar.progressbar.step-number-3.hotel-yes.insurance-no li,
.insurance .progressbar.progressbar.step-number-2.hotel-no.insurance-yes li { width: 33.33%; }

/* ============================================================
   FORM SECTION CONTAINERS  —  unified card with nav bar on top
   ============================================================ */

.ids-section {
  background: var(--card);
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 36px 40px 40px !important;
  border: none;
  position: relative;
}

/* First page (no nav bar above) gets full radius */
.ids-section.no-nav-bar {
  border-radius: var(--radius-card);
}

.ids-section2 {
  background: var(--card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 28px 32px !important;
  border: 1px solid var(--border);
}

/* ============================================================
   SECTION TITLES
   ============================================================ */

.gfield.gsection.ids-tittle {
  background: transparent;
  border-bottom: none;
  margin-bottom: 4px !important;
}

body .ids-tittle h2.section_title {
  padding: 8px 0 4px !important;
  font-weight: 800;
  font-size: 26px;
  color: var(--text);
  letter-spacing: -.5px;
  line-height: 1.25;
}

.ids-tittle .gsection_description {
  text-align: left;
  font-size: 14px !important;
  color: var(--text-muted);
  line-height: 1.55;
}

.gsection_title {
  text-align: left;
  line-height: 1.3;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.4px;
}
.gsection_title:before { display: none; }

/* ============================================================
   LABELS  —  clean, no uppercase
   ============================================================ */

.ids-fields label,
body .gform_wrapper .gform_fields li label.gfield_label {
  font-weight: 600 !important;
  font-size: 14px !important;
  color: var(--text-mid) !important;
  line-height: 1.4;
  padding-top: 0;
  text-transform: none !important;
  letter-spacing: 0 !important;
  margin-bottom: 8px !important;
}

body .gform_wrapper .gform_fields li .gfield_description {
  font-weight: 400 !important;
  font-size: 13px !important;
  color: var(--text-muted);
}

/* ============================================================
   INPUTS & SELECTS  —  pill-shaped clean
   ============================================================ */

/* Base: all inputs in ids-fields */
.gform_wrapper li.gfield.ids-fields input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
.gform_wrapper li.gfield.ids-fields textarea.medium,
.gform_wrapper li.gfield.ids-fields textarea.large {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 18px;
  font-size: 15px;
  width: 100%;
  line-height: 1.5;
  color: var(--text);
  transition: var(--transition);
  outline: none;
  box-shadow: none;
}

/* Single-line inputs: pill shape */
.gform_wrapper li.gfield.ids-fields input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
  border-radius: var(--radius-pill);
  padding: 13px 20px;
  height: 50px;
}

.gform_wrapper li.gfield.ids-fields input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):focus,
.gform_wrapper li.gfield.ids-fields textarea.medium:focus,
.gform_wrapper li.gfield.ids-fields textarea.large:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(57,98,160,.10);
  background: #fff;
  outline: none;
}

/* Top-label selects */
.gform_wrapper .top_label li.gfield.ids-fields div:not(.ginput_container_date) select.large,
.gform_wrapper .top_label li.gfield.ids-fields div:not(.ginput_container_date) select.medium,
.gform_wrapper .top_label li.gfield.ids-fields div:not(.ginput_container_date) select,
.gform_wrapper .top_label li.gfield.ids-fields div:not(.ginput_container_date) input:not([type=radio]):not([type=checkbox]):not(.ginput_quantity) {
  background: #fff;
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius-pill) !important;
  padding: 13px 42px 13px 20px !important;
  font-size: 15px !important;
  width: 100% !important;
  height: 50px;
  line-height: 1.5;
  color: var(--text);
  transition: var(--transition);
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}

/* Select arrow */
.gform_wrapper .top_label li.gfield.ids-fields div:not(.ginput_container_date) select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath fill='%239ca3af' d='M7 8L0 0h14z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 18px center !important;
  background-size: 11px !important;
}

/* Focus on selects/inputs */
.ids-fields input[type=text]:focus,
.ids-fields input[type=email]:focus,
.ids-fields input[type=tel]:focus,
.ids-fields select:focus,
.ids-fields textarea:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(57,98,160,.10) !important;
  outline: none;
}

body #gform_92 select,
body #gform_94 select,
body #gform_97 select,
body #gform_98 select,
body #gform_100 select {
  height: 50px;
}

/* ============================================================
   RADIO BUTTONS  —  appearance:none on input (reliable)
   ============================================================ */

/* Style the native radio directly — no pseudo-element tricks */
.gform_wrapper input[type=radio] {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: #fff;
  cursor: pointer;
  transition: var(--transition);
  margin: 0;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  flex-shrink: 0;
}

.gform_wrapper input[type=radio]:hover {
  border-color: var(--accent);
}

.gform_wrapper input[type=radio]:checked {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: inset 0 0 0 4px #fff;
}

/* Radio list item layout */
.gform_wrapper .gfield_radio li {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  list-style: none;
}

.gform_wrapper .gfield_radio li label {
  display: inline !important;
  cursor: pointer;
  font-weight: 500 !important;
  font-size: 15px !important;
  color: var(--text-mid) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  line-height: 1.4;
  margin: 0 !important;
  padding: 0 !important;
  user-select: none;
}

.gform_wrapper .gfield_radio li label:hover {
  color: var(--primary) !important;
}

/* Suppress any pseudo-element from label for regular radios */
.gform_wrapper .gfield_radio li label::before,
.gform_wrapper .gfield_radio li label::after {
  display: none !important;
}

/* ── ids-radio: pill button group (for Yes/No, service selectors) ── */
.ids-radio input[type=radio] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  border: none;
  box-shadow: none;
}

.ids-radio .gfield_radio {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.ids-radio .gfield_radio li {
  margin-bottom: 0;
  display: block !important;
  position: relative;
}

.ids-radio .gfield_radio li label {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  padding: 10px 20px !important;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 600 !important;
  font-size: 14px !important;
  color: var(--text-mid) !important;
  background: var(--card);
  transition: var(--transition);
  text-transform: none !important;
  letter-spacing: 0 !important;
  user-select: none;
  margin: 0 !important;
  white-space: nowrap;
}
.ids-radio .gfield_radio li label:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
  background: var(--primary-light);
}

/* Checkmark icon for selected pill (::before on label) */
.ids-radio .gfield_radio li label::before {
  display: none !important;
}
.ids-radio input[type=radio]:checked + label::before {
  content: "✓";
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  margin-right: 2px;
}

.ids-radio input[type=radio]:checked + label {
  border-color: var(--primary) !important;
  background: var(--primary-light) !important;
  color: var(--primary) !important;
  font-weight: 700 !important;
}

/* ============================================================
   PRICE FIELD
   ============================================================ */

.gform_wrapper form li.calculated-price {
  height: 0;
  overflow: hidden;
}

body .gform_wrapper .gform_fields li.price-field {
  text-align: right;
  font-weight: 700;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body .gform_wrapper .gform_fields li.price-field span.ginput_product_price,
body .gform_wrapper .gform_fields li.price-field .ginput_container.ginput_container_total span.ginput_total {
  color: var(--primary);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
}

body .gform_wrapper .gform_fields li.price-field input {
  background: none !important;
  text-align: right;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--primary);
  font-size: 32px !important;
  font-weight: 800;
  border: 0;
  box-shadow: none !important;
  letter-spacing: -1px;
}

body .gform_wrapper div.gform_body ul.gform_fields li.gfield.price-field-text.gfield_html {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.gform_wrapper form li.gfield.ids-fields .ginput_product_price_label {
  display: none;
}

.ids-rate {
  color: var(--primary);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
}

/* ============================================================
   BUTTONS  —  pill style, clean
   ============================================================ */

.button,
.gform_wrapper input.button.gform_button,
.gform_wrapper .gform_page_footer .button.gform_button.button,
.gform_wrapper .gform_page_footer .button.gform_next_button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 34px;
  background: var(--primary);
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1px;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(57,98,160,.30);
  text-transform: none;
  text-decoration: none;
}
.button:hover,
.gform_wrapper input.button.gform_button:hover,
.gform_wrapper .gform_page_footer .button.gform_button.button:hover,
.gform_wrapper .gform_page_footer .button.gform_next_button.button:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(57,98,160,.40);
  transform: translateY(-1px);
  color: #fff !important;
}
.button:active { transform: translateY(0); }

.gform_wrapper .gform_page_footer .button.gform_button.button,
.gform_wrapper .gform_page_footer .button.gform_next_button.button {
  float: right;
  margin-right: 0;
}

/* Back button — light gray pill */
.gform_wrapper .gform_page_footer .button.gform_previous_button {
  background: #f3f4f6;
  color: var(--text-mid) !important;
  border: none;
  border-radius: var(--radius-pill);
  padding: 13px 28px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  text-transform: none;
  letter-spacing: 0;
  box-shadow: none;
}
.gform_wrapper .gform_page_footer .button.gform_previous_button:hover {
  background: #e5e7eb;
  color: var(--text) !important;
}

/* Submit button */
input#gform_submit_button_92 {
  padding: 13px 36px;
  float: right;
  border-radius: var(--radius-pill);
  background: var(--primary);
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(57,98,160,.30);
}

/* Coupon apply button */
input.ids-apply,
.gform_wrapper .ids-code input#gf_coupon_button.button {
  background: var(--primary);
  border-radius: var(--radius-pill) !important;
  font-size: 14px;
  font-weight: 700;
  border: none;
  padding: 12px 26px;
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: none;
  text-transform: none;
}
input.ids-apply:hover,
.gform_wrapper .ids-code input#gf_coupon_button.button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.gform_wrapper .schengen-visa .gform_page_footer .button.gform_button.button,
.gform_wrapper .schengen-visa .gform_page_footer .button.gform_next_button.button {
  padding: 13px 32px;
}

/* ============================================================
   PAGE FOOTER  —  clean divider + flex layout
   ============================================================ */

.gform_wrapper .gform_page_footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  margin-top: 28px;
  gap: 12px;
}

/* ============================================================
   VALIDATION / ERROR STATES
   ============================================================ */

.gform_wrapper li.gfield.gfield_error.ids-fields,
.gform_wrapper li.gfield.gfield_error.ids-fields.gfield_contains_required.gfield_creditcard_warning,
.gform_wrapper li.gfield.gfield_error.ids-radio,
.gform_wrapper li.gfield.gfield_error.ids-radio.gfield_contains_required.gfield_creditcard_warning {
  border: none;
  background: transparent;
}

.gform_wrapper li.gfield.gfield_error.ids-fields input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]),
.gform_wrapper li.gfield.gfield_error.ids-fields select,
.gform_wrapper li.gfield.gfield_error.ids-fields textarea {
  border-color: var(--error) !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,.08) !important;
}

.gform_wrapper li.gfield.gfield_error.ids-fields.gfield_contains_required div.ginput_container,
.gform_wrapper li.gfield.gfield_error.ids-fields.gfield_contains_required label.gfield_label {
  margin-top: 0;
}

.gform_wrapper .gform_page li.gfield.gfield_error { background: transparent; }

.gform_wrapper .gform_page li.gfield.gfield_error.gfield_contains_required div.ginput_container,
.gform_wrapper .gform_page li.gfield.gfield_error.gfield_contains_required label.gfield_label {
  padding-right: 16px;
}

.gform_wrapper .gform_page li.gfield.gfield_error.gfield_contains_required div.ginput_container.ginput_container_textarea {
  padding-right: 0;
}

.gform_wrapper .gform_page .gfield_error .gfield_label {
  width: 100%;
  padding: 4px 0;
  color: var(--error);
}

.gfield_description.validation_message { display: none; }

/* ============================================================
   DATEPICKER
   ============================================================ */

.ids-calender > .ginput_container_date { position: relative; }
.ids-calender img {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  margin: 0;
  opacity: .5;
  transition: var(--transition);
  pointer-events: none;
}
.gfield_error.ids-calender img { right: 8px; }
body .gform_wrapper .gform_page img.ui-datepicker-trigger { height: 20px !important; }

/* ============================================================
   COUPON CODE ROW
   ============================================================ */

.gform_wrapper li.gfield.ids-fields.ids-code input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
  max-width: 66%;
  float: left;
  border-radius: var(--radius-pill) !important;
}

.gform_wrapper .top_label li.gfield.ids-fields.ids-code div:not(.ginput_container_date) input:not([type=radio]):not([type=checkbox]):not(.ginput_quantity),
.gform_wrapper .top_label li.gfield.ids-fields.ids-code div:not(.ginput_container_date) select {
  max-width: 200px;
}

.gform_wrapper .top_label .ids-code .gfield_label { display: none; }

.gform_wrapper #gf_coupon_info {
  float: right;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
}

.gform_wrapper img#gf_coupon_spinner {
  float: right;
  vertical-align: middle;
  margin-top: 14px;
}

/* ============================================================
   HALF/THIRD COLUMN LAYOUTS
   ============================================================ */

.gform_wrapper .ginput_complex .ginput_left,
.gform_wrapper .ginput_complex .ginput_right { width: 100% !important; }
.gform_wrapper .gform_page .ginput_complex .ginput_left { padding-right: 0; }

.gform_wrapper .ids-fields .gfield_error .ginput_complex .ginput_left,
.gform_wrapper .ids-fields .gfield_error .ginput_complex .ginput_right,
.gform_wrapper .ids-fields .ginput_complex .ginput_cardinfo_left,
.gform_wrapper .ids-fields .ginput_complex .ginput_cardinfo_right { width: 100%; }

body .gform_wrapper .gf_left_third .top_label div.ginput_container,
body .gform_wrapper .gf_right_third .top_label div.ginput_container { padding-right: 16px; }

.gform_wrapper .gform_page .top_label li.gfield.gfield_error.gf_left_third,
.gform_wrapper .gform_page .top_label li.gfield.gfield_error.gf_middle_third {
  width: 33.3% !important;
  margin-right: 0;
}

/* ============================================================
   ORDER SUMMARY / THANK YOU
   ============================================================ */

.visa-order {
  background: var(--card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 36px;
  border: none;
}

h2.ids-thanks {
  line-height: 1.25;
  color: var(--text);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -.4px;
}

/* ============================================================
   INSURANCE / PROTECTION TICK LIST
   ============================================================ */

.protection_ins_tick { position: relative; }
.protection_ins_tick ul { font-weight: 400; }
.gform_wrapper li.gfield .protection_ins_tick ul li:before {
  content: "\f00c";
  color: var(--success);
  font: normal normal normal 14px/1 FontAwesome;
  font-size: 15px;
  padding: 0 8px 0 0;
}
.protection_ins_tick li {
  font-size: 15px;
  padding: 4px 0;
  color: var(--text-mid);
}
.protection_ins_tick li a,
.ids-img-right a {
  text-decoration: underline !important;
  color: var(--primary);
  font-weight: 600;
}
.protection_ins_tick li a:hover,
.ids-img-right a:hover { text-decoration: none !important; }

/* ============================================================
   IMAGES & LAYOUT HELPERS
   ============================================================ */

.ids-border {
  border-left: 2px solid var(--border);
  padding-left: 20px;
}

.ids-img { text-align: left; padding-left: 24px; }
.ids-img a { text-decoration: underline; color: var(--primary); }
.ids-img a:hover { text-decoration: none; }

.ids-img-right {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 400;
  text-align: center;
}
.ids-img-right img { padding-bottom: 12px; display: block; margin: 0 auto; }

.ids-right { text-align: right; }

strong.visa-tittle { font-size: 22px; color: var(--text); display: none; }

i.ids-icon { padding-right: 8px; color: var(--accent); }
span.ids-span { color: var(--primary); font-weight: 700; }
.ids-fields2 { border: none; padding: 12px 16px; font-size: 14px; }

/* ============================================================
   HTML FIELDS
   ============================================================ */

body .gform_wrapper div.gform_body ul.gform_fields li.gfield.ids-fields.gfield_html {
  font-weight: 500;
  font-size: 14px;
  color: var(--text-muted);
  border: 0;
}

body .gform_wrapper div.gform_body ul.gform_fields li.gfield.ids-fields.gfield_html ul li {
  list-style-type: none !important;
}

/* ============================================================
   CONFIRMATION / HIDDEN
   ============================================================ */

.ids-hidden { display: none; }

/* ============================================================
   PRICING TABLES (Divi et_pb)
   ============================================================ */

.custom-pricing .et_pb_pricing li:nth-child(1) {
  margin-left: -7px;
  padding-left: 0;
  margin-right: -7px;
  margin-top: -18px;
  text-align: center;
}
.custom-pricing .et_pb_pricing_table > .et_pb_pricing_content_top { display: none; }

/* ============================================================
   TOOLTIP (Divi)
   ============================================================ */

span.et-tooltip:after {
  content: "\f059";
  font-family: 'Font Awesome 5 Free';
  padding-left: 5px;
  font-weight: 900;
  color: var(--text-muted);
  opacity: .7;
}
.et-tooltip .et-tooltip-box {
  left: 0;
  width: 320px;
  padding: 14px 18px;
  line-height: 1.6;
  font-weight: 500;
  font-size: 13px;
  color: var(--text-muted) !important;
  background: var(--card);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0,0,0,.12);
  border: 1px solid var(--border);
}

/* ============================================================
   ORDER SUMMARY COLUMNS
   ============================================================ */

body .gform_wrapper div.gform_body ul.gform_fields li.gfield.order-mobile.order-summary-left.gfield_html,
body .gform_wrapper .gform_fields li.order-mobile.order-summary-left.price-field { width: 68% !important; }
body .gform_wrapper div.gform_body ul.gform_fields li.gfield.order-mobile.order-summary-right.gfield_html,
body .gform_wrapper .gform_fields li.order-mobile.order-summary-right.price-field { width: 32% !important; }
body .gform_wrapper ul li.ids-section2.gfield { float: left; width: 100%; }

/* ============================================================
   THREE-BOX CARD GRID (Divi)
   ============================================================ */

.ids-box .et_pb_blurb_content { position: relative; }
.ids-box .et_pb_main_blurb_image {
  position: relative;
  top: -22px;
  left: 0; right: 0;
  background: var(--card);
  padding: 0 10px;
  margin-bottom: 0;
}
.et_pb_row.et_pb_row_2.box-grid,
.et_pb_row.et_pb_row_1.box-grid { display: flex; }
.box-grid .et_pb_column { display: inline-grid; }
.box-grid .et_pb_blurb { border-width: 3px !important; border-radius: var(--radius-card) !important; }

/* ============================================================
   SCHENGEN VISA SPECIFIC
   ============================================================ */

.gform_wrapper .schengen-visa .gform_page .gfield_error .gfield_label { padding: 0; }
.gform_wrapper .schengen-visa li.gfield.gfield_error { padding-bottom: 0; padding-top: 0; }
.gform_wrapper .schengen-visa .gform_page li.gfield.gfield_error.gfield_contains_required div.ginput_container { margin-top: 6px; }

/* ============================================================
   IDS SECTION APPEARANCE
   ============================================================ */

.gform_wrapper ul.gform_fields li.gfield .ids-appearance { margin-top: 20px; }

/* ============================================================
   MISC
   ============================================================ */

#field_92_180 { margin-top: 0; }

.price-ids {
  float: right;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

body .gform_wrapper div.gform_body ul.gform_fields li.gfield.ids-appearance.gfield_html {
  font-size: 13px;
  color: var(--text-muted);
}

body .gform_wrapper .gform_fields li #input_92_277,
body .gform_wrapper .gform_fields li #input_94_277,
body .gform_wrapper .gform_fields li #input_97_277,
body .gform_wrapper .gform_fields li #input_98_277,
body .gform_wrapper .gform_fields li #input_100_277 {
  background: none !important;
  box-shadow: none !important;
}

body .gform_wrapper div.gform_body ul.gform_fields li.gfield.gfield_html {
  font-weight: 400;
  font-size: 14px;
}

.ids-fields h1 { font-weight: 800; text-align: center; color: var(--text); }
li.gfield h1 span.ids-span { font-size: 22px; }

body .gform_wrapper div.gform_body ul.gform_fields li.gfield.ids-fields.gfield_html {
  font-weight: 500;
  font-size: 14px;
}

body .gform_wrapper div.gform_body ul.gform_fields li.gfield.gfield_html {
  font-weight: 400;
  font-size: 14px;
}

/* ============================================================
   COLUMN RADIO (fk-col-*)
   ============================================================ */

@media screen and (min-width: 220px) and (max-width: 1050px) {
  .fk-col-2 .ginput_container.ginput_container_radio ul li,
  .fk-col-3 .ginput_container.ginput_container_radio ul li,
  .fk-col-4 .ginput_container.ginput_container_radio ul li,
  .fk-col-5 .ginput_container.ginput_container_radio ul li {
    max-width: 48% !important;
  }
}

/* ============================================================
   FAKIES FORM WRAPPER
   ============================================================ */

body .ids-fakies-form .gform_wrapper .top_label div.ginput_container { width: 100%; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media screen and (min-width: 320px) and (max-width: 640px) {

  ul.progressbar.nav-wizard {
    padding: 20px 20px 0 20px;
  }
  ul.progressbar.nav-wizard::after {
    left: 20px;
    right: 20px;
  }
  .progressbar > li > a { font-size: 11px; gap: 6px; }
  .progressbar > li > a::before { width: 26px; height: 26px; font-size: 11px; }

  .ids-section { padding: 20px 20px 24px !important; }
  .ids-section2 { padding: 16px !important; }

  body .gform_wrapper div.gform_body ul.gform_fields li.gfield.gfield_html {
    font-weight: 400;
    font-size: 13px;
  }

  .gform_wrapper .top_label li.gfield.ids-fields.ids-code div:not(.ginput_container_date) input:not([type=radio]):not([type=checkbox]):not(.ginput_quantity),
  .gform_wrapper .top_label li.gfield.ids-fields.ids-code div:not(.ginput_container_date) select {
    margin-top: 10px;
  }

  .gform_wrapper #gf_coupon_info { width: 100%; }
  .gform_wrapper #gf_coupon_info table { float: right; }

  body .gform_wrapper div.gform_body ul.gform_fields li.gfield.order-mobile.gfield_html,
  body .gform_wrapper .gform_fields li.order-mobile.price-field {
    font-size: 12px;
    display: inline-block;
    vertical-align: top;
    width: 50%;
    float: none;
  }
  body .gform_wrapper .gform_fields li.order-mobile.price-field span.ginput_product_price,
  body .gform_wrapper div.gform_body ul.gform_fields li.gfield.ids-appearance.gfield_html { font-size: 12px; }
  body .gform_wrapper .gform_fields li.price-field .ginput_container.ginput_container_total span.ginput_total { font-size: 18px; }
  body .gform_wrapper div.gform_body ul.gform_fields li.gfield.order-mobile.price-field input { font-size: 18px !important; }

  body .gform_wrapper div.gform_body ul.gform_fields li.gfield.order-mobile.order-mobile-left.gfield_html,
  body .gform_wrapper .gform_fields li.order-mobile.order-mobile-left.price-field { width: 70% !important; }
  body .gform_wrapper div.gform_body ul.gform_fields li.gfield.order-mobile.order-mobile-right.gfield_html,
  body .gform_wrapper .gform_fields li.order-mobile.order-mobile-right.price-field { width: 30% !important; }

  .gform_wrapper .ids-code input#gf_coupon_button.button,
  .gform_wrapper li.gfield.ids-fields.ids-code input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
    max-width: 100%;
  }
  .gform_wrapper li.gfield.ids-fields.ids-code input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
    margin-bottom: 10px;
  }

  span.single-line { display: none; }

  #left-area ul, .comment-content ul,
  .entry-content .ids-section2 ul,
  body.et-pb-preview #main-content .container ul {
    padding: 0;
    line-height: 26px;
    list-style-type: disc;
  }

  .gform_wrapper .gform_page .top_label li.gfield.gfield_error.gf_left_third,
  .gform_wrapper .gform_page .top_label li.gfield.gfield_error.gf_middle_third { width: 100% !important; }
  .gform_wrapper .gform_page li.gfield.gfield_error.gfield_contains_required div.ginput_container,
  .gform_wrapper .gform_page li.gfield.gfield_error.gfield_contains_required label.gfield_label { padding-right: 0; }

  strong.visa-tittle { font-size: 16px; color: var(--text); }
  body .ids-tittle h2.section_title { font-size: 20px !important; }

  .ids-radio .gfield_radio li label { font-size: 13px !important; padding: 9px 16px !important; }
}

@media screen and (max-width: 640px) {
  .ids-left, .ids-right { text-align: center !important; }
  .gform_wrapper li.ids-fields { width: 100%; }
  .gform_wrapper .gform_page_footer { float: left; }
}

@media only screen and (min-width: 641px) and (max-width: 1170px) {

  li.ids-fields { width: 100% !important; }

  .gform_wrapper.gform_validation_error .top_label li.gfield.gfield_error.gf_left_half.ids-fields,
  .gform_wrapper.gform_validation_error .top_label li.gfield.gfield_error.gf_right_half.ids-fields,
  .gform_wrapper.gform_validation_error .gform_body ul li.gfield.ids-fields.gfield_error:not(.gf_left_half):not(.gf_right_half) {
    max-width: 100% !important;
    width: 100% !important;
  }

  strong.visa-tittle { font-size: 18px; }

  body .gform_wrapper div.gform_body ul.gform_fields li.gfield.order-mobile.gfield_html,
  body .gform_wrapper .gform_fields li.order-mobile.price-field {
    display: inline-block;
    vertical-align: top;
    width: 50% !important;
    font-size: 14px;
    float: none;
  }

  span.single-line { display: none; }

  body .gform_wrapper div.gform_body ul.gform_fields li.gfield.order-mobile.price-field input { font-size: 14px !important; }
  body .gform_wrapper .gform_fields li.order-mobile.price-field span.ginput_product_price,
  body .gform_wrapper .gform_fields li.price-field .ginput_container.ginput_container_total span.ginput_total { font-size: 14px; }

  .gform_wrapper .ginput_container.ginput_container_product_calculation span:not(.ginput_price) { display: inline-block; }
}

@media only screen and (max-width: 1170px) {
  .ids-img, .protection_ins_tick { text-align: center; }
  .ids-img-right span { width: 100%; float: left; }
  .ids-img-right img { display: initial; }
}

@media only screen and (min-width: 1171px) and (max-width: 1365px) {
  body .gform_wrapper .gform_fields li.ids-fields .gfield_description { font-size: 11px; }
}

@media only screen and (min-width: 320px) and (max-width: 1348px) {
  .gform_wrapper li.gfield.ids-fields.ids-code input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
    max-width: 100%;
  }
  .gform_wrapper .ids-code input#gf_coupon_button.button {
    max-width: 100%;
    margin-left: 0;
    margin-top: 12px;
  }
}

@media screen and (max-width: 980px) {
  .et_pb_row.box-grid { display: block !important; }
}

@media only screen and (max-width: 480px) {
  strong.visa-tittle { font-size: 15px; color: var(--text); }
  .ids-section { padding: 16px 16px 20px !important; }
  .gform_wrapper.ids-section2 ul { padding-left: 0; }
  .et_pb_section .et_pb_row_1 { width: 90%; }
  #left-area ul, .comment-content ul,
  .entry-content .ids-section ul,
  body.et-pb-preview #main-content .container ul { padding: 0; }
  .et-tooltip .et-tooltip-box { width: 240px !important; }
  body .ids-tittle h2.section_title { font-size: 18px !important; }
}

/* Responsive description */
body .gform_wrapper .gform_fields li.ids-fields .gfield_description {
  font-size: 12px;
  color: var(--text-muted);
}
