/* assets/estilos/login.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #141419; /* Fondo ultra oscuro */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-wrapper {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.login-card {
    background: #1e1e24; /* Contenedor según la paleta */
    width: 100%;
    max-width: 420px;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    border: 1px solid #2d2d38;
    text-align: center;
}

/* Contenedor para el logotipo */
.login-logo {
    max-width: 180px;
    height: auto;
    margin: 0 auto 20px auto;
    display: block;
}
.login-logo-container {
    background: #f3be2c;       /* El Amarillo Yajo de fondo */
    padding: 20px;             /* Espacio alrededor del logo */
    border-radius: 12px;       /* Bordes suaves y redondeados */
    margin: 0 auto 25px auto;  /* Centrado y separación del texto inferior */
    display: inline-block;     /* Se ajusta al tamaño de la imagen */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.login-logo-container img {
    max-width: 140px;          /* Controlamos el tamaño para que no sature */
    height: auto;
    display: block;
}

.login-header h2 {
    color: #f3be2c; /* Amarillo Yajo */
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-header p {
    color: #a0a0b0;
    font-size: 13px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 22px;
    text-align: left;
}

.form-group label {
    display: block;
    color: #ffffff;
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    background: #141419;
    border: 2px solid #2d2d38;
    border-radius: 8px;
    color: #ffffff;
    font-size: 15px;
    transition: all 0.3s ease;
}

/* Focus con la identidad de la marca */
.form-group input:focus {
    outline: none;
    border-color: #f3be2c; /* Brillo Amarillo Yajo */
    box-shadow: 0 0 10px rgba(243, 190, 44, 0.15);
}

/* Botón de acción principal con el Amarillo Yajo */
.btn-login {
    width: 100%;
    padding: 15px;
    background: #f3be2c; 
    border: none;
    border-radius: 8px;
    color: #141419; /* Texto oscuro para alto contraste y legibilidad */
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-login:hover {
    background: #dbaa22;
    transform: translateY(-1px);
}

.btn-login:active {
    transform: translateY(1px);
}

/* Alertas usando el Rojo Chile */
.alert-error {
    background: rgba(217, 37, 28, 0.1);
    border: 1px solid #d9251c;
    color: #ff6b6b;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
}