/* ============================================================================
   Login experience — cinematic black & gold
   ============================================================================ */

.login-stage {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* ── Login panel (centered) ─────────────────────────────────────────────── */
.login-panel {
    display: grid;
    place-items: center;
    padding: clamp(20px, 5vw, 60px);
    width: 100%;
}

.login-card {
    width: 100%;
    max-width: 440px;
    padding: clamp(32px, 4vw, 48px);
    animation: fadeUp 0.9s 0.5s var(--ease-luxe) backwards;
}
.login-card .head { text-align: center; margin-bottom: 36px; }
.login-card .head h2 {
    font-family: var(--font-serif);
    font-weight: 500;
    font-style: italic;
    font-size: clamp(2.6rem, 6vw, 3.4rem);
    line-height: 1;
    letter-spacing: 0.01em;
    background: linear-gradient(135deg, var(--gs-gold-bright) 0%, var(--gs-gold) 50%, var(--gs-gold-soft) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.18);
}
.login-card .head h2::after {
    content: "";
    display: block;
    width: 64px;
    height: 1px;
    margin: 14px auto 0;
    background: linear-gradient(90deg, transparent, var(--gs-gold) 50%, transparent);
    opacity: 0.7;
}

.login-form { display: flex; flex-direction: column; gap: 22px; }
.login-form .row { display: flex; flex-direction: column; gap: 8px; }
.login-form .actions { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.login-form .alert {
    padding: 12px 16px;
    background: rgba(142, 57, 71, 0.12);
    border: 1px solid rgba(142, 57, 71, 0.4);
    color: #FFC4CD;
    font-size: 0.85rem;
    border-radius: var(--radius);
    display: none;
}
.login-form .alert.show { display: block; animation: fadeUp 0.4s var(--ease-luxe); }

/* ── Remember-Me Popup ──────────────────────────────────────────────────── */
.gs-remember-modal[hidden] { display: none !important; }
.gs-remember-modal {
    position: fixed; inset: 0; z-index: 9000;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}
.gs-remember-modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.gs-remember-modal-card {
    position: relative;
    width: 100%; max-width: 460px;
    background: linear-gradient(180deg, rgba(28,22,16,0.98), rgba(18,14,10,0.98));
    border: 1px solid var(--gs-gold);
    border-radius: var(--radius);
    padding: 28px 26px 22px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(212,175,55,0.15);
    animation: fadeUp 0.35s var(--ease-luxe);
}
.gs-remember-modal-card h2 {
    margin: 0 0 12px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    color: var(--gs-gold);
    letter-spacing: 0.5px;
}
.gs-remember-modal-card p {
    margin: 0 0 22px;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--gs-text-muted);
}
.gs-remember-modal-actions {
    display: flex; flex-direction: column; gap: 10px;
}
.gs-remember-modal-actions .gs-btn { width: 100%; }
@media (min-width: 520px) {
    .gs-remember-modal-actions { flex-direction: row-reverse; }
    .gs-remember-modal-actions .gs-btn { width: auto; flex: 1; }
}

.login-card .footer { margin-top: 24px; text-align: center; font-size: 0.75rem; letter-spacing: 0; color: var(--gs-text-muted); }

/* ── Animations ─────────────────────────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .login-stage { min-height: 100dvh; align-items: stretch; }
    .login-panel { padding: 0; }
    .login-card {
        width: 100%;
        max-width: none;
        min-height: 100dvh;
        padding: 32px 22px;
        border-radius: 0;
        border-left: none;
        border-right: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .login-card .head h2 { font-size: 1.7rem; }
    .login-card .footer { margin-top: 20px; }

    .gs-input { padding: 16px 18px; font-size: 1rem; }
    .login-form .actions .gs-btn { width: 100%; justify-content: center; }
}
