/* Optional customer accounts — develop/test experience */
.account-auth-page {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-items: center;
  padding-block: clamp(54px, 8vw, 94px);
  color: white;
  background: radial-gradient(circle at 12% 16%, rgba(253,193,11,.22), transparent 25%), linear-gradient(135deg, #03358f, #0543b4);
}
.account-auth-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(340px,.72fr); align-items: center; gap: clamp(38px,8vw,100px); }
.account-auth-copy h1 { max-width: 760px; color: white; font-size: clamp(2.7rem,6vw,5.4rem); line-height: .98; }
.account-auth-copy > p:not(.eyebrow) { max-width: 680px; color: rgba(255,255,255,.78); font-size: 1.05rem; }
.account-benefit-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; margin: 2rem 0; }
.account-benefit-list > span { display: flex; align-items: center; gap: .65rem; padding: .85rem; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(255,255,255,.07); font-size: .83rem; font-weight: 760; }
.account-benefit-list .icon { color: var(--gold-500); }
.account-auth-card { padding: clamp(1.4rem,3vw,2rem); border: 1px solid rgba(255,255,255,.22); border-radius: 24px; color: var(--ink-950); background: #fef6e3; box-shadow: 0 28px 70px rgba(1,25,67,.35); }
.account-auth-card > img { margin-bottom: 1rem; border-radius: 50%; }
.account-auth-card h2 { color: var(--navy-950); font-size: 2rem; }
.account-auth-card > p { color: var(--ink-600); }
.account-auth-divider { display: flex; align-items: center; gap: .8rem; margin: 1.15rem 0 .3rem; color: var(--ink-500); font-size: .72rem; }
.account-auth-divider::before,.account-auth-divider::after { height: 1px; flex: 1; background: var(--line); content: ""; }
.account-hero { padding-block: clamp(42px,6vw,72px); color: white; background: linear-gradient(135deg,#03358f,#0543b4); }
.account-hero-grid { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.account-hero h1 { margin: .2rem 0 .5rem; color: white; font-size: clamp(2.4rem,5vw,4.2rem); }
.account-hero p:not(.eyebrow) { margin: 0; color: rgba(255,255,255,.74); }
.account-hero-actions { display: flex; gap: .7rem; }
.account-section { background: #f6f7f9; }
.account-stat-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.account-stat-grid article { display: flex; align-items: center; gap: .9rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow-xs); }
.account-stat-grid article > span { display: grid; width: 44px; height: 44px; place-items: center; flex: 0 0 auto; border-radius: 12px; color: var(--navy-900); background: var(--gold-100); }
.account-stat-grid article div { display: grid; }
.account-stat-grid small { color: var(--ink-500); font-size: .68rem; font-weight: 760; text-transform: uppercase; letter-spacing: .05em; }
.account-stat-grid strong { color: var(--navy-950); font-size: 1.15rem; text-transform: capitalize; }
.account-dashboard-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(300px,.65fr); align-items: start; gap: 1.25rem; }
.account-main-column,.account-side-column { display: grid; gap: 1.25rem; }
.account-side-column { align-content: start; min-width: 0; }
.account-pass-card { align-self: start; width: 100%; min-width: 0; overflow: hidden; }
.account-profile-form { padding: 1.35rem; }
.account-profile-form .form-grid { margin: 1rem 0; }
.account-card-copy { margin-top: -.3rem; color: var(--ink-600); font-size: .82rem; }
.account-onboarding { display: grid; grid-template-columns: minmax(0,1fr) 320px; align-items: start; gap: 1.25rem; }
.account-booking-list { display: grid; gap: .8rem; }
.account-booking-card { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 1.1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: #fbfcfe; }
.account-booking-card h3 { margin: .45rem 0 .15rem; font-size: 1rem; }
.account-booking-card p { margin: 0; color: var(--ink-600); font-size: .75rem; }
.account-booking-card dl { display: grid; grid-template-columns: repeat(3,auto); gap: .9rem; margin: 0; }
.account-booking-card dl div { display: grid; }
.account-booking-card dt { color: var(--ink-500); font-size: .62rem; text-transform: uppercase; letter-spacing: .05em; }
.account-booking-card dd { margin: 0; font-size: .75rem; font-weight: 760; }
.account-vehicle-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; }
.account-vehicle-list article { display: flex; align-items: center; gap: .75rem; padding: .9rem; border: 1px solid var(--line); border-radius: 13px; background: #fbfcfe; }
.account-vehicle-list article > span { display: grid; width: 38px; height: 38px; place-items: center; flex: 0 0 auto; border-radius: 10px; color: var(--navy-900); background: var(--blue-100); }
.account-vehicle-list article div { display: grid; min-width: 0; }
.account-vehicle-list small { overflow: hidden; color: var(--ink-500); font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.account-add-details { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.account-add-details summary { color: var(--navy-900); font-weight: 820; cursor: pointer; }
.account-add-details form { margin-top: 1rem; }
.account-benefit-balance { display: grid; grid-template-columns: repeat(3,1fr); gap: .45rem; margin: 1rem 0; }
.account-benefit-balance span { display: grid; padding: .7rem; border-radius: 10px; background: var(--gold-100); text-align: center; }
.account-benefit-balance small { color: #6b5200; font-size: .62rem; }
.account-benefit-balance strong { color: var(--navy-950); font-size: 1.05rem; }
.referral-code-list { display: flex; flex-wrap: wrap; gap: .45rem; }
.referral-code-list code { padding: .55rem .7rem; border-radius: 9px; color: var(--navy-900); background: var(--blue-100); font-weight: 820; }
.account-booking-banner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .8rem; padding: .9rem 1rem; margin-bottom: 1.2rem; border: 1px solid #bed0ed; border-radius: 13px; color: var(--navy-950); background: var(--blue-100); }
.account-booking-banner > span { color: var(--navy-900); }
.account-booking-banner > div { display: grid; }
.account-booking-banner small { color: var(--ink-600); font-size: .7rem; }
.account-booking-banner a { color: var(--navy-900); font-size: .75rem; font-weight: 820; }
.account-booking-guest { border-color: #ead083; background: #fff8dc; }
.account-reuse-row { display: flex; align-items: end; justify-content: space-between; gap: .8rem; padding: .8rem; border: 1px dashed #b8c4d2; border-radius: 12px; background: #fafbfd; }
.account-reuse-row .field { flex: 1; }
.account-reuse-row p { display: grid; margin: 0; }
.account-reuse-row small { color: var(--ink-500); font-size: .7rem; }
.account-loading .loading-screen { min-height: 55vh; }

@media (min-width: 1041px) {
  .account-dashboard-grid { grid-template-columns: minmax(0,1fr) minmax(340px,390px); }
}

@media (max-width: 1040px) {
  .account-auth-grid,.account-dashboard-grid,.account-onboarding { grid-template-columns: 1fr; }
  .account-stat-grid { grid-template-columns: repeat(2,1fr); }
  .account-side-column { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .account-side-column > :first-child { grid-column: 1 / -1; }
  .account-booking-card { grid-template-columns: 1fr; }
  .account-booking-card dl { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .account-booking-card .button { justify-self: start; }
}
@media (max-width: 760px) {
  .account-auth-page { min-height: calc(100vh - var(--header-height) - var(--mobile-nav-height)); align-items: start; }
  .account-auth-copy h1 { font-size: 2.8rem; }
  .account-benefit-list,.account-side-column,.account-vehicle-list { grid-template-columns: 1fr; }
  .account-hero-grid,.account-hero-actions { align-items: stretch; flex-direction: column; }
  .account-hero-actions .button { width: 100%; }
  .account-stat-grid { gap: .65rem; }
  .account-stat-grid article { align-items: flex-start; flex-direction: column; }
  .account-booking-card dl { grid-template-columns: 1fr; }
  .account-benefit-balance { grid-template-columns: 1fr; }
  .account-booking-banner { grid-template-columns: auto 1fr; }
  .account-booking-banner a { grid-column: 2; }
  .account-reuse-row { align-items: stretch; flex-direction: column; }
  .account-reuse-row .button { width: 100%; }
}
