.ate-root {
  --ate-navy: #073b78;
  --ate-blue: #1261a6;
  --ate-sky: #eaf6ff;
  --ate-red: #c91f3b;
  --ate-ink: #102033;
  --ate-muted: #62748a;
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-inline: auto;
  max-width: 72rem;
  min-height: 12rem;
  padding: clamp(0.75rem, 2.2vw, 1.5rem);
  border: 1px solid #d7e6f5;
  border-radius: 1.35rem;
  background: linear-gradient(155deg, #e8f6ff 0, #f6fbff 35%, #ffffff 74%, #edf8ff 100%);
  box-shadow: 0 1.15rem 3.2rem rgba(7, 59, 120, 0.12);
  color: var(--ate-ink);
  font-family: Arial, sans-serif;
  line-height: 1.45;
}

.ate-root::before,
.ate-root::after {
  position: absolute;
  z-index: -1;
  width: 24rem;
  height: 10rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 20% 64%, rgba(255, 255, 255, 0.88) 0 18%, transparent 19%),
    radial-gradient(circle at 43% 44%, rgba(255, 255, 255, 0.92) 0 28%, transparent 29%),
    radial-gradient(circle at 70% 62%, rgba(255, 255, 255, 0.82) 0 22%, transparent 23%);
  content: "";
  opacity: 0.62;
  pointer-events: none;
  animation: ate-cloud-drift 34s linear infinite alternate;
}

.ate-root::before {
  inset: 3.5rem auto auto -8rem;
}

.ate-root::after {
  inset: 32rem -9rem auto auto;
  width: 20rem;
  opacity: 0.45;
  animation-duration: 42s;
  animation-direction: alternate-reverse;
}

.ate-form {
  position: relative;
  z-index: 1;
}

@keyframes ate-cloud-drift {
  from { transform: translate3d(-1.5rem, 0, 0); }
  to { transform: translate3d(3.5rem, 0.6rem, 0); }
}

.ate-root *,
.ate-root *::before,
.ate-root *::after {
  box-sizing: inherit;
}

.ate-root [hidden] {
  display: none !important;
}

.ate-status {
  min-height: 6.5rem;
  display: grid;
  place-items: center;
  color: var(--ate-navy);
  font-weight: 700;
}

.ate-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  min-height: 9rem;
  margin-block-end: 1rem;
  padding: 1.4rem 2rem;
  overflow: hidden;
  border: 1px solid #c9e4f8;
  border-radius: 1.15rem;
  background:
    radial-gradient(circle at 12% 22%, rgba(255, 255, 255, 0.95) 0 2.7rem, transparent 2.8rem),
    radial-gradient(circle at 88% 78%, rgba(255, 255, 255, 0.8) 0 3.6rem, transparent 3.7rem),
    linear-gradient(120deg, #dff3ff 0%, #b9e3fb 52%, #eaf8ff 100%);
  text-align: center;
}

.ate-hero::after {
  position: absolute;
  inset: auto -3rem -4.5rem auto;
  z-index: -1;
  width: 16rem;
  height: 8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  content: "";
}

.ate-hero-icon {
  display: grid;
  width: clamp(3.2rem, 7vw, 5rem);
  height: clamp(3.2rem, 7vw, 5rem);
  place-items: center;
  color: var(--ate-blue);
  line-height: 1;
  transform: rotate(-12deg);
}

.ate-hero-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.ate-form .ate-sound-toggle {
  position: absolute;
  inset: 0.8rem auto auto 0.8rem;
  display: grid;
  width: 2.75rem;
  min-height: 2.75rem;
  margin: 0;
  place-items: center;
  padding: 0.6rem;
  border: 1px solid rgba(7, 59, 120, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ate-navy);
  box-shadow: 0 0.3rem 0.8rem rgba(7, 59, 120, 0.09);
}

.ate-sound-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.ate-form .ate-sound-toggle:hover {
  background: #fff;
}

.ate-form .ate-sound-toggle.is-muted {
  color: var(--ate-muted);
}

.ate-form h2 {
  margin: 0;
  color: var(--ate-navy);
  font-size: clamp(1.7rem, 4vw, 2.55rem);
  line-height: 1.18;
}

.ate-section {
  margin: 0 0 1rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border: 1px solid #d8e5f1;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0.5rem 1.4rem rgba(16, 32, 51, 0.045);
}

.ate-section-title {
  margin: 0 0 0.35rem;
  color: var(--ate-navy);
  font-size: 1.1rem;
  font-weight: 800;
}

.ate-section-copy {
  margin: 0 0 1rem;
  color: var(--ate-muted);
  font-size: 0.93rem;
}

.ate-date-summary {
  min-height: 1.35rem;
  margin: 0.75rem 0 0;
  color: #355a78;
  font-size: 0.9rem;
  font-weight: 700;
}

.ate-date-control {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 3rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  overflow: hidden;
  border: 1px solid #b9cce4;
  border-radius: 0.72rem;
  background: #fff;
  color: var(--ate-ink);
  font: inherit;
  text-align: start;
  cursor: pointer;
}

.ate-date-control:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 2px;
}

.ate-date-display {
  font-size: 1rem;
  font-weight: 700;
  direction: ltr;
}

.ate-date-display.is-placeholder {
  color: #718399;
  direction: rtl;
  font-weight: 600;
}

.ate-calendar-icon {
  display: grid;
  width: 1.2rem;
  height: 1.2rem;
  place-items: center;
  color: var(--ate-blue);
}

.ate-calendar-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.ate-date-value {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  opacity: 0;
  pointer-events: none;
}

.ate-trip-section {
  position: relative;
  z-index: 8;
}

.ate-calendar-popover {
  position: absolute;
  inset: 5.75rem auto auto 1rem;
  z-index: 80;
  width: min(24rem, calc(100% - 2rem));
  padding: 1rem;
  border: 1px solid #cbdced;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1.4rem 3rem rgba(7, 42, 82, 0.24);
  color: var(--ate-ink);
  backdrop-filter: blur(14px);
}

.ate-calendar-top {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
  align-items: center;
  gap: 0.6rem;
  margin-block-end: 0.8rem;
  text-align: center;
}

.ate-calendar-top > div {
  display: grid;
  gap: 0.08rem;
}

.ate-calendar-top strong {
  color: var(--ate-navy);
  font-size: 1.05rem;
}

.ate-calendar-hint {
  color: var(--ate-muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.ate-form .ate-calendar-nav {
  display: grid;
  width: 2.75rem;
  min-height: 2.75rem;
  margin: 0;
  place-items: center;
  padding: 0;
  border: 1px solid #d7e4f1;
  border-radius: 50%;
  background: #f5f9fd;
  color: var(--ate-navy);
  font-size: 1.45rem;
  font-weight: 900;
}

.ate-form .ate-calendar-nav:hover {
  border-color: #9fc4e3;
  background: #eaf5ff;
}

.ate-calendar-weekdays,
.ate-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.28rem;
}

.ate-calendar-weekdays {
  margin-block-end: 0.3rem;
  color: var(--ate-muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-align: center;
}

.ate-calendar-weekdays span {
  padding-block: 0.25rem;
}

.ate-form .ate-calendar-day {
  display: grid;
  min-width: 0;
  min-height: 2.65rem;
  margin: 0;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 0.72rem;
  background: transparent;
  color: #173b5d;
  font-size: 0.86rem;
  font-weight: 750;
}

.ate-form .ate-calendar-day:hover:not(:disabled),
.ate-form .ate-calendar-day:focus-visible {
  background: #e5f3ff;
  color: var(--ate-navy);
}

.ate-form .ate-calendar-day.is-outside {
  color: #9aa9b8;
}

.ate-form .ate-calendar-day.is-in-range {
  border-radius: 0.35rem;
  background: #e3f2ff;
}

.ate-form .ate-calendar-day.is-start,
.ate-form .ate-calendar-day.is-end {
  background: var(--ate-navy);
  color: #fff;
  box-shadow: 0 0.35rem 0.8rem rgba(7, 59, 120, 0.22);
}

.ate-form .ate-calendar-day.is-today:not(.is-start, .is-end) {
  box-shadow: inset 0 0 0 2px #2e83c5;
  color: var(--ate-blue);
}

.ate-form .ate-calendar-day:disabled {
  color: #c7d0da;
  cursor: not-allowed;
}

.ate-calendar-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  margin-block-start: 0.8rem;
  padding-block-start: 0.75rem;
  border-block-start: 1px solid #e5edf5;
}

.ate-form .ate-calendar-actions button {
  min-height: 2.65rem;
  margin: 0;
  padding: 0.45rem 1rem;
  border: 1px solid #cbdced;
  border-radius: 0.7rem;
  background: #f5f9fd;
  color: var(--ate-navy);
  font-weight: 800;
}

.ate-fields {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 0.8rem;
}

.ate-fields label {
  display: grid;
  gap: 0.4rem;
  color: #334b63;
  font-size: 0.88rem;
  font-weight: 700;
}

.ate-country-value {
  display: none !important;
}

.ate-country-field {
  position: relative;
  z-index: 5;
}

.ate-country-combobox {
  position: relative;
  display: block;
}

.ate-country-field input[type="search"] {
  appearance: none;
}

.ate-country-options {
  position: absolute;
  inset: calc(100% + 0.35rem) 0 auto;
  z-index: 30;
  max-height: min(20rem, 52vh);
  overflow-y: auto;
  border: 1px solid #b9cce4;
  border-radius: 0.8rem;
  background: #fff;
  box-shadow: 0 1rem 2.4rem rgba(16, 32, 51, 0.2);
  overscroll-behavior: contain;
}

.ate-form .ate-country-option {
  display: flex;
  width: 100%;
  min-height: 2.9rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0;
  padding: 0.7rem 0.85rem;
  border: 0;
  border-radius: 0;
  border-block-end: 1px solid #edf2f7;
  background: #fff;
  color: var(--ate-ink);
  text-align: start;
}

.ate-form .ate-country-option:last-child {
  border-block-end: 0;
}

.ate-form .ate-country-option:hover,
.ate-form .ate-country-option.is-active {
  background: #edf6ff;
  color: var(--ate-navy);
}

.ate-country-option small {
  color: var(--ate-muted);
  direction: ltr;
  font-size: 0.74rem;
  font-weight: 700;
}

.ate-country-empty {
  display: block;
  padding: 0.9rem;
  color: var(--ate-muted);
  font-size: 0.88rem;
  text-align: center;
}

.ate-travelers {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.7rem;
}

.ate-travelers-panel {
  display: flex;
  align-items: end;
  gap: 0.7rem;
}

.ate-traveler {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.55rem;
  border: 1px solid #e2ebf3;
  border-radius: 0.8rem;
  background: #f9fcff;
}

.ate-traveler-field {
  display: grid;
  grid-template-columns: auto minmax(8rem, 1fr);
  align-items: center;
  gap: 0.65rem;
  color: #334b63;
  font-size: 0.9rem;
  font-weight: 700;
}

.ate-extension-settings label {
  display: grid;
  gap: 0.4rem;
  color: #334b63;
  font-size: 0.9rem;
  font-weight: 700;
}

.ate-age-wrap {
  position: relative;
  display: block;
  min-width: 0;
}

.ate-age-wrap .ate-age {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  opacity: 0;
  pointer-events: none;
}

.ate-form .ate-age-control {
  display: flex;
  width: 100%;
  min-height: 3.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0;
  padding: 0.55rem 0.85rem;
  border: 1px solid #b9cce4;
  border-radius: 0.85rem;
  background: linear-gradient(180deg, #fff, #f7fbff);
  color: var(--ate-ink);
  box-shadow: 0 0.2rem 0.55rem rgba(16, 32, 51, 0.04);
  font: inherit;
  font-size: 1rem;
  text-align: start;
}

.ate-form .ate-age-control:hover,
.ate-form .ate-age-control[aria-expanded="true"] {
  border-color: #6fa7d2;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(23, 99, 159, 0.09), 0 0.45rem 1rem rgba(16, 32, 51, 0.08);
}

.ate-form .ate-age-control:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 2px;
}

.ate-form .ate-age-control[aria-invalid="true"] {
  border-color: var(--ate-red);
  box-shadow: 0 0 0 3px rgba(176, 24, 67, 0.1);
}

.ate-age-display {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

.ate-age-number {
  color: #506980;
  font-size: 1rem;
  font-weight: 750;
}

.ate-age-control.has-value .ate-age-number {
  color: var(--ate-navy);
  font-size: 1.45rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.ate-age-suffix {
  color: var(--ate-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.ate-age-chevron {
  color: var(--ate-blue);
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 160ms ease;
}

.ate-age-control[aria-expanded="true"] .ate-age-chevron {
  transform: rotate(180deg);
}

.ate-age-popover {
  position: absolute;
  inset: calc(100% + 0.45rem) 0 auto auto;
  z-index: 95;
  display: block;
  width: min(25rem, calc(100vw - 3rem));
  padding: 0.85rem;
  border: 1px solid #c7daeb;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1.25rem 2.8rem rgba(7, 42, 82, 0.22);
  backdrop-filter: blur(14px);
}

.ate-age-popover-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 0.2rem 0.7rem;
}

.ate-age-popover-head strong {
  color: var(--ate-navy);
  font-size: 1rem;
}

.ate-age-popover-head small {
  color: var(--ate-muted);
  font-size: 0.72rem;
  font-weight: 650;
}

.ate-age-options {
  display: grid;
  max-height: min(19rem, 50vh);
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.4rem;
  padding: 0.2rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #8eb5d4 #edf4fa;
  scrollbar-width: thin;
}

.ate-form .ate-age-option {
  display: grid;
  min-width: 0;
  min-height: 2.8rem;
  margin: 0;
  place-items: center;
  padding: 0.35rem;
  border: 1px solid #dce8f3;
  border-radius: 0.72rem;
  background: #f7fbff;
  color: #173b5d;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.ate-form .ate-age-option:hover,
.ate-form .ate-age-option:focus-visible,
.ate-form .ate-age-option.is-anchor {
  border-color: #75acd5;
  background: #e9f5ff;
  color: var(--ate-navy);
}

.ate-form .ate-age-option.is-selected {
  border-color: var(--ate-navy);
  background: linear-gradient(145deg, #0b3a78, #17639f);
  color: #fff;
  box-shadow: 0 0.35rem 0.75rem rgba(7, 59, 120, 0.18);
}

.ate-extensions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.ate-extension {
  min-height: 3.75rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid #d9e6f2;
  border-radius: 0.85rem;
  background: #fff;
  box-shadow: 0 0.35rem 0.8rem rgba(16, 32, 51, 0.035);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.ate-extension:hover {
  border-color: #9fc3e2;
  box-shadow: 0 0.5rem 1rem rgba(7, 59, 120, 0.08);
  transform: translateY(-1px);
}

.ate-extension:has(> label > input:checked) {
  border-color: #4b91ca;
  background: #f0f8ff;
  box-shadow: 0 0 0 2px rgba(18, 97, 166, 0.1);
}

.ate-extension > label,
.ate-checkbox {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  min-height: 2.75rem;
  color: #173b5d;
  font-weight: 750;
  cursor: pointer;
}

.ate-extension input[type="checkbox"],
.ate-checkbox input[type="checkbox"] {
  width: 1.12rem;
  height: 1.12rem;
  margin: 0;
  accent-color: var(--ate-red);
}

.ate-extension-icon {
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  place-items: center;
  padding: 0.35rem;
  border-radius: 0.55rem;
  background: var(--ate-sky);
  color: var(--ate-blue);
}

.ate-extension-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.ate-extension-settings {
  display: grid;
  gap: 0.6rem;
  margin-block-start: 0.75rem;
  padding-block-start: 0.75rem;
  border-block-start: 1px solid #e3ebf3;
}

.ate-settings-grid {
  grid-template-columns: 1fr 1fr;
}

.ate-medical-dialog {
  width: min(46rem, calc(100vw - 1.5rem));
  max-height: min(48rem, calc(100vh - 1.5rem));
  padding: 0;
  overflow: auto;
  border: 1px solid #cbddec;
  border-radius: 1.15rem;
  background: #fff;
  box-shadow: 0 1.5rem 4rem rgba(16, 32, 51, 0.3);
  color: var(--ate-ink);
  direction: rtl;
}

.ate-medical-dialog::backdrop {
  background: rgba(10, 31, 54, 0.58);
  backdrop-filter: blur(2px);
}

.ate-medical-dialog-head {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-block-end: 1px solid #e1eaf2;
  background: rgba(255, 255, 255, 0.97);
}

.ate-form .ate-medical-dialog h2 {
  margin: 0;
  color: var(--ate-navy);
  font-size: 1.35rem;
}

.ate-form .ate-medical-close {
  width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border-color: transparent;
  border-radius: 50%;
  color: var(--ate-navy);
  font-size: 1.65rem;
  line-height: 1;
}

.ate-medical-description {
  margin: 0;
  padding: 1rem 1.2rem 0.4rem;
  color: var(--ate-muted);
}

.ate-medical-question,
.ate-medical-condition-panel {
  margin: 0.75rem 1.2rem;
  padding: 1rem;
  border-radius: 0.9rem;
  background: #f9fcff;
}

.ate-medical-question p {
  margin: 0 0 0.8rem;
  color: #173b5d;
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.65;
}

.ate-medical-followup {
  margin-inline: 2.2rem;
  border: 1px solid #d8e8f5;
  background: #edf7ff;
}

.ate-medical-choices {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
}

.ate-form .ate-medical-choices button {
  min-width: 4.2rem;
  min-height: 2.65rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 800;
}

.ate-form .ate-medical-choices button[aria-pressed="true"] {
  border-color: var(--ate-red);
  background: var(--ate-red);
  color: #fff;
}

.ate-medical-condition-panel {
  border: 1px dashed #b8d2e7;
  background: #fff;
}

.ate-medical-condition-panel h3 {
  margin: 0 0 0.8rem;
  color: var(--ate-navy);
  font-size: 1rem;
  text-align: center;
}

.ate-medical-chip-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.ate-form .ate-medical-chip {
  min-height: 2.5rem;
  padding: 0.45rem 0.75rem;
  border-color: #dde4eb;
  border-radius: 999px;
  background: #eef1f4;
  color: #233a50;
  font-size: 0.86rem;
  font-weight: 700;
}

.ate-form .ate-medical-chip[aria-pressed="true"] {
  border-color: var(--ate-red);
  background: #fbe9ed;
  color: #9f1831;
  box-shadow: inset 0 0 0 1px var(--ate-red);
}

.ate-medical-error {
  min-height: 1.4rem;
  margin: 0.5rem 1.2rem;
  color: #a4102b;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.ate-medical-actions {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.9rem 1.2rem 1.1rem;
  border-block-start: 1px solid #e1eaf2;
  background: rgba(255, 255, 255, 0.97);
}

.ate-form .ate-medical-confirm {
  border-color: var(--ate-navy);
  background: var(--ate-navy);
  color: #fff;
  font-weight: 800;
}

.ate-form .ate-medical-edit {
  min-height: 2.55rem;
  padding: 0.45rem 0.65rem;
  border-color: #8aa9cc;
  color: var(--ate-navy);
  font-size: 0.84rem;
  font-weight: 700;
}

.ate-fields input,
.ate-fields select,
.ate-traveler input,
.ate-traveler select,
.ate-extension-settings input,
.ate-extension-settings select,
.ate-form button,
.ate-offer a {
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid #b9cce4;
  border-radius: 0.72rem;
  background: #fff;
  color: var(--ate-ink);
  font: inherit;
}

.ate-fields input,
.ate-fields select,
.ate-traveler input,
.ate-traveler select,
.ate-extension-settings input,
.ate-extension-settings select {
  width: 100%;
}

.ate-root :is(input, select, button, a):focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 2px;
}

.ate-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.ate-form .ate-secondary,
.ate-form .ate-remove-traveler {
  border-color: #8aa9cc;
  background: #fff;
  color: var(--ate-navy);
}

.ate-form .ate-secondary:hover,
.ate-form .ate-remove-traveler:hover {
  background: #edf6ff;
}

.ate-coverage-section {
  margin-block-start: 0;
}

.ate-form .ate-remove-traveler {
  margin: 0;
}

.ate-form .ate-add-traveler {
  flex: 0 0 auto;
  margin: 0;
  white-space: nowrap;
}

.ate-form button {
  margin-block-start: 0.85rem;
  font-weight: 750;
  cursor: pointer;
}

.ate-form .ate-submit {
  display: block;
  width: min(100%, 28rem);
  min-height: 3.55rem;
  margin: 1.1rem auto 0;
  border-color: var(--ate-red);
  background: linear-gradient(180deg, #d52b48, #b81732);
  box-shadow: 0 0.6rem 1.25rem rgba(201, 31, 59, 0.2);
  color: #fff;
  font-size: 1.08rem;
}

.ate-form .ate-submit:hover {
  background: #a8142c;
  transform: translateY(-1px);
}

.ate-assurance {
  margin: 0.65rem 0 0;
  color: var(--ate-muted);
  font-size: 0.88rem;
  text-align: center;
}

.ate-assurance span {
  color: #19734b;
  font-weight: 900;
}

.ate-error {
  min-height: 1.5rem;
  margin-block-start: 0.6rem;
  color: #9f1d2f;
  font-weight: 700;
  text-align: center;
}

.ate-results {
  display: grid;
  gap: 0.8rem;
  margin-block-start: 1rem;
}

.ate-results-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.2rem 0.15rem;
}

.ate-results-heading h2,
.ate-results-heading p {
  margin: 0;
}

.ate-results-heading h2 {
  color: var(--ate-navy);
  font-size: 1.35rem;
}

.ate-results-heading p {
  color: var(--ate-muted);
  font-size: 0.82rem;
}

.ate-offer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(15rem, 1fr) 7.5rem 12rem;
  align-items: center;
  gap: 1.25rem;
  min-height: 6.25rem;
  padding: 1rem 1.2rem;
  border: 1px solid #d8e5f1;
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: 0 0.45rem 1rem rgba(16, 32, 51, 0.05);
}

.ate-offer.is-cheapest {
  border-color: #65a985;
  box-shadow: 0 0 0 2px rgba(25, 115, 75, 0.09), 0 0.55rem 1.2rem rgba(16, 32, 51, 0.06);
}

.ate-offer-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ate-provider-logo {
  position: relative;
  display: grid;
  width: 4rem;
  height: 4rem;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  padding: 0.55rem;
  border: 1px solid #d7e4f1;
  border-radius: 50%;
  background: #fff;
  color: var(--ate-navy);
  box-shadow: 0 0.35rem 0.9rem rgba(7, 59, 120, 0.12);
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
}

.ate-provider-logo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 180ms ease;
}

.ate-provider-logo.is-loaded img { opacity: 1; }

.ate-provider-logo-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0.3rem;
}

.ate-provider-logo.is-loaded .ate-provider-logo-fallback { opacity: 0; }

.ate-provider-logo--harel { color: #0071b8; }
.ate-provider-logo--migdal { color: #e2231a; }
.ate-provider-logo--clal { color: #a64500; }
.ate-provider-logo--phoenix { color: #e31b36; }
.ate-provider-logo--passportcard { color: #d71920; direction: ltr; }
.ate-provider-logo--menora { color: #113b75; }

.ate-offer-identity {
  display: grid;
  gap: 0.15rem;
}

.ate-offer-identity p {
  margin: 0;
  color: var(--ate-muted);
  font-size: 0.78rem;
}

.ate-best-value {
  width: max-content;
  padding: 0.14rem 0.45rem;
  border-radius: 999px;
  background: #e8f6ee;
  color: #12633e;
  font-size: 0.72rem;
  font-weight: 800;
}

.ate-offer h3 {
  margin: 0;
  color: var(--ate-navy);
  font-size: 1.08rem;
}

.ate-offer-price {
  display: grid;
  width: 7.5rem;
  justify-items: center;
  text-align: center;
}

.ate-offer-price strong {
  color: var(--ate-navy);
  font-size: 1.45rem;
}

.ate-offer-action {
  display: grid;
  width: 12rem;
  gap: 0.35rem;
  justify-items: stretch;
}

.ate-offer-action > small {
  color: var(--ate-muted);
  font-size: 0.72rem;
  line-height: 1.25;
  text-align: center;
}

.ate-offer-action a {
  display: inline-grid;
  width: 100%;
  min-height: 3rem;
  place-items: center;
  padding-inline: 0.75rem;
  border-color: var(--ate-navy);
  background: var(--ate-navy);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.ate-offer-action a:hover {
  background: #052c5a;
}

.ate-offer.is-unavailable {
  color: #667085;
  background: #f5f7fa;
}

@media (max-width: 48rem) {
  .ate-fields {
    grid-template-columns: 1fr 1fr;
  }

  .ate-fields label:first-child {
    grid-column: 1 / -1;
  }

  .ate-offer {
    grid-template-columns: minmax(0, 1fr) 7rem;
  }

  .ate-offer-action {
    grid-column: 1 / -1;
    width: 100%;
  }

  .ate-extensions {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 34rem) {
  .ate-root {
    padding: 0.55rem;
    border-radius: 0.9rem;
  }

  .ate-hero {
    min-height: 5.5rem;
    padding: 0.8rem;
  }

  .ate-hero-icon {
    width: 2.8rem;
    height: 2.8rem;
  }

  .ate-form .ate-sound-toggle {
    inset: 0.55rem auto auto 0.55rem;
  }

  .ate-fields,
  .ate-settings-grid {
    grid-template-columns: 1fr;
  }

  .ate-fields label:first-child {
    grid-column: auto;
  }

  .ate-traveler {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.5rem;
  }

  .ate-traveler label {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .ate-travelers-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .ate-extensions {
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }

  .ate-extension {
    min-height: 4.4rem;
    padding: 0.5rem;
  }

  .ate-extension > label {
    gap: 0.4rem;
  }

  .ate-extension:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .ate-fields input,
  .ate-fields select,
  .ate-traveler input,
  .ate-traveler select,
  .ate-extension-settings input,
  .ate-extension-settings select {
    font-size: 16px;
  }

  .ate-form .ate-remove-traveler {
    width: auto;
  }

  .ate-offer-price {
    text-align: start;
  }

  .ate-results-heading {
    display: grid;
    gap: 0.15rem;
  }

  .ate-offer {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.65rem;
    padding: 0.75rem;
  }

  .ate-offer-main {
    min-width: 0;
    gap: 0.55rem;
  }

  .ate-provider-logo {
    width: 3.5rem;
    height: 3.5rem;
  }

  .ate-offer-price {
    min-width: 5.8rem;
  }

  .ate-offer-price strong {
    font-size: 1.3rem;
  }

  .ate-offer-action {
    grid-column: 1 / -1;
    min-height: 3rem;
  }

  .ate-medical-dialog {
    width: calc(100vw - 0.75rem);
    max-height: calc(100vh - 0.75rem);
    border-radius: 0.85rem;
  }

  .ate-medical-question,
  .ate-medical-condition-panel {
    margin-inline: 0.7rem;
    padding: 0.8rem;
  }

  .ate-medical-followup {
    margin-inline: 1.2rem;
  }

  .ate-form .ate-medical-chip {
    min-height: 2.75rem;
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ate-root::before,
  .ate-root::after {
    animation: none;
  }

  .ate-provider-logo img {
    transition: none;
  }
}

/* 3.0.0-dev.16 focused comparison experience */
.ate-root {
  --ate-navy: #0b3a78;
  --ate-blue: #17639f;
  --ate-sky: #edf5fb;
  --ate-red: #b01843;
  --ate-ink: #102033;
  --ate-muted: #526b84;
  max-width: 74rem;
  background: linear-gradient(155deg, #f4f8fc 0%, #ffffff 52%, #edf5fb 100%);
  font-family: Assistant, Heebo, Arial, sans-serif;
}

.ate-hero {
  min-height: 6.8rem;
  justify-content: flex-start;
  padding: 1.1rem clamp(1rem, 3vw, 2rem);
  background: linear-gradient(115deg, #e8f5ff 0%, #cfeafb 52%, #eef9ff 100%);
  text-align: start;
}

.ate-hero-icon {
  width: clamp(3rem, 6vw, 4.35rem);
  height: clamp(3rem, 6vw, 4.35rem);
}

.ate-hero-copy {
  display: grid;
  gap: 0.25rem;
}

.ate-hero-copy p {
  max-width: 43rem;
  margin: 0;
  color: #355a78;
  font-size: 0.98rem;
}

.ate-form h2 {
  font-size: clamp(1.55rem, 3.5vw, 2.25rem);
}

.ate-section {
  padding: clamp(0.9rem, 2vw, 1.25rem);
  border-color: #d9e5f2;
  box-shadow: 0 0.35rem 1rem rgba(16, 32, 51, 0.04);
}

.ate-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-block-end: 0.8rem;
}

.ate-section-head .ate-section-title,
.ate-section-head .ate-section-copy {
  margin-block-end: 0;
}

.ate-trip-summary,
.ate-extension-count {
  color: var(--ate-muted);
  font-size: 0.83rem;
  font-weight: 700;
  text-align: end;
}

.ate-date-summary {
  min-height: 0;
  margin-block-start: 0.55rem;
}

.ate-travelers-panel {
  align-items: stretch;
}

.ate-extension {
  min-width: 0;
  min-height: 5rem;
  padding: 0.65rem;
}

.ate-extension > label {
  min-width: 0;
}

.ate-extension-copy {
  display: grid;
  min-width: 0;
  gap: 0.1rem;
}

.ate-extension-copy strong {
  color: #173b5d;
  font-size: 0.95rem;
}

.ate-extension-copy small,
.ate-medical-note {
  color: var(--ate-muted);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.3;
}

.ate-medical-note {
  margin: 0;
}

.ate-quote-action {
  display: grid;
  justify-items: center;
}

.ate-quote-status {
  min-height: 1.35rem;
  margin: 0.45rem 0 0;
  color: var(--ate-muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
}

.ate-root[data-quote-state="loading"] .ate-submit {
  background: linear-gradient(90deg, #8b1737, var(--ate-red), #8b1737);
  background-size: 200% 100%;
  animation: ate-loading-sheen 1.4s linear infinite;
}

@keyframes ate-loading-sheen {
  to { background-position: -200% 0; }
}

.ate-offer-list {
  display: grid;
  gap: 0.8rem;
}

.ate-results-heading {
  align-items: center;
}

.ate-results-heading > div {
  display: grid;
  gap: 0.15rem;
}

.ate-offer {
  grid-template-columns: minmax(15rem, 1fr) 9rem 13rem;
  min-width: 0;
  border-color: #d9e5f2;
}

.ate-offer.is-cheapest {
  border-color: #65b18e;
  box-shadow: 0 0 0 2px rgba(22, 133, 93, 0.1), 0 0.5rem 1.2rem rgba(16, 32, 51, 0.06);
}

.ate-best-value {
  max-width: 100%;
  background: #e8f6ee;
  color: #12633e;
  white-space: normal;
}

.ate-offer-price {
  width: 9rem;
  gap: 0.1rem;
}

.ate-offer-price strong {
  font-size: 1.65rem;
}

.ate-offer-price small {
  color: var(--ate-muted);
  font-size: 0.68rem;
  line-height: 1.25;
}

.ate-offer-action {
  width: 13rem;
}

.ate-offer-details {
  grid-column: 1 / -1;
  padding-block-start: 0.65rem;
  border-block-start: 1px solid #e8eef5;
}

.ate-offer-details summary {
  width: max-content;
  color: var(--ate-blue);
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
}

.ate-offer-details div {
  display: grid;
  gap: 0.25rem;
  margin-block-start: 0.6rem;
  padding: 0.7rem;
  border-radius: 0.65rem;
  background: #f7fafc;
}

.ate-offer-details p,
.ate-offer-details small {
  margin: 0;
  color: var(--ate-muted);
  font-size: 0.8rem;
}

.ate-results-empty {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  padding: 1.5rem;
  border: 1px dashed #b9cce4;
  border-radius: 0.9rem;
  background: #fff;
  color: var(--ate-muted);
  text-align: center;
}

.ate-results.is-stale .ate-offer-list {
  opacity: 0.52;
  filter: saturate(0.7);
}

.ate-results.is-stale .ate-offer-action a {
  pointer-events: none;
  cursor: wait;
}

@media (max-width: 48rem) {
  .ate-hero {
    min-height: 5.8rem;
  }

  .ate-section-head {
    align-items: flex-start;
  }

  .ate-offer {
    grid-template-columns: minmax(0, 1fr) 8rem;
  }

  .ate-offer-price {
    width: 8rem;
  }

  .ate-offer-action {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 34rem) {
  .ate-hero {
    min-height: 5rem;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem;
  }

  .ate-hero-icon {
    width: 2.6rem;
    height: 2.6rem;
  }

  .ate-hero-copy p {
    padding-inline-end: 2.4rem;
    font-size: 0.84rem;
  }

  .ate-section-head {
    flex-wrap: wrap;
  }

  .ate-trip-summary,
  .ate-extension-count {
    width: 100%;
    text-align: start;
  }

  .ate-form .ate-add-traveler {
    min-height: 2.75rem;
    margin: 0;
  }

  .ate-extensions {
    grid-template-columns: 1fr;
  }

  .ate-extension:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .ate-results-heading {
    align-items: stretch;
  }

  .ate-offer {
    grid-template-columns: minmax(0, 1fr);
  }

  .ate-offer-price,
  .ate-offer-action {
    grid-column: 1;
    width: 100%;
  }

  .ate-offer-price {
    justify-items: start;
    text-align: start;
  }
}

/* Production calculator page: full-screen travel canvas, isolated from the legacy article/sidebar shell. */
body.page-id-31054 main.page > .singular-page-header,
body.page-id-31054 .middle > .widget-area.sidebar,
body.page-id-31054 .footer-contact-form {
  display: none !important;
}

body.page-id-31054 main.page > .container,
body.page-id-31054 main.page > .container > .middle,
body.page-id-31054 .middle > .content-column,
body.page-id-31054 article.content,
body.page-id-31054 .elementor.elementor-31054,
body.page-id-31054 .elementor-element-cd81002,
body.page-id-31054 .elementor-element-cd81002 > .elementor-container,
body.page-id-31054 .elementor-element-b631c29,
body.page-id-31054 .elementor-element-b631c29 > .elementor-widget-wrap {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

body.page-id-31054 .ate-root {
  width: 100%;
  max-width: none;
  min-height: calc(100svh - 7rem);
  padding: clamp(1rem, 3vw, 2.5rem) max(1rem, calc((100vw - 74rem) / 2));
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 255, 255, 0.88) 0 4.5rem, transparent 4.65rem),
    radial-gradient(circle at 76% 22%, rgba(255, 255, 255, 0.62) 0 7rem, transparent 7.15rem),
    linear-gradient(145deg, #082d62 0%, #0d4d91 26%, #dbeeff 26.2%, #f6fbff 72%, #e7f3ff 100%);
  box-shadow: none;
}

body.page-id-31054 .ate-root::before,
body.page-id-31054 .ate-root::after {
  z-index: 0;
  opacity: 0.48;
}

body.page-id-31054 .ate-form {
  width: 100%;
  max-width: 74rem;
  margin-inline: auto;
}

@media (max-width: 48rem) {
  .ate-calendar-popover {
    position: fixed;
    inset: auto 0.5rem calc(0.5rem + env(safe-area-inset-bottom)) 0.5rem;
    width: auto;
    max-height: min(38rem, calc(100dvh - 1rem));
    overflow-y: auto;
    padding: 0.9rem;
    border-radius: 1.2rem;
    box-shadow: 0 0 0 100vmax rgba(4, 24, 49, 0.34), 0 1.4rem 3rem rgba(7, 42, 82, 0.28);
    overscroll-behavior: contain;
  }

  .ate-form .ate-calendar-day {
    min-height: 2.85rem;
    font-size: 0.92rem;
  }

  .ate-calendar-actions {
    padding-inline-start: 3.75rem;
  }

  .ate-age-popover {
    position: fixed;
    inset: auto 0.5rem calc(0.5rem + env(safe-area-inset-bottom)) 0.5rem;
    width: auto;
    max-height: min(36rem, calc(100dvh - 1rem));
    padding: 0.9rem;
    border-radius: 1.2rem;
    box-shadow: 0 0 0 100vmax rgba(4, 24, 49, 0.34), 0 1.4rem 3rem rgba(7, 42, 82, 0.28);
  }

  .ate-age-options {
    max-height: min(24rem, calc(100dvh - 7rem));
  }

  .ate-form .ate-age-option {
    min-height: 3rem;
    font-size: 1.08rem;
  }

  body.page-id-31054 .ate-root {
    min-height: calc(100svh - 4rem);
    padding: calc(4.75rem + env(safe-area-inset-top)) 0.75rem calc(0.75rem + env(safe-area-inset-bottom));
    background:
      radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.8) 0 3.5rem, transparent 3.65rem),
      linear-gradient(160deg, #0a3978 0%, #1767a8 14%, #e4f3ff 14.2%, #f8fcff 100%);
  }

  body.admin-bar.page-id-31054 .ate-root {
    padding-top: calc(2.25rem + env(safe-area-inset-top));
  }
}

@media (prefers-reduced-motion: reduce) {
  .ate-root[data-quote-state="loading"] .ate-submit {
    animation: none;
  }
}
