/* =========================================
   assets/css/login.css
   Estilos específicos para el Login de ESCIM
   ========================================= */

/* Paleta y Fondo Dinámico */
body {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364); /* Tonos oscuros elegantes */
    height: 100vh;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
}

/* Notas Musicales Flotantes (Fondo) */
.music-notes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.note {
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    font-size: 2rem;
    animation: floatUp 10s linear infinite;
    bottom: -10%;
}

.note:nth-child(1) { left: 10%; animation-duration: 8s; font-size: 3rem; }
.note:nth-child(2) { left: 30%; animation-duration: 12s; animation-delay: 2s; }
.note:nth-child(3) { left: 50%; animation-duration: 10s; animation-delay: 4s; font-size: 4rem; }
.note:nth-child(4) { left: 70%; animation-duration: 9s; animation-delay: 1s; }
.note:nth-child(5) { left: 90%; animation-duration: 14s; animation-delay: 3s; font-size: 2.5rem; }

@keyframes floatUp {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    20% { opacity: 0.8; }
    80% { opacity: 0.8; }
    100% { transform: translateY(-120vh) rotate(360deg); opacity: 0; }
}


/* Estilos de la Tarjeta de Login */
.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 15px;
    z-index: 1;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    transform: translateY(20px);
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
    
    /* Esta es la magia: una transición con efecto "resorte" (cubic-bezier) */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

@keyframes slideUp {
    to { transform: translateY(0); opacity: 1; }
}

.login-card:hover {
    /* Crece un 8% (1.08) y se eleva un poco más (-10px) */
    transform: scale(1.08) translateY(-10px); 
    box-shadow: 0 30px 60px rgba(0,0,0,0.7); /* Sombra mucho más profunda */
}
.brand-logo {
    width: 80px;
    height: 80px;
    background: #ffffff; /* Cambiado a blanco o puedes usar 'transparent' */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -50px auto 20px auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    overflow: hidden; /* Esto asegura que la imagen no se salga del círculo */
}

.input-group-text {
    background-color: transparent;
    border-right: none;
    color: #203a43;
}

.form-control {
    border-left: none;
}

.form-control:focus {
    box-shadow: none;
    border-color: #ced4da;
}

/* Botón con Ritmo Musical */
.btn-rhythm {
    background: #203a43;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-rhythm:hover {
    background: #15262c;
    color: white;
    animation: pulseBeat 1s infinite;
}

@keyframes pulseBeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); box-shadow: 0 0 15px rgba(32, 58, 67, 0.6); }
    100% { transform: scale(1); }
}