:root {
    color-scheme: dark;
    --bg: #0B1220;
    --card: #121F33;
    --border: #263B56;
    --primary: #0EA5E9;
    --text: #F8FAFC;
    --muted: #94A3B8;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(
            ellipse at top,
            #123A66,
            transparent 60%
        ),
        var(--bg);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
}

.container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

.account-card {
    width: 100%;
    max-width: 460px;
    background: var(--card);
    padding: 40px;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 24px 80px #0004;
}

.brand {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.brand span {
    color: var(--primary);
}

.eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 35px;
}

h1 {
    font-size: 26px;
    margin-bottom: 12px;
}

p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--muted);
}

label {
    display: block;
    margin: 23px 0 8px;
    font-size: 13px;
    font-weight: 600;
}

input[type=password] {
    display: block;
    width: 100%;
    padding: 15px;
    background: #0B1728;
    color: var(--text);
    border: 1px solid #334763;
    border-radius: 9px;
}

input:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

button {
    margin-top: 20px;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 9px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(
        110deg, #0EA5E9, #2563EB
    );
}

button:hover {
    filter: brightness(1.12);
}

button:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.hint {
    font-size: 12px;
}

.notice {
    border-radius: 9px;
    padding: 14px;
    margin: 20px 0;
    font-size: 13px;
}

.notice.error {
    color: #FCA5A5;
    border: 1px solid #7F3030;
    background: #351C29;
}

.notice.success {
    color: #86EFAC;
    border: 1px solid #276749;
    background: #103526;
}

.notice[hidden] {
    display: none;
}

@media (max-width: 480px) {
    .account-card {
        padding: 25px;
    }
}
