@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
    
body {
  font-family: 'Inter', sans-serif;
}

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

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}

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

/* Code block styling */
pre[class*="language-"] {
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}

.token.comment {
  color: #6b7280;
}

/* Active navigation highlight */
.nav-link.active {
  color: white;
  background: rgba(59, 130, 246, 0.1);
  border-left: 2px solid #3b82f6;
}

/* Mobile menu transitions */
.mobile-menu-enter {
  transform: translateX(-100%);
}

.mobile-menu-enter-active {
  transform: translateX(0);
  transition: transform 300ms ease-out;
}

.mobile-menu-exit {
  transform: translateX(0);
}

.mobile-menu-exit-active {
  transform: translateX(-100%);
  transition: transform 300ms ease-in;
}

/* Code block container styles */
.code-block-container {
  position: relative;
}

.copy-button {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background-color: rgba(75, 85, 99, 0.5);
  color: white;
  font-size: 0.875rem;
  transition: background-color 200ms;
}

.copy-button:hover {
  background-color: rgba(75, 85, 99, 0.7);
}

/* Search input styles */
.search-container {
  position: sticky;
  top: 0;
  background-color: #111111;
  padding: 1rem;
  z-index: 10;
}

.search-input {
  width: 100%;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background-color: #1f2937;
  border: 1px solid #374151;
  color: white;
}

.search-input:focus {
  outline: none;
  border-color: #3b82f6;
  ring: 2px;
  ring-color: #3b82f6;
}

/* Prose styles for documentation */
.prose {
  max-width: none;
}

.prose h1, .prose h2, .prose h3, .prose h4 {
  color: white;
  margin-top: 2em;
  margin-bottom: 1em;
}

.prose p {
  color: #9ca3af;
  margin-bottom: 1.5em;
}

.prose code {
  color: #e5e7eb;
  background-color: rgba(31, 41, 55, 0.5);
  padding: 0.2em 0.4em;
  border-radius: 0.25em;
}

.prose pre code {
  background-color: transparent;
  padding: 0;
  border-radius: 0;
}

.prose ul, .prose ol {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-left: 1.25em;
}

.prose li {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.prose a {
  color: #60a5fa;
  text-decoration: none;
}

.prose a:hover {
  text-decoration: underline;
}

/* Content section spacing */
section {
  margin-bottom: 4rem;
}

section:last-child {
  margin-bottom: 0;
}

/* Card styles */
.card {
  background-color: #1f2937;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.card-title {
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.card-content {
  color: #9ca3af;
}