/* Dellen-Transformers — cookieconsent dark theme override */

#cookie-consent-banner {
  position: fixed;
  bottom: 16px;
  right: 16px;
  left: auto;
  width: calc(100% - 32px);
  max-width: 460px;
  background: #16161e;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.7);
  padding: 20px;
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: normal;
  z-index: 9000;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  opacity: 1;
}

/* Mobile: sit above the fixed StickyMobileCTA bar (~64px) */
@media (max-width: 767px) {
  #cookie-consent-banner {
    bottom: 76px;
    left: 8px;
    right: 8px;
    width: auto;
    max-width: none;
    border-radius: 12px;
  }
}

#cookie-consent-banner h3 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 6px 0;
  color: #ffffff;
  text-align: left;
}

#cookie-consent-banner p {
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 14px 0;
  text-align: left;
  text-wrap: pretty;
}

#cookie-consent-banner p a {
  color: #e52119;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Cookie category checkboxes */
#cookie-consent-banner .cookie-consent-options {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 0 0 16px 0;
  justify-content: flex-start;
}

#cookie-consent-banner label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  user-select: none;
}

#cookie-consent-banner label input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: #e52119;
  cursor: pointer;
  margin: 0;
}

#cookie-consent-banner label input[type="checkbox"]:disabled {
  opacity: 0.4;
  cursor: default;
}

#cookie-consent-banner .cookie-consent-hint {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  margin-left: 2px;
}

#cookie-consent-banner .cookie-consent-buttons {
  display: flex;
  flex-direction: row;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin: 0;
}

#cookie-consent-banner .cookie-consent-button {
  height: 34px;
  width: auto;
  min-width: 80px;
  padding: 0 14px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  line-height: 34px;
  transition: opacity 0.15s ease;
  white-space: nowrap;
}

#cookie-consent-banner .cookie-consent-button:hover {
  opacity: 0.8;
}

/* "Auswahl speichern" */
#cookie-consent-banner .cookie-consent-button.btn-outline {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* "Ablehnen" */
#cookie-consent-banner .cookie-consent-button.btn-grayscale {
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* "Akzeptieren" */
#cookie-consent-banner .cookie-consent-button.btn-success {
  background: #e52119;
  color: #ffffff;
  border: none;
}
