/* Silktide overrides — load after silktide-consent-manager.css (black & white) */

#stcm-wrapper {
  --primaryColor: #000000;
  --backgroundColor: #ffffff;
  --textColor: #000000;
  --iconColor: #000000;
  --iconBackgroundColor: #ffffff;
  --backdropBackgroundColor: rgba(0, 0, 0, 0.5);
  --backdropBackgroundBlur: 0px;
  --boxShadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

#stcm-wrapper #stcm-banner,
#stcm-wrapper #stcm-modal {
  background-color: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #000000 !important;
  box-shadow: var(--boxShadow) !important;
}

#stcm-wrapper #stcm-banner p,
#stcm-wrapper #stcm-modal p,
#stcm-wrapper #stcm-modal legend,
#stcm-wrapper #stcm-modal h1 {
  color: #000000 !important;
}

#stcm-wrapper a,
#stcm-wrapper #stcm-banner a,
#stcm-wrapper #stcm-modal a,
#stcm-wrapper #stcm-banner .stcm-preferences-button {
  color: #000000 !important;
  background-color: transparent !important;
}

#stcm-wrapper a:hover,
#stcm-wrapper #stcm-banner .stcm-preferences-button:hover,
#stcm-wrapper #stcm-banner .stcm-preferences-button span:hover {
  color: #000000 !important;
  opacity: 0.7;
}

#stcm-wrapper .stcm-button,
#stcm-wrapper .stcm-button-primary {
  color: #ffffff !important;
  background-color: #000000 !important;
  border: 2px solid #000000 !important;
}

#stcm-wrapper .stcm-button-primary:hover {
  color: #000000 !important;
  background-color: #ffffff !important;
  border: 2px solid #000000 !important;
}

#stcm-wrapper .stcm-button-secondary {
  color: #000000 !important;
  background-color: #ffffff !important;
  border: 2px solid #000000 !important;
}

#stcm-wrapper .stcm-button-secondary:hover {
  color: #ffffff !important;
  background-color: #000000 !important;
  border: 2px solid #000000 !important;
}

/* Hide Silktide floating icon — footer button opens preferences instead */

#stcm-wrapper #stcm-icon {
  display: none !important;
}

/* Hide Silktide branding link */

#stcm-modal footer a.stcm-credit-link,
#stcm-modal footer a[href*="silktide"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

#stcm-wrapper #stcm-modal .stcm-modal-close {
  background: #ffffff !important;
  color: #000000 !important;
}

#stcm-wrapper #stcm-modal .stcm-modal-close svg {
  fill: #000000 !important;
}

#stcm-wrapper #stcm-modal .stcm-toggle-track {
  background: #cccccc !important;
}

#stcm-wrapper #stcm-modal .stcm-toggle-thumb {
  background: #ffffff !important;
}

#stcm-wrapper #stcm-modal .stcm-toggle-off,
#stcm-wrapper #stcm-modal .stcm-toggle-on {
  color: #000000 !important;
}

#stcm-wrapper #stcm-modal .stcm-toggle input:checked + .stcm-toggle-track {
  background: #000000 !important;
}

#stcm-wrapper #stcm-modal .stcm-toggle input:checked ~ .stcm-toggle-thumb {
  background: #ffffff !important;
}

#stcm-wrapper #stcm-modal .stcm-toggle input:checked ~ .stcm-toggle-on {
  color: #ffffff !important;
}

#stcm-wrapper #stcm-modal section::-webkit-scrollbar-thumb {
  background-color: #000000 !important;
}

#stcm-wrapper #stcm-banner a.stcm-logo svg,
#stcm-wrapper #stcm-banner a.stcm-logo {
  fill: #000000 !important;
}
