#cookie-consent-root {
  position: relative;
  z-index: 9999;
  font-family: inherit;
  color: inherit;
}

#cookie-consent-root .cc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.46);
  backdrop-filter: blur(2px);
}

#cookie-consent-root .cc-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(860px, calc(100vw - 2rem));
  max-height: min(90vh, 920px);
  display: flex;
  flex-direction: column;
  background: var(--bs-body-bg, var(--body-bg, #ffffff));
  color: var(--bs-body-color, inherit);
  border: 1px solid var(--bs-border-color, rgba(0, 0, 0, 0.125));
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
}

#cookie-consent-root .cc-modal-second,
#cookie-consent-root .cc-modal-third {
  min-height: min(78vh, 760px);
}

#cookie-consent-root .cc-modal.cc-hidden {
  display: none;
}

#cookie-consent-root.cc-settings-open .cc-modal-first {
  display: none;
}

#cookie-consent-root.cc-settings-open .cc-modal-second {
  display: flex;
}

#cookie-consent-root.cc-service-settings-open .cc-modal-first,
#cookie-consent-root.cc-service-settings-open .cc-modal-second {
  display: none;
}

#cookie-consent-root.cc-service-settings-open .cc-modal-third {
  display: flex;
}

#cookie-consent-root.cc-has-consent .cc-overlay,
#cookie-consent-root.cc-has-consent .cc-modal {
  display: none;
}

#cookie-consent-root.cc-force-visible .cc-overlay,
#cookie-consent-root.cc-force-visible .cc-modal {
  display: flex;
}

#cookie-consent-root.cc-force-visible .cc-modal.cc-hidden {
  display: none;
}

#cookie-consent-root.cc-force-visible.cc-settings-open .cc-modal-second.cc-hidden {
  display: flex;
}

#cookie-consent-root.cc-force-visible.cc-service-settings-open .cc-modal-third.cc-hidden {
  display: flex;
}

#cookie-consent-root.cc-force-hidden .cc-overlay,
#cookie-consent-root.cc-force-hidden .cc-modal {
  display: none;
}

#cookie-consent-root .cc-content {
  overflow: auto;
  flex: 1 1 auto;
  padding: 2rem 2.25rem 1.5rem;
}

#cookie-consent-root .cc-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

#cookie-consent-root .cc-modal-second .cc-head,
#cookie-consent-root .cc-modal-third .cc-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "logo close"
    "title title";
  align-items: start;
  column-gap: 1rem;
  row-gap: 1rem;
}

#cookie-consent-root .cc-logo-wrap {
  width: 100%;
}

#cookie-consent-root .cc-modal-second .cc-logo-wrap,
#cookie-consent-root .cc-modal-third .cc-logo-wrap {
  grid-area: logo;
  width: auto;
  max-width: 100%;
}

#cookie-consent-root .cc-logo {
  display: block;
  max-width: min(220px, 55vw);
  max-height: 72px;
  width: auto;
  height: auto;
}

#cookie-consent-root .cc-headline {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.1;
  font-weight: 700;
  color: inherit;
}

#cookie-consent-root .cc-modal-second .cc-headline,
#cookie-consent-root .cc-modal-third .cc-headline {
  grid-area: title;
}

#cookie-consent-root .cc-close-wrap {
  grid-area: close;
  justify-self: end;
}

#cookie-consent-root .cc-intro,
#cookie-consent-root .cc-info,
#cookie-consent-root .cc-info-list,
#cookie-consent-root .cc-info-list-full {
  color: inherit;
}

#cookie-consent-root .cc-description,
#cookie-consent-root .cc-list-copy,
#cookie-consent-root .cc-info p {
  margin: 0 0 1rem;
  font-size: 0.97rem;
  line-height: 1.65;
  color: inherit;
}

#cookie-consent-root .cc-description p,
#cookie-consent-root .cc-description ul,
#cookie-consent-root .cc-description ol {
  margin: 0 0 1rem;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

:where(#cookie-consent-root .cc-description a) {
  color: var(--cc-accent-color, var(--bs-link-color, inherit));
  text-decoration: underline;
}

#cookie-consent-root .cc-description > :last-child {
  margin-bottom: 0;
}

#cookie-consent-root .cc-list-copy p,
#cookie-consent-root .cc-list-copy ul,
#cookie-consent-root .cc-list-copy ol {
  margin: 0 0 1rem;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

:where(#cookie-consent-root .cc-list-copy a) {
  color: var(--cc-accent-color, var(--bs-link-color, inherit));
  text-decoration: underline;
}

#cookie-consent-root .cc-list-copy > :last-child {
  margin-bottom: 0;
}

#cookie-consent-root .cc-linked-services {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.5;
  color: rgba(31, 41, 55, 0.78);
}

:where(#cookie-consent-root .cc-subservices-link) {
  margin-top: 0.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cc-accent-color, var(--bs-link-color, #0f766e));
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}

#cookie-consent-root .cc-info-list ul {
  margin: 0;
  padding-left: 1.2rem;
}

#cookie-consent-root .cc-bullet-list {
  margin: 1rem 0;
  padding-left: 1rem;
  list-style: disc;
  list-style-position: outside;
  font-family: inherit;
  font-size: 0.97rem;
  line-height: 1.65;
  color: inherit;
}

#cookie-consent-root .cc-bullet-item {
  margin-bottom: 0.25rem;
  padding-left: 1rem;
  display: list-item;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

#cookie-consent-root .cc-info-list-full {
  display: grid;
  gap: 1rem;
}

#cookie-consent-root .cc-list-item {
  border: 1px solid var(--bs-border-color, rgba(0, 0, 0, 0.125));
  border-radius: 0.75rem;
  background: var(--bs-tertiary-bg, var(--bs-body-bg, #ffffff));
}

#cookie-consent-root .cc-list-item.cc-focus-target {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

#cookie-consent-root .cc-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 0.75rem;
}

#cookie-consent-root .cc-list-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: inherit;
}

#cookie-consent-root .cc-list-content {
  padding: 0 1rem 1rem;
}

#cookie-consent-root .cc-item-choice {
  position: relative;
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  min-width: 7.5rem;
  padding: 0;
  border: 1px solid #c7ced9;
  border-radius: 0.35rem;
  background: #f2f4f7;
  flex-shrink: 0;
  overflow: hidden;
}

#cookie-consent-root .cc-toggle-thumb {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 50%;
  border-radius: 0.2rem;
  background: #6b7280;
  opacity: 0;
  transform: translateX(0%);
  transition: transform 0.22s ease, background-color 0.22s ease, opacity 0.18s ease;
  pointer-events: none;
}

#cookie-consent-root .cc-choice-button {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.45rem 0.9rem;
  border: 0;
  background: transparent;
  border-radius: 0;
  cursor: pointer;
  font-size: 0.93rem;
  font-weight: 500;
  line-height: 1;
  color: #2f3a45;
  transition: color 0.18s ease, background-color 0.18s ease;
}

#cookie-consent-root .cc-choice-button + .cc-choice-button {
  border-left: 1px solid #c7ced9;
}

#cookie-consent-root .cc-choice-button:focus-visible {
  outline: none;
}

#cookie-consent-root .cc-item-choice:has(.cc-choice-button:focus-visible) {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

#cookie-consent-root .cc-item-choice[data-state="neutral"] .cc-toggle-thumb {
  opacity: 0;
  transform: translateX(0%);
}

#cookie-consent-root .cc-item-choice[data-state="no"] .cc-toggle-thumb {
  opacity: 1;
  transform: translateX(0%);
  background: #666666;
}

#cookie-consent-root .cc-item-choice[data-state="yes"] .cc-toggle-thumb {
  opacity: 1;
  transform: translateX(100%);
  background: #31b44b;
}

#cookie-consent-root .cc-item-choice[data-state="neutral"] .cc-choice-button {
  color: #2f3a45;
}

#cookie-consent-root .cc-item-choice[data-state="no"] .cc-choice-button-no,
#cookie-consent-root .cc-item-choice[data-state="yes"] .cc-choice-button-yes {
  color: #ffffff;
}

#cookie-consent-root .cc-item-choice[data-state="yes"] .cc-choice-button-no,
#cookie-consent-root .cc-item-choice[data-state="no"] .cc-choice-button-yes {
  color: #2f3a45;
}

#cookie-consent-root .cc-item-choice-disabled {
  opacity: 0.72;
}

#cookie-consent-root .cc-item-choice-disabled .cc-choice-button {
  cursor: not-allowed;
}

#cookie-consent-root .cc-item-choice-disabled .cc-toggle-thumb {
  background: linear-gradient(180deg, #cbd5e1 0%, #94a3b8 100%);
}

#cookie-consent-root .cc-close {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--bs-border-color, rgba(0, 0, 0, 0.125));
  border-radius: 999px;
  background: transparent;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

:where(#cookie-consent-root .cc-close:hover) {
  transform: rotate(90deg);
  background: var(--bs-secondary-bg, rgba(0, 0, 0, 0.03));
}

:where(#cookie-consent-root) {
  --cc-btn-primary-bg: var(--bs-primary, #1f2937);
  --cc-btn-primary-border: var(--bs-primary, #1f2937);
  --cc-btn-primary-color: #ffffff;
  --cc-btn-secondary-bg: #ffffff;
  --cc-btn-secondary-border: var(--bs-border-color, rgba(31, 41, 55, 0.28));
  --cc-btn-secondary-color: var(--bs-body-color, #1f2937);
  --cc-btn-yes-bg: #31b44b;
}

:where(#cookie-consent-root .cc-btn) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
  font-family: inherit;
  text-align: center;
  text-decoration: none;
  appearance: none;
  cursor: pointer;
  transition: box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

:where(#cookie-consent-root .cc-btn:hover) {
  text-decoration: none;
}

:where(#cookie-consent-root .cc-btn:focus-visible) {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

:where(#cookie-consent-root .cc-btn--primary) {
  background: var(--cc-btn-primary-bg);
  border-color: var(--cc-btn-primary-border);
  color: var(--cc-btn-primary-color);
}

:where(#cookie-consent-root .cc-btn--secondary) {
  background: var(--cc-btn-secondary-bg);
  border-color: var(--cc-btn-secondary-border);
  color: var(--cc-btn-secondary-color);
}

:where(#cookie-consent-root .cc-btn--embed) {
  background: var(--cc-btn-yes-bg);
  border-color: var(--cc-btn-yes-bg);
  color: #ffffff;
}

/* Embed blocked overlays (rendered outside #cookie-consent-root) */
.cc-embed-blocked {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  width: 100% !important;
  max-width: 100% !important;
  height: 100%;
  min-height: 0;
  box-sizing: border-box !important;
  background: #000000;
  border: none;
  border-radius: 0;
  overflow: hidden;
  color: #ffffff;
}

.cc-embed-wrapper-blocked {
  background: #000000 !important;
  overflow: hidden;
}

.cc-embed-wrapper-blocked--autoheight {
  height: auto !important;
  max-width: 100% !important;
  padding-bottom: 0 !important;
}

.cc-embed-blocked--autoheight {
  display: block;
  height: auto !important;
}

.cc-embed-blocked .cc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--cc-embed-btn-min-height, 3rem);
  max-width: 100%;
  padding: var(--cc-embed-btn-padding, 0.8rem 1.25rem);
  border: 1px solid transparent;
  border-radius: var(--cc-embed-btn-radius, 0.75rem);
  font-size: var(--cc-embed-btn-font-size, 0.98rem);
  font-weight: 400;
  line-height: 1.2;
  font-family: inherit;
  text-align: center;
  text-decoration: none;
  appearance: none;
  cursor: pointer;
  transition: box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.cc-embed-blocked .cc-btn--embed {
  background: #31b44b;
  border-color: #31b44b;
  color: #ffffff;
}

.cc-embed-blocked .cc-btn--embed:hover {
  background: #28a040;
  border-color: #28a040;
}

.cc-embed-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: var(--cc-embed-gap, 1rem);
  width: 100%;
  min-height: 100%;
  padding: var(--cc-embed-padding, 1.5rem);
  box-sizing: border-box;
}

.cc-embed-blocked--autoheight .cc-embed-placeholder {
  position: relative;
  inset: auto;
  min-height: 0;
}

.cc-embed-body {
  display: flex;
  flex-direction: column;
  gap: var(--cc-embed-content-gap, 1.15rem);
  width: 100%;
  max-width: 42rem;
  margin-inline: auto;
}

.cc-embed-body--compact,
.cc-embed-body--detailed {
  margin-block: auto;
}

.cc-embed-body--compact {
  align-items: center;
  max-width: 28rem;
  text-align: center;
}

.cc-embed-body--detailed {
  align-items: center;
  text-align: left;
}

.cc-embed-body--detailed-scroll {
  align-items: stretch;
  max-width: 100%;
}

.cc-embed-placeholder--compact {
  align-items: stretch;
  justify-content: flex-start;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.cc-embed-placeholder--detailed {
  align-items: stretch;
  justify-content: flex-start;
  padding: var(--cc-embed-padding-detailed, 1.5rem 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.cc-embed-placeholder--detailed-scroll {
  align-items: stretch;
  justify-content: flex-start;
  padding: var(--cc-embed-padding-scroll, 1rem);
  text-align: left;
  overflow-y: auto;
}

.cc-embed-actions {
  display: flex;
  flex: 0 0 auto;
  justify-content: center;
  width: 100%;
}

.cc-embed-message {
  max-width: 34rem;
  margin: 0;
  font-size: var(--cc-embed-message-size, 0.98rem);
  line-height: var(--cc-embed-message-line-height, 1.6);
  color: #ffffff;
  overflow-wrap: break-word;
}

.cc-embed-message--compact {
  max-width: 28rem;
}

.cc-embed-copy {
  width: 100%;
  max-width: 42rem;
  margin: 0;
  font-size: var(--cc-embed-copy-size, 0.95rem);
  line-height: var(--cc-embed-copy-line-height, 1.55);
  color: #ffffff;
  overflow-wrap: break-word;
}

.cc-embed-copy--compact {
  max-width: 28rem;
  font-size: var(--cc-embed-compact-size, 0.98rem);
  line-height: var(--cc-embed-compact-line-height, 1.45);
  text-align: center;
}

.cc-embed-copy p,
.cc-embed-copy ul,
.cc-embed-copy ol {
  margin: 0 0 0.9rem;
}

.cc-embed-copy > :last-child {
  margin-bottom: 0;
}

.cc-embed-copy ul,
.cc-embed-copy ol {
  padding-left: 1.25rem;
}

.cc-embed-copy--compact p,
.cc-embed-copy--compact ul,
.cc-embed-copy--compact ol {
  margin: 0 0 0.45rem;
}

.cc-embed-copy--compact ul,
.cc-embed-copy--compact ol {
  padding-left: 1rem;
}

.cc-embed-copy li + li {
  margin-top: 0.35rem;
}

.cc-embed-copy a {
  color: inherit;
  text-decoration: underline;
}

#cookie-consent-root .cc-close-line {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
}

#cookie-consent-root .cc-close-line-one {
  transform: translate(-50%, -50%) rotate(45deg);
}

#cookie-consent-root .cc-close-line-two {
  transform: translate(-50%, -50%) rotate(-45deg);
}

#cookie-consent-root .cc-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#cookie-consent-root .cc-choices {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid var(--bs-border-color, rgba(0, 0, 0, 0.125));
  background: var(--bs-secondary-bg, rgba(0, 0, 0, 0.03));
}

#cookie-consent-root .cc-modal-first .cc-choices {
  display: grid;
  grid-template-columns: 1fr auto;
}

#cookie-consent-root .cc-choices-slot,
#cookie-consent-root .cc-choices-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

#cookie-consent-root .cc-choices-slot-left {
  justify-content: flex-start;
}

#cookie-consent-root .cc-choices-slot-right {
  justify-content: flex-end;
}

#cookie-consent-root .cc-manage-button {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 9998;
  border: 1px solid var(--bs-border-color, rgba(0, 0, 0, 0.125));
  border-radius: 999px;
  background: var(--bs-body-bg, #ffffff);
  color: inherit;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.16);
  padding: 0.7rem 1rem;
  cursor: pointer;
}

:where(#cookie-consent-root a) {
  color: inherit;
}

@media (max-width: 640px) {
  #cookie-consent-root .cc-modal {
    top: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
    left: 0.5rem;
    width: auto;
    height: auto;
    max-height: none;
    transform: none;
  }

  #cookie-consent-root .cc-content {
    padding: 1.25rem 1rem 1rem;
  }

  #cookie-consent-root .cc-logo {
    max-width: min(180px, 58vw);
    max-height: 56px;
  }

  #cookie-consent-root .cc-choices {
    padding: 0.875rem 1rem 1rem;
  }

  #cookie-consent-root .cc-list-head,
  #cookie-consent-root .cc-choices {
    align-items: stretch;
  }

  #cookie-consent-root .cc-list-head {
    flex-direction: column;
  }

  #cookie-consent-root .cc-title-wrap {
    width: 100%;
    min-width: 0;
  }

  #cookie-consent-root .cc-list-title {
    line-height: 1.1;
    overflow-wrap: anywhere;
  }

  #cookie-consent-root .cc-item-choice,
  #cookie-consent-root .cc-choices-slot,
  #cookie-consent-root .cc-choices-group {
    width: 100%;
    justify-content: stretch;
  }

  #cookie-consent-root .cc-item-choice {
    min-width: 0;
    align-self: stretch;
  }

  #cookie-consent-root .cc-choice-button {
    flex: 1 1 50%;
    min-height: 3rem;
  }

  #cookie-consent-root .cc-choices,
  #cookie-consent-root .cc-choices-group,
  #cookie-consent-root .cc-choices-slot {
    flex-wrap: wrap;
  }

  #cookie-consent-root .cc-choices button,
  #cookie-consent-root .cc-choices-slot button,
  #cookie-consent-root .cc-choices-group button {
    width: 100%;
  }

  #cookie-consent-root .cc-modal-first .cc-choices {
    display: flex;
    flex-direction: column;
  }
}