/* auth.css — Authentication Pages (Login/Register) */
.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #1e1e1e;
}

.auth-card {
    background: #252526;
    border: 1px solid #3c3c3c;
    border-radius: 8px;
    padding: 2rem;
    width: 100%;
    max-width: 420px;
}

.auth-heading {
    color: #d4d4d4;
    margin: 0 0 1.5rem;
    font-size: 1.4rem;
}

.auth-heading small {
    display: block;
    font-size: 0.85rem;
    color: #858585;
    font-weight: normal;
    margin-top: 4px;
}

.auth-highlight {
    color: #569cd6;
}

.auth-error {
    background: #5a1a1a;
    border: 1px solid #8a2a2a;
    color: #f48771;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.auth-success {
    background: #1a3a1a;
    border: 1px solid #2a6a2a;
    color: #4ec9b0;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.auth-success a {
    color: #9cdcfe;
    text-decoration: underline;
}

.auth-hint {
    color: #858585;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.form-row-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.auth-links {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #858585;
}

.auth-links a {
    color: #569cd6;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* Build / version footer on auth pages (set by LoginPage handler) */
.auth-version {
    text-align: center;
    margin-top: 1.2rem;
    font-size: 0.72rem;
    color: var(--text-muted, #858585);
    font-family: monospace;
}

/* Floating theme + language switcher on auth pages */
.auth-theme-switch {
    position: fixed;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    align-items: center;
    z-index: 50;
}
