@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/manrope/manrope-v20-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/manrope/manrope-v20-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Exo'; font-style: normal; font-weight: 500 800; font-display: swap; src: url(/fonts/exo/exo-v25-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Exo'; font-style: normal; font-weight: 500 800; font-display: swap; src: url(/fonts/exo/exo-v25-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
--clr-primary: #7C3AED;
--clr-primary-dark: #5b21b6;
--clr-primary-light: #ede9fe;
--clr-accent-light: #d1fae5;
--clr-text: #1e293b;
--clr-muted: #64748b;
--clr-border: #e2e8f0;
--clr-bg: #ffffff;
--clr-bg-alt: #f8fafc;
--radius: 16px;
--radius-sm: 8px;
--shadow: 0 10px 30px rgba(30,41,59,.10), 0 2px 6px rgba(30,41,59,.05);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: 'Manrope', system-ui, -apple-system, sans-serif;
color: var(--clr-text);
background: var(--clr-bg-alt);
background-image:
    radial-gradient(760px 460px at 50% -8%, rgba(124,58,237,.14) 0%, rgba(124,58,237,0) 60%),
    radial-gradient(600px 400px at 100% 100%, rgba(16,185,129,.08) 0%, rgba(16,185,129,0) 55%);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
line-height: 1.55;
-webkit-font-smoothing: antialiased;
}
.auth-wrap { width: 100%; max-width: 420px; }
.auth-logo { text-align: center; margin-bottom: 22px; }
.auth-logo-link { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.auth-logo-mark { height: 42px; width: auto; display: block; }
.auth-logo-word { font-family: 'Exo', system-ui, sans-serif; font-size: 1.65rem; font-weight: 800; letter-spacing: -.01em; color: var(--clr-text); line-height: 1; }
.auth-logo-word .logo-c { color: var(--clr-primary); }
.auth-logo-sub { font-size: .7rem; letter-spacing: .14em; color: var(--clr-muted); font-weight: 700; margin-top: 8px; text-transform: uppercase; }
.auth-card { background: var(--clr-bg); border: 1px solid var(--clr-border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px 32px; }
.auth-title { font-family: 'Exo', system-ui, sans-serif; font-size: 1.45rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 6px; text-align: center; }
.auth-sub { font-size: .875rem; color: var(--clr-muted); text-align: center; margin-bottom: 24px; }
.auth-field { margin-bottom: 16px; }
.auth-field label { display: block; font-size: .825rem; font-weight: 700; margin-bottom: 6px; color: var(--clr-text); }
.auth-input-wrap { position: relative; }
.auth-input-wrap svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--clr-muted); pointer-events: none; }
.auth-input-wrap input {
width: 100%; padding: 11px 14px 11px 41px; border: 1.5px solid var(--clr-border);
border-radius: var(--radius-sm); font-size: .925rem; font-family: inherit; color: var(--clr-text);
background: var(--clr-bg); transition: border-color .2s ease, box-shadow .2s ease;
}
.auth-input-wrap input:focus { outline: none; border-color: var(--clr-primary); box-shadow: 0 0 0 3px rgba(124,58,237,.14); }
.auth-input-wrap.center input { text-align: center; letter-spacing: 6px; font-weight: 600; font-size: 1.15rem; padding-left: 14px; }

.auth-input-wrap.cells { display: flex; justify-content: center; }
.auth-input-wrap.cells input {
    --cw: 44px; --cg: 8px;
    width: calc(6 * var(--cw) + 5 * var(--cg));
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 1.45rem; font-weight: 700; line-height: 1;
    letter-spacing: calc(var(--cw) + var(--cg) - 1ch);
    padding: 14px 0 14px calc((var(--cw) - 1ch) / 2);
    border: none; border-radius: var(--radius-sm);
    background: repeating-linear-gradient(90deg,
        #eef2f7 0 var(--cw),
        transparent var(--cw) calc(var(--cw) + var(--cg)));
    overflow: hidden; white-space: nowrap;
}
.auth-input-wrap.cells input:focus { outline: none; box-shadow: 0 2px 0 0 var(--clr-primary); }
.btn {
display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
padding: 12px 24px; border-radius: var(--radius-sm); font-size: .925rem; font-weight: 700;
font-family: inherit; cursor: pointer; border: none; transition: all .2s ease; text-decoration: none;
}
.btn svg { width: 18px; height: 18px; }

.btn-primary {
background: #7c3aed;
border: 1px solid #5b21b6;
box-shadow: none;
color: #fff;
}
.btn-primary:hover,
.btn-primary:focus {
background: #ffffff;
border-color: #7c3aed;
box-shadow: none;
transform: none;
color: #7c3aed;
}
.btn-primary:active {
background: #5b21b6;
border-color: #4c1d95;
color: #fff;
}
.btn-link { background: none; color: var(--clr-primary); padding: 8px; font-weight: 600; }
.btn-link svg { width: 15px; height: 15px; }
.btn-link:hover { text-decoration: underline; }
.auth-alert { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-radius: var(--radius-sm); font-size: .85rem; margin-bottom: 16px; }
.auth-alert svg { width: 16px; height: 16px; flex-shrink: 0; }
.auth-alert-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.auth-alert-success { background: var(--clr-accent-light); color: #047857; border: 1px solid #a7f3d0; }
.auth-links { text-align: center; margin-top: 16px; font-size: .875rem; color: var(--clr-muted); }
.auth-links a { display: inline-flex; align-items: center; gap: 5px; color: var(--clr-primary); font-weight: 600; text-decoration: none; }
.auth-links a:hover { text-decoration: underline; }
.auth-links a svg { width: 15px; height: 15px; }
.auth-hp { display: none !important; position: absolute; left: -9999px; }
.auth-remember { display: flex; align-items: center; gap: 8px; margin: -4px 0 18px; font-size: .85rem; color: var(--clr-muted); cursor: pointer; user-select: none; }
.auth-remember input { width: 16px; height: 16px; accent-color: var(--clr-primary); cursor: pointer; margin: 0; }

.auth-or { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; color: var(--clr-muted); font-size: .8rem; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--clr-border); }
.btn-outline { background: var(--clr-bg); color: var(--clr-primary); border: 1px solid var(--clr-primary); }
.btn-outline:hover, .btn-outline:focus { background: var(--clr-primary-light); }
.btn-outline:disabled { opacity: .6; cursor: progress; }
.auth-passkey-err { margin-top: 12px; margin-bottom: 0; }
