/* ============================================
   WIDGET DE NOTIFICACIONES PUSH
   ============================================ */

.notificaciones-widget {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    color: white;
}

.notificaciones-widget h3 {
    margin: 0 0 15px 0;
    font-size: 1.4rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notificaciones-widget h3 .icon {
    font-size: 1.8rem;
}

.notificaciones-widget p {
    margin: 0 0 20px 0;
    opacity: 0.95;
    line-height: 1.6;
}

.estado-notificaciones {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.estado-notificaciones.activo {
    background: rgba(16, 185, 129, 0.3);
    border: 2px solid #10b981;
}

.notificaciones-botones {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-notificacion {
    flex: 1;
    min-width: 150px;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-activar-notificaciones {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-activar-notificaciones:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6);
}

.btn-desactivar-notificaciones {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.btn-desactivar-notificaciones:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.6);
}

.btn-test-notificacion {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-test-notificacion:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* Info sobre permisos */
.notificaciones-info {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.notificaciones-info strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
}

.notificaciones-info ul {
    margin: 10px 0 0 20px;
    padding: 0;
}

.notificaciones-info li {
    margin: 5px 0;
}

/* Banner PWA */
.pwa-install-banner {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
    color: white;
    display: none;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.pwa-install-banner.visible {
    display: block;
}

.pwa-install-banner h4 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: white;
}

.pwa-install-banner p {
    margin: 0 0 15px 0;
    opacity: 0.95;
}

.btn-instalar-pwa {
    background: white;
    color: #3b82f6;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-instalar-pwa:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .notificaciones-botones {
        flex-direction: column;
    }
    
    .btn-notificacion {
        width: 100%;
    }
}