:root {
    color-scheme: light;
    --page: #edf2f7;
    --surface: #ffffff;
    --text: #1f2937;
    --muted: #657384;
    --line: #dbe4ee;
    --accent: #2563eb;
    --accent-dark: #1746a2;
    --danger: #b42318;
    --danger-bg: #fff1f0;
    --shadow: 0 20px 54px rgba(31, 45, 61, 0.16);
}

* { box-sizing: border-box; }

body {
    min-height: 100vh;
    margin: 0;
    background: var(--page);
    color: var(--text);
    font-family: "Segoe UI", Segoe, Roboto, Arial, sans-serif;
    line-height: 1.5;
}

.login-shell {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 24px;
}

.login-panel {
    width: min(440px, 100%);
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.login-mark {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 8px;
    background: #eaf1fb;
}

.login-mark img { width: 26px; height: 26px; }

.eyebrow {
    margin: 0 0 4px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

h1, p { margin-top: 0; }

h1 {
    margin-bottom: 8px;
    font-size: 38px;
    line-height: 1.08;
}

.subtitle {
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 14px;
}

form { display: grid; gap: 16px; }

label span {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

input {
    width: 100%;
    min-height: 44px;
    padding: 9px 11px;
    border: 1px solid #b8c5d4;
    border-radius: 6px;
    background: #ffffff;
    color: var(--text);
    font: inherit;
}

input:focus {
    border-color: var(--accent);
    outline: 3px solid rgba(37, 99, 235, 0.16);
}

button {
    min-height: 44px;
    margin-top: 4px;
    border: 1px solid var(--accent);
    border-radius: 6px;
    background: var(--accent);
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

button:hover { background: var(--accent-dark); }

.notice {
    margin-bottom: 18px;
    padding: 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
}

.notice-error {
    border: 1px solid #f4b8b0;
    background: var(--danger-bg);
    color: var(--danger);
}
