/* ==========================================
   FORGOT PASSWORD PAGE
========================================== */

/* ========== BACKGROUND - MATCH LOGIN PAGE ========== */
html,
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    overflow-y: auto;
    position: relative;
}

/* ========== WRAPPER - CENTERED ========== */
.forgot-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    padding: 20px;
    margin: 0;
    box-sizing: border-box;
}

/* ========== CARD - MATCH LOGIN PAGE ========== */
.forgot-card {
    position: relative;
    width: 100%;
    max-width: 460px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 35px 35px 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.265);
    animation: fadeIn 0.4s ease;
    margin: 0 auto;
}

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

/* ========== HEADER ========== */
.forgot-header {
    text-align: center;
    margin-bottom: 25px;
}

.forgot-header h2 {
    margin: 0;
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-ink);
}

.forgot-header p {
    margin-top: 6px;
    color: var(--color-ink-soft);
    font-size: 14px;
}

/* ========== ALERTS ========== */

/* ========== FORM ========== */
.forgot-form .form-group {
    position: relative;
    margin-bottom: 14px;
}

.forgot-form label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-ink-soft);
    letter-spacing: 0.2px;
}

.forgot-form input {
    width: 100%;
    height: 40px;
    border: 1px solid #a5a6a867;
    border-radius: 10px;
    background: var(--color-surface);
    padding: 0 12px;
    font-size: 14px;
    box-sizing: border-box;
    transition: 0.25s ease;
}

.forgot-form input::placeholder {
    color: var(--color-ink-faint);
    font-size: 12px;
}

.forgot-form input:focus {
    outline: none;
    background: rgb(244, 246, 247);
    border-color: var(--status-info-fill);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ========== BUTTON ========== */
.btn-block {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    color: white;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--status-danger-fill), var(--status-danger-hover));
    transition: 0.25s ease;
    margin-top: 4px;
}

.btn-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(203, 31, 31, 0.25);
}

.btn-block:active {
    transform: translateY(0);
}

/* ========== LINKS ========== */
.forgot-links {
    text-align: center;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--color-border);
}

.forgot-links a {
    color: var(--status-info-fill);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s ease;
}

.forgot-links a:hover {
    color: var(--status-info-text);
    text-decoration: underline;
}

/* ========== MOBILE ========== */
@media (max-width: 480px) {
    .forgot-card {
        max-width: 100%;
        padding: 20px 18px 18px;
    }


    .forgot-header p {
        font-size: 13px;
    }

    .forgot-wrapper {
        padding: 15px;
    }
}
