

#cookieBanner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--c-bg);
  border-top: 1px solid var(--c-muted);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  padding: var(--space-4);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#cookieBanner.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.cookie-banner-text {
  flex: 1;
  min-width: 0;
}

.cookie-banner-text p {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  line-height: 1.5;
  color: var(--c-fg);
  margin: 0 0 var(--space-2) 0;
}

.cookie-banner-text a {
  color: var(--c-accent);
  text-decoration: none;
  font-weight: 500;
}

.cookie-banner-text a:hover {
  text-decoration: underline;
}

.cookie-banner-buttons {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-btn {
  padding: var(--space-2) var(--space-4);
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  text-transform: none;
}

#cookieAccept {
  background: var(--c-accent);
  color: var(--c-bg);
}

#cookieAccept:hover {
  background: var(--c-fg);
  color: var(--c-bg);
}

#cookieDecline {
  background: var(--c-muted);
  color: var(--c-fg);
}

#cookieDecline:hover {
  background: var(--c-fg);
  color: var(--c-bg);
}

#cookieCustomize {
  background: transparent;
  color: var(--c-accent);
  border: 1px solid var(--c-accent);
}

#cookieCustomize:hover {
  background: var(--c-accent);
  color: var(--c-bg);
}

#cookieCustomizeModal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#cookieCustomizeModal.open {
  opacity: 1;
  pointer-events: auto;
}

.cookie-modal-content {
  background: var(--c-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  max-width: 500px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  position: relative;
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
}

.cookie-modal-header h2 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin: 0;
  color: var(--c-fg);
}

#cookieModalClose {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--c-muted);
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#cookieModalClose:hover {
  color: var(--c-fg);
}

.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.cookie-category input[type="checkbox"] {
  margin-top: 4px;
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--c-accent);
  flex-shrink: 0;
}

.cookie-category input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.cookie-category-text h3 {
  margin: 0 0 var(--space-1) 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-fg);
}

.cookie-category-text p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--c-muted);
  line-height: 1.4;
}

.cookie-category.essential input[type="checkbox"] {
  cursor: not-allowed;
}

.cookie-modal-actions {
  display: flex;
  gap: var(--space-3);
  justify-content: flex-end;
}

.cookie-modal-actions button {
  padding: var(--space-2) var(--space-4);
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

#cookieSaveCustomize {
  background: var(--c-accent);
  color: var(--c-bg);
}

#cookieSaveCustomize:hover {
  background: var(--c-fg);
  color: var(--c-bg);
}

@media (max-width: 640px) {
  #cookieBanner {
    padding: var(--space-3);
  }

  .cookie-banner-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner-buttons {
    width: 100%;
    flex-direction: column;
    justify-content: stretch;
  }

  .cookie-btn {
    width: 100%;
    text-align: center;
  }

  .cookie-modal-content {
    padding: var(--space-4);
    max-width: 100%;
  }

  .cookie-modal-header {
    margin-bottom: var(--space-3);
  }

  .cookie-modal-header h2 {
    font-size: 1.25rem;
  }
}

#cookieDecline { color: #ffffff !important; }

#cookieDecline { color: #ffffff !important; }

#cookieDecline { color: #ffffff !important; }

#cookieDecline { color: #ffffff !important; }

#cookieDecline { color: #ffffff !important; }

#cookieDecline { color: #ffffff !important; }

#cookieDecline { color: #ffffff !important; }

#cookieDecline { color: #ffffff !important; }

#cookieDecline { color: #ffffff !important; }

#cookieDecline { color: #ffffff !important; }

#cookieDecline { color: #ffffff !important; }

#cookieDecline { color: #ffffff !important; }

#cookieDecline { color: #ffffff !important; }

#cookieDecline { color: #ffffff !important; }

#cookieDecline { color: #ffffff !important; }

#cookieDecline { color: #ffffff !important; }

#cookieDecline { color: #ffffff !important; }

#cookieDecline { color: #ffffff !important; }

#cookieDecline { color: #ffffff !important; }

#cookieDecline { color: #ffffff !important; }


/* wh-contrast-fix */
/* Auto-injected: text color did not meet 4.5:1 against declared background. */
#cookieDecline { color: #ffffff !important; }


/* wh-contrast-fix */
/* Auto-injected: text color did not meet 4.5:1 against declared background. */
#cookieDecline { color: #ffffff !important; }
