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

body.login-body {
    font-family: "Inter", -apple-system, "Segoe UI", sans-serif;
    background: #141004;
    min-height: 100vh;
}

.login-shell {
    display: flex;
    min-height: 100vh;
}

/* ── Left panel (brand) ─────────────────────────────────────────── */
.login-left {
    width: 420px;
    flex-shrink: 0;
    background: #141004;
    padding: 64px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid #2a2408;
}

.login-brand {
    font-family: "Charter", "Source Serif Pro", Georgia, serif;
    font-size: 28px;
    font-weight: 700;
    color: #f0e8c8;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.login-tagline {
    font-family: "Charter", "Source Serif Pro", Georgia, serif;
    font-size: 22px;
    line-height: 1.35;
    color: #a09070;
    margin-bottom: 24px;
}

.login-descriptor {
    font-size: 14px;
    line-height: 1.6;
    color: #5a5040;
}

/* ── Right panel (form) ─────────────────────────────────────────── */
.login-right {
    flex: 1;
    background: #1a1602;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
}

.login-card {
    width: 100%;
    max-width: 360px;
}

.login-card-heading {
    font-family: "Charter", "Source Serif Pro", Georgia, serif;
    font-size: 26px;
    font-weight: 700;
    color: #f0e8c8;
    margin-bottom: 6px;
}

.login-card-sub {
    font-size: 13px;
    color: #6a5e40;
    margin-bottom: 28px;
}

/* ── Error ───────────────────────────────────────────────────────── */
.login-error {
    background: rgba(180, 60, 40, 0.2);
    border: 1px solid rgba(180, 60, 40, 0.4);
    color: #e8a090;
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* ── Form ────────────────────────────────────────────────────────── */
.login-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6a5e40;
    margin-bottom: 6px;
    margin-top: 16px;
}

.login-label:first-of-type { margin-top: 0; }

.login-input {
    display: block;
    width: 100%;
    background: #0e0d02;
    border: 1px solid #2e2808;
    border-radius: 4px;
    padding: 10px 14px;
    font-family: "Inter", -apple-system, sans-serif;
    font-size: 14px;
    color: #f0e8c8;
    outline: none;
    transition: border-color 0.15s;
}

.login-input::placeholder { color: #3a3020; }

.login-input:focus {
    border-color: #8b6914;
    box-shadow: 0 0 0 2px rgba(139, 105, 20, 0.15);
}

.login-btn {
    display: block;
    width: 100%;
    margin-top: 24px;
    padding: 12px;
    background: #8b6914;
    color: #f0e8c8;
    font-family: "Inter", -apple-system, sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.15s;
}

.login-btn:hover { opacity: 0.88; }

.login-btn--nudge { animation: login-btn-pulse 1.6s ease-in-out infinite; }
@keyframes login-btn-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(139, 105, 20, 0.45); }
    50%      { box-shadow: 0 0 0 9px rgba(139, 105, 20, 0.2); }
}

.login-nudge {
    margin-top: 14px;
    text-align: center;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}
.login-nudge--visible {
    opacity: 1;
    transform: translateY(0);
}
.login-nudge__eyebrow {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #a98624;
    font-weight: 700;
    margin-bottom: 4px;
}
.login-nudge__text {
    font-size: 13px;
    color: rgba(240, 232, 200, 0.85);
}

@media (max-width: 640px) {
    .login-left { display: none; }
    .login-right { background: #141004; }
}

/* ── Guided-walkthrough narration banner ─────────────────────────
   Subtle, transparent, pinned to the empty top of the page — never
   blocks the sign-in form underneath (pointer-events: none throughout). */
.login-narration {
    position: fixed;
    top: 20px;
    left: 460px;
    right: 40px;
    max-width: 640px;
    margin-left: auto;
    z-index: 500;
    opacity: 1;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

@media (max-width: 900px) {
    .login-narration {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        max-width: calc(100% - 48px);
    }
}

.login-narration--hidden {
    opacity: 0;
}

.login-narration__card {
    background: rgba(26, 22, 2, 0.72);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(139, 105, 20, 0.3);
    border-radius: 10px;
    padding: 16px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.login-narration__eyebrow {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #a98624;
    font-weight: 700;
    margin-bottom: 6px;
}

.login-narration__text {
    font-family: "Charter", "Source Serif Pro", Georgia, serif;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(240, 232, 200, 0.92);
}
