/**
 * Login, register en andere auth-pagina's — zelfde stijl als app (antraciet + grijs)
 */
:root {
    --anthracite-dark: #2a2e33;
    --anthracite: #363b40;
    --anthracite-border: #4a5058;
    --surface-bg: #f3f4f6;
    --accent: #6366f1;
    --text-on-dark: #f3f4f6;
    --text-on-dark-muted: #b8bcc4;
}

body.auth-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--surface-bg);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin: 0;
}

.auth-lang-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 6px;
    background: #fff;
    padding: 6px 10px;
    border-radius: 50px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    z-index: 10;
}

.auth-lang-switcher a {
    color: #4b5563;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 50px;
    font-size: 1rem;
    line-height: 1;
}

.auth-lang-switcher a:hover {
    background: #f3f4f6;
}

.auth-lang-switcher a.active {
    background: var(--accent);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.25);
}

.auth-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 420px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.auth-card-wide {
    max-width: 520px;
}

.auth-card-header {
    background: var(--anthracite-dark);
    color: var(--text-on-dark);
    padding: 36px 28px 28px;
    text-align: center;
}

.auth-card-header img {
    max-width: 220px;
    height: auto;
    margin-bottom: 12px;
}

.auth-card-header p {
    opacity: 0.92;
    font-size: 1rem;
    margin: 0;
    color: var(--text-on-dark-muted);
}

.auth-card-body {
    padding: 32px 28px;
}

.auth-card-footer {
    text-align: center;
    padding: 18px 28px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 0.88rem;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 0.92rem;
}

.auth-form input {
    width: 100%;
    padding: 13px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.15s, box-shadow 0.15s;
    background: #fff;
    color: #111827;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.auth-btn-primary {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    margin-top: 8px;
}

.auth-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
}

.auth-btn-primary:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

.auth-alert {
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.92rem;
    border-left: 4px solid;
}

.auth-alert-error {
    background: #fef2f2;
    color: #991b1b;
    border-left-color: #dc2626;
}

.auth-alert-success {
    background: #f0fdf4;
    color: #166534;
    border-left-color: #16a34a;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.auth-links a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.auth-links a:hover {
    text-decoration: underline;
}

.auth-links-muted {
    margin-top: 14px;
    color: #6b7280;
    font-size: 0.92rem;
}

.auth-turnstile {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    min-height: 65px;
}

.auth-trial-badge {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.88rem;
    margin-top: 10px;
    border: 1px solid #fcd34d;
}

.auth-feature-list {
    background: #f9fafb;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 22px;
    border: 1px solid #e5e7eb;
}

.auth-feature-list h4 {
    margin: 0 0 12px;
    color: #111827;
    font-size: 0.95rem;
}

.auth-feature-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.auth-feature-list li {
    padding: 6px 0;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.auth-feature-list li::before {
    content: "✓";
    color: #16a34a;
    font-weight: bold;
}

.auth-feature-list li.locked {
    color: #9ca3af;
}

.auth-feature-list li.locked::before {
    content: "🔒";
}

.auth-trial-info {
    background: #eff6ff;
    padding: 14px;
    border-radius: 10px;
    margin-top: 18px;
    text-align: center;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    font-size: 0.88rem;
}

@media (max-width: 768px) {
    .auth-card-body {
        padding: 24px 20px;
    }

    .auth-lang-switcher {
        top: 12px;
        right: 12px;
    }
}
