/* ============================================
   WiFiHapa - Forgot password (forgot.php)
   Builds on assets/css/login.css (card, inputs, buttons, alerts).
   ============================================ */

.forgot-card .login-header {
    margin-bottom: 1.25rem;
}

.forgot-badge {
    display: block;
    width: max-content;
    margin: 0 auto 0.4rem;
    background: #0b2b40;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
}

.forgot-step {
    margin: 0.4rem 0 0.5rem;
}

.forgot-progress {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
}

.forgot-progress span {
    width: 36px;
    height: 6px;
    border-radius: 6px;
    background: var(--border-light, #e3e8ef);
    transition: background 0.3s;
}

.forgot-progress span.active {
    background: #0d6efd;
}

/* The alert must stay hidden while it has the hidden attribute (login.css gives it display:flex) */
.alert-custom[hidden] {
    display: none !important;
}

.forgot-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.forgot-text {
    font-size: 0.9rem;
    color: var(--text-secondary, #5e6f7d);
    margin-bottom: 1rem;
}

.forgot-code {
    font-family: monospace;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.6rem;
    text-align: center;
    text-transform: uppercase;
}

.forgot-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.forgot-links .btn-link {
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
}

.forgot-links .btn-link:disabled {
    color: var(--text-secondary, #5e6f7d);
    opacity: 1;
}

body.dark .forgot-progress span.active {
    background: #6dafff;
}
