/* Background Image and Body Styling */
@import url('https://fonts.googleapis.com/css2?family=Tagesschrift&display=swap');

body {
    background-image: url('../img/student.png'); /* Add your background image path */
    background-size: cover;
    background-position: center;
    height: 100vh;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column; /* Allows footer to stay at the bottom */
}

/* Center Login Box */
.login-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1; /* Ensures the login container grows to fill the available space */
    padding: 20px;
}

/* Login Box Styling */
.login-box {
    background: linear-gradient(90deg, #74ebd5 0%, #ACB6E5 100%);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
    margin-top: 20px;
}

.login-box h2 {
    font-family: "Tagesschrift", system-ui;
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
    font-weight: 600;
    font-size: 36px;
    letter-spacing: 1px;
}

/* Input Field Styling */
.form-control {
    border-radius: 10px;
    padding: 14px;
    border: 1px solid #ddd;
    font-size: 16px;
    transition: border-color 0.3s ease-in-out;
}

.form-label {
    font-weight: bold;
}

.form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 8px rgba(41, 128, 185, 0.5);
}

/* Login Button Styling */
.login-btn {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    padding: 14px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 12px;
    width: 100%;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.login-btn:hover {
    background: linear-gradient(45deg, #2980b9, #3498db);
    color: white;
    transform: scale(1.05);
}

/* Forgot Password Link Styling */
.forgot-link {
    text-align: right;
    display: block;
    margin-top: 10px;
    text-decoration: none;
    color: #2980b9;
    font-weight: bold;
    font-size: 14px;
}

.forgot-link:hover {
    text-decoration: none;
    color: black;
}

/* Home Back Styling */
.home-back i {
    font-size: 20px;
    color: #000;
    padding-right: 10px;
}

.home-back a {
    text-decoration: none;
    color: #000;
    display: flex;
    align-items: center;
}

.home-back a:hover,
.home-back a:hover i {
    color: white;
}

/* Footer Styling */
footer {
    background-color: #34495e;
    color: white;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    position: relative;
    bottom: 0;
}

/* Responsive Design */
@media (max-width: 767px) {
    .login-box {
        padding: 30px;
        width: 100%;
     
    }

    .login-box h2 {
        font-size: 28px;
    }

    .login-btn {
        font-size: 16px;
    }

    .form-control {
        font-size: 14px;
    }

    .home-back i {
        font-size: 18px;
    }

    .home-back a {
        font-size: 14px;
    }
}
