/* Base styles */
:root {
  --background: #ffffff;
  --foreground: #1a1a1a;
  --primary: #2563eb;
  --primary-foreground: #ffffff;
  --muted: #f3f4f6;
  --muted-foreground: #6b7280;
  --input: #d1d5db;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

p {
  margin: 0.5rem 0;
}

/* Buttons */
button {
  cursor: pointer;
  transition: background-color 0.2s ease;
}

/* Utility classes */
.text-muted-foreground {
  color: var(--muted-foreground);
}

.bg-background {
  background-color: var(--background);
}

.text-foreground {
  color: var(--foreground);
}

.bg-primary {
  background-color: var(--primary);
}

.text-primary-foreground {
  color: var(--primary-foreground);
}

.border {
  border: 1px solid var(--input);
}

.border-muted {
  border: 1px dashed var(--muted-foreground);
}

.border-r {
  border-right: 1px solid var(--input);
}

.rounded-md {
  border-radius: 0.375rem;
}

.text-primary {
  color: var(--primary);
}

.bg-muted {
  background-color: var(--muted);
}

.hover\:bg-primary\/90:hover {
  background-color: rgba(37, 99, 235, 0.9);
}

.hover\:bg-muted:hover {
  background-color: var(--muted);
}

.hover\:text-foreground:hover {
  color: var(--foreground);
}

input[type="search"] {
  border: 1px solid var(--input);
  border-radius: 0.375rem;
  padding: 0.5rem 1rem;
  width: 100%;
  font-size: 0.875rem;
}

svg {
  stroke: currentColor;
  fill: none;
  width: 1em;
  height: 1em;
}

/* Responsive navigation and layout */
@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }
  .desktop-nav {
    display: none;
  }
  .mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
  }
  .mobile-menu.open {
    display: flex;
  }
  .mobile-menu a {
    padding: 0.75rem 1rem;
    border: 1px solid var(--input);
    border-radius: 0.375rem;
    background-color: var(--background);
  }
  .card-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
}

@media (min-width: 769px) {
  .mobile-nav-toggle,
  .mobile-menu {
    display: none;
  }
  .desktop-nav {
    display: flex;
  }
}
