/* Base Reset */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    font-family: 'Poppins', sans-serif;
    background: url('../img/teacher.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Login Container */
.login-container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    z-index: 1;
}

/* Login Box */
.login-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    width: 500px;
    max-height: 600px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1.2s ease;
}

/* Heading */
.login-box h2 {
    color: #5D54A4;
    font-weight: 700;
    text-align: center;
    font-size: 28px;
}

/* Form Fields */
.form-control {
    border-radius: 10px;
    padding: 14px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #74ebd5;
    box-shadow: 0 0 10px rgba(116, 235, 213, 0.6);
}

/* Remember Me and Forgot Password */
.forgot-link {
    font-size: 14px;
    color: #5D54A4;
    text-decoration: none;
    transition: color 0.3s;
}

.forgot-link:hover {
    color: #74ebd5;
}

/* Button */
.login-btn {
    background: linear-gradient(90deg, #74ebd5 0%, #ACB6E5 100%);
    border: none;
    border-radius: 12px;
    font-size: 18px;
    padding: 12px;
    color: #fff;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: linear-gradient(90deg, #5D54A4 0%, #7B74E8 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(93, 84, 164, 0.4);
}

/* Home Back Link */
.home-back a {
    font-weight: 600;
    color: #5D54A4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.home-back a:hover {
    color: #74ebd5;
}

.home-back i {
    font-size: 18px;
}

/* Footer */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #5D54A4;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    z-index: 1;
}

/* Fade-in animation */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(-30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .login-box {
        padding: 30px 25px;
    }

    .login-btn {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .login-box {
        padding: 25px 20px;
    }

    .login-btn {
        font-size: 16px;
    }

    footer {
        font-size: 12px;
    }
}
