/* Forgot Password Modal Styles */

.forgot_modal_content {
    border-radius: 24px;
    border: none;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.forgot_close_btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.forgot_close_btn:hover {
    background: #ffffff;
    transform: rotate(90deg);
}

.forgot_close_btn i {
    font-size: 20px;
    color: #333;
}

/* Left Section - Branding */
.forgot_left_section {
    background: linear-gradient(135deg, #43c59e 0%, #3ab58c 100%);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 600px;
}

.forgot_branding {
    color: #ffffff;
}

.forgot_logo {
    max-width: 150px;
    margin-bottom: 32px;
    filter: brightness(0) invert(1);
}

.forgot_welcome_title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.forgot_welcome_description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 0;
}

.forgot_illustration {
    text-align: center;
    margin-top: 40px;
}

/* Right Section - Form */
.forgot_form_section {
    padding: 60px 50px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 600px;
}

.forgot_form_header {
    margin-bottom: 40px;
}

.forgot_title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.forgot_subtitle {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Form Styles */
.forgot_form .form-group {
    margin-bottom: 32px;
}

.forgot_form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.email_input_wrapper {
    position: relative;
}

.email_icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.forgot_form input[type="email"] {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #333;
    transition: all 0.3s ease;
    font-family: inherit;
}

.forgot_form input[type="email"]:focus {
    outline: none;
    border-color: #43c59e;
    box-shadow: 0 0 0 4px rgba(67, 197, 158, 0.1);
}

.forgot_form input[type="email"]::placeholder {
    color: #999;
}

/* Submit Button */
.forgot_submit_btn {
    width: 100%;
    padding: 14px 32px;
    background: linear-gradient(135deg, #43c59e 0%, #3ab58c 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
}

.forgot_submit_btn:hover {
    background: linear-gradient(135deg, #3ab58c 0%, #32a07d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 197, 158, 0.3);
    gap: 12px;
}

.forgot_submit_btn:active {
    transform: translateY(0);
}

.forgot_submit_btn .btn_text {
    display: inline-block;
}

/* Loader */
#loader123 {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    position: absolute;
    right: 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.forgot_submit_btn.loading #loader123 {
    display: inline-block;
}

.forgot_submit_btn.loading .btn_text {
    opacity: 0.7;
}

/* Back to Login */
.back_to_login {
    text-align: center;
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.back_to_login a {
    color: #43c59e;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.back_to_login a:hover {
    color: #3ab58c;
}

/* Responsive Design */
@media (max-width: 991px) {
    .forgot_form_section {
        padding: 40px 30px;
        min-height: auto;
    }

    .forgot_title {
        font-size: 1.75rem;
    }

    .forgot_welcome_title {
        font-size: 2rem;
    }

    .forgot_left_section {
        min-height: 500px;
    }
}

@media (max-width: 767px) {
    .forgot_form_section {
        padding: 30px 24px;
    }

    .forgot_title {
        font-size: 1.5rem;
    }

    .forgot_subtitle {
        font-size: 0.9rem;
    }

    .forgot_form input[type="email"] {
        padding: 12px 16px 12px 44px;
        font-size: 0.9rem;
    }

    .forgot_submit_btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}

@media (max-width: 575px) {
    .forgot_modal_content {
        border-radius: 16px;
    }

    .forgot_close_btn {
        width: 36px;
        height: 36px;
        top: 12px;
        right: 12px;
    }

    .forgot_form_section {
        padding: 24px 20px;
    }

    .forgot_title {
        font-size: 1.35rem;
    }

    .forgot_form_header {
        margin-bottom: 32px;
    }

    .back_to_login {
        font-size: 0.85rem;
    }
}
