/* ATC client portal authentication pages. All rules are scoped to .client-auth. */
.client-auth {
    --auth-blue: #004bd4;
    --auth-blue-hover: #00379d;
    --auth-ink: #080b10;
    --auth-panel: #101722;
    --auth-panel-2: #151e2b;
    --auth-muted: #aeb9c9;
    --auth-line: rgba(255,255,255,.12);
    min-height: calc(100vh - 90px);
    padding: clamp(42px, 7vw, 86px) 20px;
    background: radial-gradient(ellipse at 50% 0%, rgba(0,75,212,.19), transparent 52%), #080b10;
    color: #fff;
}
.client-auth *, .client-auth *::before, .client-auth *::after { box-sizing: border-box; }
.client-auth__wrap { width: min(100%, 520px); margin: 0 auto; }
.client-auth__brand { display:flex; justify-content:center; margin: 0 auto 30px; }
.client-auth__logo { width: min(260px, 75vw); height:auto; object-fit:contain; }
.client-auth__card {
    position:relative; overflow:hidden; padding:clamp(26px, 5vw, 42px);
    background:linear-gradient(145deg, rgba(21,30,43,.98), rgba(13,19,29,.98));
    border:1px solid var(--auth-line); border-radius:16px;
    box-shadow:0 24px 70px rgba(0,0,0,.38);
}
.client-auth__card::before { content:""; position:absolute; inset:0 0 auto; height:4px; background:linear-gradient(90deg,#004bd4,#68a0ff); }
.client-auth__eyebrow { display:inline-block; margin-bottom:12px; color:#83adff; font-size:.76rem; font-weight:800; letter-spacing:.16em; text-transform:uppercase; }
.client-auth__title { margin:0 0 12px; color:#fff; font-size:clamp(1.8rem,4vw,2.35rem); line-height:1.15; letter-spacing:-.035em; }
.client-auth__intro { margin:0 0 28px; color:var(--auth-muted); font-size:.98rem; line-height:1.7; }
.client-auth__field { display:flex; flex-direction:column; gap:8px; margin-bottom:20px; }
.client-auth__field label { color:#edf2fa; font-size:.9rem; font-weight:700; }
.client-auth__field input { display:block; width:100%; min-height:52px; padding:13px 15px; border:1px solid rgba(255,255,255,.17); border-radius:8px; background:#0b111a; color:#fff; font:inherit; outline:none; transition:border-color .2s, box-shadow .2s; }
.client-auth__field input::placeholder { color:#778497; }
.client-auth__field input:focus { border-color:#5d94ff; box-shadow:0 0 0 4px rgba(0,75,212,.22); }
.client-auth__hint { margin:-11px 0 20px; color:#aeb9c9; font-size:.82rem; line-height:1.6; }
.client-auth__button { display:flex; align-items:center; justify-content:center; width:100%; min-height:52px; padding:13px 20px; border:1px solid var(--auth-blue); border-radius:8px; background:var(--auth-blue); color:#fff; font:inherit; font-weight:800; cursor:pointer; transition:background .2s, transform .2s, box-shadow .2s; }
.client-auth__button:hover { background:var(--auth-blue-hover); border-color:var(--auth-blue-hover); color:#fff; transform:translateY(-1px); box-shadow:0 8px 24px rgba(0,75,212,.25); }
.client-auth__button:focus-visible, .client-auth__link:focus-visible { outline:3px solid #8ab2ff; outline-offset:3px; }
.client-auth__alert { display:flex; gap:12px; align-items:flex-start; margin:0 0 22px; padding:14px 16px; border:1px solid rgba(255,111,111,.32); border-radius:8px; background:rgba(142,35,35,.16); color:#ffd6d6; line-height:1.55; }
.client-auth__alert--success { border-color:rgba(76,201,137,.32); background:rgba(20,120,76,.15); color:#c7f7df; }
.client-auth__alert strong { display:block; margin-bottom:3px; }
.client-auth__status-icon { display:grid; flex:0 0 34px; width:34px; height:34px; place-items:center; border-radius:50%; background:rgba(255,255,255,.08); font-weight:900; }
.client-auth__footer { margin:24px 0 0; color:#8390a2; font-size:.82rem; text-align:center; line-height:1.6; }
.client-auth__link { color:#9bbcff; font-weight:700; text-decoration:underline; text-underline-offset:3px; }
.client-auth__link:hover { color:#fff; }
.client-auth__success-mark { display:grid; place-items:center; width:66px; height:66px; margin:0 0 22px; border:1px solid rgba(76,201,137,.35); border-radius:50%; background:rgba(20,120,76,.17); color:#80e2b0; font-size:2rem; }
.client-auth__actions { margin-top:26px; }
.client-auth__rule { height:1px; margin:26px 0; border:0; background:var(--auth-line); }
@media (max-width:600px) {
    .client-auth { min-height:calc(100vh - 76px); padding:36px 15px; }
    .client-auth__card { border-radius:12px; }
    .client-auth__logo { width:min(220px,70vw); }
}
@media (prefers-reduced-motion:reduce) { .client-auth *, .client-auth *::before, .client-auth *::after { transition:none !important; scroll-behavior:auto !important; } }
