:root {
  --color-primary: #64748b;
  --color-secondary: #8b5cf6;
  --color-accent: #2563eb;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
}

.prose {
  color: #374151;
}

.prose h1 {
  color: #111827;
}

.prose h2 {
  color: #111827;
}

.prose h3 {
  color: #111827;
}

.prose h4 {
  color: #111827;
}

.prose strong {
  color: #111827;
}

.prose a {
  color: var(--color-primary);
  text-decoration: none;
}

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

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

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

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

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

/* Smooth transitions */
* {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Custom button hover effects */
.hover\:opacity-90:hover {
  opacity: 0.9;
}

/* Form validation styles */
.form-error {
  border-color: #ef4444;
}

.form-success {
  border-color: #10b981;
}

/* Animation for mobile menu */
#mobile-menu {
  transition: all 0.3s ease;
}

/* Cookie banner animation */
#cookie-banner {
  transition: transform 0.3s ease;
}

#cookie-banner.show {
  transform: translateY(0);
}

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
  
  body {
    color: black !important;
    background: white !important;
  }
  
  a {
    text-decoration: underline !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --color-primary: #000000;
    --color-secondary: #000000;
    --color-accent: #000000;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* Cookie banner visibility — independent of Tailwind */
#cookie-banner.hidden, #cookie-consent-banner.hidden { display: none !important; }
#cookie-banner:not(.hidden), #cookie-consent-banner:not(.hidden) { display: block !important; }
#cookie-modal.hidden { display: none !important; }
