/* Custom Scrollbar for modern look */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #0f172a; 
}

::-webkit-scrollbar-thumb {
  background: #334155; 
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #475569; 
}

/* Hide default date input icon on webkit to keep it clean */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="month"]::-webkit-calendar-picker-indicator {
  filter: invert(0.6) sepia(1) saturate(0) hue-rotate(180deg);
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover,
input[type="month"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* Chart.js responsive container styles */
canvas {
  max-width: 100%;
}

/* Bottom Sheet Animation Classes */
.bottom-sheet-active #mobileBottomSheet {
  display: flex;
  opacity: 1;
}

.bottom-sheet-active #bottomSheetContent {
  transform: translateY(0);
}

.animate-spin-slow {
  animation: spin 3s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
