/* Scoped Background: Modern Soft Indigo Gradient */
.login-body-bg {
    background: linear-gradient(135deg, #e0e7ff 0%, #ede9fe 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Scoped Login Card: Pure White with distinct shadow */
.login-card {
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    border-radius: 1.25rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
}

.login-title {
    color: #1e1b4b; /* Deep Indigo */
}

.login-label {
    font-weight: 500;
    font-size: 0.9rem;
    color: #4338ca;
}

.login-input {
    border-radius: 10px;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
}

.login-input:focus {
    background-color: #ffffff;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.login-btn {
    background-color: #4f46e5;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background-color: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.login-link {
    color: #4f46e5;
    font-weight: 600;
}

.login-link:hover {
    color: #3730a3;
}

/* Position the eye icon and ensure it's clickable */
#togglePassword {
    z-index: 10;
    display: flex;
    align-items: center;
}

#toggleIcon {
    color: #64748b; /* A soft gray color for the icon */
    font-size: 1.2rem;
}

/* Add extra space on the right side of the input so text doesn't go under the eye */
.pe-5 {
    padding-right: 3rem !important;
}

/* Tablet and Mobile Responsiveness */
@media (max-width: 576px) {
    .login-card {
        max-width: 90%;
        margin: 0 auto;
        padding: 1.5rem !important;
    }
}