/* ==========================================================================
   booking.css — the pages that carry live MePass data: the event listing,
   the event detail page, and the two checkout return pages.

   It reuses the tokens and components from the marketing site so a buyer
   never feels handed off to a different product mid-flow. Nothing here
   overrides the Figma composition on the landing page.
   ========================================================================== */

/* ==========================================================================
   Page chrome shared by the sub-pages
   ========================================================================== */
.subpage {
  position: relative;
  min-height: 100vh;
  padding: clamp(96px, 12vw, 168px) var(--gutter) clamp(64px, 8vw, 120px);
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(20, 38, 96, .55), transparent 62%),
    url("../assets/images/starfield.jpg") repeat-y center top / 100% auto,
    var(--color-bg);
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
}
.wrap--narrow { max-width: 760px; }

.page-head { margin-bottom: clamp(28px, 4vw, 56px); text-align: center; }
.page-head__title {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 14, "wdth" 100;
  font-weight: 700;
  font-size: var(--text-display);
  line-height: var(--leading-display);
  letter-spacing: -0.4px;
  color: var(--color-text);
}
.page-head__lede {
  margin: var(--spacing-sm) auto 0;
  max-width: 62ch;
  font-size: var(--text-lg);
  line-height: var(--leading-lg);
  color: rgba(226, 226, 226, .78);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: var(--text-sm);
  color: rgba(226, 226, 226, .6);
}
.breadcrumb a:hover { color: var(--color-text); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb span { opacity: .5; }

/* ==========================================================================
   Search
   ========================================================================== */
.search {
  display: flex;
  gap: 10px;
  width: min(560px, 100%);
  margin: 0 auto clamp(24px, 3vw, 40px);
}
.search__field {
  flex: 1;
  min-width: 0;
  padding: 14px 20px;
  font: inherit;
  font-size: var(--text-md);
  color: var(--color-text);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(241, 245, 255, .18);
  border-radius: var(--radius-pill);
  transition: border-color var(--dur-base) var(--ease-out), background-color var(--dur-base) var(--ease-out);
}
.search__field::placeholder { color: rgba(226, 226, 226, .45); }
.search__field:focus {
  outline: none;
  border-color: rgba(241, 245, 255, .55);
  background: rgba(255, 255, 255, .08);
}
.events-count {
  margin-bottom: 18px;
  font-size: var(--text-sm);
  color: rgba(226, 226, 226, .55);
  text-align: center;
  min-height: 1.4em;
}

/* ==========================================================================
   Event cards
   ========================================================================== */
.events-grid {
  display: grid;
  gap: clamp(16px, 2vw, 28px);
  grid-template-columns: 1fr;
}

.event-card {
  position: relative;
  border: 1px solid rgba(241, 245, 255, .14);
  border-radius: var(--radius-md);
  background: rgba(8, 20, 58, .55);
  overflow: hidden;
  transition: transform var(--dur-slow) var(--ease-out),
              border-color var(--dur-slow) var(--ease-out),
              box-shadow var(--dur-slow) var(--ease-out);
}
.event-card:hover {
  transform: translateY(-4px);
  border-color: rgba(241, 245, 255, .35);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .5);
}
.event-card__link { display: block; height: 100%; }

.event-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(255, 255, 255, .04);
}
.event-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.event-card:hover .event-card__media img { transform: scale(1.05); }
.event-card__placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(120, 160, 255, .18), rgba(4, 13, 45, .6));
}
.event-card__date {
  position: absolute;
  top: 12px; left: 12px;
  padding: 6px 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  color: var(--color-on-light);
  background: var(--color-text);
  border-radius: var(--radius-pill);
}

.event-card__body { padding: clamp(16px, 2vw, 24px); display: grid; gap: 6px; }
.event-card__tag {
  justify-self: start;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(226, 226, 226, .6);
}
.event-card__name {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 14, "wdth" 100;
  font-weight: 700;
  font-size: clamp(19px, 1.6vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.3px;
  color: var(--color-text);
}
.event-card__when { font-size: var(--text-md); color: rgba(226, 226, 226, .82); }
.event-card__where { font-size: var(--text-sm); color: rgba(226, 226, 226, .55); }
.event-card__cta {
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-sm);
  color: var(--color-accent);
}
.event-card__cta::after {
  content: "→";
  display: inline-block;
  margin-left: 6px;
  transition: transform var(--dur-base) var(--ease-out);
}
.event-card:hover .event-card__cta::after { transform: translateX(4px); }

.events-more { display: block; margin: clamp(28px, 4vw, 48px) auto 0; }

/* ==========================================================================
   Event detail
   ========================================================================== */
.event-hero { display: grid; gap: clamp(20px, 3vw, 36px); margin-bottom: clamp(32px, 4vw, 56px); }
.event-hero__media {
  aspect-ratio: 21 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, .04);
}
.event-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.event-hero__tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(226, 226, 226, .6);
  margin-bottom: 8px;
}
.event-hero__name {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 14, "wdth" 100;
  font-weight: 700;
  font-size: var(--text-display);
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--color-text);
}
.event-hero__lede {
  margin-top: 12px;
  max-width: 62ch;
  font-size: var(--text-lg);
  line-height: var(--leading-lg);
  color: rgba(226, 226, 226, .8);
}

.event-facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 22px;
  margin-top: clamp(20px, 2.5vw, 32px);
  padding-top: clamp(18px, 2vw, 26px);
  border-top: 1px solid rgba(241, 245, 255, .14);
  font-size: var(--text-md);
}
.event-facts dt {
  font-family: var(--font-display);
  font-weight: 700;
  color: rgba(226, 226, 226, .55);
  white-space: nowrap;
}
.event-facts dd { margin: 0; color: var(--color-text); }
.event-facts dd small { display: block; margin-top: 2px; font-size: var(--text-sm); color: rgba(226, 226, 226, .5); }

.section-title {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 14, "wdth" 100;
  font-weight: 700;
  font-size: clamp(21px, 2vw, 32px);
  letter-spacing: -0.3px;
  color: var(--color-text);
  margin-bottom: 18px;
}

.event-about { margin-bottom: clamp(32px, 4vw, 56px); }
.event-about p {
  max-width: 68ch;
  font-size: var(--text-md);
  line-height: 1.65;
  color: rgba(226, 226, 226, .82);
}

/* ==========================================================================
   Passes — every value here is whatever MePass returned
   ========================================================================== */
.pass-list {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(241, 245, 255, .14);
  border-radius: var(--radius-md);
  padding: clamp(14px, 1.6vw, 22px);
  background: rgba(8, 20, 58, .5);
}

.pass {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(14px, 1.6vw, 20px);
  border: 1px solid rgba(241, 245, 255, .1);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .03);
  transition: border-color var(--dur-base) var(--ease-out), background-color var(--dur-base) var(--ease-out);
}
.pass:hover { border-color: rgba(241, 245, 255, .26); background: rgba(255, 255, 255, .05); }
.pass.is-unavailable { opacity: .55; }
.pass.is-unavailable:hover { border-color: rgba(241, 245, 255, .1); background: rgba(255, 255, 255, .03); }

.pass__text { min-width: 0; }
.pass__name {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 96, "wdth" 100;
  font-weight: 800;
  font-size: clamp(17px, 1.5vw, 23px);
  letter-spacing: -0.3px;
  color: var(--color-text-pass);
}
.pass__desc {
  margin-top: 4px;
  font-size: var(--text-sm);
  line-height: 1.4;
  color: rgba(226, 226, 226, .62);
}
.pass__meta { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.pass__badge {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(241, 245, 255, .1);
  color: rgba(226, 226, 226, .8);
}
.pass__badge--low { background: rgba(245, 195, 122, .16); color: #f5c37a; }
.pass__badge--out { background: rgba(255, 120, 120, .14); color: #ff9a9a; }

.pass__price { flex: 0 0 auto; text-align: right; }
.pass__amount {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 96, "wdth" 100;
  font-weight: 800;
  font-size: clamp(19px, 1.7vw, 26px);
  color: var(--color-text);
  white-space: nowrap;
}
/* No price came back from the API — say so rather than inventing one. */
.pass__amount--tbd {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(226, 226, 226, .5);
  white-space: normal;
  display: block;
  max-width: 12ch;
}

.pass-note {
  margin-top: 14px;
  font-size: var(--text-sm);
  line-height: 1.5;
  color: rgba(226, 226, 226, .55);
}

/* ==========================================================================
   Book bar
   ========================================================================== */
.book-bar {
  display: grid;
  gap: 14px;
  margin-top: clamp(22px, 3vw, 36px);
  padding: clamp(18px, 2.4vw, 30px);
  border: 1px solid rgba(241, 245, 255, .2);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(11, 26, 78, .85), rgba(4, 13, 45, .6));
}
.book-bar__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(18px, 1.6vw, 24px);
  color: var(--color-text);
}
.book-bar__sub { margin-top: 4px; font-size: var(--text-sm); color: rgba(226, 226, 226, .62); }
.book-bar__cta { justify-self: start; }
.book-bar__cta.is-loading { opacity: .75; pointer-events: none; }
.book-bar__cta:disabled { cursor: wait; }

.inline-error {
  font-size: var(--text-sm);
  line-height: 1.5;
  color: #ff9a9a;
  padding: 10px 14px;
  border: 1px solid rgba(255, 120, 120, .3);
  border-radius: var(--radius-sm);
  background: rgba(255, 120, 120, .08);
}

/* ==========================================================================
   Loading skeletons
   ========================================================================== */
@keyframes shimmer { to { background-position: 200% 0; } }

.skeleton {
  border: 1px solid rgba(241, 245, 255, .1);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(8, 20, 58, .4);
}
.skeleton--event .skeleton__media { aspect-ratio: 16 / 9; }
.skeleton--pass { display: flex; gap: 16px; align-items: center; padding: 18px; }
.skeleton--pass .skeleton__media { display: none; }

.skeleton__media,
.skeleton__line {
  background: linear-gradient(90deg,
    rgba(255, 255, 255, .04) 0%,
    rgba(255, 255, 255, .10) 40%,
    rgba(255, 255, 255, .04) 80%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
.skeleton__lines { padding: 18px; display: grid; gap: 10px; flex: 1; }
.skeleton--pass .skeleton__lines { padding: 0; }
.skeleton__line { height: 12px; border-radius: 6px; width: 100%; }
.skeleton__line--lg { height: 18px; width: 70%; }
.skeleton__line--sm { width: 40%; }

/* ==========================================================================
   Empty / error states
   ========================================================================== */
.state {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
  padding: clamp(32px, 5vw, 64px) clamp(20px, 3vw, 40px);
  border: 1px dashed rgba(241, 245, 255, .22);
  border-radius: var(--radius-md);
  background: rgba(8, 20, 58, .35);
}
.state__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 1.7vw, 24px);
  color: var(--color-text);
}
.state__message { max-width: 48ch; font-size: var(--text-md); line-height: 1.55; color: rgba(226, 226, 226, .66); }
.state .btn-pill { margin-top: 8px; }
.state--error { border-color: rgba(255, 120, 120, .32); }

/* ==========================================================================
   Checkout result panels
   ========================================================================== */
.result {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
  padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 56px);
  border: 1px solid rgba(241, 245, 255, .18);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(11, 26, 78, .8), rgba(4, 13, 45, .55));
}
.result__icon { width: clamp(56px, 7vw, 84px); color: var(--color-accent); }
.result__icon svg { width: 100%; height: auto; }
.result--success .result__icon { color: #7fe0a8; }
.result--failure .result__icon { color: #ff9a9a; }
.result--pending .result__icon { color: #f5c37a; }

@keyframes spin { to { transform: rotate(360deg); } }
.is-spinning { animation: spin 1.1s linear infinite; transform-origin: 50% 50%; }

.result__title {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 14, "wdth" 100;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.4px;
  color: var(--color-text);
}
.result__message { max-width: 52ch; font-size: var(--text-md); line-height: 1.6; color: rgba(226, 226, 226, .78); }

.result__steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4px; }
.result__step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: rgba(226, 226, 226, .45);
}
.result__step::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(241, 245, 255, .25);
}
.result__step.is-active { color: var(--color-text); }
.result__step.is-active::before { background: #f5c37a; animation: pulse 1.4s ease-in-out infinite; }
.result__step.is-done { color: rgba(226, 226, 226, .7); }
.result__step.is-done::before { background: #7fe0a8; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.8); } }

.result__rows {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 22px;
  width: 100%;
  max-width: 520px;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(241, 245, 255, .14);
  text-align: left;
  font-size: var(--text-sm);
}
.result__rows dt { color: rgba(226, 226, 226, .5); white-space: nowrap; }
.result__rows dd { margin: 0; color: var(--color-text); word-break: break-word; }

.result__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.btn-pill--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid rgba(241, 245, 255, .3);
}
.btn-pill--ghost::before { background: rgba(241, 245, 255, .12); }
.btn-pill--ghost:hover { color: var(--color-text); }

.result__foot { font-size: var(--text-xs); color: rgba(226, 226, 226, .45); }

/* ==========================================================================
   Simple header/footer for the sub-pages
   ========================================================================== */
.subnav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 3vw, 40px);
  background: rgba(4, 13, 45, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(241, 245, 255, .1);
}
.subnav__logo img { width: clamp(52px, 5vw, 72px); height: auto; }
.subnav__links { display: flex; align-items: center; gap: clamp(14px, 2vw, 32px); }
.subnav__links a {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-sm);
  color: rgba(226, 226, 226, .8);
}
.subnav__links a:hover { color: var(--color-text); }

.subfoot {
  margin-top: clamp(48px, 7vw, 96px);
  padding-top: 24px;
  border-top: 1px solid rgba(241, 245, 255, .1);
  text-align: center;
  font-size: var(--text-xs);
  color: rgba(226, 226, 226, .45);
}

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 640px) {
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .book-bar { grid-template-columns: 1fr auto; align-items: center; }
  .book-bar__message { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .events-grid { grid-template-columns: repeat(3, 1fr); }
  .event-hero { grid-template-columns: 1.15fr 1fr; align-items: center; }
  .event-hero__media { aspect-ratio: 4 / 3; }
}

/* The pass row stacks rather than squeezing the price on a narrow phone. */
@media (max-width: 479px) {
  .pass { flex-direction: column; align-items: flex-start; gap: 10px; }
  .pass__price { text-align: left; }
  .pass__amount--tbd { max-width: none; }
  .result__rows { grid-template-columns: 1fr; gap: 2px 0; }
  .result__rows dt { margin-top: 10px; }
  .result__actions { width: 100%; flex-direction: column; }
  .result__actions .btn-pill { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton__media, .skeleton__line, .is-spinning, .result__step.is-active::before { animation: none; }
  .event-card, .event-card__media img, .pass { transition: none; }
}

/* ==========================================================================
   Booking widget — night picker, pass steppers, live total, details form.

   Added with the MePass Booking API integration. The total in here is always
   a value returned by a quote; there is no arithmetic in the stylesheet's
   sibling JS that could produce a number of its own.
   ========================================================================== */

.booking { display: grid; gap: clamp(18px, 2.4vw, 30px); }

/* ---------- night picker ---------- */
.night-picker {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.night-picker::-webkit-scrollbar { height: 4px; }
.night-picker::-webkit-scrollbar-thumb { background: rgba(241, 245, 255, .2); border-radius: 4px; }

.night {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: grid;
  gap: 2px;
  min-width: 74px;
  padding: 10px 14px;
  text-align: center;
  border: 1px solid rgba(241, 245, 255, .18);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .03);
  color: rgba(226, 226, 226, .72);
  transition: border-color var(--dur-base) var(--ease-out),
              background-color var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out);
}
.night:hover { border-color: rgba(241, 245, 255, .4); color: var(--color-text); }
.night.is-active {
  background: var(--color-text);
  border-color: var(--color-text);
  color: var(--color-on-light);
}
.night__day { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.night__date { font-family: var(--font-display); font-weight: 800; font-size: 15px; }

/* ---------- pass rows ---------- */
.pass-options {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(241, 245, 255, .14);
  border-radius: var(--radius-md);
  padding: clamp(12px, 1.6vw, 20px);
  background: rgba(8, 20, 58, .5);
}

.pass__right {
  flex: 0 0 auto;
  display: grid;
  justify-items: end;
  gap: 6px;
  text-align: right;
}
.pass__each { font-size: 11px; color: rgba(226, 226, 226, .45); }

.stepper {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(241, 245, 255, .22);
  border-radius: var(--radius-pill);
  padding: 3px;
}
.stepper__btn {
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 17px;
  line-height: 1;
  color: var(--color-text);
  background: rgba(255, 255, 255, .06);
  transition: background-color var(--dur-fast) var(--ease-out);
}
.stepper__btn:hover:not(:disabled) { background: rgba(255, 255, 255, .16); }
.stepper__btn:disabled { opacity: .3; cursor: not-allowed; }
.stepper__count {
  min-width: 26px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

/* ---------- summary ---------- */
.summary {
  display: grid;
  gap: 12px;
  padding: clamp(16px, 2.2vw, 26px);
  border: 1px solid rgba(241, 245, 255, .2);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(11, 26, 78, .85), rgba(4, 13, 45, .6));
}
.summary--empty {
  border-style: dashed;
  background: rgba(8, 20, 58, .3);
  text-align: center;
  color: rgba(226, 226, 226, .6);
  font-size: var(--text-sm);
}
.summary__count { font-size: var(--text-sm); color: rgba(226, 226, 226, .62); }

.summary__rows {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 16px;
  font-size: var(--text-sm);
  color: rgba(226, 226, 226, .72);
}
.summary__rows dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }

.summary__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(241, 245, 255, .18);
  font-size: var(--text-md);
  color: rgba(226, 226, 226, .8);
}
.summary__total strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(21px, 2vw, 30px);
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
}
.summary__note { font-size: var(--text-xs); color: rgba(226, 226, 226, .45); }
.summary__cta { justify-self: start; }
.summary__cta:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- details form ---------- */
.details {
  display: grid;
  gap: 14px;
  padding: clamp(16px, 2.2vw, 28px);
  border: 1px solid rgba(241, 245, 255, .2);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(11, 26, 78, .85), rgba(4, 13, 45, .6));
}
.details__back {
  justify-self: start;
  font-size: var(--text-sm);
  color: rgba(226, 226, 226, .7);
}
.details__back:hover { color: var(--color-text); text-decoration: underline; text-underline-offset: 3px; }
.details__lede { font-size: var(--text-sm); color: rgba(226, 226, 226, .6); margin-top: -6px; }

.field { display: grid; gap: 6px; }
.field__label { font-size: var(--text-sm); color: rgba(226, 226, 226, .72); }
.field__input {
  width: 100%;
  padding: 13px 16px;
  font: inherit;
  font-size: var(--text-md);
  color: var(--color-text);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(241, 245, 255, .2);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur-base) var(--ease-out), background-color var(--dur-base) var(--ease-out);
}
.field__input::placeholder { color: rgba(226, 226, 226, .35); }
.field__input:focus {
  outline: none;
  border-color: rgba(241, 245, 255, .6);
  background: rgba(255, 255, 255, .08);
}

.details__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(241, 245, 255, .18);
  font-size: var(--text-md);
  color: rgba(226, 226, 226, .8);
}
.details__total strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 1.9vw, 28px);
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
}
.details__submit { justify-self: stretch; }
.details__submit:disabled { opacity: .7; cursor: wait; }
.details__note { font-size: var(--text-xs); line-height: 1.5; color: rgba(226, 226, 226, .45); }

@media (min-width: 640px) {
  .details__submit { justify-self: start; }
}
@media (max-width: 479px) {
  .pass__right { justify-items: flex-start; text-align: left; }
}
