/* Wahaaj AlBadr booking platform V4.4 — preserves the approved identity. */
.booking-platform-hero {
  overflow: hidden;
}

.booking-platform-hero::after {
  content: "";
  position: absolute;
  inset: auto 8% -120px auto;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(248, 200, 7, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(207, 14, 93, .06), 0 0 0 78px rgba(248, 200, 7, .025);
  pointer-events: none;
}

.booking-platform-hero .agency-quote-hero-grid {
  position: relative;
  z-index: 1;
}

.booking-route-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .035)),
    rgba(24, 7, 22, .36);
}

.booking-route-card p {
  color: #fff;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  font-weight: 700;
}

.booking-platform-section {
  position: relative;
  overflow: clip;
}

.booking-platform-section::before {
  content: "";
  position: absolute;
  inset: 6% auto auto -12%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(207, 14, 93, .09), transparent 68%);
  pointer-events: none;
}

.booking-platform-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, .5fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: start;
}

.booking-guide {
  top: 106px;
}

.booking-manage-shortcut {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 26px;
  padding: 15px;
  border: 1px solid rgba(248, 200, 7, .2);
  border-radius: 18px;
  color: #fff;
  background: rgba(255, 255, 255, .065);
  text-decoration: none;
}

.booking-manage-shortcut .agency-icon {
  color: var(--w-sun, #f8c807);
  font-size: 1.45rem;
}

.booking-manage-shortcut span,
.booking-manage-shortcut strong {
  display: block;
}

.booking-manage-shortcut span {
  color: rgba(255, 255, 255, .72);
  font-size: .82rem;
  line-height: 1.55;
}

.booking-manage-shortcut strong {
  color: #fff;
  font-size: .95rem;
}

.booking-platform-form {
  position: relative;
}

.booking-platform-form fieldset {
  margin-bottom: 24px;
  padding: 22px;
  border: 1px solid var(--a-line);
  border-radius: 22px;
}

.booking-platform-form legend {
  padding-inline: 8px;
}

.booking-platform-form .field-error {
  min-height: 18px;
  color: var(--a-danger);
  font-size: .76rem;
  font-weight: 700;
}

.booking-platform-form [aria-invalid="true"] {
  border-color: var(--a-danger) !important;
  box-shadow: 0 0 0 3px rgba(163, 63, 84, .12) !important;
}

.booking-progress span {
  min-height: 46px;
  display: grid;
  place-items: center;
}

.booking-error-summary {
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px solid rgba(163, 63, 84, .18);
  border-radius: 14px;
  color: var(--a-danger);
  background: rgba(163, 63, 84, .08);
  font-weight: 700;
  line-height: 1.7;
}

.booking-retry {
  min-height: 42px;
  margin-top: 4px;
}

.booking-review-card h2 {
  margin: 7px 0 18px;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

#booking-review {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

#booking-review > div {
  padding: 13px 14px;
  border: 1px solid rgba(159, 36, 93, .09);
  border-radius: 14px;
  background: rgba(255, 255, 255, .66);
}

#booking-review span,
#booking-review strong {
  display: block;
}

#booking-review span {
  margin-bottom: 3px;
  color: var(--a-muted);
  font-size: .72rem;
}

#booking-review strong {
  color: var(--a-ink);
  font-size: .9rem;
}

.booking-form-actions {
  align-items: center;
}

.booking-form-actions .button-submit {
  min-width: 190px;
}

.button-submit.is-loading {
  cursor: wait;
  opacity: .72;
}

.booking-success {
  margin-top: 26px;
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid rgba(46, 125, 98, .22);
  border-radius: 24px;
  background:
    radial-gradient(circle at 86% 4%, rgba(248, 200, 7, .14), transparent 34%),
    linear-gradient(145deg, rgba(46, 125, 98, .08), rgba(159, 36, 93, .08));
  outline: none;
}

.booking-success[hidden] {
  display: none;
}

.booking-success-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 17px;
  color: #fff;
  background: var(--a-success);
  box-shadow: 0 14px 30px rgba(46, 125, 98, .2);
}

.booking-success > small {
  color: var(--a-success);
  font-weight: 900;
}

.booking-success h2 {
  margin: 6px 0 8px;
}

.booking-success-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
}

.booking-success-details > div {
  padding: 12px 14px;
  border: 1px solid var(--a-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
}

.booking-success-details span,
.booking-success-details strong {
  display: block;
}

.booking-success-details span {
  color: var(--a-muted);
  font-size: .73rem;
}

.booking-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

html[data-theme="dark"] .booking-platform-form fieldset {
  border-color: rgba(255, 255, 255, .1);
}

html[data-theme="dark"] .booking-platform-form :is(#booking-review > div, .booking-success-details > div) {
  background: rgba(255, 255, 255, .045);
}

html[data-theme="dark"] .booking-platform-form #booking-review strong {
  color: #fff;
}

@media (max-width: 1000px) {
  .booking-platform-layout {
    grid-template-columns: 1fr;
  }

  .booking-guide {
    position: static;
  }
}

@media (max-width: 680px) {
  .booking-platform-hero {
    padding-bottom: 54px;
  }

  .booking-route-card {
    padding: 20px;
  }

  .booking-platform-form {
    padding: 20px 16px;
  }

  .booking-platform-form fieldset {
    padding: 18px 14px;
  }

  .booking-progress {
    grid-template-columns: 1fr;
  }

  #booking-review,
  .booking-success-details {
    grid-template-columns: 1fr;
  }

  .booking-form-actions,
  .booking-success-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .booking-form-actions .agency-button,
  .booking-success-actions .agency-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-platform *,
  .booking-platform *::before,
  .booking-platform *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media (forced-colors: active) {
  .booking-platform-form fieldset,
  .booking-success,
  .booking-manage-shortcut {
    border: 1px solid CanvasText;
  }
}

/* Booking Journey V4.5 — progressive, fast and visually aligned with the logo. */
.booking-platform-hero {
  min-height: min(660px, 78svh);
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 84% 14%, rgba(248, 200, 7, .22), transparent 25rem),
    radial-gradient(circle at 10% 85%, rgba(237, 42, 120, .31), transparent 32rem),
    linear-gradient(145deg, #090307, #230817 55%, #4a092c);
}

.booking-route-card {
  border: 1px solid rgba(255, 237, 159, .2);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 8%, rgba(248, 200, 7, .09), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04));
  box-shadow: inset 0 1px rgba(255, 255, 255, .18), 0 30px 80px rgba(0, 0, 0, .28);
  -webkit-backdrop-filter: blur(22px) saturate(1.12);
  backdrop-filter: blur(22px) saturate(1.12);
}

.booking-platform-section {
  background:
    radial-gradient(circle at 91% 4%, rgba(248, 200, 7, .08), transparent 26rem),
    radial-gradient(circle at 4% 68%, rgba(207, 14, 93, .075), transparent 31rem),
    var(--v38-paper, #fffdf9);
}

.booking-platform-form {
  overflow: hidden;
  border: 1px solid rgba(207, 14, 93, .13);
  border-radius: clamp(26px, 3vw, 38px);
  background:
    radial-gradient(circle at 96% 2%, rgba(248, 200, 7, .09), transparent 25%),
    linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(255, 248, 244, .73));
  box-shadow: 0 30px 90px rgba(70, 7, 41, .14), inset 0 1px rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(25px) saturate(1.08);
  backdrop-filter: blur(25px) saturate(1.08);
}

.booking-progress {
  position: relative;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 28px;
  padding: 7px;
  border: 1px solid rgba(207, 14, 93, .1);
  border-radius: 19px;
  background: rgba(255, 255, 255, .58);
  box-shadow: inset 0 1px 3px rgba(75, 8, 43, .04);
}

.booking-progress span {
  position: relative;
  min-height: 48px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--a-muted);
  background: transparent;
  font-size: .82rem;
  font-weight: 800;
  transition: color .24s ease, background .24s ease, border-color .24s ease, box-shadow .24s ease, transform .24s ease;
}

.booking-progress span.is-active,
.booking-progress span[aria-current="step"] {
  border-color: rgba(255, 232, 139, .55);
  color: #2c101e;
  background: linear-gradient(135deg, #fff0a1, var(--w-sun, #f8c807) 58%, #ff9b20);
  box-shadow: inset 0 1px rgba(255, 255, 255, .68), 0 12px 30px rgba(248, 200, 7, .18);
  transform: translateY(-1px);
}

.booking-progress span.is-complete {
  color: var(--w-magenta, #cf0e5d);
  background: rgba(207, 14, 93, .065);
}

.booking-platform-form fieldset {
  padding: clamp(20px, 3vw, 28px);
  border-color: rgba(207, 14, 93, .11);
  border-radius: 24px;
  background: rgba(255, 255, 255, .56);
  box-shadow: inset 0 1px rgba(255, 255, 255, .9), 0 14px 38px rgba(76, 8, 44, .045);
}

.booking-platform-form legend {
  color: var(--a-ink);
  font-weight: 900;
}

.booking-wizard-ready .booking-step-panel {
  animation: booking-step-enter .34s cubic-bezier(.22, .61, .36, 1) both;
}

.booking-wizard-ready .booking-step-panel[hidden],
.booking-wizard-ready .booking-review-card[hidden],
.booking-wizard-ready .booking-form-actions[hidden],
.booking-wizard-ready .booking-wizard-controls[hidden] {
  display: none !important;
}

@keyframes booking-step-enter {
  from { opacity: .01; transform: translate3d(0, 10px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.booking-wizard-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: -4px 0 24px;
}

.booking-wizard-controls .agency-button {
  min-width: 148px;
}

.booking-wizard-controls .booking-step-hint {
  margin-inline-end: auto;
  color: var(--a-muted);
  font-size: .82rem;
  font-weight: 700;
}

.booking-review-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(207, 14, 93, .13);
  border-radius: 25px;
  background:
    radial-gradient(circle at 92% 2%, rgba(248, 200, 7, .14), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, .78), rgba(255, 244, 239, .62));
  box-shadow: inset 0 1px rgba(255, 255, 255, .92), 0 20px 52px rgba(75, 7, 43, .08);
}

#booking-review > div {
  border-color: rgba(207, 14, 93, .1);
  border-radius: 16px;
  background: rgba(255, 255, 255, .74);
  box-shadow: inset 0 1px rgba(255, 255, 255, .9);
}

.booking-form-actions {
  gap: 12px;
  padding-top: 4px;
}

.booking-success {
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(46, 125, 98, .11), inset 0 1px rgba(255, 255, 255, .8);
}

html[data-theme="dark"] .booking-platform-section {
  background:
    radial-gradient(circle at 91% 4%, rgba(248, 200, 7, .06), transparent 26rem),
    radial-gradient(circle at 4% 68%, rgba(207, 14, 93, .12), transparent 31rem),
    #0d060c;
}

html[data-theme="dark"] .booking-platform-form {
  border-color: rgba(255, 236, 156, .14);
  background:
    radial-gradient(circle at 96% 2%, rgba(248, 200, 7, .07), transparent 25%),
    linear-gradient(145deg, rgba(39, 15, 32, .94), rgba(17, 6, 14, .96));
  box-shadow: 0 34px 100px rgba(0, 0, 0, .42), inset 0 1px rgba(255, 255, 255, .09);
}

html[data-theme="dark"] .booking-progress {
  border-color: rgba(255, 255, 255, .1);
  background: rgba(5, 2, 5, .35);
}

html[data-theme="dark"] .booking-progress span.is-complete {
  color: #ff8bb7;
  background: rgba(237, 42, 120, .1);
}

html[data-theme="dark"] .booking-platform-form fieldset,
html[data-theme="dark"] .booking-review-card {
  border-color: rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .035);
  box-shadow: inset 0 1px rgba(255, 255, 255, .07);
}

html[data-theme="dark"] #booking-review > div {
  border-color: rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .045);
}

@media (max-width: 680px) {
  .booking-platform-hero {
    min-height: auto;
  }

  .booking-platform-form {
    padding: 18px 14px 22px;
    border-radius: 27px;
  }

  .booking-progress {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin-bottom: 22px;
    padding: 5px;
  }

  .booking-progress span {
    min-height: 44px;
    padding: 6px 4px;
    font-size: .68rem;
    line-height: 1.35;
    text-align: center;
  }

  .booking-platform-form fieldset {
    padding: 18px 14px;
    border-radius: 20px;
  }

  .booking-wizard-controls {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .booking-wizard-controls .agency-button {
    width: 100%;
  }

  .booking-wizard-controls .booking-step-hint {
    margin: 0;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-wizard-ready .booking-step-panel {
    animation: none !important;
  }
}
