/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.25);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.45);
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Tab active transitions */
.tab-btn {
  transition: all 0.2s ease-in-out;
}

/* Card hover animation */
.kpi-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Markdown typography styling */
.prose h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #10b981;
}
.dark .prose h2 {
  color: #34d399;
}
.prose h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}
.prose p {
  margin-bottom: 0.85rem;
  line-height: 1.6;
}
.prose ul {
  list-style-type: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.prose li {
  margin-bottom: 0.35rem;
}
.prose strong {
  color: inherit;
  font-weight: 600;
}
.prose hr {
  margin: 1.5rem 0;
  border-color: rgba(148, 163, 184, 0.2);
}
.prose a {
  color: #0ea5e9;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose a:hover {
  color: #38bdf8;
}

/* Prevent text selection on clickable sort table headers */
th.cursor-pointer {
  user-select: none;
  -webkit-user-select: none;
}
