@tailwind base;
@tailwind components;
@tailwind utilities;

/* Highcharts Theme Overrides */
.highcharts-navigator-mask-outside {
  fill: rgba(255, 255, 255, 0.02);
}

.highcharts-navigator-mask-inside,
.highcharts-navigator {
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 1px;
}

.highcharts-scrollbar {
  visibility: hidden;
}

.highcharts-yaxis:not(:first-child) {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.highcharts-yaxis-grid {
  opacity: 0.8;
}

.highcharts-yaxis {
  transition: height 0.3s ease-in-out, top 0.3s ease-in-out;
}

.highcharts-resize-handle {
  stroke: rgba(255, 255, 255, 0.3);
  stroke-width: 2px;
  opacity: 0.6;
  transition: opacity 0.2s ease-in-out;
}

.highcharts-resize-handle:hover {
  stroke: rgba(255, 255, 255, 0.6);
  opacity: 1;
}

.highcharts-yaxis-line {
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 1px;
}

.highcharts-yaxis[data-collapsed="true"] {
  opacity: 0.5;
  transition: opacity 0.3s ease-in-out;
}

/* Custom scrollbar styles */
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Epoch table scrollbar */
.epoch-table-scrollbar {
  overflow-y: auto;
  overflow-x: auto;
}

.epoch-table-scrollbar::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.epoch-table-scrollbar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.epoch-table-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.epoch-table-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Animation utilities */
@layer utilities {
  .animate-in {
    animation: in 150ms ease-out;
  }

  .fade-in {
    animation: fade-in 150ms ease-out;
  }

  .slide-in-from-top-2 {
    animation: slide-in-from-top-2 200ms ease-out;
  }
}