/* ============================================================================================================
   auth-modal.css — the ONE look of the Shubh Muhrat sign-in (#authModal: phone OTP + Google), design.md 2026-10-10.
   Every page that has the modal links this file. Selectors start with `html` so they beat each page's older inline
   `#authModal …` rules whatever the load order (those still hold layout, this owns the look):
   Paper card · Petal Line · wine heading · wine pill primary · Kohl Plum text · the S emblem (no emoji) · no shimmer.
   ============================================================================================================ */
html .mov { background: rgba(58, 42, 47, .42); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
/* ── LAYOUT (6.60.1) ─────────────────────────────────────────────────────────────────────────────────────────────────────
   The sheet's layout lives here too, so a page that links this file gets the WHOLE sheet: card size + scroll, a real 44 px close
   button, the number row, full-width fields and buttons, the hidden OTP step. Before, the layout sat only in each older page's
   inline CSS and the new video page (?v=4) showed a grey browser "×", a short field and half-width pills (owner screenshot
   2026-11-26). Pages may keep their inline copies; these rules win (html prefix) and match them. Guard: tests/playwright/mobile_ui_guard.mjs.
   Above everything, the cookie banner (z 490) and the lifted sheets (99998) included: a sign-in is always the top layer. */
html #authModal { z-index: 99999; }
html #authModal .va-mdl { position: relative; box-sizing: border-box; width: 100%; max-width: 400px; max-height: 88vh; max-height: 88dvh;
  overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; margin: auto; padding: 32px 32px 24px; text-align: center; }
@media (max-width: 480px) { html #authModal .va-mdl { padding: 28px 20px 20px; } }
html #authModal .va-modal { position: relative; }   /* the biodata maker's card (.modal.va-modal) holds the absolute close button */
html #authModal .va-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; display: inline-flex; align-items: center;
  justify-content: center; margin: 0; padding: 0; border: 0; border-radius: 999px; background: transparent; font: 400 26px/1 'Outfit', system-ui, sans-serif;
  cursor: pointer; -webkit-appearance: none; appearance: none; }
html #authModal .va-modal-t { margin: 0 0 6px; }
html #authModal .va-modal-sub { margin: 0 0 8px; }
html #authModal .va-wrap { position: relative; margin-top: 14px; text-align: left; }
html #authModal .va-bar { position: absolute; top: -10px; left: 0; right: 0; height: 3px; border-radius: 3px; overflow: hidden; background: transparent; }
html #authModal .va-bar.active::after { content: ''; position: absolute; left: -40%; top: 0; width: 40%; height: 100%; border-radius: 3px; animation: smAuthBar 1.1s ease-in-out infinite; }
@keyframes smAuthBar { from { left: -40%; } to { left: 100%; } }
html #authModal .va-field { margin: 0 0 12px; }
html #authModal .va-label { display: block; margin: 0 0 6px; text-transform: uppercase; }
html #authModal .va-phone { display: flex; align-items: stretch; width: 100%; }
html #authModal .va-cc { display: inline-flex; align-items: center; flex: 0 0 auto; padding: 0 12px; border-width: 1px; border-style: solid; border-right: 0; white-space: nowrap; }
html #authModal .va-input { display: block; flex: 1 1 auto; width: 100%; min-width: 0; box-sizing: border-box; margin: 0; padding: 11px 14px;
  font-family: 'Outfit', system-ui, sans-serif; outline: none; -webkit-appearance: none; appearance: none; }
html #authModal .va-code { text-align: center; letter-spacing: .4em; font-size: 20px; font-weight: 600; margin: 0 0 10px; }
html #authModal .va-btn { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; box-sizing: border-box; margin: 4px 0 0;
  padding: 12px 16px; border: 0; cursor: pointer; text-decoration: none; -webkit-appearance: none; appearance: none; }
html #authModal .va-btn:active { transform: translateY(1px); }
html #authModal .va-btn:disabled, html #authModal .va-btn.is-disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
html #authModal .va-btn-google svg { flex-shrink: 0; }
html #authModal .va-otp { margin: 12px 0 0; }
html #authModal .va-or { display: flex; align-items: center; gap: 12px; margin: 16px 0 10px; font-size: 12px; }
html #authModal .va-or::before, html #authModal .va-or::after { content: ''; flex: 1; height: 1px; }
html #authModal .va-status { min-height: 1.1em; margin: 12px 0 0; font-size: 13px; line-height: 1.45; text-align: center; }
html #authModal .va-trust { margin: 12px 0 0; text-align: center; line-height: 1.5; }
html #authModal .va-skeleton { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
html #authModal .va-skeleton > div { border-radius: 10px; }
html #authModal .va-sk-line { height: 14px; }
html #authModal .va-sk-box, html #authModal .va-sk-btn { height: 48px; }
html #authModal .va-sk-or { height: 12px; width: 30%; margin: 2px auto; }
html #authModal .hidden { display: none !important; }

/* ── LOOK (design.md 2026-10-10) ─────────────────────────────────────────────────────────────────────────────────────────── */
html #authModal {
  --gold: #7D2E3E; --rose: #B4524E; --deep: #3A2A2F; --muted: #6B5A5D; --border: #EADBD4; --green: #2F6B45; --sand: #F5E9E3;
  --ivory: #FFFDFB; --font-serif: 'Cormorant Garamond', Georgia, serif; --font-body: 'Outfit', 'Segoe UI', system-ui, sans-serif;
}
html #authModal .va-mdl { background: #FFFDFB; border: 1px solid #EADBD4; border-radius: 22px; color: #3A2A2F; font-family: var(--font-body);
  box-shadow: 0 40px 80px -40px rgba(90, 30, 40, .55); }
html #authModal .va-modal-emblem { font-size: 0; width: 44px; height: 48px; margin: 0 auto 10px;
  background: url('/static/assets/brand/mark.svg') center / contain no-repeat; }
html #authModal .va-modal-t { font: 600 30px/1.1 var(--font-serif); color: #7D2E3E; }
html #authModal .va-modal-sub { font-size: 15px; line-height: 1.55; color: #6B5A5D; }
html #authModal .va-close { color: #6B5A5D; min-width: 44px; min-height: 44px; }
html #authModal .va-close:hover, html #authModal .va-close:focus-visible { color: #7D2E3E; background: #F5E9E3; }
html #authModal .va-label { font: 500 12px/1.2 var(--font-body); letter-spacing: .14em; color: #B4524E; }
html #authModal .va-cc { color: #3A2A2F; background: #F5E9E3; border-color: #EADBD4; font-weight: 500; border-radius: 12px 0 0 12px; }
html #authModal .va-input { min-height: 48px; border: 1px solid #EADBD4; border-radius: 12px; background: #FFFDFB; color: #3A2A2F; font-size: 16px; }
html #authModal .va-phone .va-input { border-radius: 0 12px 12px 0; }
html #authModal .va-input:focus { border-color: #7D2E3E; box-shadow: 0 0 0 3px rgba(125, 46, 62, .12); }
html #authModal .va-btn { min-height: 48px; border-radius: 999px; font: 500 16px/1.1 var(--font-body); }
html #authModal .va-btn-gold { background: #7D2E3E; color: #fff; box-shadow: 0 10px 24px -14px rgba(126, 34, 54, .7); }
html #authModal .va-btn-gold:hover { background: #66202F; opacity: 1; }
html #authModal .va-btn-google { background: #FFFDFB; color: #3A2A2F; border: 1.5px solid rgba(125, 46, 62, .25); font-weight: 500; }
html #authModal .va-btn-google:hover { background: #fff; border-color: #7D2E3E; box-shadow: none; }
html #authModal .va-or { color: #7C6D72; }
html #authModal .va-or::before, html #authModal .va-or::after { background: #EADBD4; }
html #authModal .va-status { color: #6B5A5D; }
html #authModal .va-status[data-kind="error"] { color: #9B2C2C; }
html #authModal .va-status[data-kind="success"] { color: #2F6B45; }
html #authModal .va-trust { color: #7C6D72; opacity: 1; font-size: 12.5px; }
html #authModal .spinner-lg { border-color: #F5E9E3; border-top-color: #7D2E3E; }
html #authModal .va-bar.active { background: rgba(125, 46, 62, .1); }
html #authModal .va-bar.active::after { background: #7D2E3E; }
/* plain loading blocks (design.md §7.4: no shimmering gradients) */
html #authModal .va-skeleton > div { background: #F5E9E3; animation: none; }
@media (max-width: 768px) { html #authModal input, html #authModal select, html #authModal textarea, html #authModal .va-cc { font-size: 16px !important; } }
@media (prefers-reduced-motion: reduce) { html #authModal .va-mdl, html #authModal .spinner-lg, html #authModal .va-bar.active::after { animation: none; } }
