/* Custom styles for NewBlurbs */

/* Smooth scrollbar for dark theme */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #374151;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #4b5563;
}

/* HTMX loading indicator */
.htmx-indicator {
  display: none;
}
.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
  display: inline-block;
}

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

/* Light mode overrides */
html:not(.dark) body {
  background: #f8fafc;
  color: #1e293b;
}
html:not(.dark) nav {
  background: #ffffff;
  border-color: #e2e8f0;
}
html:not(.dark) .bg-dark-800 {
  background: #ffffff;
}
html:not(.dark) .bg-dark-700 {
  background: #f1f5f9;
}
html:not(.dark) .border-dark-700 {
  border-color: #e2e8f0;
}
html:not(.dark) .text-gray-100,
html:not(.dark) .text-white {
  color: #1e293b;
}
html:not(.dark) .text-gray-300 {
  color: #475569;
}
html:not(.dark) .text-gray-400 {
  color: #64748b;
}
html:not(.dark) .text-gray-500 {
  color: #94a3b8;
}
html:not(.dark) footer {
  background: #ffffff;
  border-color: #e2e8f0;
}
