:root {
  --primary: #dc2626;
  --primary-hover: #b91c1c;
  --secondary: #f97316;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--gray-900);
  background-color: var(--gray-50);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

input,
textarea,
select {
  font: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

.spinner {
  display: inline-block;
}

form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

form button[type="submit"] .label,
form button[type="submit"] .spinner {
  display: inline-block;
}

form button[type="submit"]:disabled .label {
  display: none;
}

form button[type="submit"]:not(:disabled) .spinner {
  display: none;
}

.aspect-square {
  aspect-ratio: 1 / 1;
}

.iconify {
  display: inline-block;
  vertical-align: middle;
}

#cookieBanner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

#cookieBanner.show {
  transform: translateY(0);
}

#cookieModal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

#cookieModal.show {
  display: flex;
}

.cookie-modal-content {
  background: white;
  border-radius: 1rem;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
}

@media (max-width: 1023px) {
  #menu.show {
    display: flex;
  }
}

@media (min-width: 1024px) {
  #menu {
    display: flex !important;
  }
}

p[role="alert"]:not(.hidden) {
  display: block;
  margin-top: 0.25rem;
}