﻿/* ================= FORGOT PASSWORD MODAL ================= */

.fp-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

    /* Hidden state */
    .fp-modal.hidden {
        display: none;
    }

/* Dark overlay */
.fp-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}

/* Modal box */
.fp-modal-box {
    position: relative;
    background: #ffffff;
    width: 100%;
    max-width: 520px;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    z-index: 10;
    overflow: hidden;
}

/* Header */
.fp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
}

    .fp-header h3 {
        font-size: 18px;
        font-weight: 600;
        color: #111827;
    }

.fp-close-btn {
    background: transparent;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #6b7280;
}

    .fp-close-btn:hover {
        color: #111827;
    }

/* Body */
.fp-body {
    padding: 20px;
}

.fp-text {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 16px;
}

.fp-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 6px;
}

.fp-input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    font-size: 14px;
}

    .fp-input:focus {
        outline: none;
        border-color: #4556b7;
    }

/* Footer */
.fp-footer {
    display: flex;
    justify-content: flex-end;
    padding: 16px 20px;
    border-top: 1px solid #e5e7eb;
}

.fp-submit-btn {
    background: #4556b7;
    color: #ffffff;
    padding: 8px 22px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

    .fp-submit-btn:hover {
        background: #3c4ca4;
    }
