/* Airport Taxi 4U 247 — compact two-step inline quote panel. */
.at4u-quote {
  position: relative; z-index: 10;
  margin-top: -69px; padding-bottom: clamp(26px, 3vw, 42px);
  background: linear-gradient(to bottom, transparent 0 69px, #f5f8fc 69px 100%);
  scroll-margin-top: 40px;
}
.at4u-quote__container { max-width: 1350px; }
.at4u-quote__card {
  padding: 23px clamp(20px, 3.4vw, 39px) 26px;
  border: 1px solid #e4ebf3; border-radius: 17px;
  background: #fff; box-shadow: 0 19px 55px rgb(13 32 56 / 14%);
}
.at4u-quote__heading {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 32px;
  margin-bottom: 18px; text-align: left;
}
.at4u-quote__heading h2 { flex-shrink: 0; }
.at4u-quote__heading .at4u-quote__disclaimer { max-width: 550px; }
.at4u-quote__heading h2 {
  margin: 0; color: #0d2038;
  font-size: clamp(28px, 2.5vw, 34px); font-weight: 800;
  letter-spacing: -.04em; line-height: 1.25;
}
.at4u-quote__notice {
  margin: 7px 0 11px; padding: 9px 13px; border: 1px solid transparent;
  border-radius: 7px; font-size: .83rem; font-weight: 700;
}
.at4u-quote__notice--success { border-color: #9dd9b7; background: #effaf3; color: #146338; }
.at4u-quote__notice--error { border-color: #edb4b4; background: #fff5f5; color: #a5262c; }
.at4u-quote__progress {
  display: flex; align-items: center; gap: 11px;
  margin: 0 0 20px; max-width: 470px;
}
.at4u-quote__progress-item { display: inline-flex; align-items: center; gap: 8px; color: #617187; font-size: .9rem; font-weight: 800; line-height: 1.4; white-space: nowrap; }
.at4u-quote__progress-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; flex: 0 0 28px;
  border: 1px solid #d5e0ec; border-radius: 50%;
  background: #edf2f8; color: #607389; font-size: .75rem;
  line-height: 1; font-variant-numeric: lining-nums tabular-nums;
}
.at4u-quote__progress-item.is-active { color: #0d2038; }
.at4u-quote__progress-item.is-active .at4u-quote__progress-number { border-color: #d1a32a; background: #d1a32a; color: #0d2038; }
.at4u-quote__progress-item.is-done .at4u-quote__progress-number { border-color: #295a97; background: #295a97; color: #fff; }
.at4u-quote__progress-divider { width: 57px; height: 1px; background: #dce5ef; }
.at4u-quote__step { min-width: 0; padding: 0; margin: 0; border: 0; }
.at4u-quote__step[hidden] { display: none !important; }
.at4u-quote__step-title.screen-reader-text { /* keep semantic legend available to assistive tech */ }
.at4u-quote__step-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 148px;
  gap: 13px; align-items: end;
}
.at4u-quote__fields {
  display: grid; grid-template-columns: 1.25fr 1.25fr .92fr .83fr;
  align-items: end; gap: 14px; min-width: 0;
}
.at4u-quote__field { position: relative; min-width: 0; }
.at4u-quote__field label { display: block; margin: 0 0 8px; color: #192b40; font-size: .95rem; font-weight: 800; line-height: 1.4; }
.at4u-quote__field label > span:not(.at4u-quote__optional) { color: #ae6d00; }
.at4u-quote__optional { color: #617187; font-size: .82rem; font-weight: 600; }
.at4u-quote__input-wrap { position: relative; min-width: 0; }
.at4u-quote__field-icon { position: absolute; z-index: 1; top: 26px; left: 13px; width: 19px; height: 19px; transform: translateY(-50%); color: #295a97; pointer-events: none; }
/* Match the global input selector's specificity so icon clearance is preserved. */
.at4u-quote .at4u-quote__field .at4u-quote__input-wrap input:not([type='hidden']),
.at4u-quote__field textarea {
  display: block; width: 100%; min-width: 0; height: 52px; min-height: 52px;
  padding: 12px 12px 12px 44px; margin: 0;
  border: 1px solid #d7e0eb; border-radius: 7px; background: #f7f9fc;
  color: #0d2038; font-size: 1rem; font-weight: 600; line-height: 1.5;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.at4u-quote__field textarea { height: 52px; min-height: 52px; resize: vertical; }
.at4u-quote .at4u-quote__field .at4u-quote__input-wrap :is(input, textarea):focus { border-color: #295a97; background: #fff; box-shadow: 0 0 0 3px rgb(41 90 151 / 12%); outline: none; }
.at4u-quote__field input::placeholder,
.at4u-quote__field textarea::placeholder { color: #617187; opacity: 1; font-weight: 500; }
.at4u-quote__field input[type='date'], .at4u-quote__field input[type='time'] { color-scheme: light; }
.at4u-quote__field input[aria-invalid='true'] { border-color: #bb3030; }
.at4u-quote__actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin: 0; }
.at4u-quote .at4u-quote__actions .at4u-btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  min-height: 52px; padding: .75rem 1rem; border-radius: 7px;
  font-size: .95rem; font-weight: 800; white-space: nowrap;
}
.at4u-quote__actions .at4u-btn svg { width: 15px; height: 15px; }
.at4u-quote .at4u-quote__next { width: 148px; }
.at4u-quote .at4u-quote__submit { min-width: 175px; }
.at4u-quote .at4u-quote__back { min-width: 70px; }
.at4u-quote__step[data-at4u-step='2'] .at4u-quote__step-layout { grid-template-columns: minmax(0,1fr); }
.at4u-quote__step[data-at4u-step='2'] .at4u-quote__fields {
  grid-template-columns: minmax(0,.85fr) minmax(0,.85fr) minmax(0,1fr) minmax(0,1.65fr);
  align-items: start;
}
.at4u-quote__disclaimer { margin: 0; color: #617187; font-size: .85rem; line-height: 1.5; text-align: right; }
.at4u-quote__trap { display: none !important; }

/* Places API Suggestions; these appear only after a browser key is configured. */
.at4u-places__list {
  position: absolute; z-index: 70; top: calc(100% + 4px); right: 0; left: 0;
  max-height: 260px; overflow-y: auto; border: 1px solid #dce5ef;
  border-radius: 8px; background: #fff; box-shadow: 0 16px 28px rgb(13 32 56 / 18%);
}
.at4u-places__item {
  display: block; width: 100%; min-height: 42px; padding: 10px 13px;
  border: 0; border-bottom: 1px solid #edf1f6; background: #fff;
  color: #24354a; font-size: .83rem; line-height: 1.35; text-align: left; cursor: pointer;
}
.at4u-places__item:hover, .at4u-places__item.is-active, .at4u-places__item:focus-visible { background: #f0f5fb; color: #0d2038; outline: none; }
.at4u-places__attribution { display: block; padding: 7px 12px; background: #fafbfc; color: #6c7888; font-size: .68rem; text-align: right; }

@media (max-width: 1250px) {
  .at4u-quote__step-layout, .at4u-quote__step[data-at4u-step='2'] .at4u-quote__step-layout { grid-template-columns: 1fr; }
  .at4u-quote__actions { justify-content: flex-end; }
  .at4u-quote__card { padding: 21px 25px 24px; }
  .at4u-quote__fields,
  .at4u-quote__step[data-at4u-step='2'] .at4u-quote__fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .at4u-quote__field--message { grid-column: 1 / -1; }
}
@media (max-width: 850px) {
  .at4u-quote { margin-top: -65px; background: linear-gradient(to bottom, transparent 0 65px, #f5f8fc 65px 100%); }
  .at4u-quote__fields { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
}
@media (max-width: 600px) {
  .at4u-quote { margin-top: -55px; background: linear-gradient(to bottom, transparent 0 55px, #f5f8fc 55px 100%); }
  .at4u-quote__card { padding: 19px 16px 20px; border-radius: 12px; }
  .at4u-quote__heading h2 { font-size: 28px; }
  .at4u-quote__heading { flex-direction: column; align-items: flex-start; gap: 8px; }
  .at4u-quote__progress { gap: 8px; }
  .at4u-quote__progress-item { gap: 6px; font-size: .8rem; }
  .at4u-quote__progress-divider { flex: 1; min-width: 12px; max-width: 36px; }
  .at4u-quote__fields,
  .at4u-quote__step[data-at4u-step='2'] .at4u-quote__fields { grid-template-columns: 1fr; gap: 16px; }
  .at4u-quote__field textarea { height: 144px; min-height: 144px; }
  .at4u-quote__actions { justify-content: flex-end; }
  .at4u-quote__step[data-at4u-step='2'] .at4u-quote__actions { flex-wrap: wrap; }
  .at4u-quote .at4u-quote__next { width: 100%; }
  .at4u-quote .at4u-quote__submit { min-width: 0; flex: 1; }
  .at4u-quote__disclaimer { text-align: left; }
}
