/* General Reset */
body, html {
    height: 100%;
    width: 100%;
    margin: 8% 20%;
    box-sizing: border-box;
    font-family: 'Roboto', Arial, sans-serif;
    background: linear-gradient(135deg, #4b72ac, #4b72ac);
    color: #e0e0e0;
}

header {
    text-align: right;
    font-size: 1.2em;
}

/* Login Container */
.login-container {
    background-color: #36404f;
    border: 1px solid #424242;
    border-radius: 10px;
    padding: 40px 50px;
    height: 36%;
    width: 15%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.login-container h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #66a1fa
}

.login-container form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.form-group {
    margin-bottom: 10px;
    text-align: left;
}

label {
    font-size: 0.9rem;
    color: #e0e0e0;
    margin-bottom: 5px;
    display: block;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #424242;
    border-radius: 5px;
    background-color: #2c2c2c;
    color: #e0e0e0;
    font-size: 0.9rem;
}

input[type="text"]:focus, input[type="password"]:focus {
    outline: none;
    border-color: #90caf9;
    box-shadow: 0 0 5px rgba(144, 202, 249, 0.5);
}

button {
    padding: 10px;
    background-color: #1a6cff;
    border: none;
    border-radius: 5px;
    color: #ffffff;
    width: 108%;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* Flash Messages */
ul.messages {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

ul.messages li {
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

ul.messages li.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

ul.messages li.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-container {
        padding: 20px;
    }

    input[type="text"], input[type="password"] {
        font-size: 0.9rem;
        padding: 8px;
    }

    button {
        font-size: 0.8rem;
    }
}
