/* ==========================================================================
   Liberum QA — Authentication screen (full-bleed, no nav/footer)
   ========================================================================== */

body.auth-body {
    min-height: 100vh;
    background: #111827;
}
body.auth-body .site-main { padding: 0; margin: 0; min-height: 100vh; }

.auth-screen {
    position: relative;
    min-height: 100vh;
    width: 100%;
    background-color: #111827;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
    overflow: hidden;
}
.auth-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 30%, rgba(196, 30, 58, 0.35), transparent 55%),
        linear-gradient(135deg, rgba(17, 24, 39, 0.92) 0%, rgba(31, 41, 55, 0.85) 55%, rgba(43, 26, 34, 0.88) 100%);
    pointer-events: none;
}
.auth-screen-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
}

.auth-card {
    background: var(--c-surface, #fff);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2.25rem 1.75rem;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55), 0 8px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.auth-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    text-decoration: none;
    color: inherit;
    text-align: center;
}
.auth-brand > span { min-width: 0; }
.auth-brand:hover { text-decoration: none; }
.auth-brand-logo {
    height: 40px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    flex-shrink: 0;
}
.auth-brand strong { display: block; font-size: 1rem; color: var(--c-text); line-height: 1.1; }
.auth-brand .muted { display: block; font-size: 0.7rem; margin-top: 0.15rem; }

.auth-card h1 {
    font-size: 1.45rem;
    margin: 0 0 0.25rem;
    color: var(--c-text);
}
.auth-card > .muted { margin: 0 0 1.25rem; }

.auth-form { display: flex; flex-direction: column; gap: 0.9rem; }
.auth-form label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--c-text); }
.auth-form label.inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--c-text-muted);
    font-size: 0.85rem;
}
.auth-form input[type="email"],
.auth-form input[type="password"] {
    display: block;
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.7rem 0.85rem;
    font-size: 0.95rem;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    background: #fff;
    color: var(--c-text);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.auth-form input:focus {
    outline: none;
    border-color: var(--c-liberum-red);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.15);
}
.auth-form .btn { margin-top: 0.5rem; width: 100%; }

.auth-hints {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--c-border);
}
.auth-hints summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--c-text-muted);
    list-style: none;
}
.auth-hints summary::-webkit-details-marker { display: none; }
.auth-hints summary::before { content: "▸ "; }
.auth-hints[open] summary::before { content: "▾ "; }
.auth-hints ul {
    margin: 0.75rem 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: var(--c-text);
}

@media (max-width: 480px) {
    .auth-card { padding: 1.75rem 1.5rem 1.5rem; }
}
