/* ============================================================================
   ESTILOS ADICIONALES PARA SISTEMA DE MULTI-VOTO
   Radio Uno - Ranking Application
   
   Agregar estos estilos a tu archivo estilos.css existente
   ============================================================================ */

/* Indicador de votos disponibles */
.indicador-votos {
    margin: 20px 0;
    padding: 15px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.votos-disponibles {
    color: white;
    font-family: 'Poppins', sans-serif;
}

.votos-numero {
    display: block;
    font-size: 3em;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.votos-texto {
    display: block;
    font-size: 1.2em;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.votos-subtexto {
    display: block;
    font-size: 0.9em;
    margin-top: 5px;
    opacity: 0.8;
}

/* Cuando no hay votos disponibles */
.votos-agotados {
    background: linear-gradient(135deg, #868f96 0%, #596164 100%);
}

.votos-agotados .votos-texto {
    font-size: 1.1em;
}

/* Estilo para canciones ya votadas */
.song-item.ya-votado {
    border-left: 4px solid #4CAF50;
    background: linear-gradient(90deg, rgba(76, 175, 80, 0.1) 0%, transparent 100%);
}

.song-item.ya-votado .vote-icon {
    color: #4CAF50;
    font-size: 1.5em;
}

/* Estilo para canciones no votables */
.song-item.no-votable {
    opacity: 0.7;
    cursor: not-allowed;
}

.song-item.no-votable:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Estilo para canciones votables */
.song-item.votable {
    cursor: pointer;
    transition: all 0.3s ease;
}

.song-item.votable:hover {
    transform: translateX(10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Badge de "Ya votaste" */
.votado-badge {
    display: inline-block;
    margin-left: 10px;
    padding: 2px 10px;
    background: #4CAF50;
    color: white;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Animación para voto exitoso */
@keyframes voto-exitoso {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
    }
    100% {
        transform: scale(1);
    }
}

.song-item.votando {
    animation: voto-exitoso 0.5s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .indicador-votos {
        margin: 15px 0;
        padding: 12px 15px;
    }
    
    .votos-numero {
        font-size: 2.5em;
    }
    
    .votos-texto {
        font-size: 1em;
    }
    
    .votado-badge {
        font-size: 0.7em;
        padding: 2px 8px;
    }
}

/* ============================================================================
   SISTEMA DE NOTIFICACIONES BONITAS
   ============================================================================ */

/* Contenedor de notificaciones */
#notificaciones-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
}

/* Notificación individual */
.notificacion {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: translateX(450px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    min-width: 320px;
}

.notificacion::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
}

/* Animación de entrada */
.notificacion.notif-visible {
    transform: translateX(0);
    opacity: 1;
}

/* Tipos de notificación */
.notificacion.notif-exito {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
}

.notificacion.notif-exito::before {
    background: #2e7d32;
}

.notificacion.notif-error {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    color: white;
}

.notificacion.notif-error::before {
    background: #c62828;
}

.notificacion.notif-advertencia {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
}

.notificacion.notif-advertencia::before {
    background: #e65100;
}

.notificacion.notif-info {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
}

.notificacion.notif-info::before {
    background: #0d47a1;
}

/* Icono de notificación */
.notif-icono {
    font-size: 2.5em;
    line-height: 1;
    flex-shrink: 0;
    animation: notif-icono-bounce 0.6s ease;
}

@keyframes notif-icono-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Contenido de notificación */
.notif-contenido {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.notif-titulo {
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
}

.notif-mensaje {
    font-size: 1em;
    font-weight: 400;
    line-height: 1.4;
}

.notif-mensaje strong {
    font-weight: 700;
    font-size: 1.1em;
}

.notif-submensaje {
    font-size: 0.85em;
    opacity: 0.9;
    margin-top: 5px;
    font-style: italic;
}

/* Botón cerrar */
.notif-cerrar {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    font-size: 1.5em;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
    padding: 0;
}

.notif-cerrar:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

/* Animación de salida */
@keyframes notif-salida {
    to {
        transform: translateX(450px);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    #notificaciones-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .notificacion {
        min-width: auto;
        padding: 15px;
        transform: translateY(-150px);
    }
    
    .notificacion.notif-visible {
        transform: translateY(0);
    }
    
    .notif-icono {
        font-size: 2em;
    }
    
    .notif-titulo {
        font-size: 1.1em;
    }
    
    .notif-mensaje {
        font-size: 0.95em;
    }
}

/* Efectos especiales para voto completado */
.notificacion.notif-exito.voto-completo {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.notificacion.notif-exito.voto-completo::before {
    background: #553c9a;
}

/* Efecto de brillo */
@keyframes brillo {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.3; }
}

.notificacion::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    bottom: -50%;
    left: -50%;
    background: linear-gradient(to bottom, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.3) 50%, 
        rgba(255,255,255,0) 100%
    );
    transform: rotateZ(45deg) translateY(-100%);
    animation: brillo-sweep 3s ease-in-out infinite;
}

@keyframes brillo-sweep {
    0% { transform: rotateZ(45deg) translateY(-100%); }
    100% { transform: rotateZ(45deg) translateY(100%); }
}

