
#intellis-gdpr-banner {
  position: fixed;
  inset-inline: 1rem;
  bottom: 1rem;
  z-index: 99999;
  max-width: 26rem;
  margin-inline: auto;
  padding: 1.25rem 1.25rem 1rem;
  border-radius: var(--intellis-gdpr-radius, 1rem);
  background: var(--intellis-gdpr-bg, #171717);
  color: var(--intellis-gdpr-fg, #fafafa);
  font: 0.875rem/1.5 var(--intellis-gdpr-font, ui-sans-serif, system-ui, sans-serif);
  box-shadow: 0 8px 16px rgb(0 0 0 / 0.12), 0 24px 56px rgb(0 0 0 / 0.24);
}


#intellis-gdpr-banner.intellis-gdpr-pos-bottom-left {
  margin-inline: 0 auto;
}

#intellis-gdpr-banner.intellis-gdpr-pos-bottom-right {
  margin-inline: auto 0;
}


#intellis-gdpr-manage {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  z-index: 99998;
  padding: 0.5rem 0.875rem;
  border: 0;
  border-radius: 999px;
  background: var(--intellis-gdpr-bg, #171717);
  color: var(--intellis-gdpr-fg, #fafafa);
  font: 600 0.8125rem/1 var(--intellis-gdpr-font, ui-sans-serif, system-ui, sans-serif);
  cursor: pointer;
  box-shadow: 0 4px 16px rgb(0 0 0 / 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#intellis-gdpr-manage:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgb(0 0 0 / 0.25);
}

#intellis-gdpr-manage.intellis-gdpr-pos-bottom-right {
  left: auto;
  right: 1rem;
}

.intellis-gdpr-text {
  margin: 0 0 0.625rem;
  opacity: 0.92;
}


.intellis-gdpr-logo {
  display: block;
  max-height: 1.75rem;
  max-width: 10rem;
  width: auto;
  height: auto;
  margin: 0 0 0.75rem;
}

.intellis-gdpr-modal-heading {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
}

.intellis-gdpr-modal-heading .intellis-gdpr-logo {
  margin: 0;
  max-height: 1.5rem;
}


.intellis-gdpr-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0 0 0.875rem;
}

.intellis-gdpr-link {
  color: inherit;
  font-size: 0.8125rem;
  opacity: 0.8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.intellis-gdpr-link:hover {
  opacity: 1;
  color: inherit;
}


#intellis-gdpr-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgb(0 0 0 / 0.5);
}

.intellis-gdpr-modal {
  width: 100%;
  max-width: 32rem;
  max-height: min(85vh, 40rem);
  display: flex;
  flex-direction: column;
  border-radius: var(--intellis-gdpr-radius, 1rem);
  background: var(--intellis-gdpr-bg, #171717);
  color: var(--intellis-gdpr-fg, #fafafa);
  font: 0.875rem/1.5 var(--intellis-gdpr-font, ui-sans-serif, system-ui, sans-serif);
  box-shadow: 0 24px 64px rgb(0 0 0 / 0.35);
}

.intellis-gdpr-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.25rem 0.75rem;
}

.intellis-gdpr-modal-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.intellis-gdpr-close {
  border: 0;
  background: rgb(255 255 255 / 0.1);
  color: inherit;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
}

.intellis-gdpr-close:hover {
  background: rgb(255 255 255 / 0.2);
}

.intellis-gdpr-modal-body {
  overflow-y: auto;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.intellis-gdpr-modal-footer {
  padding: 0.875rem 1.25rem 1.125rem;
}

.intellis-gdpr-category {
  padding: 0.5rem 0;
  border-top: 1px solid rgb(255 255 255 / 0.1);
}

.intellis-gdpr-category:first-child {
  border-top: 0;
}

.intellis-gdpr-category .intellis-gdpr-option {
  padding-inline: 0;
  font-weight: 600;
}

.intellis-gdpr-category .intellis-gdpr-option:hover {
  background: transparent;
}

.intellis-gdpr-category-description {
  margin: 0.125rem 0 0;
  font-size: 0.8125rem;
  opacity: 0.75;
}

.intellis-gdpr-cookies {
  margin-top: 0.375rem;
  font-size: 0.8125rem;
}

.intellis-gdpr-cookies summary {
  cursor: pointer;
  opacity: 0.7;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.intellis-gdpr-cookies summary:hover {
  opacity: 1;
}

.intellis-gdpr-cookies ul {
  margin: 0.5rem 0 0.25rem;
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.intellis-gdpr-cookies code {
  background: rgb(255 255 255 / 0.1);
  border-radius: 0.25rem;
  padding: 0.0625rem 0.375rem;
  font-size: 0.75rem;
}


.intellis-gdpr-options {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  margin-bottom: 0.875rem;
}


.intellis-gdpr-options[hidden] {
  display: none;
}

.intellis-gdpr-option {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.375rem 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.12s ease;
}

.intellis-gdpr-option:hover {
  background: rgb(255 255 255 / 0.06);
}

.intellis-gdpr-option input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 2.25rem;
  height: 1.25rem;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.22);
  position: relative;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.intellis-gdpr-option input[type="checkbox"]::after {
  content: "";
  position: absolute;
  top: 0.1875rem;
  left: 0.1875rem;
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.25);
  transition: transform 0.15s ease;
}

.intellis-gdpr-option input[type="checkbox"]:checked {
  background: var(--intellis-gdpr-accent, #2563eb);
}

.intellis-gdpr-option input[type="checkbox"]:checked::after {
  transform: translateX(1rem);
}

.intellis-gdpr-option input[type="checkbox"]:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.intellis-gdpr-option input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--intellis-gdpr-accent, #2563eb);
  outline-offset: 2px;
}

.intellis-gdpr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.intellis-gdpr-btn {
  padding: 0.5rem 1rem;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: filter 0.12s ease, background-color 0.12s ease;
}

.intellis-gdpr-btn:focus-visible {
  outline: 2px solid var(--intellis-gdpr-accent, #2563eb);
  outline-offset: 2px;
}

.intellis-gdpr-primary {
  background: var(--intellis-gdpr-accent, #2563eb);
  color: #fff;
}

.intellis-gdpr-primary:hover {
  filter: brightness(1.1);
}

.intellis-gdpr-secondary {
  background: rgb(255 255 255 / 0.12);
  color: inherit;
}

.intellis-gdpr-secondary:hover {
  background: rgb(255 255 255 / 0.2);
}

.intellis-gdpr-ghost {
  background: transparent;
  color: inherit;
  opacity: 0.75;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.intellis-gdpr-ghost:hover {
  opacity: 1;
}

@media (max-width: 480px) {
  #intellis-gdpr-banner {
    inset-inline: 0.5rem;
    bottom: 0.5rem;
  }

  .intellis-gdpr-actions .intellis-gdpr-btn {
    flex: 1 1 auto;
    text-align: center;
  }
}
