
/* ======================
   LOGIN
====================== */

.error-msg {
    background: #ffe5e5;
    color: #cc0000;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 14px;
}


/* ANIMACIÓN SUAVE */
@keyframes glowRojo {
    from {
        text-shadow:
            0 0 5px rgba(229, 9, 20, 0.4),
            0 0 10px rgba(229, 9, 20, 0.2);
    }
    to {
        text-shadow:
            0 0 10px rgba(229, 9, 20, 0.6),
            0 0 20px rgba(229, 9, 20, 0.3);
    }
}

.texto-intro {
    font-size: 44px;    /* 🔼 más grande */
    letter-spacing: 3px;
    font-weight: 500;    /* 🔼 más “gordo” pero elegante */
}

/* efecto cursor */
.cursor {
    border-right: 2px solid white;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    50% { border-color: transparent; }
}
/* CAPA NEGRA CINEMÁTICA */
#fade {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: black;
    opacity: 0;

    pointer-events: none;
    z-index: 9998;
}

/* LOGIN FADE IN */
#contenido {
    opacity: 0;
    transition: opacity 1s ease;
}
form {
    width: 100%;
    margin-top: 10px;
}

/* LOGO */
.logo {
    width: 90px;
    margin-bottom: 5px;
    border-radius: 5px;

    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* BODY */
body {
    font-family: Arial;
    margin: 0;
    min-height: 100vh;

    display:flex;
    flex-direction:column;

    justify-content:center;
    align-items:center;

    background:#1b1b1b;
}

/* LOGIN BOX (NO TOCADO) */
.login-box {
    background: #ffffff;
    padding: 35px;
    border-radius: 16px;
    width: 380px;
    text-align: center;
    color: #222;

    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    border: 1px solid rgba(0,0,0,0.05);
}

/* INPUTS */
input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: white;
    color: #333;
    box-sizing: border-box;
}

/* BOTÓN */
button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 8px;
    background-color: #111;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background-color: #0b3d91;
}

/* TITULO */
.titulo {
    font-size: 22px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.rojo {
    color: #ff0000;
}

.blanco {
    color: black;
}

/* ========================= */
/* 🔥 INTRO CINEMÁTICA */
/* ========================= */

#intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background:#1b1b1b;

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 9999;
}

/* CONTENIDO INTRO */
.intro-contenido {
    text-align: center;
    transform: scale(0.5);
    opacity: 0;

    animation: zoomEntrada 5s ease-out forwards;
}

/* LOGO INTRO */
.logo-intro {
    width: 120px;
    margin-bottom: 20px;
}

/* TEXTO INTRO */
.texto-intro {
    font-size: 50px;
    letter-spacing: 6px;
}

.texto-intro .rojo {
    color: #e50914;
}

.texto-intro .blanco {
    color: white;
}

/* ANIMACIÓN */
@keyframes zoomEntrada {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    60% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
#loader {
    margin-top: 20px;
    text-align: center;
    color: white;
}

.spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px auto;

    border: 4px solid rgba(255,255,255,0.2);
    border-top: 4px solid white;

    border-radius: 50%;

    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}


.login-footer{

    margin-top:22px;

    text-align:center;

    font-size:13px;

}

.login-footer a{

    color:#b8c4d6;

    text-decoration:none;

}

.login-footer a:hover{

    color:white;

}