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

:root {
  --primary: #10B981;
  --primary-dark: #059669;
  --primary-light: #D1FAE5;
  --gray-900: #111827;
  --gray-800: #1F2937;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50: #F9FAFB;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

.font-geist-mono {
  font-family: 'SF Mono', SFMono-Regular, ui-monospace, Menlo, Monaco, monospace;
}

/* Override some Tailwind properties for better aesthetics */
.container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

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

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}

/* Make smooth transitions on all interactive elements */
a, button {
  transition: all 0.2s ease-in-out;
}

/* Card hover effects */
.hover\:shadow-md {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.hover\:shadow-md:hover {
  transform: translateY(-2px);
}

/* Tabs styling */
.symptom-tab {
  position: relative;
  cursor: pointer;
}

.symptom-tab.active {
  color: var(--primary);
  border-color: var(--primary);
}

.symptom-content {
  display: none;
}

.symptom-content.active {
  display: block;
}

/* Custom animations for better UX */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

/* Custom styling for important health alerts */
.health-alert {
  border-left: 4px solid var(--primary);
  padding-left: 1rem;
  background-color: var(--primary-light);
  border-radius: 0.25rem;
}

/* Ensure images are responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
