/* Font configuration */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

body {
  font-family: var(--font-primary);
}

.font-geist-mono {
  font-family: var(--font-mono);
}

/* Dark mode styles */
.dark-mode {
  background-color: #111;
  color: #f5f5f5;
}

.dark-mode header,
.dark-mode footer,
.dark-mode .bg-white {
  background-color: #1a1a1a;
  border-color: #333;
}

.dark-mode .text-gray-900 {
  color: #f5f5f5;
}

.dark-mode .text-gray-700 {
  color: #d1d1d1;
}

.dark-mode .text-gray-500 {
  color: #999;
}

.dark-mode .text-gray-400 {
  color: #777;
}

.dark-mode .border-gray-200 {
  border-color: #333;
}

.dark-mode input,
.dark-mode button {
  background-color: #1a1a1a;
  border-color: #444;
  color: #f5f5f5;
}

.dark-mode input::placeholder {
  color: #666;
}

.dark-mode thead {
  background-color: #222;
}

.dark-mode th {
  color: #ccc;
}

.dark-mode tbody {
  background-color: #1a1a1a;
}

.dark-mode tr:hover {
  background-color: #222;
}

.dark-mode .hover\:bg-gray-100:hover {
  background-color: #2a2a2a;
}

.dark-mode .hover\:bg-gray-50:hover {
  background-color: #2a2a2a;
}

.dark-mode .bg-gray-50 {
  background-color: #222;
}

.dark-mode .divide-gray-200 > * + * {
  border-color: #333;
}

/* Custom animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.3s ease-in-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ccc;
}

.dark-mode ::-webkit-scrollbar-track {
  background: #222;
}

.dark-mode ::-webkit-scrollbar-thumb {
  background: #444;
}

.dark-mode ::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Table row hover effect */
tbody tr {
  transition: background-color 0.15s ease-in-out;
}

tbody tr:hover {
  background-color: #f9fafb;
}
