/* Base Style */
body.login-page {
    background: #F4F6F8;
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    padding: 0;
    transition: background 0.4s ease-in-out;
}

#login-form {
    background: #FFFFFF;
    border: 1px solid #DDDDDD;
    border-radius: 10px;
    padding: 20px 20px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 100%; 
/*    max-width: 480px; */
    transition: transform 0.3s ease, background 0.4s ease-in-out;
    text-align: center;
}

#logo {
   /* width: 200px; */
    margin-bottom: 20px;
    animation: fadeIn 1s ease-in-out;
}

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

#login-form input[type="text"],
#login-form input[type="password"] {
    width: 100%;
    max-width: 420px;
    padding: 14px;
    margin-bottom: 20px;
    border: 1px solid #CCCCCC;
    border-radius: 8px;
    transition: border 0.3s ease;
}

#login-form input[type="text"]:focus,
#login-form input[type="password"]:focus {
    border: 1px solid #007BFF;
    outline: none;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
}

input.button.mainaction {
    background: #007BFF;
    color: #FFFFFF;
    font-weight: bold;
    padding: 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    width: 100%;
}

input.button.mainaction:hover {
    background: #0056b3;
}

#login-footer {
    margin-top: 20px;
    font-size: 0.9em;
    color: #555555;
}

#login-footer a {
    color: #007BFF;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

#login-footer a:hover {
    text-decoration: underline;
    color: #0056b3;
}

/* Dark Mode Styles */
body.login-page.dark-mode {
    background: #121212;
    color: #EAEAEA;
}

.dark-mode #login-form {
    background: #21292c;
    border: 1px solid #444;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.dark-mode #login-form input[type="text"],
.dark-mode #login-form input[type="password"] {
    background: #21292c;
    color: #EAEAEA; 
    border: 1px solid #555;
    max-width: 420px;
}

.dark-mode input.button.mainaction {
    background: #007BFF;
    color: #FFFFFF;
}

