/* =============================================================================
   /forgot-password — Mobile v2 forgot password page
   ========================================================================== */

.forgot-wrap {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 20px 16px 0;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 55px - 61px);
    min-height: calc(100dvh - 55px - 61px - (env(safe-area-inset-bottom) * 0.8));
}

.forgot-wrap > .footer {
    margin-top: auto;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* ── Card ─────────────────────────────────────────────────────────────────── */
.forgot-card {
    background: rgba(10, 10, 20, 0.65);
    border: 1px solid rgba(0, 217, 255, 0.25);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0;
}

/* ── Status bar ───────────────────────────────────────────────────────────── */
.forgot-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    border-bottom: 1px solid rgba(0, 217, 255, 0.2);
    background: rgba(0, 217, 255, 0.05);
    font-family: 'Electrolize', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.status-bar-left,
.status-bar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00ff41;
    box-shadow: 0 0 8px rgba(0, 255, 65, 0.7);
    animation: statusPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}
.status-label { color: #00ff41; font-weight: 700; }
.status-meta  { color: rgba(0, 217, 255, 0.6); font-weight: 700; }

/* ── Form body ────────────────────────────────────────────────────────────── */
.forgot-form-col {
    padding: 24px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.forgot-heading {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.forgot-title {
    font-family: 'Electrolize', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #e8f6ff;
    margin: 0;
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-shadow: 0 0 12px rgba(0, 217, 255, 0.2);
}
.forgot-subtitle {
    font-size: 0.82rem;
    color: #b8b8c8;
    margin: 0;
    letter-spacing: 0.2px;
}

/* ── Errors ───────────────────────────────────────────────────────────────── */
.alert-danger {
    background: rgba(255, 68, 102, 0.08);
    border: 1px solid rgba(255, 68, 102, 0.45);
    border-radius: 6px;
    padding: 10px 14px;
    font-family: 'Electrolize', sans-serif;
    font-size: 0.78rem;
    color: #ff6680;
    letter-spacing: 0.3px;
}
.alert-danger ul { margin: 0; padding: 0 0 0 16px; }
.alert-danger ul:only-child li:only-child { list-style: none; padding: 0; }

/* ── Success notice ───────────────────────────────────────────────────────── */
.forgot-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(0, 255, 65, 0.07);
    border: 1px solid rgba(0, 255, 65, 0.35);
    border-radius: 6px;
    font-family: 'Electrolize', sans-serif;
    font-size: 0.8rem;
    color: #00ff41;
    letter-spacing: 0.3px;
}
.forgot-notice-dot {
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00ff41;
    box-shadow: 0 0 6px rgba(0, 255, 65, 0.7);
}

/* ── Form ─────────────────────────────────────────────────────────────────── */
.forgot-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.form-label {
    font-family: 'Electrolize', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    color: #00d9ff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.form-input {
    width: 100%;
    padding: 11px 13px;
    background: rgba(15, 15, 30, 0.8);
    border: 1px solid rgba(0, 217, 255, 0.35);
    border-radius: 6px;
    color: #e8f6ff;
    font-family: 'Electrolize', sans-serif;
    font-size: 0.88rem;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
}
.form-input::placeholder { color: rgba(184, 184, 200, 0.4); }
.form-input:focus {
    border-color: #00ff41;
    background: rgba(15, 15, 30, 1);
    box-shadow: 0 0 0 3px rgba(0, 255, 65, 0.1);
}

/* ── Submit button ────────────────────────────────────────────────────────── */
.forgot-button {
    width: 100%;
    margin-top: 4px;
    padding: 13px 20px;
    background: linear-gradient(135deg, #00d9ff 0%, #00ff41 100%);
    border: none;
    border-radius: 6px;
    color: #0a0e27;
    font-family: 'Electrolize', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
    transition: filter 0.15s ease, box-shadow 0.15s ease;
}
.forgot-button:hover {
    filter: brightness(1.08);
    box-shadow: 0 0 28px rgba(0, 255, 65, 0.45);
}
.forgot-button-arrow { font-size: 1rem; }

/* ── Hide reCAPTCHA badge (not used on this page) ────────────────────────── */
.grecaptcha-badge { visibility: hidden !important; }

/* ── Back to login footer ─────────────────────────────────────────────────── */
.forgot-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 16px;
    margin-top: 4px;
    border-top: 1px solid rgba(0, 217, 255, 0.15);
}
.forgot-back-link {
    font-family: 'Electrolize', sans-serif;
    font-size: 0.8rem;
    color: #00d9ff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.forgot-back-link:hover { color: #00ff41; }
