body {
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    position: relative;
    overflow: hidden;
    animation: fadeIn 1.5s ease-in-out;
    background-color: #f0f0f0;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/bg.png);
    background-size: cover;
    background-position: center;
    filter: blur(10px);
    z-index: -1;
}

.login-container {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
    animation: slideIn 1s ease-in-out;
    backdrop-filter: blur(10px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.dark-mode-toggle {
    z-index: 100;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.dark-mode-toggle:hover {
    transform: scale(1.1);
}

body.dark-mode {
    background-color: #121212;
    color: #ffffff;
}

.login-container.dark-mode {
    background-color: rgba(30, 30, 30, 0.85);
}

input.dark-mode, .login-button.dark-mode {
    background-color: #333;
    color: #fff;
    border: none;
}

.login-button.dark-mode {
    background-color: #ffffff;
}

.form-group label.dark-mode {
    color: #ffffff;
}
