/* IoT Data Monitoring sidebar indicators, toggled by public/js/home/iot-activity.js:
   blue dot — someone has that monitor running; green dot — data in the last minute. */
.nav-iot-state {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    flex-shrink: 0;
}

.nav-watch-badge {
    display: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .2);
    flex-shrink: 0;
}

.nav-watch-badge.on {
    display: inline-block;
}

#rootwizard>ul.nav>li.active>a .nav-watch-badge {
    background: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, .25);
}

.nav-live-dot {
    display: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, .2);
    flex-shrink: 0;
    animation: navLivePulse 1.6s ease-in-out infinite;
}

.nav-live-dot.live {
    display: inline-block;
}

@keyframes navLivePulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }
    50% { box-shadow: 0 0 0 5px rgba(34, 197, 94, .05); }
}
