#sc-consent-root {
  font-family: Arial, sans-serif;
  color: #111827;
}

#sc-consent-root .sc-consent__overlay {
  position: fixed;
  left: 24px;
  bottom: 16px;
  z-index: 2147483000;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: min(620px, calc(100vw - 48px));
  max-height: calc(100vh - 40px);
  background: transparent;
}

#sc-consent-root .sc-consent__overlay[hidden],
#sc-consent-root .sc-consent__view[hidden] {
  display: none;
}

#sc-consent-root .sc-consent__modal {
  width: 100%;
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.24);
}

#sc-consent-root[data-sc-current-view="settings"][data-sc-current-settings-tab="policy"] .sc-consent__modal {
  height: calc(100vh - 40px);
}

#sc-consent-root .sc-consent__reopen {
  position: fixed;
  left: 24px;
  bottom: 0;
  z-index: 2147483001;
  min-width: 174px;
  border: 0;
  border-radius: 10px 10px 0 0;
  padding: 16px 18px 14px;
  color: #111827;
  background: #ffffff;
  box-shadow: 0 -2px 18px rgba(15, 23, 42, 0.22);
  font: 14px/1.25 Arial, sans-serif;
  cursor: pointer;
  transform: translateY(calc(100% - 16px));
  transition: transform 160ms ease, box-shadow 160ms ease;
}

#sc-consent-root .sc-consent__reopen[hidden] {
  display: none;
}

#sc-consent-root .sc-consent__reopen:hover,
#sc-consent-root .sc-consent__reopen:focus-visible,
#sc-consent-root .sc-consent__reopen[aria-expanded="true"] {
  transform: translateY(0);
  box-shadow: 0 -4px 22px rgba(15, 23, 42, 0.26);
}

#sc-consent-root .sc-consent__reopen[aria-expanded="false"]:not(:hover):not(:focus-visible) {
  transform: translateY(calc(100% - 16px));
}

#sc-consent-root .sc-consent__header {
  padding: 18px 24px 10px;
}

#sc-consent-root .sc-consent__title {
  margin: 0 0 18px;
  text-align: center;
  font-size: 17px;
  line-height: 1.3;
}

#sc-consent-root .sc-consent__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 0 0 auto;
  margin-bottom: 16px;
  border: 1px solid #dbe3ea;
  border-radius: 7px;
  background: #ffffff;
  overflow: hidden;
}

#sc-consent-root .sc-consent__view[data-sc-view="settings"] {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

#sc-consent-root .sc-consent__view[data-sc-view="settings"][hidden] {
  display: none;
}

#sc-consent-root .sc-consent__settings-scroll {
  flex: 1 1 auto;
  overflow: auto;
  min-height: 0;
}

#sc-consent-root .sc-consent__tab {
  border: 0;
  padding: 10px;
  background: #ffffff;
  font: inherit;
  cursor: pointer;
}

#sc-consent-root .sc-consent__tab + .sc-consent__tab {
  border-left: 1px solid #dbe3ea;
}

#sc-consent-root .sc-consent__tab--active {
  background: #2878be;
  color: #ffffff;
  font-weight: 700;
}

#sc-consent-root .sc-consent__button,
#sc-consent-root .sc-consent__link-button {
  font: inherit;
  cursor: pointer;
}

#sc-consent-root .sc-consent__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  padding: 0 24px 18px;
}

#sc-consent-root .sc-consent__view[data-sc-view="summary"] {
  overflow: auto;
}

#sc-consent-root .sc-consent__intro,
#sc-consent-root .sc-consent__category-description,
#sc-consent-root .sc-consent__policy p {
  font-size: 13px;
  line-height: 1.45;
}

#sc-consent-root .sc-consent__intro {
  margin: 0;
}

#sc-consent-root .sc-consent__settings-panel .sc-consent__intro {
  margin-bottom: 1rem;
}

#sc-consent-root .sc-consent__category,
#sc-consent-root .sc-consent__provider {
  margin-bottom: 10px;
  border: 1px solid #eef2f7;
  background: #f8fafc;
}

#sc-consent-root .sc-consent__category-summary,
#sc-consent-root .sc-consent__provider summary {
  padding: 13px 10px 8px;
  cursor: pointer;
}

#sc-consent-root .sc-consent__category-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

#sc-consent-root .sc-consent__category-description {
  margin: 10px;
}

#sc-consent-root .sc-consent__always-active {
  color: #008a00;
  font-size: 13px;
  font-weight: 700;
}

#sc-consent-root .sc-consent__toggle input {
  position: absolute;
  opacity: 0;
}

#sc-consent-root .sc-consent__toggle span {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  width: 30px;
  height: 16px;
  padding: 2px;
  border-radius: 999px;
  background: #e5e7eb;
}

#sc-consent-root .sc-consent__toggle span::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #ffffff;
  transition: transform 0.16s ease;
}

#sc-consent-root .sc-consent__toggle input:checked + span {
  background: #2878be;
}

#sc-consent-root .sc-consent__toggle input:checked + span::before {
  transform: translateX(14px);
}

#sc-consent-root .sc-consent__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 18px;
  font-size: 12px;
}

#sc-consent-root .sc-consent__link,
#sc-consent-root .sc-consent__link-button {
  color: #2878be;
  text-decoration: underline;
  background: transparent;
  border: 0;
  padding: 0;
}

#sc-consent-root .sc-consent__actions {
  flex: 0 0 auto;
  padding: 14px 24px 18px;
  border-top: 1px solid #e5e7eb;
}

#sc-consent-root .sc-consent__button-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.7fr;
  gap: 10px;
}

#sc-consent-root .sc-consent__button {
  border-radius: 6px;
  padding: 13px 10px;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
}

#sc-consent-root .sc-consent__button--primary {
  color: #ffffff;
  background: #2878be;
  border: 1px solid #2878be;
}

#sc-consent-root .sc-consent__button--secondary {
  color: #111827;
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

#sc-consent-root .sc-consent__policy h3 {
  margin: 18px 0 8px;
  font-size: 17px;
}

#sc-consent-root .sc-consent__policy h4 {
  margin: 12px 10px 6px;
  font-size: 14px;
}

#sc-consent-root .sc-consent__policy-categories {
  display: grid;
  gap: 10px;
}

#sc-consent-root .sc-consent__policy-category {
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  padding: 12px;
}

#sc-consent-root .sc-consent__contact-address {
  margin: 10px 0 0;
  font-style: normal;
  font-size: 13px;
  line-height: 1.45;
}

#sc-consent-root .sc-consent__cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: #ffffff;
}

#sc-consent-root .sc-consent__cookie-table th,
#sc-consent-root .sc-consent__cookie-table td {
  text-align: left;
  vertical-align: top;
  border-top: 1px solid #e5e7eb;
  padding: 8px;
}

.sc-consent__blocked-embed {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  overflow: hidden;
  border-radius: 6px;
  background-color: #1f2937;
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08) 25%, transparent 25%),
    linear-gradient(225deg, rgba(255, 255, 255, 0.08) 25%, transparent 25%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%),
    linear-gradient(315deg, rgba(255, 255, 255, 0.05) 25%, #1f2937 25%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.sc-consent__blocked-embed[data-sc-service="google-maps"],
.sc-consent__blocked-embed[data-sc-service="openstreetmap"] {
  background-color: #dbe7df;
  background-image:
    linear-gradient(90deg, rgba(44, 94, 70, 0.16) 1px, transparent 1px),
    linear-gradient(0deg, rgba(44, 94, 70, 0.16) 1px, transparent 1px),
    linear-gradient(135deg, rgba(40, 120, 190, 0.18), rgba(255, 255, 255, 0));
  background-size: 52px 52px, 52px 52px, cover;
}

.sc-consent__blocked-embed[data-sc-service="spotify"],
.sc-consent__blocked-embed[data-sc-service="soundcloud"] {
  background-color: #18221d;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.18) 0 2px, transparent 3px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 2px, transparent 2px 14px);
  background-size: 28px 28px, 28px 28px;
}

.sc-consent__blocked-embed[data-sc-service="instagram"],
.sc-consent__blocked-embed[data-sc-service="facebook"],
.sc-consent__blocked-embed[data-sc-service="twitter"],
.sc-consent__blocked-embed[data-sc-service="tiktok"] {
  background-color: #202938;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(40, 120, 190, 0.24), rgba(17, 24, 39, 0.92));
}

.sc-consent__blocked-embed iframe {
  width: 100%;
  min-height: 220px;
  border: 0;
  visibility: hidden;
}

.sc-consent__blocked-embed--active iframe {
  visibility: visible;
}

.sc-consent__blocked-embed--active {
  background: transparent;
}

.sc-consent__embed-notice {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.32);
}

.sc-consent__embed-card {
  display: grid;
  gap: 10px;
  justify-items: center;
  max-width: 340px;
}

.sc-consent__embed-service {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 10px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.58);
  font: 700 13px/1.25 Arial, sans-serif;
}

.sc-consent__embed-button {
  max-width: 320px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  padding: 12px 14px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.62);
  font: inherit;
  line-height: 1.35;
  cursor: pointer;
}

@media (max-width: 560px) {
  #sc-consent-root .sc-consent__overlay {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-height: calc(100vh - 24px);
  }

  #sc-consent-root .sc-consent__modal {
    max-height: calc(100vh - 24px);
  }

  #sc-consent-root[data-sc-current-view="settings"][data-sc-current-settings-tab="policy"] .sc-consent__modal {
    height: calc(100vh - 24px);
  }

  #sc-consent-root .sc-consent__reopen {
    display: none;
    left: 12px;
    min-width: 164px;
    padding: 14px 16px 12px;
  }

  #sc-consent-root .sc-consent__button-row {
    grid-template-columns: 1fr;
  }

  #sc-consent-root .sc-consent__button {
    white-space: normal;
  }
}
