/* Dashboard Layout Styles */
.dashboard-main {
  /* Override default app-main for dashboard */
  padding: 0;
  margin: 0;
}

/* Sidebar Styles */
.sidebar-nav {
  scrollbar-width: thin;
  scrollbar-color: #475569 #334155;
}

.sidebar-nav::-webkit-scrollbar {
  width: 6px;
}

.sidebar-nav::-webkit-scrollbar-track {
  background: #334155;
}

.sidebar-nav::-webkit-scrollbar-thumb {
  background: #475569;
  border-radius: 3px;
}

/* Dashboard Cards Hover Effects */
.dashboard-card {
  transition: all 0.2s ease;
}

.dashboard-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

/* Violation Feed Animation */
.violation-item {
  transition: all 0.3s ease;
}

.violation-item:hover {
  transform: translateX(4px);
}

/* Policy Pack Animation */
.policy-pack-item {
  transition: all 0.2s ease;
}

.policy-pack-item:hover {
  background: rgba(15, 23, 42, 0.7) !important;
}

/* Real-time Indicators */
@keyframes pulse-glow {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 5px currentColor;
  }
  50% {
    opacity: 0.7;
    box-shadow: 0 0 10px currentColor;
  }
}

.live-indicator {
  animation: pulse-glow 2s infinite;
}

/* Modal Backdrop */
.modal-backdrop {
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
  .sidebar-nav {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  
  .sidebar-nav.open {
    transform: translateX(0);
  }
}

/* Status Dots */
.status-dot {
  box-shadow: 0 0 6px currentColor;
}

/* Notification Styles */
.notification {
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Severity Badges */
.severity-critical {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.severity-high {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.severity-medium {
  background: linear-gradient(135deg, #eab308, #ca8a04);
  color: #000;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.severity-low {
  background: linear-gradient(135deg, #22d3ee, #0891b2);
  color: #000;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
} 
 
 