/* ── LAYOUT ── */
#forgot-container {
    min-height: calc(100vh - 80px);
    display: flex; align-items: center; justify-content: center;
    padding: 3rem 1.5rem; position: relative; z-index: 1;
}

/* ── CARD ── */
#forgot-card {
    width: 100%; max-width: 440px;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 30px; padding: 2.8rem 2.5rem;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    display: flex; flex-direction: column; gap: 1.4rem;
    animation: fadeUp 0.8s ease;
}
body.dark-theme #forgot-card {
    box-shadow: 0 0 0 1px rgba(194,136,64,0.08), 0 25px 60px rgba(0,0,0,0.4), 0 0 60px rgba(194,136,64,0.04);
}
body.light-theme #forgot-card {
    box-shadow: 0 0 0 1px rgba(212,175,55,0.1), 0 20px 50px rgba(0,0,0,0.08);
}

/* ── HEADING ── */
.heading-section { text-align: center; }
.heading-section h1 { font-size: 1.7rem; font-weight: 800; letter-spacing: -1px; color: var(--text-strong); margin-bottom: 0.4rem; }
.heading-section p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

/* ── INPUT GROUP ── */
.input-group { display: flex; flex-direction: column; gap: 0.5rem; }
.input-group label { font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }

input[type="email"] {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 16px; padding: 1rem;
    color: var(--text-strong); font-family: inherit; font-size: 0.95rem;
    outline: none; transition: all 0.3s ease;
}
input:focus { border-color: var(--accent-light); box-shadow: 0 0 20px rgba(194,136,64,0.12); }
input::placeholder { color: var(--muted); }

/* ── SUBMIT ── */
#forgot-card button[type="submit"] {
    width: 100%; background: var(--accent); color: var(--text-strong);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px; padding: 1rem;
    font-family: inherit; font-size: 0.95rem; font-weight: 700;
    cursor: pointer; transition: all 0.3s cubic-bezier(.4,0,.2,1);
}
#forgot-card button[type="submit"]:hover { background: var(--accent-light); transform: scale(1.02); box-shadow: 0 15px 40px rgba(194,136,64,0.3); }
#forgot-card button[type="submit"]:active { transform: scale(0.99); }

/* ── MESSAGES & LINKS ── */
.form-footer { text-align: center; color: var(--muted); font-size: 0.88rem; }
.form-footer a { color: var(--accent-light); text-decoration: none; font-weight: 600; }
.form-footer a:hover { color: var(--accent); }
#message { text-align: center; font-size: 0.85rem; min-height: 1.2rem; color: var(--negative); font-weight: 500; }
#message.success { color: var(--positive); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1100px) { .navbar { flex-direction: column; gap: 1rem; padding: 1.5rem; } .nav-bar ul { justify-content: center; } }
@media (max-width: 500px) { #forgot-card { padding: 2rem 1.5rem; border-radius: 24px; } }