/* Forgot password css*/
/* NITS TECH SYSTEMS - Auth Portal Shared Styles */

/* Container */
.forgot-password-container,
.login-section {
    width: 100%;
    max-width: 620px;
    background-color: #fff;
    padding: 40px 32px 32px 32px;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 35, 102, 0.08);
    text-align: left;
    margin: 0 auto;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

/* Title/Header */
.forgot-password-container h1,
.login-section .header h2 {
    color: #004080;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
    letter-spacing: 0.5px;
}
.forgot-password-container p,
.login-section .header p {
    color: #1a1a1a;
    font-size: 1.05rem;
    margin-bottom: 24px;
    text-align: center;
}

.form-label {
    font-weight: 600;
    color: #2b2c30;
    margin-bottom: 6px;
}

/* Input Group with Icon */
.input-group {
    align-items: center;
}
.input-group-text,
.form-icon {
    background: #f2f4f5;
    border: 1.5px solid #bfc7ce;
    border-right: none;
    color: #004080;
    font-size: 1.2rem;
    border-radius: 6px 0 0 6px;
}

.form-control {
    border: 1.5px solid #bfc7ce;
    border-radius: 0 6px 6px 0;
    padding: 12px 16px;
    font-size: 1.05rem;
    background: #f8fafe;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: #2e90fa;
    box-shadow: 0 0 0 3px rgba(46,144,250,0.14);
    outline: 2px solid #2e90fa;
    background: #fff;
}

/* Buttons */
.btn-primary,
.btn-login {
    background: linear-gradient(90deg, #004080, #007cbb);
    color: #fff !important;
    border: none;
    border-radius: 6px;
    padding: 12px 0;
    font-size: 1.12rem;
    font-weight: 600;
    width: 100%;
    transition: background 0.18s, transform 0.18s;
    box-shadow: 0 2px 10px rgba(0,64,128,0.06);
    margin-top: 14px;
}

.btn-primary:hover,
.btn-login:hover,
.btn-primary:focus-visible,
.btn-login:focus-visible {
    background: #002366;
    color: #fff;
    transform: translateY(-2px) scale(1.02);
    outline: 2px solid #2e90fa;
}

.btn-primary i,
.btn-login i {
    margin-right: 6px;
}

/* Alerts and messages */
.success-message {
    background-color: #e8f5e9;
    color: #228b22;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
    border-left: 4px solid #228b22;
}

.error-message {
    background-color: #ffebee;
    color: #c71d1d;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
    border-left: 4px solid #c71d1d;
}

/* Footer & Meta */
.footer {
    margin-top: 30px;
    color: #535353;
    font-size: 0.97rem;
    text-align: center;
}

.footer strong {
    color: #004080;
}

.back-to-login {
    text-align: center;
    margin-top: 22px;
}

.back-to-login a {
    color: #004080;
    font-weight: 600;
    text-decoration: underline;
    font-size: 1.01rem;
    transition: color 0.2s;
}

.back-to-login a:hover {
    color: #007cbb;
}

/* Responsive */
@media (max-width: 600px) {
    .forgot-password-container,
    .login-section {
        padding: 8vw 4vw 4vw 4vw;
        margin-top: 12vw;
        border-radius: 0;
        box-shadow: none;
        min-width: 0;
    }
    .forgot-password-container h1,
    .login-section .header h2 {
        font-size: 1.3rem;
    }
}