#sfc-gdpr-modal {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: 90%;
  max-width: 420px;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 30px 30px 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 40px rgba(29, 5, 107, 0.2);
  color: #344054;
  font-family: inherit;
  text-align: center;
}
#sfc-gdpr-modal::backdrop {
  background: rgba(27, 16, 54, 0.58);
}
@media (prefers-reduced-motion: no-preference) {
  #sfc-gdpr-modal[open] {
    animation: sfc-gdpr-appear 0.3s ease-out;
  }
}
#sfc-gdpr-modal h2 {
  margin: 0 0 10px;
  color: #1d056b;
  font-size: 20px;
  line-height: 1.3;
}
#sfc-gdpr-modal h2:focus {
  outline: none;
}
#sfc-gdpr-modal p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.5;
}
#sfc-gdpr-modal .sfc-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #eaecf0;
  font-size: 14px;
  text-align: start;
}
#sfc-gdpr-modal .sfc-toggle:first-of-type {
  border: 0;
}
#sfc-gdpr-modal .sfc-toggle input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #6340b2;
  cursor: pointer;
}
#sfc-gdpr-modal .sfc-toggle input:disabled {
  cursor: default;
}
#sfc-gdpr-modal #sfc-gdpr-buttons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
#sfc-gdpr-modal #sfc-gdpr-buttons button {
  flex: 1;
  min-height: 44px;
  padding: 10px 14px;
  border: 0;
  border-radius: 8px;
  background: #f0edf9;
  color: #38236a;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
}
@media (max-width: 400px) {
  #sfc-gdpr-modal #sfc-gdpr-buttons button {
    padding-inline: 7px;
  }
}
#sfc-gdpr-modal #sfc-gdpr-buttons button:hover {
  background: #e6e0f4;
}
#sfc-gdpr-modal #sfc-gdpr-buttons button#sfc-accept-all {
  background: linear-gradient(90deg, #8450bd, #495fc6);
  color: #fff;
}
#sfc-gdpr-modal #sfc-gdpr-buttons button#sfc-accept-all:hover {
  filter: brightness(1.08);
}
#sfc-gdpr-modal a {
  display: inline-block;
  margin-top: 16px;
  color: #5135a1;
  font-size: 13px;
  text-underline-offset: 3px;
}
#sfc-gdpr-modal :focus-visible {
  outline: 2px solid #495fc6;
  outline-offset: 3px;
}

html:has(#sfc-gdpr-modal[open]) {
  overflow: hidden;
}

@keyframes sfc-gdpr-appear {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
