/* SIPANDA - branding & overrides */
:root {
    --sipanda-primary: #0369a1;
}

.btn-primary {
    background-color: var(--sipanda-primary, var(--bs-primary));
    border-color: var(--sipanda-primary, var(--bs-primary));
}

.text-primary {
    color: var(--sipanda-primary, var(--bs-primary)) !important;
}

/* SIPANDA - hanya style khusus dashboard/command center (layout pakai template) */

.stat-card {
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
}

.command-center-panel {
    background: #0f172a;
    border-radius: 12px;
    color: #e2e8f0;
    max-height: 420px;
    overflow: hidden;
}

.command-center-panel .feed-list {
    max-height: 360px;
    overflow-y: auto;
}

.feed-item {
    padding: 10px 14px;
    border-left: 3px solid #64748b;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 8px 8px 0;
    animation: feedIn 0.4s ease;
}

.feed-item.urgency-critical { border-left-color: #ef4444; }
.feed-item.urgency-high { border-left-color: #f97316; }
.feed-item.urgency-medium { border-left-color: #eab308; }
.feed-item.urgency-low { border-left-color: #22c55e; }

@keyframes feedIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.webcam-preview {
    width: 100%;
    max-width: 320px;
    border-radius: 8px;
    background: #000;
}

.webcam-preview img {
    width: 100%;
    border-radius: 8px;
}

#topbar-notifications .notification-unread {
    background-color: rgba(13, 110, 253, 0.06);
    border-left: 3px solid var(--bs-primary);
}

#topbar-notifications .notification-read {
    background-color: #f8f9fa;
    opacity: 0.85;
    border-left: 3px solid #dee2e6;
}

#topbar-notifications .notification-clickable:hover {
    background-color: rgba(13, 110, 253, 0.1);
}
