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

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

/* Custom scrollbar */
::-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 scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus states */
button:focus,
a: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;
}

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

.form-error:focus {
  ring-color: #ef4444;
  border-color: #ef4444;
}

/* Accordion animations */
.accordion-content {
  transition: all 0.3s ease-in-out;
  overflow: hidden;
}

.accordion-button[aria-expanded="true"] .lucide {
  transform: rotate(180deg);
}

/* Loading spinner */
.spinner {
  border: 2px solid #f3f4f6;
  border-top: 2px solid var(--color-primary);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}

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

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

/* Modal backdrop */
#cookie-modal {
  backdrop-filter: blur(4px);
}

/* Responsive table */
@media (max-width: 768px) {
  .table-responsive {
    overflow-x: auto;
  }
  
  .table-responsive table {
    min-width: 600px;
  }
}

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

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

/* Dark mode support (if needed in future) */
@media (prefers-color-scheme: dark) {
  /* Dark mode styles would go here */
}