/* --- BLOQUE DE AUTENTICACIÓN BLINDADO --- */

.auth-page {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: fixed;
    top: 0; left: 0;
    z-index: 1000;
}

.auth-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    z-index: 1;
}

.auth-card {
    position: relative;
    z-index: 10;
    background: rgba(8, 8, 8, 0.95);
    padding: 60px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    width: 450px;
    text-align: center;
}

/* --- SOLUCIÓN AL BORDE BLANCO Y FONDO AZUL --- */
.auth-card input {
    width: 100%;
    padding: 18px;
    margin-bottom: 15px;
    background-color: #000 !important;
    color: #fff !important;
    border: 1px solid #222 !important; /* Borde oscuro base */
    border-radius: 8px;
    outline: none !important; /* Mata el azul del foco */
    font-family: 'Inter', sans-serif;
}

/* ESTO MATA EL AZUL Y EL BLANCO DEL NAVEGADOR (AUTOFILL) */
.auth-card input:-webkit-autofill,
.auth-card input:-webkit-autofill:hover, 
.auth-card input:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff !important;
    /* Creamos una sombra interna negra gigante para tapar el azul del navegador */
    box-shadow: 0 0 0px 1000px #000 inset !important;
    -webkit-box-shadow: 0 0 0px 1000px #000 inset !important;
    /* Forzamos que el borde sea amarillo y no blanco */
    border: 1px solid #D4AF37 !important;
    /* Truco: transición de 1000 horas para que el navegador nunca cambie el color */
    transition: background-color 5000000s ease-in-out 0s;
}

/* CUANDO EL USUARIO HACE CLICK: AMARILLO TOTAL */
.auth-card input:focus {
    border: 1px solid #D4AF37 !important;
    outline: none !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2) !important;
}

.btn-auth {
    width: 100%;
    padding: 20px;
    background: #D4AF37 !important;
    color: #000 !important;
    border: none;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
}