.auth-page {
    --auth-ink: #202034;
    --auth-muted: #626275;
    --auth-accent: #4f46e5;
    --auth-line: #dedde8;
    margin: 0;
    background: #faf9f6;
    color: var(--auth-ink);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}
.auth-page * { box-sizing: border-box; }
.auth-shell { min-height: 100svh; display: grid; grid-template-columns: minmax(320px, .9fr) minmax(480px, 1.1fr); }
.auth-story { background: #eeedf7; padding: 42px clamp(32px, 4vw, 80px) 30px; position: sticky; top: 0; height: 100svh; min-height: 650px; display: flex; flex-direction: column; overflow: hidden; }
.auth-page .auth-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--auth-ink); font-size: 28px; font-weight: 700; letter-spacing: -1.2px; width: fit-content; }
.auth-brand img { flex-shrink: 0; }
.auth-story-copy { margin-top: auto; padding-top: 64px; position: relative; z-index: 1; }
.auth-page .auth-eyebrow { color: var(--auth-accent); font-size: 10px; font-weight: 700; letter-spacing: 1.8px; margin: 0 0 20px; }
.auth-story h2 { color: var(--auth-ink); font-size: clamp(42px, 4.8vw, 76px); line-height: 1.03; letter-spacing: -3px; font-weight: 500; margin: 0 0 24px; }
.auth-story-copy > p:last-child { color: var(--auth-muted); font-size: 16px; line-height: 1.7; max-width: 290px; }
.auth-thread { color: var(--auth-accent); width: calc(100% + 160px); height: auto; min-height: 150px; margin: 12px -80px 24px; opacity: .9; }
.auth-story-footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid #d7d5e6; padding-top: 22px; }
.auth-story-footer > span { font-size: 9px; letter-spacing: 1.2px; max-width: 160px; line-height: 1.7; }
.auth-story-footer a { font-size: 12px; white-space: nowrap; }
.auth-main { padding: 64px clamp(28px, 6vw, 100px) 24px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.auth-form-content { width: 100%; max-width: 480px; margin: auto; animation: auth-enter .4s ease-out both; }
.auth-page .card, .auth-page .card-header, .auth-page .card-body, .auth-page .card-footer { padding: 0 !important; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.auth-page .card-header { margin-bottom: 30px; }
.auth-page h1 { font-size: clamp(29px, 3vw, 38px); color: var(--auth-ink); font-weight: 600; letter-spacing: -1.4px; line-height: 1.15; margin: 0 0 12px; }
.auth-page .card-header p:not(.auth-eyebrow) { color: var(--auth-muted); font-size: 14px; line-height: 1.65; }
.auth-page .form-label { display: block; color: var(--auth-ink); font-size: 12px; font-weight: 600; margin: 0 0 8px; }
.auth-page .mb-3 { margin-bottom: 18px !important; position: relative; min-width: 0; }
.auth-page .form-control { background: #fff; border: 1px solid var(--auth-line); color: var(--auth-ink); font-family: inherit; font-size: 14px; line-height: 1.5; padding: 12px 14px; min-height: 46px; border-radius: 7px; box-shadow: none; transition: border-color .18s, box-shadow .18s; }
.auth-page .form-control::placeholder { color: #93919f; font-size: 13px; }
.auth-page .form-control:hover { border-color: #aaa6c6; }
.auth-page .form-control:focus { border-color: var(--auth-accent); box-shadow: 0 0 0 3px #4f46e51a; outline: none; }
.auth-page .form-control.is-invalid { border-color: #c03644; }
.auth-page .form-control[type=password], .auth-page .password-input { padding-right: 48px; }
.auth-page .password-toggle { position: absolute; right: 4px; top: 27px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 5px; color: var(--auth-muted); background: transparent; cursor: pointer; transition: color .18s, background .18s; }
.auth-page .password-toggle:hover, .auth-page .password-toggle[aria-pressed=true] { color: var(--auth-accent); background: #eeedff; }
.auth-page a { text-decoration: none; transition: color .18s; }
.auth-page a:hover { color: #3730a3 !important; }
.auth-page .text-primary, .auth-page .btn-link { color: var(--auth-accent) !important; background-image: none; }
.auth-page .text-gradient { -webkit-text-fill-color: currentColor; background: none; }
.auth-page .btn-primary { background: var(--auth-accent); border: 1px solid var(--auth-accent); color: #fff; min-height: 46px; border-radius: 7px; font-size: 14px; font-weight: 600; text-transform: none; letter-spacing: 0; box-shadow: none; margin-top: 22px !important; transition: background .18s, border-color .18s, transform .18s; }
.auth-page .btn-primary:hover, .auth-page .btn-primary:focus, .auth-page .btn-primary:active { background: #3730a3 !important; border-color: #3730a3 !important; color: #fff !important; box-shadow: none !important; transform: translateY(-1px); }
.auth-page .btn-link:hover { color: #3730a3 !important; box-shadow: none; }
.auth-page .form-check { padding-left: 28px; min-height: 24px; }
.auth-page .form-check-input { width: 17px; height: 17px; margin-left: -28px; border: 1px solid #aaa6c6; border-radius: 4px; background-color: #fff; background-image: none; appearance: auto; accent-color: var(--auth-accent); cursor: pointer; }
.auth-page .form-check .form-check-input[type=checkbox]::after { content: none; }
.auth-page .form-check-input:checked { background-color: var(--auth-accent); border-color: var(--auth-accent); }
.auth-page .form-check-label { color: var(--auth-muted); font-size: 13px; }
.auth-page .text-end { font-size: 13px; }
.auth-page .card-footer { margin-top: 26px; }
.auth-page .card-footer p { color: var(--auth-muted); font-size: 13px; margin-bottom: 0 !important; }
.auth-page .card-footer a { margin-left: 5px; }
.auth-register-form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
.auth-register-form > .mb-3:has(input[name=email]), .auth-full { grid-column: 1 / -1; }
.auth-page .country-select { width: 100%; display: block; }
.auth-page .country-select input { width: 100%; }
.auth-page .country-select .country-list { max-width: min(300px, 80vw); border-color: var(--auth-line); color: var(--auth-ink); font-size: 13px; border-radius: 6px; box-shadow: 0 8px 24px #20203414; }
.auth-page .country-select .country-list .country.highlight, .auth-page .country-select .selected-flag:hover { background: #eeedff; }
.captcha-wrap { max-width: 100%; overflow-x: auto; padding-top: 4px; }
.auth-page .alert-success { background: #eeedff; color: #3730a3; border: 1px solid #d5d2fc; border-radius: 7px; font-size: 13px; padding: 14px; }
.auth-page .text-danger, .auth-page .text-red-600 { color: #b42335 !important; font-size: 12px; }
.auth-footnote { color: var(--auth-muted); font-size: 11px; text-align: center; margin: 40px 0 0; }
.auth-page a:focus-visible, .auth-page button:focus-visible, .auth-page input[type=checkbox]:focus-visible { outline: 3px solid #818cf8; outline-offset: 4px; }
.auth-mobile-brand { display: none !important; }
.auth-skip { position: fixed; left: 16px; top: -80px; padding: 12px 20px; background: #fff; z-index: 20; }
.auth-skip:focus { top: 12px; }
@keyframes auth-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1600px) { .auth-story { padding-left: 90px; padding-right: 90px; } }
@media (max-width: 1000px) { .auth-shell { grid-template-columns: .8fr 1.2fr; } .auth-story { padding: 32px; } .auth-main { padding: 48px 32px 24px; } .auth-story-footer { flex-direction: column; align-items: flex-start; } }
@media (max-width: 760px) { .auth-shell { display: block; } .auth-story { display: none; } .auth-main { min-height: 100svh; padding: 28px 24px 22px; } .auth-mobile-brand { display: inline-flex !important; font-size: 24px !important; margin-bottom: 48px; } .auth-form-content { margin: auto; } .auth-footnote { margin-top: 40px; } }
@media (max-width: 420px) { .auth-register-form { grid-template-columns: 1fr; } .auth-main { padding-inline: 20px; } }
@media (prefers-reduced-motion: reduce) { .auth-page *, .auth-page *::before, .auth-page *::after { animation: none !important; transition: none !important; } }
