/* =============================================
   SongSlipDB — Password Reset Page
   Aesthetic: Dark Stage / Neon Rig
   Consistent with full system CSS
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@300;400;600;700&family=Barlow+Condensed:wght@300;400;700&display=swap');

:root {
    --neon-cyan:    #00E5FF;
    --neon-magenta: #FF2D78;
    --neon-amber:   #FFC107;
    --dark-base:    #080B12;
    --dark-mid:     #0E1220;
    --dark-card:    #131929;
    --dark-surface: #0C1018;
    --border-dim:   rgba(255,255,255,0.07);
    --text-bright:  #F0F4FF;
    --text-muted:   #8A9BBB;
    --text-subtle:  #3E506A;
    --font-display: 'Bebas Neue', sans-serif;
    --font-cond:    'Barlow Condensed', sans-serif;
    --font-body:    'Barlow', sans-serif;
    --ease:         0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
    height: 100%;
    font-family: var(--font-body);
    background: var(--dark-base);
    color: var(--text-bright);
}

/* ======================================
   TWO-COLUMN LAYOUT
====================================== */
.main {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
}

/* ======================================
   LEFT — HERO (sticky)
====================================== */
.hero {
    position: sticky;
    top: 0;
    height: 100vh;
    background: var(--dark-surface);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 4rem;
    overflow: hidden;
    border-right: 1px solid var(--border-dim);
}

/* Ambient glow pools */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 30%, rgba(0,229,255,0.07) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 80%, rgba(255,45,120,0.05) 0%, transparent 55%);
    pointer-events: none;
}

/* Grid overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,229,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,229,255,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 520px;
}

.hero-content::before {
    content: '— ACCOUNT RECOVERY —';
    display: block;
    font-family: var(--font-cond);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    color: var(--neon-cyan);
    opacity: 0.7;
    margin-bottom: 1rem;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4.5vw, 4.2rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 0.95;
    color: var(--text-bright);
    margin-bottom: 1.2rem;
}

.hero p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.7;
}

.hero-content::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), transparent);
    margin-top: 2rem;
    opacity: 0.5;
}

/* ======================================
   RIGHT — CONTENT PANEL
====================================== */
.content-section {
    background: var(--dark-mid);
    padding: 0 1.75rem 2.5rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

/* Top accent line */
.content-section::before {
    content: '';
    display: block;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%, var(--neon-cyan) 35%,
        var(--neon-magenta) 65%, transparent 100%);
    opacity: 0.55;
    margin-bottom: 1.75rem;
}

/* ── Logo ── */
.logo-container {
    text-align: center;
    margin-bottom: 1.75rem;
}

.logo-container img {
    max-width: 220px;
    height: auto;
    filter: drop-shadow(0 0 12px rgba(0,229,255,0.15));
}

/* ── Content wrapper ── */
.content {
    max-width: 380px;
    margin: 0 auto;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ── Form wrapper ── */
#form {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0;
}

/* ======================================
   FORM HEADING + INSTRUCTIONS
====================================== */
h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--neon-cyan);
    text-align: center;
    margin-bottom: 0.75rem;
}

.instructions {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.7;
    margin-bottom: 1.75rem;
    background: var(--dark-card);
    border: 1px solid var(--border-dim);
    border-left: 3px solid rgba(255,193,7,0.3);
    border-radius: 10px;
    padding: 0.9rem 1rem;
}

/* ======================================
   FORM INPUTS & BUTTON
====================================== */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

input[type="email"] {
    width: 100%;
    padding: 0.78rem 1rem;
    background: var(--dark-card);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--text-bright);
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: border-color var(--ease), box-shadow var(--ease);
}

input[type="email"]::placeholder { color: var(--text-subtle); }

input[type="email"]:focus {
    outline: none;
    border-color: rgba(0,229,255,0.4);
    box-shadow: 0 0 0 3px rgba(0,229,255,0.08);
    background: rgba(0,229,255,0.03);
}

input[type="email"]:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #131929 inset !important;
    -webkit-text-fill-color: var(--text-bright) !important;
}

button[type="submit"] {
    width: 100%;
    padding: 0.82rem 1.5rem;
    background: linear-gradient(135deg, #1A2540, #1E2D50);
    border: 1px solid rgba(0,229,255,0.28);
    border-radius: 8px;
    color: var(--neon-cyan);
    font-family: var(--font-cond);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}

button[type="submit"]:hover {
    border-color: rgba(0,229,255,0.55);
    box-shadow: 0 0 20px rgba(0,229,255,0.18);
    transform: translateY(-1px);
}

button[type="submit"]:active { transform: translateY(0); }

/* ======================================
   NAV LINKS
====================================== */
nav {
    margin-top: auto;
    padding-top: 1.5rem;
}

nav ul {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    list-style: none;
}

nav li { list-style: none; }

nav a {
    font-family: var(--font-cond);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-subtle);
    text-decoration: none;
    transition: color var(--ease);
}

nav a:hover { color: var(--neon-cyan); }

/* ======================================
   DISCLAIMER FOOTER
====================================== */
.disclaimer-footer {
    margin-top: 1.5rem;
    padding: 0.85rem 1rem;
    background: var(--dark-surface);
    border: 1px solid var(--border-dim);
    border-radius: 10px;
    text-align: center;
}

.disclaimer-footer p {
    font-family: var(--font-cond);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--text-subtle);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* ======================================
   RESPONSIVE
====================================== */
@media (max-width: 1024px) {
    .main {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }

    .content-section {
        order: 1;
        padding: 0 1.25rem 2.5rem;
    }

    .hero {
        order: 2;
        position: relative;
        height: auto;
        flex: none;
        padding: 2.5rem 1.5rem;
        text-align: center;
        border-right: none;
        border-top: 1px solid var(--border-dim);
        min-height: 220px;
    }

    .hero-content { margin: 0 auto; }
    .hero-content::before { text-align: center; }
    .hero p { margin: 0 auto; }
    .hero-content::after { margin: 1.5rem auto 0; }
}

@media (max-width: 640px) {
    .hero { display: none; }

    .content-section {
        padding: 0 1rem 2rem;
        min-height: 100vh;
    }

    .logo-container img { max-width: 180px; }

    h2 { font-size: 1.4rem; }

    .instructions { font-size: 0.83rem; }

    input[type="email"],
    button[type="submit"] {
        font-size: 0.88rem;
        padding: 0.7rem 1rem;
    }

    nav ul { gap: 1rem; }
    nav a  { font-size: 0.68rem; }

    .disclaimer-footer { padding: 0.75rem; }
    .disclaimer-footer p { font-size: 0.6rem; }
}