/* Presentation only. Authentication controls and provider scripts are unchanged. */
body.auth-editorial {
    --paper: #f7f2e7;
    --surface: #fffcf5;
    --ink: #262118;
    --muted: #6f6754;
    --rule: #ded5c3;
    --accent: #8a2d1c;
    min-height: 100vh;
    min-height: 100svh;
    height: auto;
    padding-block: 2rem;
    border-top: 0 !important;
    background: var(--paper) !important;
    color: var(--ink);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

.auth-editorial h1 {
    font: 400 2.5rem/1.15 Georgia, "Times New Roman", serif;
    letter-spacing: -.025em;
    color: var(--ink);
    margin-bottom: 1.75rem !important;
}

.auth-editorial .form-label {
    font-size: .875rem;
    font-weight: 500;
    margin-bottom: .5rem;
}

.auth-editorial .form-group {
    margin-bottom: 1.25rem;
}

.auth-editorial .form-control {
    min-height: 48px;
    padding: .7rem .85rem;
    border-color: var(--rule);
    background: #fffefb;
    color: var(--ink);
    font-size: 1rem;
}

.auth-editorial .form-control::placeholder {
    color: #827969;
    opacity: 1;
}

.auth-editorial .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px #8a2d1c1a;
}

.auth-editorial .form-control.is-invalid {
    border-color: #b42318;
}

.auth-editorial .btn {
    min-height: 48px;
    padding: .75rem 1rem;
    font-size: .95rem;
    font-weight: 500;
    border-radius: 6px;
}

.auth-editorial .btn-primary {
    color: #fff;
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 4px 12px #2621180d;
}

.auth-editorial .btn-primary:hover,
.auth-editorial .btn-primary:focus {
    background: #702317;
    border-color: #702317;
}

.auth-editorial .btn-light {
    background: #fffefb;
    color: var(--ink);
    border-color: var(--rule);
}

.auth-editorial .btn-light:hover {
    background: var(--paper);
}

.auth-editorial .btn-dark {
    background: #1d1d1f;
    border-color: #1d1d1f;
    color: #fff;
}

.auth-editorial .btn-outline-secondary {
    min-width: 48px;
    border-color: var(--rule);
    color: var(--muted);
    background: #fffefb;
}

.auth-editorial .btn-outline-secondary:hover {
    background: var(--paper);
}

.auth-editorial .text-muted {
    color: var(--muted) !important;
}

.auth-editorial a {
    color: var(--accent);
}

.auth-editorial form > .text-center {
    margin-top: .5rem;
}

.auth-editorial a:focus-visible,
.auth-editorial button:focus-visible {
    outline: none;
}

@media (max-width: 768px) {
    body.auth-editorial {
        padding-block: 1rem;
    }

    .auth-editorial #passwordResetButton {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        margin-top: -.5rem;
    }

    .auth-editorial form > .text-center a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
}
