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

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

.font-inter {
  font-family: 'Inter', sans-serif;
}

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

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

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

/* Form input styles */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

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

/* Prose styles for legal pages */
.prose {
  color: #374151;
  line-height: 1.75;
}

.prose h1 {
  color: #111827;
  font-weight: 700;
  line-height: 1.25;
}

.prose h2 {
  color: #111827;
  font-weight: 600;
  line-height: 1.375;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose h3 {
  color: #111827;
  font-weight: 600;
  line-height: 1.5;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.prose p {
  margin-bottom: 1.25rem;
}

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

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

.prose strong {
  color: #111827;
  font-weight: 600;
}

.prose a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s ease-in-out;
}

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

/* Table styles */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 1.5rem 0;
}

table th,
table td {
  text-align: left;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
}

table th {
  background-color: #f9fafb;
  font-weight: 600;
  color: #111827;
}

table tbody tr:nth-child(even) {
  background-color: #f9fafb;
}

/* Cookie banner and modal z-index */
#cookie-banner {
  z-index: 50;
}

#cookie-modal {
  z-index: 60;
}

/* Ensure modal appears above banner */
.fixed {
  position: fixed;
}

/* Loading animation for forms */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Success message styles */
.success-message {
  background-color: #10b981;
  color: white;
  padding: 1rem;
  border-radius: 0.25rem;
  margin-top: 1rem;
}

.error-message {
  background-color: #ef4444;
  color: white;
  padding: 1rem;
  border-radius: 0.25rem;
  margin-top: 1rem;
}

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

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
  
  p, li {
    page-break-inside: avoid;
  }
}

/* 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;
  }
  
  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; }
