html {
  scroll-behavior: smooth;
}

.section-divider {
  border-bottom: 1px solid #e2e8f0;
}

html.dark .section-divider {
  border-bottom: 1px solid #334155;
}

/* Dark mode color overrides */
html.dark {
  color-scheme: dark;
}

html.dark body {
  background-color: #0f172a;
  color: #f1f5f9;
}

html.dark .bg-white {
  background-color: #1e293b;
}

html.dark .bg-slate-50 {
  background-color: #1e293b;
}

html.dark .bg-slate-100 {
  background-color: #334155;
}

html.dark .border-border {
  border-color: #334155;
}

html.dark .text-primary {
  color: #f1f5f9;
}

html.dark .text-muted {
  color: #cbd5e1;
}

html.dark .text-slate-600 {
  color: #cbd5e1;
}

html.dark .text-slate-500 {
  color: #94a3b8;
}

html.dark .text-slate-700 {
  color: #cbd5e1;
}

html.dark .hover\:bg-slate-50:hover {
  background-color: #334155;
}

html.dark .bg-slate-400 {
  background-color: #64748b;
}

/* Custom responsive table styles */
@media (max-width: 767px) {
  .responsive-table thead {
    display: none;
  }
  .responsive-table tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 0.5rem;
  }
  .responsive-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid #f1f5f9;
  }
  .responsive-table td:last-child {
    border-bottom: none;
  }
  .responsive-table td::before {
    content: attr(data-label);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #1e293b;
  }

  html.dark .responsive-table td::before {
    color: #f1f5f9;
  }

  html.dark .responsive-table tr {
    border-color: #334155;
  }

  html.dark .responsive-table td {
    border-bottom-color: #1e293b;
  }
}
