﻿/*:root {
    --bg: #0b0f16;
    --panel: rgba(18,27,44,.60);
    --border: rgba(55,72,102,.70);
    --text: #e7ecf5;
    --muted: #aab6cc;
    --muted2: #7f8aa3;
    --accent: #7c5cff;
    --shadow: 0 16px 40px rgba(0,0,0,.35);
    --radius: 20px;
    --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
}*/

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    background: var(--page-bg);
    color: var(--text);
}

.auth-shell {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.auth-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
}

.brand {
    display: flex;
    gap: 12px;
    align-items: center;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(124,92,255,.95), rgba(124,92,255,.45));
    border: 1px solid rgba(124,92,255,.35);
    box-shadow: 0 10px 28px rgba(124,92,255,.20);
    font-weight: 900;
}

.brand-name {
    font-weight: 950;
    letter-spacing: .2px;
}

.brand-sub {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}

.auth-actions {
    display: flex;
    gap: 10px;
}

.auth-main {
    flex: 1;
    display: grid;
    place-items: center;
    padding: 18px;
}

.auth-card {
    width: min(640px, 100%);
    padding: 22px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.kicker {
    color: var(--muted2);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.h1 {
    margin: 0 0 8px 0;
    font-size: 28px;
    letter-spacing: .2px;
}

.muted {
    color: var(--muted);
}

.form {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-label {
    font-size: 12px;
    color: var(--muted2);
}

.hint {
    font-size: 12px;
    color: var(--muted);
}

.input {
    height: 44px;
    border-radius: 16px;
    border: 1px solid rgba(31,42,61,.85);
    background: rgba(18,27,44,.55);
    color: var(--text);
    padding: 0 14px;
    outline: none;
    font-size: 14px;
}

    .input:focus {
        border-color: rgba(124,92,255,.55);
        box-shadow: 0 0 0 4px rgba(124,92,255,.12);
    }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 16px;
    border: 1px solid rgba(31,42,61,.85);
    background: rgba(18,27,44,.55);
    color: var(--text);
    text-decoration: none;
    font-weight: 850;
    font-size: 13px;
}

    .btn:hover {
        border-color: rgba(124,92,255,.45);
        box-shadow: 0 12px 26px rgba(0,0,0,.25);
    }

.btn-primary {
    background: rgba(124,92,255,.18);
    border-color: rgba(124,92,255,.35);
}

.btn-ghost {
    background: rgba(18,27,44,.35);
}

.btn-wide {
    width: 100%;
    height: 48px;
    margin-top: 6px;
}

.notice {
    margin-top: 12px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(255,77,109,.25);
    background: rgba(255,77,109,.08);
}

.notice-title {
    font-weight: 900;
    margin-bottom: 4px;
}

.rule {
    height: 1px;
    background: rgba(31,42,61,.7);
    margin: 16px 0;
}

.help-title {
    font-weight: 900;
    margin-bottom: 6px;
}

.help-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.foot {
    font-size: 12px;
}

.auth-footer {
    padding: 14px 22px 18px;
    text-align: center;
    font-size: 12px;
}

    .auth-footer a {
        color: var(--muted);
        text-decoration: none;
    }

        .auth-footer a:hover {
            text-decoration: underline;
        }
