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

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: #F8FAFC;
  color: #1E293B;
  -webkit-font-smoothing: antialiased;
}

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

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

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Modal Animations */
.modal-backdrop {
  background-color: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  transition: opacity 0.2s ease-in-out;
}

.modal-content {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(0.96) translateY(8px);
}

.modal-open .modal-content {
  transform: scale(1) translateY(0);
}

/* Table Row Hover */
.table-row-hover {
  transition: background-color 0.15s ease-in-out;
}
.table-row-hover:hover {
  background-color: #F8FAFC;
}

/* Copy Tooltip / Feedback */
.copy-badge {
  transition: all 0.2s ease;
}
.copy-badge:hover {
  color: #2563EB;
}

/* Spinner Animation */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.animate-spin-fast {
  animation: spin 0.75s linear infinite;
}

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