:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --background-color: #181f36;
    --card-background: #222a44;
    --border-color: #2c3556;
    --box-shadow-light: rgba(0, 0, 0, 0.1);
    --text-color: #f7f9fc;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--background-color);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 1rem;
}

.login-card {
    background-color: var(--card-background);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--box-shadow-light);
    text-align: center;
}

.login-logo {
    width: 100px;
    margin-bottom: 1rem;
}

h1 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.input-group {
    text-align: left;
    margin-bottom: 1rem;
}

label {
    display: block;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.3s;
    background-color: #22305a;
    color: #fff;
}

input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.input-group-remember {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.input-group-remember label {
    margin: 0 0 0 0.5rem;
    font-weight: normal;
}

.input-group-remember input {
    width: auto;
}

button {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

.message-area {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
    font-weight: bold;
    display: none; /* Inicia oculto */
}

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

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