﻿
.forgot-page {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    position: relative;
    overflow: hidden;
    background: linear-gradient( 145deg, #e0f7f6 0%, #f7fafa 40%, #ffffff 100% );
}


    /* =========================
   DECORATIVE CIRCLES
   ========================= */

    .forgot-page::before,
    .forgot-page::after {
        content: '';
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
    }

    .forgot-page::before {
        width: 380px;
        height: 380px;
        background: radial-gradient( circle, rgba(1, 178, 170, 0.10) 0%, transparent 70% );
        top: -80px;
        right: -60px;
    }

    .forgot-page::after {
        width: 300px;
        height: 300px;
        background: radial-gradient( circle, rgba(1, 178, 170, 0.08) 0%, transparent 70% );
        bottom: -60px;
        left: -40px;
    }


/* =========================
   CARD
   ========================= */

.forgot-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(1, 178, 170, 0.12);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(1, 178, 170, 0.10), 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 40px 36px;
    width: 100%;
    max-width: 440px;
    position: relative;
    z-index: 1;
    animation: forgotFadeIn 0.6s ease;
    margin-top:70px;

}

@keyframes forgotFadeIn {

    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================
   ICON
   ========================= */

.forgot-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #e0f7f6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

    .forgot-icon-circle i {
        font-size: 1.6rem;
        color: #01b2aa;
    }


/* =========================
   HEADING
   ========================= */

.forgot-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e3331;
    text-align: center;
    margin-bottom: 7px;
}

.forgot-subtitle {
    font-size: 0.92rem;
    color: #6b8a87;
    text-align: center;
    line-height: 1.6;
    margin: 0 auto 28px;
    max-width: 350px;
}


/* =========================
   INPUT
   ========================= */

.forgot-input-wrapper {
    margin-bottom: 22px;
}

.forgot-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #3a5553;
    margin-bottom: 6px;
}

.forgot-input-container {
    position: relative;
}

.forgot-input-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #01b2aa;
    font-size: 1rem;
    z-index: 2;
    pointer-events: none;
}

.forgot-input {
    width: 100%;
    border: 1.5px solid #e2e8e8;
    border-radius: 12px;
    padding: 12px 14px 12px 42px;
    font-size: 0.92rem;
    color: #1e3331;
    background: rgba(255, 255, 255, 0.6);
    transition: 0.3s ease;
}

    .forgot-input::placeholder {
        color: #a8c4c2;
    }

    .forgot-input:focus {
        border-color: #01b2aa;
        box-shadow: 0 0 0 4px rgba(1, 178, 170, 0.12);
        background: #ffffff;
        outline: none;
    }


/* =========================
   SUBMIT BUTTON
   ========================= */

.forgot-submit-btn {
    width: 100%;
    padding: 13px;
    background: linear-gradient( 135deg, #01b2aa, #019b94 );
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(1, 178, 170, 0.25);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .forgot-submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(1, 178, 170, 0.30);
        background: linear-gradient( 135deg, #019b94, #01b2aa );
    }

    .forgot-submit-btn:active {
        transform: translateY(0);
    }


/* =========================
   BACK TO LOGIN
   ========================= */

.forgot-back-login {
    text-align: center;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e2e8e8;
}

    .forgot-back-login a {
        color: #01b2aa;
        font-weight: 600;
        font-size: 0.88rem;
        text-decoration: none;
        transition: 0.3s ease;
    }

        .forgot-back-login a:hover {
            color: #019b94;
            text-decoration: underline;
        }

    .forgot-back-login i {
        margin-right: 5px;
    }


/* =========================
   TABLET
   ========================= */

@media (max-width: 576px) {

    .forgot-page {
        padding: 28px 16px;
    }

    .forgot-card {
        padding: 30px 22px;
        border-radius: 20px;
    }

    .forgot-title {
        font-size: 1.35rem;
    }

    .forgot-icon-circle {
        width: 52px;
        height: 52px;
    }

        .forgot-icon-circle i {
            font-size: 1.3rem;
        }

    .forgot-subtitle {
        font-size: 0.85rem;
    }
}


/* =========================
   SMALL MOBILE
   ========================= */

@media (max-width: 380px) {

    .forgot-page {
        padding: 20px 12px;
    }

    .forgot-card {
        padding: 26px 16px;
    }

    .forgot-title {
        font-size: 1.2rem;
    }

    .forgot-subtitle {
        font-size: 0.82rem;
    }

    .forgot-input {
        font-size: 0.88rem;
    }

    .forgot-submit-btn {
        font-size: 0.9rem;
    }
}
