/* ====== Red-Themed Centered Login Style ====== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f7f7f7;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* Container */
.login-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 40px 30px;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Centered Logo */
.login-container img {
    width: 120px;
    height: auto;
    margin: 0 auto 15px auto;
    display: block;
}

/* Title */
.login-container h2 {
    color: #d00000;
    font-weight: 600;
    margin-bottom: 25px;
}

/* Input fields */
.login-form input {
    width: 100%;
    padding: 12px 14px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.login-form input:focus {
    outline: none;
    border-color: #d00000;
    box-shadow: 0 0 4px rgba(208, 0, 0, 0.3);
}

/* Button */
.login-form button {
    width: 100%;
    padding: 12px;
    background-color: #d00000;
    color: white;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.login-form button:hover {
    background-color: #a00000;
}

/* Links */
.register-link,
.forgot-password-link {
    display: block;
    margin-top: 12px;
    color: #d00000;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.register-link:hover,
.forgot-password-link:hover {
    color: #a00000;
}

/* Eye icon */
#togglePassword {
    color: #888;
    transition: color 0.3s ease;
}
    
#togglePassword:hover {
    color: #d00000;
}


/* Responsive */

@media (max-width: 768px) {
    .login-container {
        padding: 30px 20px;
        width: 90%;
    }

    .login-container img {
        width: 100px;
    }

    .login-form input {
        font-size: 14px;
    }

    .login-form button {
        font-size: 15px;
    }
}
@media (max-width: 480px) {
    .login-container {
        padding: 30px 20px;
        width: 90%;
    }

    .login-container img {
        width: 100px;
    }

    .login-form input {
        font-size: 14px;
    }

    .login-form button {
        font-size: 15px;
    }
}
