/* Forgot Password Page Styling - Matching Login and VerifySecurityCode UI */

/* Container for forgot password form */
.custom-login-form-container {
    background-color: #F8F8F8;
    display: flex;
    flex-direction: column;
    box-shadow: -2px 0 6px rgba(0, 0, 0, 0.05);
    align-items: center;
    padding: 2rem;
}

/* Login heading section */
.login-heading {
    width: 100%;
    margin-bottom: 0.5rem;
    text-align: left;
}

#welcomeTitle {
    font-size: 1.1rem !important;
    font-weight: 700;
    margin-bottom: 0.5px;
    margin-top: 1rem;
}

.loginsecondheading {
    color: #342d2d !important;
}

.logintagline {
    margin-top: 2rem;
    font-weight: 600;
    color: #342d2d !important;
}

/* Form container */
.login-modal-form {
    width: 100%;
    margin-top: 2rem;
}

.forgot-password-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 0;
}

.forgot-password-form h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px;
}

.forgot-password-form p.info-text {
    font-size: 14px;
    margin-bottom: 20px;
    color: #666;
}

/* Form controls */
.form-control {
    background-color: white !important;
    height: 2.5rem !important;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.required {
    color: red;
}

/* Button styling */
.btn.btn-primary {
    color: #fff;
    background-color: #256EB5 !important;
    border-color: #256EB5 !important;
    height: 2.5rem !important;
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn.btn-primary:hover {
    background-color: #1e5896 !important;
    border-color: #1e5896 !important;
}

/* Back to login link */
.back-to-login {
    text-align: center;
    margin-top: 1.5rem;
}

.back-to-login a {
    color: #256EB5;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-to-login a:hover {
    text-decoration: underline;
}

/* Alert messages */
.alert {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    font-size: 14px;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

/* Animations */
@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive */

/* 13-inch to 14-inch laptops */
@media (min-width: 1367px) and (max-width: 1599px) {
    .forgot-password-form {
        max-width: 420px;
    }
    
    .forgot-password-form h3 {
        font-size: 1.65rem;
    }
    
    .forgot-password-form p {
        font-size: 0.93rem;
    }
    
    .form-group label {
        font-size: 0.93rem;
    }
    
    .form-control {
        height: 42px;
        font-size: 15px;
    }
    
    .forgot-password-btn {
        height: 42px;
        font-size: 15px;
    }
    
    .back-to-login {
        font-size: 0.93rem;
    }
}

/* 14-inch high DPI & 15-inch laptops */
@media (min-width: 1600px) and (max-width: 1919px) {
    .forgot-password-form {
        max-width: 440px;
    }
    
    .forgot-password-form h3 {
        font-size: 1.7rem;
    }
    
    .forgot-password-form p {
        font-size: 0.94rem;
    }
    
    .form-group label {
        font-size: 0.94rem;
    }
    
    .form-control {
        height: 43px;
        font-size: 15px;
    }
    
    .forgot-password-btn {
        height: 43px;
        font-size: 15.5px;
    }
    
    .back-to-login {
        font-size: 0.94rem;
    }
    
    .custom-login-form-container {
        padding: 1.8rem;
    }
    
    .login-modal-form {
        max-width: 440px;
    }
}

@media (max-width: 834px) {
    .custom-login-form-container {
        padding: 1.5rem;
    }

    .login-modal-form {
        max-width: 100%;
    }

    .forgot-password-form {
        padding: 0 1rem;
    }

    #welcomeTitle {
        font-size: 1rem !important;
    }

    .login-heading {
        text-align: center !important;
    }
}