﻿/* ===== FORGOT PASSWORD PAGE ===== */

.forgot-password-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: linear-gradient( 135deg, #1e1b4b, #312e81, #4c1d95);
}

/* ===== CARD ===== */

.forgot-password-card {
    width: 100%;
    max-width: 480px;
    padding: 45px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 28px;
    backdrop-filter: blur(25px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}

/* ===== BRAND ===== */

.forgot-password-brand {
    text-align: center;
    margin-bottom: 25px;
}

.forgot-password-logo {
    width: 180px;
    filter: drop-shadow( 0 10px 20px rgba(0, 0, 0, .35));
}

/* ===== HEADING ===== */

.forgot-password-card .welcome-text {
    color: #ddd;
    font-size: 15px;
    margin-bottom: 6px;
}

.forgot-password-card h1 {
    color: white;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* ===== DESCRIPTION ===== */

.forgot-password-description {
    color: #e5e7eb;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 28px;
}

/* ===== INPUT ===== */

.input-group {
    margin-bottom: 22px;
}

    .input-group label {
        display: block;
        color: white;
        margin-bottom: 8px;
        font-size: 14px;
        font-weight: 600;
    }

.forgot-password-input {
    width: 100%;
    padding: 15px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .10);
    color: white;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
}

    .forgot-password-input::placeholder {
        color: #d1d5db;
    }

    .forgot-password-input:focus {
        border-color: #a855f7;
        box-shadow: 0 0 0 4px rgba(168, 85, 247, .18);
    }

/* ===== VALIDATION ===== */

.validation-message {
    display: block;
    color: #fecaca;
    font-size: 13px;
    margin-top: 6px;
}

/* ===== SUBMIT BUTTON ===== */

.forgot-password-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 16px;
    background: linear-gradient( 135deg, #7c3aed, #9333ea);
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s;
}

    .forgot-password-btn:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 12px 25px rgba(124, 58, 237, .35);
    }

    .forgot-password-btn:disabled {
        opacity: .65;
        cursor: not-allowed;
    }

/* ===== ERROR MESSAGE ===== */

.forgot-password-error {
    color: #fecaca;
    background: rgba(127, 29, 29, .25);
    border: 1px solid rgba(248, 113, 113, .25);
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* ===== SUCCESS MESSAGE ===== */

.forgot-password-success {
    color: #bbf7d0;
    background: rgba(22, 101, 52, .25);
    border: 1px solid rgba(74, 222, 128, .25);
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* ===== BACK TO LOGIN ===== */

.back-to-login {
    text-align: center;
    margin-top: 25px;
}

    .back-to-login a {
        color: #ddd;
        text-decoration: none;
        font-size: 14px;
        transition: .2s;
    }

        .back-to-login a:hover {
            color: white;
            text-decoration: underline;
        }

/* ===== MOBILE ===== */

@media (max-width: 600px) {

    .forgot-password-page {
        padding: 20px;
    }

    .forgot-password-card {
        padding: 30px 25px;
    }

        .forgot-password-card h1 {
            font-size: 32px;
        }

    .forgot-password-logo {
        width: 150px;
    }
}
