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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Button transitions */
.btn {
  transition: all 0.15s ease;
}
.btn:active {
  transform: scale(0.98);
}

/* Table row hover */
.table-row-hover {
  transition: background-color 0.1s ease;
}

/* Input focus ring handled by Tailwind focus: classes */

/* Sidebar navigation active state */
.nav-link {
  transition: color 0.15s ease, background-color 0.15s ease;
}

/* Page entrance */
main > div:first-child {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Custom scrollbar for tables */
.overflow-x-auto::-webkit-scrollbar {
  height: 6px;
}
.overflow-x-auto::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}
.overflow-x-auto::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

/* Tooltip popup styles */
.tooltip-popup {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

.group:hover .tooltip-popup,
.tooltip-popup.is-visible {
  visibility: visible;
  opacity: 1;
}
