@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

body
{
    font-family: 'Lato', sans-serif !important;
}

/* User not found modal /*



/* Overlay */
#errorModalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    display: flex;             /* change from none → flex */
    justify-content: center;   /* center horizontally */
    align-items: center;       /* center vertically */
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

/* When visible */
#errorModalOverlay.show {
    opacity: 1;
    pointer-events: auto;
}


/* Modal Box */
#errorModal {
    width: 350px;
    background: #ffe5e5;
    border-radius: 15px;
    overflow: hidden;
    animation: popup 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* Header */
.modal-header-custom {
    background: #ff3333;
    padding: 15px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header-custom h3 {
    margin: 0;
    font-size: 20px;
}

.close-modal {
    cursor: pointer;
    color: white;
    font-size: 25px;
    font-weight: bold;
}

/* Body */
.modal-body-custom {
    text-align: center;
    padding: 25px;
}

.cross-anim {
    font-size: 70px;
    color: #ff1a1a;
    animation: pulse 1.2s infinite;
}

.modal-text {
    margin-top: 12px;
    color: #b30000;
    font-weight: 600;
    font-size: 17px;
}

/* Footer */
.modal-footer-custom {
    padding: 12px;
    text-align: center;
}

#cancelModalBtn {
    padding: 10px 30px;
    background: #333;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

#cancelModalBtn:hover {
    background: #555;
}

/* Animations */
@keyframes popup {
    0% { transform: scale(0.6); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}


/* User not found modal /*










/* Forgot Password Modal */
/* Overlay */
#forgotModalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

/* Show class */
#forgotModalOverlay.show {
    opacity: 1;
    pointer-events: auto;
}

/* Modal box */
#forgotModalContent {
    width: 360px;
    background: #e8ffe8;
    border-radius: 15px;
    overflow: hidden;
    animation: slideDown .35s ease;
    box-shadow: 0px 8px 25px rgba(0,0,0,0.20);
}

/* Header */
.forgot-header {
    background: #2ecc71;
    padding: 15px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.forgot-header h3 {
    margin: 0;
    font-size: 20px;
}
.forgot-close {
    cursor: pointer;
    font-size: 25px;
}

/* Body */
.forgot-body {
    padding: 20px;
    text-align: center;
}

.forgot-anim {
    font-size: 60px;
    color: #27ae60;
    animation: pulse 1.3s infinite;
}

#forgotModalContent .form-group input {
    width: 100%;
    padding: 11px;
    border-radius: 8px;
    border: 1px solid #bfbfbf;
    margin-top: 15px;
    outline: none;
}

#forgotModalContent .form-group input:focus {
    border-color: #2ecc71;
    box-shadow: 0 0 5px rgba(46, 204, 113, 0.3);
}

/* Messages */
#forgotMessage {
    margin-top: 10px;
    font-size: 15px;
    font-weight: 600;
}

/* Footer */
.forgot-footer {
    padding: 15px;
    text-align: center;
}

#verifyEmailBtn {
    padding: 10px 25px;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.cancel-btn {
    padding: 10px 25px;
    margin-left: 10px;
    background: #333;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

/* Animations */
@keyframes slideDown {
    0% { transform: translateY(-40px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.12); }
    100% { transform: scale(1); }
}


/* Forgot Password Modal */




/* Verify OTP */
/* Overlay */
#verifyModalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

/* Show class */
#verifyModalOverlay.show {
    opacity: 1;
    pointer-events: auto;
}

/* Modal Box */
#verifyModalContent {
    width: 360px;
    background: #fff7d9;
    border-radius: 15px;
    overflow: hidden;
    animation: slideDown .35s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

/* Header */
.verify-header {
    background: #f1c40f;
    padding: 15px;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.verify-header h3 {
    font-size: 20px;
    margin: 0;
}
.verify-close {
    cursor: pointer;
    font-size: 25px;
}

/* Body */
.verify-body {
    padding: 20px;
    text-align: center;
}

.verify-anim {
    font-size: 60px;
    color: #d4ac0d;
    animation: pulse 1.2s infinite;
}

.material-field input {
    width: 100%;
    padding: 10px 5px;
    border: none;
    border-bottom: 2px solid #aaa;
    outline: none;
    font-size: 16px;
    transition: 0.3s;
}

.material-field input:focus {
    border-bottom: 2px solid #f1c40f;
}

.material-field label {
    position: absolute;
    left: 5px;
    top: 10px;
    color: #777;
    transition: .3s;
}

.material-field input:focus + label,
.material-field input:valid + label {
    top: -12px;
    font-size: 13px;
    color: #f1c40f;
}

.material-field .line {
    height: 2px;
    width: 0%;
    background: #f1c40f;
    position: absolute;
    bottom: 0;
    transition: .3s;
}

.material-field input:focus ~ .line {
    width: 100%;
}

/* Button */
#verifyOtpBtn {
    width: 100%;
    padding: 12px;
    background: #f4b400;
    border: none;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
}
#verifyOtpBtn:hover {
    background: #e0a200;
}

#verifyMessage {
    font-size: 14px;
    margin-top: 10px;
    font-weight: 600;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1);}
    50% { transform: scale(1.12);}
    100% { transform: scale(1);}
}

@keyframes slideDown {
    0% { transform: translateY(-40px); opacity: 0;}
    100% { transform: translateY(0); opacity: 1;}
}



/* Verify OTP */


/* User Already Found */

/* Overlay */
#userExistModalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

/* Show State */
#userExistModalOverlay.show {
    opacity: 1;
    pointer-events: auto;
}

/* Modal Box */
#userExistModalContent {
    width: 360px;
    background: #ffe1e1;
    border-radius: 15px;
    overflow: hidden;
    animation: slideDown .35s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.22);
}

/* Header */
.userexist-header {
    background: #e60000;
    padding: 15px;
    color: #fff;
    display: flex;
    justify-content: space-between;
}
.userexist-close {
    cursor: pointer;
    font-size: 25px;
}

/* Body */
.userexist-body {
    text-align: center;
    padding: 20px;
}
.userexist-anim {
    font-size: 65px;
    color: #cc0000;
    animation: pulse 1.3s infinite;
}
.userexist-body p {
    font-size: 17px;
    font-weight: 600;
    margin-top: 10px;
    color: #cc0000;
}

/* Footer */
.userexist-footer {
    text-align: center;
    padding: 12px;
}
#userExistCancelBtn {
    padding: 10px 25px;
    background: #333;
    color: white;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}
#userExistCancelBtn:hover {
    background: #555;
}



/* User Already Found */



/* Overlay — only for Forgot Password modal */
#forgotModalOverlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.55);
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s;
}
#forgotModalOverlay.show {
    opacity: 1;
    pointer-events: auto;
}

/* Modal box — scoped */
#forgotModalContent {
    width: 360px;
    background: #e8ffe8;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.20);
    animation: forgotSlideDown .35s ease;
    font-family: 'Lato', sans-serif;
}

/* Header ONLY for forgot modal */
#forgotModalContent .forgot-header {
    background: #2ecc71;
    padding: 15px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#forgotModalContent .forgot-header h3 {
    margin: 0;
    font-size: 18px;
}
#forgotModalContent .forgot-close {
    cursor: pointer;
    font-size: 22px;
}

/* Body scoped */
#forgotModalContent .forgot-body {
    padding: 20px;
    text-align: center;
}
#forgotModalContent .forgot-anim {
    font-size: 60px;
    color: #27ae60;
    animation: forgotPulse 1.3s infinite;
}

/* Email + OTP Inputs */
#forgotModalContent input {
    width: 100%;
    padding: 11px;
    border-radius: 8px;
    border: 1px solid #cfcfcf;
    outline: none;
    margin-top: 8px;
    font-size: 15px;
}
#forgotModalContent input:focus {
    border-color: #2ecc71;
    box-shadow: 0 0 6px rgba(46, 204, 113, 0.2);
}

/* Buttons scoped */
#forgotModalContent .btn-action {
    padding: 10px 20px;
    background: #27ae60;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin: 5px;
    font-weight: 600;
}

#forgotModalContent .cancel-btn {
    padding: 10px 20px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

/* Resend button */
#forgotModalContent .resend-btn {
    width: 100%;
    padding: 10px;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: not-allowed;
    opacity: 0.95;
    font-weight: 600;
    margin-top: 10px;
}
#forgotModalContent .resend-btn.active {
    cursor: pointer;
    background: #2ecc71;
}

/* Footer */
#forgotModalContent .forgot-footer {
    padding: 12px;
    text-align: center;
}

/* Timer animations (namespaced) */
@keyframes forgotSlideDown {
    0% { transform: translateY(-40px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes forgotPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.12); }
    100% { transform: scale(1); }
}