/* MurmurFi — Custom CSS beyond Tailwind */

/* Smooth transitions for HTMX swaps */
.htmx-swapping {
  opacity: 0;
  transition: opacity 0.15s ease-out;
}

.htmx-settling {
  opacity: 0;
}

.htmx-request {
  opacity: 0.6;
}

/* Score color utilities (for Tailwind JIT dynamic class safety) */
.text-emerald-400 { color: rgb(52 211 153); }
.text-yellow-400  { color: rgb(250 204 21); }
.text-orange-400  { color: rgb(251 146 60); }
.text-red-400     { color: rgb(248 113 113); }
.text-slate-400   { color: rgb(148 163 184); }

/* Line clamp utilities */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Table horizontal scroll on mobile */
.overflow-x-auto {
  -webkit-overflow-scrolling: touch;
}

/* Focus ring for accessibility */
:focus-visible {
  outline: 2px solid rgb(52 211 153);
  outline-offset: 2px;
}

/* Scrollbar styling for dark theme */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgb(15 23 42);
}
::-webkit-scrollbar-thumb {
  background: rgb(51 65 85);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgb(71 85 105);
}
