﻿/* General Body Styling */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background: white;
    background-size: cover;
    background-attachment: fixed;
    color: #333;
}



    /* Headings inside popup */
    .popup-content-wrapper h2 {
        color: #003b6f;
        margin-bottom: 10px;
        font-size: 22px;
    }

    .popup-content-wrapper p {
        font-size: 14px;
        line-height: 1.6;
        color: #444;
    }

    /* Link styling inside popup */
    .popup-content-wrapper a {
        color: #005c99;
        text-decoration: none;
    }

        .popup-content-wrapper a:hover {
            text-decoration: underline;
        }

/* Animation (optional fade-in) */
@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.popup-content-wrapper {
    animation: popupFadeIn 0.4s ease-in-out both;
    padding: 30px;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.1);
    background: white;
}


.lost-password-container {
   
}

.lost-password-header h2 {
    margin-top: 0;
    color: #003b6f;
    font-size: 22px;
    margin-bottom: 10px;
}

.lost-password-header p {
    font-size: 14px;
    color: #333;
}

.lost-password-form {
    margin-top: 20px;
}

.lost-password-input {
    font-size: 14px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 6px;
}

.lost-password-error {
    color: red;
    font-size: 12px;
    display: block;
    margin-top: 4px;
}

.lost-password-actions {
    margin-top: 20px;
    text-align: right;
}

.lost-password-button {
    background-color: #005c99;
    color: white;
    border: none;
    padding: 10px 18px;
    font-size: 14px;
    border-radius: 6px;
    transition: background 0.3s ease;
}

    .lost-password-button:hover {
        background-color: #004974;
    }

.lost-password-complete,
.lost-password-locked {
    text-align: center;
    font-size: 15px;
    color: #333;
}

    .lost-password-locked a {
        color: #005c99;
        text-decoration: underline;
    }

.popup-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    z-index: 1000;
    transition: color 0.2s ease;
}

    .popup-close-btn:hover {
        color: #d00;
    }

/* LOST PASSWORD FIELD ERROR STATE */
.lost-password-input.invalid input,
.lost-password-input.invalid {
    border-color: #f44336 !important;
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.25) !important;
    transition: all 0.2s ease-in-out;
}

/* SHAKE EFFECT */
@keyframes shake {
    0% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-6px);
    }

    40% {
        transform: translateX(6px);
    }

    60% {
        transform: translateX(-4px);
    }

    80% {
        transform: translateX(4px);
    }

    100% {
        transform: translateX(0);
    }
}

.shake {
    animation: shake 0.3s ease;
}

input.lost-password-input.invalid,
.lost-password-input input.invalid {
    border-color: red !important;
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.3);
}