:root {
    --bg: #eef3fb;
    --panel: #fffaf4;
    --ink: #1f2a37;
    --muted: #6b7280;
    --line: #d9cdbd;
    --accent: #4a78dd;
    --accent-dark: #335ebd;
    --danger: #b42318;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(90,149,255,.18), transparent 35%),
        radial-gradient(circle at bottom right, rgba(94,121,255,.12), transparent 28%),
        linear-gradient(180deg, #f7f9fe 0%, var(--bg) 100%);
    color: var(--ink);
    display: grid;
    place-items: center;
    padding: 24px;
}

.login-shell {
    width: min(100%, 980px);
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    border: 1px solid rgba(219, 227, 243, .9);
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255,255,255,.78);
    box-shadow: 0 24px 70px rgba(31, 42, 55, .12);
    backdrop-filter: blur(10px);
}

.login-brand {
    padding: 48px;
    background: linear-gradient(160deg, #223a62, #273e69 55%, #1f3458);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.login-brand h1 {
    margin: 0;
    font-size: 44px;
    line-height: 1;
}

.login-brand p {
    margin: 12px 0 0;
    max-width: 360px;
    color: rgba(255,255,255,.82);
    line-height: 1.6;
}

.login-card {
    padding: 48px;
    display: flex;
    align-items: center;
    background: rgba(255,255,255,.92);
}

.login-card-inner {
    width: 100%;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 10px;
}

h2 {
    margin: 0 0 28px;
    font-size: 28px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: white;
    padding: 14px 16px;
    font-size: 15px;
    margin-bottom: 18px;
}

.remember {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--muted);
}

.remember label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-weight: 400;
}

.secure-pill {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(74,120,221,.08);
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 700;
}

button {
    width: 100%;
    border: 0;
    border-radius: 14px;
    padding: 14px 16px;
    background: var(--accent);
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease;
}

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

button.secondary-button {
    margin-top: 10px;
    background: #eef3fb;
    color: var(--ink);
}

button.secondary-button:hover {
    background: #e1e8f5;
}

button:disabled {
    opacity: .7;
    cursor: wait;
}

.error {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(180,35,24,.08);
    color: var(--danger);
}

.hint {
    margin-top: 18px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

code {
    padding: 2px 6px;
    border-radius: 8px;
    background: rgba(34,55,95,.08);
}

@media (max-width: 860px) {
    .login-shell {
        grid-template-columns: 1fr;
    }

    .login-brand,
    .login-card {
        padding: 32px;
    }
}
[v-cloak] {
    display: none !important;
}
