/* RTR Command Center - Admin Portal Styles */

/* Smooth scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: oklch(var(--bc) / 0.2);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: oklch(var(--bc) / 0.3);
}

/* Pulse animation for urgent items */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.animate-pulse-dot {
  animation: pulse-dot 2s ease-in-out infinite;
}

/* Sidebar transition */
.sidebar-transition {
  transition: width 0.2s ease;
}

/* Table improvements */
.table th {
  white-space: nowrap;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

/* Bar chart styles */
.bar-chart-bar {
  transition: width 0.3s ease;
  min-width: 2px;
}

/* Card hover effect */
.card-hover:hover {
  outline: 1px solid oklch(var(--p) / 0.3);
}

/* Monospace for codes */
.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Fix modal backdrop */
.modal-backdrop {
  background: oklch(0 0 0 / 0.6);
}
