/* ══════════════════════════════════════════════════════════
   FORGOT PASSWORD — Same split layout as login.php
   Dark left | White form right
   Gold:#D4A017 | Dark:#1a1a1a | White:#fff
   ══════════════════════════════════════════════════════════ */

:root {
    --gold:   #D4A017;
    --gold2:  #B8860B;
    --dark:   #1a1a1a;
    --muted:  #888;
    --border: #f0e8d5;
    --light:  #fdfaf5;
    --serif:  'Cormorant Garamond', Georgia, serif;
    --sans:   'Inter', system-ui, sans-serif;
}

/* ── Page shell — same grid as login ── */
.forgot-password-page {
    min-height: calc(100vh - 88px);
    display: grid;
    margin-top: 88px;
    grid-template-columns: 1fr 1fr;
    font-family: var(--serif);
}

/* ══════════════════════════════════════
   LEFT PANEL — dark (same as login)
   ══════════════════════════════════════ */
.fp-left {
    background: #050505;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 8%;
    text-align: center;
}
.fp-left::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(212,160,23,0.15) 0%, transparent 65%);
    top: -200px; right: -150px; pointer-events: none;
}
.fp-left::after {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(212,160,23,0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.fp-left-inner { position: relative; z-index: 2; max-width: 400px; }

/* Icon */
.fp-icon {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, #D4A017, #B8860B);
    border-radius: 22px;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; color: #fff;
    box-shadow: 0 10px 30px rgba(212,160,23,0.35);
    margin: 0 auto 28px;
}

.fp-left h2 {
    font-family: var(--serif);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 16px;
}
.fp-left h2 em { font-style: italic; color: #D4A017; }

.fp-left p {
    font-family: var(--serif);
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 32px;
}

/* Steps */
.fp-steps {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 14px; text-align: left;
}
.fp-steps li {
    display: flex; align-items: center; gap: 12px;
    font-family: var(--serif); font-size: 15px; color: rgba(255,255,255,0.7);
}
.fp-steps li i {
    width: 32px; height: 32px; flex-shrink: 0;
    background: rgba(212,160,23,0.12);
    border: 1px solid rgba(212,160,23,0.2);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #D4A017; font-size: 13px;
}

/* ══════════════════════════════════════
   RIGHT PANEL — white form (same as login)
   ══════════════════════════════════════ */
.fp-right {
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    padding: 60px 8%;
}

.auth-container {
    width: 100%; max-width: 420px;
}

/* Header */
.auth-header { margin-bottom: 32px; }
.auth-header h1 {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700; color: var(--dark); margin-bottom: 6px; line-height: 1.2;
}
.auth-header p { font-family: var(--serif); font-size: 15px; color: var(--muted); }

/* Alerts */
.alert {
    border-radius: 10px; padding: 11px 14px; margin-bottom: 20px;
    font-family: var(--serif); font-size: 14px; font-weight: 600;
    display: flex; gap: 8px; align-items: flex-start;
}
.alert-error   { background:rgba(239,68,68,0.07); border:1px solid rgba(239,68,68,0.18); color:#991b1b; }
.alert-success { background:rgba(34,197,94,0.08); border:1px solid rgba(34,197,94,0.2); color:#14532d; }

/* Form */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; margin-bottom: 7px;
    font-family: var(--serif); font-size: 12px; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase; color: #555;
}
.required { color: #B30012; }
.input-wrapper { position: relative; }

.form-group input {
    width: 100%; border-radius: 12px;
    border: 1.5px solid var(--border);
    background: var(--light);
    padding: 13px 16px 13px 46px;
    font-size: 15px; font-family: var(--serif);
    color: var(--dark); outline: none; cursor: none;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.form-group input::placeholder { color: #bbb; }
.form-group input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,160,23,0.13);
    background: #fff;
}
.input-icon {
    position: absolute; left: 16px; top: 50%;
    transform: translateY(-50%);
    color: rgba(212,160,23,0.7); font-size: 15px;
}

/* Button */
.btn-primary {
    width: 100%; border: none; border-radius: 50px;
    padding: 15px 20px;
    font-family: var(--serif); font-weight: 700; font-size: 17px;
    color: #fff; letter-spacing: 0.3px;
    background: linear-gradient(135deg, #D4A017, #B8860B);
    box-shadow: 0 6px 20px rgba(212,160,23,0.28);
    cursor: none; position: relative; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    transition: all 0.3s ease;
}
.btn-primary::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: translateX(-120%); transition: transform 0.6s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(212,160,23,0.42); }
.btn-primary:hover::before { transform: translateX(120%); }
.btn-primary:active { transform: translateY(0); }

/* Links */
.auth-links {
    text-align: center; margin-top: 24px;
    padding-top: 20px; border-top: 1px solid var(--border);
}
.auth-links p { font-family: var(--serif); font-size: 15px; color: var(--muted); }
.auth-links a { color: var(--gold); font-weight: 700; text-decoration: none; }
.auth-links a:hover { color: var(--gold2); text-decoration: underline; text-underline-offset: 3px; }
.auth-links .divider { margin: 10px 0; color: var(--border); }

/* ── Responsive — same breakpoints as login ── */
@media (max-width: 900px) {
    .forgot-password-page { grid-template-columns: 1fr; padding-top: 0; margin-top: 65px; }
    .fp-left { padding-top: 130px; min-height: auto; }
    .fp-left h2 { font-size: 2rem; }
    .fp-steps { display: none; }
    .fp-right { padding: 48px 8% 60px; }
}
@media (max-width: 768px) {
    .fp-left { padding: 100px 6% 44px; }
    .fp-right { padding: 40px 6% 60px; }
    .auth-container { max-width: 100%; }
}
@media (max-width: 480px) {
    .fp-left { padding: 90px 5% 36px; display: none; }
    .fp-right { padding: 32px 5% 50px; }
    .auth-header h1 { font-size: 1.7rem; }
    .fp-icon { width: 64px; height: 64px; font-size: 26px; }
    .btn-primary { font-size: 15px; padding: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
}
