:root {
    --auth-primary: #2563eb;
    --auth-primary-strong: #1d4ed8;
    --auth-accent: #22d3ee;
    --auth-surface: #ffffff;
    --auth-border: #e5e7eb;
    --auth-text: #0f172a;
    --auth-muted: #6b7280;
    --auth-background: #f3f4f6;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 16px 64px;
    background: radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.1), transparent 35%),
        radial-gradient(circle at 80% 0%, rgba(37, 99, 235, 0.08), transparent 25%),
        var(--auth-background);
}

.auth-shell {
    width: 100%;
    max-width: 960px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--auth-border);
    border-radius: 18px;
    box-shadow: 0 16px 70px rgba(15, 23, 42, 0.08);
    padding: 32px 32px 40px;
    backdrop-filter: blur(4px);
}

.auth-branding {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: center;
    margin-bottom: 24px;
}

.auth-badge {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-weight: 700;
    font-size: 18px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--auth-primary), var(--auth-accent));
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.18);
}

.auth-kicker {
    margin: 0;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--auth-muted);
    font-weight: 700;
}

.auth-title {
    margin: 4px 0 8px;
    font-size: 30px;
    color: var(--auth-text);
    font-weight: 800;
}

.auth-subtitle {
    margin: 0;
    color: var(--auth-muted);
    line-height: 1.55;
}

.auth-card {
    background: var(--auth-surface);
    border: 1px solid var(--auth-border);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.05);
    padding: 24px 24px 28px;
}

.auth-card__header h2 {
    margin: 0 0 8px;
    color: var(--auth-text);
    font-weight: 800;
    font-size: 22px;
}

.auth-card__header p {
    margin: 0;
    color: var(--auth-muted);
}

.auth-card__body {
    display: grid;
    gap: 16px;
    margin-top: 16px;
}

.auth-label {
    color: var(--auth-text);
    font-weight: 700;
    font-size: 14px;
}

.auth-input {
    width: 100%;
    border: 1px solid var(--auth-border);
    border-radius: 12px;
    padding: 14px 14px;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input:focus {
    outline: none;
    border-color: var(--auth-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.auth-helper {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--auth-muted);
    font-size: 14px;
}

.auth-helper__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--auth-primary);
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.02em;
}

.auth-button {
    border: none;
    border-radius: 12px;
    padding: 14px 18px;
    background: linear-gradient(135deg, var(--auth-primary), var(--auth-primary-strong));
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.2);
}

.auth-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.25);
}

.auth-button:active {
    transform: translateY(0);
}

.auth-feedback {
    min-height: 24px;
    color: var(--auth-text);
    font-size: 14px;
}

.auth-alert {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--auth-border);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(34, 197, 235, 0.04));
    color: var(--auth-text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.auth-support {
    margin-top: 22px;
    padding: 18px 20px;
    border-radius: 14px;
    border: 1px dashed var(--auth-border);
    background: rgba(15, 23, 42, 0.02);
}

.auth-support h3 {
    margin: 0 0 8px;
    font-size: 16px;
    color: var(--auth-text);
    font-weight: 800;
}

.auth-support ul {
    margin: 0;
    padding-left: 20px;
    color: var(--auth-muted);
    line-height: 1.6;
}

@media (max-width: 720px) {
    .auth-shell {
        padding: 24px 18px 28px;
    }

    .auth-branding {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: center;
    }

    .auth-badge {
        margin: 0 auto;
    }
}
