* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    width: 100%;
    font-family: 'Nunito';
}

.forgot-password-container {
    min-height: 100vh;
    width: 100%;
    background-color: #ffffff;
    background-image: url('../images/sign-up-and-onboarding background.png');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow-x: hidden;
}

.content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
    padding: 40px 20px;
    padding-top: 50px;
    padding-bottom: 50px;
}

.title {
    font-size: 36px;
    font-weight: semibold;
    line-height: 70px;
    letter-spacing: 2%;
    color: #094D39;
    text-align: center;
    margin-bottom: 30px;
}

.input-group {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.input-group label {
    position: absolute;
    top: 7px;
    left: 40px;
    font-size: 14px;
    color: #20A576;
    font-weight: regular;
    line-height: 16px;
    z-index: 1;
}

.input-group input {
    width: 100%;
    opacity: 1;
    border-radius: 60px;
    padding-top: 35px;
    padding-right: 40px;
    padding-bottom: 25px;
    padding-left: 40px;
    border: 1px solid #36E1A3;
    font-family: 'Nunito';
    font-size: 18px;
    color: #444444;
    outline: none;
    height: 80px;
}

.input-group input:focus {
    border: 2px solid #36E1A3 !important;
    box-shadow: 0 0 10px rgba(45, 212, 160, 0.1);
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.btn-create {
    width: 100%;
    padding: 16px;
    background-color: #A1FFD8;
    color: #20A576;
    height: 80px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 129px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding-top: 33px;
    padding-bottom: 33px;
    line-height: 24px;
    margin-top: 10px;
}

.btn-create:hover {
    background-color: #41FFBA;
    color: #004D33;
}

.password-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-content h2 {
    color: #094D39;
    margin-bottom: 15px;
    font-size: 24px;
}

.modal-content p {
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
    font-size: 16px;
}

.modal-content a {
    display: inline-block;
    background: #A1FFD8;
    color: #0A6948;
    text-decoration: none;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 16px;
    transition: all 0.2s;
}

.modal-content a:hover {
    background: #36E1A3;
    transform: translateY(-2px);
}

/* Modal Close Button Styling */
.modal-header {
    display: flex;
    justify-content: flex-end;
    margin: -20px -20px 0 0;
}

.modal-close {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close:hover {
    background: #D1FADF;
    transform: rotate(90deg);
}

.modal-close svg {
    width: 24px;
    height: 24px;
}


@media screen and (max-width: 768px) {
    .forgot-password-container {
        justify-content: center !important;
        background-image: url('../images/login-onboarding-phone.png');
        background-size: cover !important;
        background-position: center !important;
        padding: 40px 20px !important;
    }
    
    .content {
        padding-top: 50px !important; 
    }
}

/* Flash Messages */
.flash-message {
    padding: 10px;
    border-radius: 15px;
    font-size: 13px;
    margin-bottom: 20px;
    width: 100%;
    text-align: center;
}

.error-msg {
    color: #c53030 !important;
    background: #c530301a !important;
}

.success-msg {
    color: #2BC38C !important;
    background: #2bc38c1a !important;
}

@media screen and (min-width: 769px) {
    .title {
        font-size: 32px !important;
        margin-bottom: 30px !important;
        line-height: 1.2 !important;
    }

    .input-group input, .password-wrapper input {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .content {
        padding-top: 250px !important;
    }
        .btn-create {
        width: 100% !important;
        max-width: 100% !important;
        height: 75px !important;
        line-height: 24px !important;
        padding: 0 !important;
        margin-top: 15px !important;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

