/* Clearview — Dark theme styles */

/* Skeleton loading */
.skeleton {
  background: linear-gradient(90deg, #1e1e27 25%, #25252f 50%, #1e1e27 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 6px;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Chart containers */
.chart-container {
  position: relative;
  width: 100%;
}

/* Metric change indicators */
.change-up { color: #34d399; }
.change-down { color: #f87171; }
.change-neutral { color: #6b7280; }

/* Smooth transitions */
a, button { transition: color 0.15s, background-color 0.15s, border-color 0.15s; }

/* Tooltip pointer events */
[class*="group-hover\\:visible"] {
  pointer-events: none;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #3a3a48; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #4b5563; }

/* Selection */
::selection {
  background: rgba(139, 92, 246, 0.3);
  color: #fff;
}

/* Focus ring */
*:focus-visible {
  outline: 2px solid rgba(139, 92, 246, 0.5);
  outline-offset: 2px;
}

/* Print */
@media print {
  nav, aside, .no-print { display: none !important; }
  main { margin-left: 0 !important; padding: 0 !important; }
  body { background: #fff !important; color: #000 !important; }
}
