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

body {
  font-family: 'Roboto', sans-serif;
}

.prose {
  max-width: none;
}

.prose h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.prose h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

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

.prose p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

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

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

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

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

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

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

/* Custom checkbox styles */
input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
  background-color: white;
}

input[type="checkbox"]:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

/* Form validation styles */
.form-error {
  border-color: var(--color-accent);
}

.error-message {
  color: var(--color-accent);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

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

/* FAQ accordion styles */
.faq-toggle {
  transition: all 0.2s ease-in-out;
}

.faq-toggle:hover {
  background-color: #f9fafb;
}

.faq-toggle i {
  transition: transform 0.2s ease-in-out;
}

.faq-toggle.active i {
  transform: rotate(180deg);
}

.faq-content {
  transition: all 0.3s ease-in-out;
  max-height: 0;
  overflow: hidden;
}

.faq-content.active {
  max-height: 500px;
}

/* Table styles for cookie policy */
table {
  border-collapse: collapse;
  width: 100%;
}

table th,
table td {
  text-align: left;
  vertical-align: top;
}

/* Loading animation for form submission */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive images */
img {
  max-width: 100%;
  height: auto;
}

/* Print styles */
@media print {
  .no-print {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
}
/* 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; }
