/* static/css/login_styles.css */

:root {
    --primary-color: #1B8FBC; /* Tonalidad azul de tu tema */
    --background-color: #f0f4f8;
    --card-background: #ffffff;
    --text-color: #2E3D58;
    --border-color: #DCE3EB;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

body {
    background-color: var(--background-color);
    font-family: 'Inter', sans-serif; /* O la fuente que prefieras */
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.login-container {
    background-color: var(--card-background);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    width: 100%;
    max-width: 420px;
    text-align: center;
}

.login-container h1 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.login-container p.subtitle {
    margin-bottom: 2rem;
    color: #7D8BA3;
}

.login-form input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-sizing: border-box; /* Importante para que el padding no afecte el ancho */
    transition: border-color 0.3s;
}

.login-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(27, 143, 188, 0.2);
}

.login-form button {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-form button:hover {
    background-color: #167799; /* Un tono más oscuro del primario */
}

/* Para mostrar errores del formulario */
.errorlist {
    list-style-type: none;
    padding: 0;
    color: #B00020;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}