/* Lean auth/login styles — no full theme dump */
:root {
    --auth-primary: #6259ca;
    --auth-primary-hover: #5147b8;
    --auth-bg-1: #1e1b4b;
    --auth-bg-2: #312e81;
    --auth-bg-3: #4c1d95;
    --auth-card: #ffffff;
    --auth-text: #1f2937;
    --auth-muted: #6b7280;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body.auth-page {
    margin: 0;
    min-height: 100%;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--auth-text);
    background: linear-gradient(145deg, var(--auth-bg-1) 0%, var(--auth-bg-2) 45%, var(--auth-bg-3) 100%);
    background-attachment: fixed;
}

.auth-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem 2rem;
}

.auth-brand {
    margin-bottom: 1.25rem;
    text-align: center;
}

.auth-brand img {
    display: inline-block;
    max-width: min(220px, 70vw);
    height: auto;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--auth-card);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
    padding: 1.75rem 1.5rem;
}

.auth-card__title {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
    font-weight: 650;
    text-align: center;
}

.auth-card__subtitle {
    margin: 0 0 1.25rem;
    color: var(--auth-muted);
    font-size: 0.92rem;
    text-align: center;
    line-height: 1.45;
}

.auth-alerts {
    margin-bottom: 1rem;
}

.auth-alerts .alert {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.auth-alerts .alert:last-child {
    margin-bottom: 0;
}

.btn-kingschat {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--auth-primary);
    border-radius: 8px;
    background: #fff;
    color: var(--auth-primary);
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-kingschat:hover,
.btn-kingschat:focus {
    background: var(--auth-primary);
    border-color: var(--auth-primary-hover);
    color: #fff;
    text-decoration: none;
}

.btn-kingschat img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.auth-footer {
    margin-top: 1.25rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.8rem;
    text-align: center;
}

@media (min-width: 576px) {
    .auth-card {
        padding: 2rem 2rem;
    }
}
