body {
    background-color: #f4f6f9;
    font-family: 'Open Sans', sans-serif;
    min-height: 100vh;
    color: #212529;
}

/* Left side illustration (desktop only) */
.bg-illustration {
    background: url('/images/login-w3.jpg') no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.bg-illustration::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(20, 20, 20, 0.7));
}

.bg-content {
    position: relative;
    z-index: 2;
    animation: fadeIn 0.8s ease-out;
}

.school-text {
    font-size: 2.4rem;
    font-weight: 700;
    margin-top: 20px;
    line-height: 1.4;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0px 3px 8px rgba(0,0,0,0.4);
}

/* Login card */
.login-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    padding: 2.8rem 2.5rem;
    animation: fadeInUp 0.7s ease-out;
}

.login-card h1 {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 1.8rem;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    color: #09203f;
}

/* Inputs */
.login-card input {
    height: 50px;
    border-radius: 10px;
    border: 1px solid #d1d9e6;
    padding-left: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.login-card input:focus {
    border-color: #537895;
    box-shadow: 0 0 0 0.2rem rgba(83, 120, 149, 0.25);
    outline: none;
}

/* Button */
.login-card button {
    background: linear-gradient(110deg, #537895, #09203f);
    border: none;
    font-weight: bold;
    height: 50px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.login-card button:hover {
    background: linear-gradient(110deg, #09203f, #537895);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(9, 32, 63, 0.3);
}

.invalid-feedback {
    display: block;
    font-size: 0.875rem;
    margin-top: 0.3rem;
}

/* Mobile institute info */
.mobile-institute-info img {
    border-radius: 50%;
    background: white;
    padding: 6px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.mobile-school-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #09203f;
    margin-top: 5px;
}

.mobile-school-tagline {
    font-size: 0.9rem;
    color: #6c757d;
    font-style: italic;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 991.98px) {
    .mobile-institute-info {
        animation: fadeIn 0.6s ease-out;
    }
}
