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

/* Custom styles for deepanchoris */
.prose h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.prose h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}

.prose p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.prose ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

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

/* Transition for interactive elements */
a, button {
  transition: all 0.2s ease-in-out;
}

/* Custom checkbox styles */
input[type="checkbox"] {
  accent-color: var(--color-primary);
}

/* FAQ accordion animation */
.faq-content {
  transition: all 0.3s ease-in-out;
  overflow: hidden;
}

.faq-content.hidden {
  max-height: 0;
  opacity: 0;
}

.faq-content:not(.hidden) {
  max-height: 200px;
  opacity: 1;
}

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

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

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

/* Mobile menu animation */
#mobile-menu {
  transition: all 0.3s ease-in-out;
}

/* Cookie banner styles */
#cookie-banner {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Responsive tables */
@media (max-width: 768px) {
  .overflow-x-auto table {
    font-size: 0.875rem;
  }
  
  .overflow-x-auto th,
  .overflow-x-auto td {
    padding: 0.5rem;
  }
}

/* Print styles */
@media print {
  .no-print,
  header,
  footer,
  #cookie-banner,
  #cookie-modal {
    display: none !important;
  }
  
  .prose {
    font-size: 12pt;
    line-height: 1.4;
  }
}

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

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}
/* 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; }
