/* Cookie consent theme overrides matched to the kennzeichen-finden.de design */

/* Primary buttons in indigo, links use the same accent */
#cc-main {
  --cc-btn-primary-bg: #4f46e5;
  --cc-btn-primary-border-color: #4f46e5;
  --cc-btn-primary-hover-bg: #4338ca;
  --cc-btn-primary-hover-border-color: #4338ca;
  --cc-btn-primary-color: #fff;
  --cc-btn-primary-hover-color: #fff;
}

#cc-main a {
  color: #4f46e5;
  font-weight: 500;
  text-decoration: underline;
}

#cc-main a:hover {
  color: #4338ca;
}

/* Floating widget to reopen the cookie preferences */
.cc-toggle {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background-color: #4f46e5;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.cc-toggle:hover,
.cc-toggle:focus {
  background-color: #4338ca;
  color: #fff;
  transform: scale(1.08);
  text-decoration: none;
  outline: none;
}

.cc-toggle svg {
  width: 22px;
  height: 22px;
}
