/* --- ESTILO LOGIN PREMIMUM 2026 - REVISIÓN AMARILLO/AZUL --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600;800&display=swap');

:root {
    --primary: #FFDF20;             /* Amarillo solicitado */
    --primary-glow: rgba(255, 223, 32, 0.3);
    --primary-dark: #e6c91c;        /* Amarillo un poco más oscuro para hover */
    --bg-dark: #070b14;             /* Azul casi negro */
    --card-bg: rgba(10, 15, 28, 0.8); /* Azul muy profundo traslúcido */
    --glass-border: rgba(255, 223, 32, 0.15); /* Borde con leve tinte amarillo */
    
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    /* Gradiente radial azul profundo */
    background: radial-gradient(circle at top right, #1a2542, #070b14);
    color: #f8fafc;
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* --- CAPA DE PARTÍCULAS --- */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: var(--primary); /* Partículas ahora son amarillas */
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 8px var(--primary); 
    animation: float 5s infinite linear;
}

/* --- TARJETA GLASSMORFICA --- */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 2.8rem;
    width: 90%;
    max-width: 420px;
    z-index: 10;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
}

.brand-logo {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    width: 65px;
    height: 65px;
    border-radius: 20px;
    box-shadow: 0 0 30px var(--primary-glow);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

/* --- INPUTS MODERNOS --- */
.form-label {
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-left: 5px;
}

.form-control {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white !important;
    border-radius: 16px;
    padding: 14px 18px;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    transform: translateY(-1px);
}

.btn-eye {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    z-index: 5;
}

/* --- BOTÓN ACCIÓN --- */
.btn-login {
    background: var(--primary);
    border: none;
    color: #070b14; /* Texto oscuro para contraste con amarillo */
    border-radius: 16px;
    min-height: 56px;
    font-weight: 800;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 1rem;
}

.btn-login:hover:not(:disabled) {
    background: #02091b;
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.1);
}

.btn-login #btnSpinner {
    border-color: #070b14;
    border-right-color: transparent;
}

/* Animación de partículas */
@keyframes float {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* --- MEJORA DE VISIBILIDAD DE PLACEHOLDERS --- */
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: rgba(255, 255, 255, 0.288) !important;
    opacity: 1; /* Firefox requiere esto */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: rgba(255, 255, 255, 0.7) !important;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: rgba(255, 255, 255, 0.7) !important;
}