﻿:root {
    --bg: #0b1220;
    --surface: #111827;
    --card: #0f172a;
    --text: #e5e7eb;
    --muted: #94a3b8;
    --primary: #3b82f6;
    --border: #1f2937;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(0,0,0,.35);
}

* {
    box-sizing: border-box
}

html, body {
    height: 100%
}

    body.auth-body {
        margin: 0;
        background: radial-gradient(1200px 700px at 20% -10%,#1f2937,transparent), radial-gradient(1000px 600px at 120% 120%,#0b1220,transparent),var(--bg);
        color: var(--text);
        font: 16px/1.5 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,"Noto Sans",sans-serif;
    }

.auth-wrap {
    min-height: 100%;
    display: grid;
    place-items: center;
    padding: 32px
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px 26px;
    backdrop-filter: blur(8px)
}

.auth-header {
    margin-bottom: 18px
}

.brand {
    font-weight: 700;
    letter-spacing: .5px;
    margin-bottom: 6px;
    opacity: .9
}

h1 {
    margin: 0 0 6px 0;
    font-size: 22px
}

.muted {
    color: var(--muted);
    margin: 0
}

label {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin: 12px 0 6px 2px
}

input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #0b1220;
    color: var(--text);
    outline: none
}

    input:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(59,130,246,.25)
    }

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.btn-primary {
    margin-top: 16px;
    width: 100%;
    padding: 12px 14px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(180deg,#3b82f6,#2563eb);
    color: #fff;
    font-weight: 600;
    cursor: pointer
}

    .btn-primary:hover {
        filter: brightness(1.05)
    }

.links {
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    font-size: 14px
}

a {
    color: #93c5fd;
    text-decoration: none
}

    a:hover {
        text-decoration: underline
    }

.val-summary {
    background: #1f2937;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 12px;
    color: #fecaca;
    margin-bottom: 10px
}

.notice {
    background: #1f2937;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px
}

.auth-footer {
    margin-top: 18px;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
    opacity: .8
}
