/* ==========================================================================
   NOTIFICACIONES PREMIUM - ESTILO GLASSMORPHISM
   ========================================================================== */

#notification-banner {
    position: fixed;
    top: 30px;
    /* Esquina superior */
    right: 30px;
    z-index: 10000;
    /* Por encima de todo */

    /* Glassmorphism Ultra-Premium */
    background: rgba(15, 15, 15, 0.75);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);

    padding: 12px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);

    /* Sombra de profundidad premium */
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(var(--primary-rgb), 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);

    display: none;
    /* Controlado por JS */
    align-items: center;
    gap: 15px;
    max-width: 400px;

    /* Animación de entrada lateral suave */
    animation: toastSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.banner-content i {
    font-size: 1.2rem;
    color: var(--primary-color);
    filter: drop-shadow(0 0 10px rgba(var(--primary-rgb), 0.5));
}

.banner-content span {
    color: #f0f0f0;
    font-family: var(--font-artista);
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.3;
    flex: 1;
}

#btn-activar-push {
    background: rgba(var(--primary-rgb), 0.2);
    color: var(--primary-color);
    border: 1px solid rgba(var(--primary-rgb), 0.4);
    padding: 8px 16px;
    border-radius: 12px;
    font-family: var(--font-artista);
    font-weight: 700;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

#btn-activar-push:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.4);
}

#btn-cerrar-banner {
    background: transparent;
    color: rgba(255, 255, 255, 0.4);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 5px;
}

#btn-cerrar-banner:hover {
    color: #ff4d4d;
    transform: scale(1.1);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
    #notification-banner {
        top: 20px;
        right: 20px;
        left: 20px;
        /* Centrado en móviles */
        max-width: calc(100% - 40px);
        padding: 10px 15px;
    }

    .banner-content span {
        font-size: 0.8rem;
    }

    #btn-activar-push {
        padding: 6px 12px;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    #notification-banner {
        top: 15px;
        left: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
    }
}

/* Estados de Alerta Premium */
#notification-banner.error {
    background: rgba(255, 50, 50, 0.85) !important;
    border-color: rgba(255, 100, 100, 0.4) !important;
    box-shadow: 0 15px 35px rgba(255, 0, 0, 0.3) !important;
}

#notification-banner.success {
    background: rgba(40, 167, 69, 0.85) !important;
    border-color: rgba(100, 255, 150, 0.4) !important;
    box-shadow: 0 15px 35px rgba(0, 255, 100, 0.3) !important;
}

#notification-banner.error i,
#notification-banner.success i {
    color: white !important;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5)) !important;
}