/* AVC SMS · sign-in, sign-up, reset and 2FA screens */
body.auth { background: var(--bg-elev); min-height: 100vh; }
.auth-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: 100vh; }
.auth-main { display: flex; flex-direction: column; padding: var(--s6) clamp(20px, 5vw, 64px); min-width: 0; }
.auth-top { display: flex; align-items: center; justify-content: space-between; }
.auth-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -.03em; text-decoration: none !important; }
.auth-card { width: 100%; max-width: 420px; margin: auto; padding: var(--s10) 0; }
.auth-card.wide { max-width: 560px; }
.auth-title { font-family: var(--font-display); font-size: 32px; font-weight: 650; letter-spacing: -.035em; line-height: 1.08; margin-bottom: var(--s2); }
.auth-lead { color: var(--muted); font-size: var(--t-md); margin-bottom: var(--s6); }
.auth-card .input { min-height: 44px; font-size: var(--t-md); }
.auth-card .btn-lg { width: 100%; }
.auth-alt { margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line); color: var(--muted); font-size: var(--t-sm); text-align: center; }
.auth-alt a { font-weight: 650; }
.auth-foot { display: flex; gap: var(--s4); flex-wrap: wrap; font-size: var(--t-xs); color: var(--faint); }
.auth-foot a { color: var(--muted); }
.auth-foot span { margin-left: auto; }
.code-input { font-family: var(--font-mono) !important; font-size: 28px !important; letter-spacing: .4em; text-align: center; min-height: 64px !important; padding-left: .4em !important; }
.auth-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); border: 1px solid var(--accent-line); margin-bottom: var(--s5); }
.auth-icon .i { width: 22px; height: 22px; }
.pw-field { position: relative; }
.pw-field .input { padding-right: 46px; }
.pw-field .btn-icon { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; }
.pw-meter { display: flex; gap: 4px; margin-top: 2px; }
.pw-meter i { flex: 1; height: 4px; border-radius: 2px; background: var(--surface-3); }
.pw-meter[data-score="1"] i:nth-child(-n+1) { background: var(--bad-dot); }
.pw-meter[data-score="2"] i:nth-child(-n+2) { background: var(--warn-dot); }
.pw-meter[data-score="3"] i:nth-child(-n+3) { background: var(--ok-dot); }
.pw-meter[data-score="4"] i { background: var(--ok-dot); }

/* brand panel */
.auth-aside { position: relative; margin: 10px; border-radius: 26px; overflow: hidden; background: #121115; color: #f4f2ee; display: flex; isolation: isolate; }
.auth-aside::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(600px 420px at 85% 0%, rgba(242, 107, 29, .38), transparent 60%),
  radial-gradient(500px 400px at 0% 100%, rgba(42, 120, 214, .22), transparent 60%),
  linear-gradient(180deg, #17161b, #0e0d11); }
.auth-aside::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%); }
.auth-aside-in { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: var(--s8); width: 100%; }
.aa-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-xs); font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: #ffb48a; }
.aa-title { font-family: var(--font-display); font-size: clamp(30px, 3.2vw, 44px); font-weight: 650; letter-spacing: -.04em; line-height: 1.04; color: #fff; }
.aa-title span { color: rgba(255,255,255,.5); }
.aa-visual { position: relative; height: 250px; }
.aa-card { position: absolute; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); padding: 18px; }
.aa-c1 { left: 0; top: 10px; width: min(360px, 80%); animation: floaty 8s ease-in-out infinite; }
.aa-c2 { right: 0; top: 96px; width: min(260px, 62%); animation: floaty 8s ease-in-out -4s infinite; }
.aa-row { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.aa-row .badge { margin-left: auto; }
.aa-dot { width: 8px; height: 8px; border-radius: 50%; background: #f26b1d; box-shadow: 0 0 0 4px rgba(242,107,29,.2); }
.aa-bars { display: flex; flex-direction: column; gap: 8px; margin: 16px 0 12px; }
.aa-bars i { display: block; height: 8px; border-radius: 4px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.aa-bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 4px; animation: grow 1.6s var(--ease-out) both .4s; }
.aa-bars i:nth-child(1)::after { background: #39c471; } .aa-bars i:nth-child(2)::after { background: #3987e5; } .aa-bars i:nth-child(3)::after { background: #ef5346; }
.aa-legend { display: flex; gap: 14px; font-size: 11px; color: rgba(255,255,255,.6); }
.aa-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; }
.aa-legend .o { background: #39c471; } .aa-legend .b { background: #3987e5; } .aa-legend .r { background: #ef5346; }
.aa-sender { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: rgba(255,255,255,.55); margin-bottom: 10px; }
.aa-bubble { background: rgba(255,255,255,.1); border-radius: 14px 14px 14px 4px; padding: 9px 12px; font-size: 13px; line-height: 1.4; margin-bottom: 8px; color: #fff; }
.aa-bubble b { font-family: var(--font-mono); letter-spacing: .1em; color: #ffb48a; }
.aa-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; font-size: var(--t-sm); color: rgba(255,255,255,.78); }
.aa-points li { display: flex; align-items: center; gap: 10px; }
.aa-points .i { color: #ff9a5f; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes grow { from { width: 0; } }
@media (max-width: 980px) {
  .auth-shell { grid-template-columns: minmax(0, 1fr); }
  .auth-aside { display: none; }
  .auth-card { padding: var(--s8) 0; }
}
@media (max-width: 480px) { .auth-title { font-size: 27px; } .auth-main { padding: var(--s4); } }
