/* ==========================================================================
   ESTILOS EXCLUSIVOS DEL LOGIN (index.css)
   ========================================================================== */

body {
    background: radial-gradient(circle at top, #16204a 0%, #080a1c 100%);
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #ffffff;
}

.login-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 440px;
    padding: 20px;
    box-sizing: border-box;
}

/* --- TARJETA PRINCIPAL --- */
.login-card {
    background: #1b2045;
    border-radius: 20px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    border: 1px solid #2b3561;
    position: relative;
    overflow: hidden; /* Clave: recorta la imagen del header a la forma curva */
    z-index: 5;
}

/* --- IMAGEN HEADER --- */
.header-banner {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 3px solid #07c6ff; /* Línea Cyan corporativa de separación */
}

.card-body {
    padding: 25px 35px 35px 35px;
    text-align: center;
}

/* --- TEXTOS Y SEO --- */
.login-card h1 {
    color: #ffbc0c; /* Dorado corporativo */
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 5px;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.seo-subtitle {
    color: #00ff9d; /* Verde neón */
    font-size: 0.52em;
    margin-top: 0;
    margin-bottom: 25px;
    font-weight: 600;
    line-height: 1.4;
}

/* --- FORMULARIO --- */
.form-group {
    text-align: left;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #cfd6ff;
    font-size: 0.85em;
    font-weight: bold;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.form-group input {
    width: 100%;
    padding: 14px 15px;
    background: rgba(8, 10, 28, 0.7);
    border: 2px solid #2b3561;
    border-radius: 12px;
    color: #ffffff;
    box-sizing: border-box;
    font-size: 1em;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: #07c6ff;
    outline: none;
    box-shadow: 0 0 15px rgba(7, 198, 255, 0.3);
}

.form-group input::placeholder {
    color: #4a5a8a;
}

/* --- BOTÓN DE INGRESO --- */
.btn-login {
    width: 100%;
    padding: 16px;
    background: linear-gradient(90deg, #07c6ff, #00ff9d);
    color: #080a1c;
    border: none;
    border-radius: 12px;
    font-size: 1.1em;
    font-weight: 900;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 15px;
    box-shadow: 0 5px 15px rgba(0, 255, 157, 0.2);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 157, 0.5);
}

/* --- OPCIONES (RECORDAR/CLAVE) --- */
.access-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    font-size: 0.85em;
}

.remember-me {
    color: #aebdf1;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.forgot-pass {
    color: #07c6ff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.forgot-pass:hover {
    color: #ffbc0c;
}

/* --- EL YETI "VIVO" DEBAJO DEL FORMULARIO --- */
.mascot-container {
    width: 100%;
    text-align: center;
    margin-top: -55px; /* Sube la mascota para que se "esconda" bien bajo la tarjeta */
    position: relative;
    z-index: 1; /* Queda detrás de la tarjeta */
}

.yeti-mascot {
    margin-top: 75px;
    width: 110px;
    animation: yetiLife 4s ease-in-out infinite;
}

@keyframes yetiLife {
    0% {
        transform: translateY(0px) scale(1);
        filter: drop-shadow(0 10px 15px rgba(0,0,0,0.6));
    }
    50% {
        transform: translateY(15px) scale(1.05); /* Baja y se infla simulando respiración */
        filter: drop-shadow(0 0px 25px rgba(7, 198, 255, 0.6)); /* Brillo Cyan al respirar */
    }
    100% {
        transform: translateY(0px) scale(1);
        filter: drop-shadow(0 10px 15px rgba(0,0,0,0.6));
    }
}

/* --- FOOTER --- */
.footer-credits {
    margin-top: 65px; /* Empujamos los textos más abajo para dar espacio a la mascota */
    font-size: 0.8em;
    color: #7b8bc2;
    text-align: center;
    line-height: 1.8;
    z-index: 5;
    position: relative;
}

.footer-credits a {
    color: #ffbc0c;
    text-decoration: none;
}

.footer-credits small {
    font-size: 0.75rem;
    opacity: 0.6;
}