.cookie-preferences-button {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  z-index: 51;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c4c6d3;
  border-radius: 50%;
  background: #fff;
  color: #093483;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgb(0 0 0 / 15%);
}

.cookie-preferences-button svg {
  width: 2rem;
  height: 2rem;
}

.cookie-preferences-button:focus-visible {
  outline: 2px solid #093483;
  outline-offset: 3px;
}

.cookie-preferences-button::after {
  content: attr(aria-label);
  position: absolute;
  left: calc(100% + 0.75rem);
  top: 50%;
  transform: translateY(-50%);
  width: max-content;
  max-width: calc(100vw - 6.25rem);
  padding: 0.625rem 1rem;
  border: 1px solid rgb(196 198 211 / 30%);
  border-radius: 0.75rem;
  background: #fff;
  color: #1b1b24;
  box-shadow: 0 8px 24px -4px rgb(43 76 155 / 14%);
  font: 500 13px/1.375 "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}

.cookie-preferences-button::before {
  content: "";
  position: absolute;
  left: calc(100% + 0.375rem);
  top: 50%;
  width: 0.75rem;
  height: 0.75rem;
  transform: translateY(-50%) rotate(-45deg);
  border-top: 1px solid rgb(196 198 211 / 30%);
  border-left: 1px solid rgb(196 198 211 / 30%);
  background: #fff;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.3s, visibility 0.3s;
}

.cookie-preferences-button:hover::before,
.cookie-preferences-button:focus-visible::before,
.cookie-preferences-button:hover::after,
.cookie-preferences-button:focus-visible::after {
  visibility: visible;
  opacity: 1;
}

.show--consent .cookie-preferences-button,
.show--consent .cookie-preferences-button::before,
.show--consent .cookie-preferences-button::after {
  visibility: hidden;
}

#cc-main .cm.cm--bar {
  bottom: 5.5rem;
  left: 1rem;
  right: 1rem;
  width: calc(100% - 2rem);
  max-width: 75rem;
  margin: 0 auto;
}

#cc-main {
  --cc-font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --cc-btn-border-radius: 0.25rem;
  --cc-btn-primary-bg: #093483;
  --cc-btn-primary-color: #fff;
  --cc-btn-primary-border-color: #093483;
  --cc-btn-primary-hover-bg: #2b4c9b;
  --cc-btn-primary-hover-color: #fff;
  --cc-btn-primary-hover-border-color: #2b4c9b;
}

#cc-main .cm--bar {
  background: #fff;
  color: #1b1b24;
  border: 1px solid #c4c6d3;
  border-radius: 0.75rem;
  box-shadow: 0 -4px 24px rgb(0 0 0 / 15%);
}

#cc-main .cm--bar.cm--inline .cm__body {
  max-width: 90rem;
  align-items: center;
  margin: 0 auto;
  padding: 1.5rem;
  gap: 2rem;
}

#cc-main .cm__texts {
  padding: 0;
}

#cc-main .cm__title {
  color: #093483;
  font-size: 1rem;
  font-weight: 700;
}

#cc-main .cm__desc {
  color: #444651;
  font-size: 0.875rem;
  line-height: 1.6;
}

#cc-main .cm__desc a {
  color: #093483;
  text-decoration: underline;
}

#cc-main .cm--bar.cm--inline .cm__btns {
  max-width: none;
  padding: 0;
  border: 0;
  gap: 0.5rem;
}

#cc-main .cm__btn {
  min-height: 2.75rem;
  font-size: 0.8125rem;
  white-space: nowrap;
}

#cc-main .cm__btn--secondary {
  background: transparent;
  border-color: #093483;
  color: #093483;
}

#cc-main .cm__btn--secondary:hover {
  background: #efecf9;
  border-color: #093483;
  color: #093483;
}

#cc-main .pm {
  --cc-btn-primary-bg: #093483;
  --cc-btn-primary-color: #fff;
  --cc-btn-primary-border-color: #093483;
  --cc-btn-primary-hover-bg: #2b4c9b;
  --cc-btn-primary-hover-color: #fff;
  --cc-btn-primary-hover-border-color: #2b4c9b;
  --cc-toggle-on-bg: #093483;
  border-radius: 0.75rem;
}

@media (min-width: 1100px) {
  #cc-main .cm--bar.cm--inline .cm__btns {
    flex-direction: row;
    align-items: center;
  }

  #cc-main .cm--bar.cm--inline .cm__btn-group + .cm__btn-group {
    margin-top: 0;
  }
}

@media (max-width: 700px) {
  #cc-main .cm--bar.cm--inline .cm__body {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 1rem;
  }

  #cc-main .cm--bar.cm--inline .cm__btns {
    width: 100%;
  }

  #cc-main .cm__btn-group {
    grid-auto-flow: row;
  }

  #cc-main .cm__btn {
    width: 100%;
    white-space: normal;
  }
}
