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

.font-poppins {
  font-family: 'Poppins', sans-serif;
}

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

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

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

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

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

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

/* Hover effects */
.hover-lift {
  transition: transform 0.2s ease-in-out;
}

.hover-lift:hover {
  transform: translateY(-2px);
}

/* Custom prose styles for legal pages */
.prose h2 {
  color: #1f2937;
  font-weight: 600;
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose h3 {
  color: #374151;
  font-weight: 600;
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

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

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

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

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

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

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

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

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

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

/* Responsive tables */
.table-responsive {
  overflow-x: auto;
}

@media (max-width: 768px) {
  .table-responsive table {
    font-size: 0.875rem;
  }
}

/* Cookie banner animations */
#cookie-banner {
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

#cookie-banner.hidden {
  transform: translateY(100%);
  opacity: 0;
}

#cookie-modal {
  transition: opacity 0.3s ease-in-out;
}

#cookie-modal.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Button hover effects */
button, .btn {
  transition: all 0.2s ease-in-out;
}

/* Image optimization */
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;
  }
  
  p, li {
    orphans: 3;
    widows: 3;
  }
}

/* Accessibility improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .bg-gray-50 {
    background-color: #ffffff;
  }
  
  .text-gray-600 {
    color: #000000;
  }
  
  .border-gray-200 {
    border-color: #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;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  /* This would be implemented if dark mode was required */
}