.swp-consent[hidden] {
  display: none;
}

.swp-consent {
  color: #1f2933;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.swp-consent-banner {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 99999;
  margin: 0 auto;
  max-width: 760px;
}

.swp-consent-layout-bar {
  right: 0;
  left: 0;
  max-width: none;
}

.swp-consent-layout-bar .swp-consent__content {
  border-right: 0;
  border-left: 0;
  border-radius: 0;
}

.swp-consent-layout-modal {
  top: 50%;
  right: 16px;
  bottom: auto;
  left: 16px;
  transform: translateY(-50%);
}

.swp-consent-position-top {
  top: 16px;
  bottom: auto;
}

.swp-consent-position-bottom-left {
  right: auto;
  left: 16px;
  max-width: 560px;
}

.swp-consent-position-bottom-right {
  right: 16px;
  left: auto;
  max-width: 560px;
}

.swp-consent-inline {
  margin: 24px 0;
}

.swp-consent__content {
  border: 1px solid #d7dee8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22);
  padding: 18px;
}

.swp-consent-inline .swp-consent__content {
  box-shadow: none;
}

.swp-consent h2 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.3;
}

.swp-consent p {
  margin: 0 0 12px;
}

.swp-consent__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 14px 0;
}

.swp-consent__choices label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 0;
}

.swp-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.swp-consent__dns {
  margin-top: 12px;
  text-align: right;
}

.swp-consent__details {
  margin: 12px 0;
}

.swp-consent__details summary {
  cursor: pointer;
  font-weight: 600;
}

.swp-consent__table-wrap {
  margin-top: 10px;
  max-height: 220px;
  overflow: auto;
}

.swp-consent table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.swp-consent th,
.swp-consent td {
  border-top: 1px solid #e3e8ef;
  padding: 8px;
  text-align: left;
  vertical-align: top;
}

.swp-consent .button {
  min-height: 36px;
  border: 1px solid #8c99a8;
  border-radius: 4px;
  background: #fff;
  color: #1f2933;
  cursor: pointer;
  padding: 6px 12px;
}

.swp-consent .button-primary {
  border-color: var(--swp-consent-accent, #184f8c);
  background: var(--swp-consent-accent, #184f8c);
  color: #fff;
}

.swp-consent-revisit {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 99998;
  min-height: 36px;
  border: 1px solid var(--swp-consent-accent, #184f8c);
  border-radius: 4px;
  background: var(--swp-consent-accent, #184f8c);
  color: #fff;
  cursor: pointer;
  padding: 7px 12px;
  font: 600 13px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.swp-consent-revisit[hidden] {
  display: none;
}

.swp-consent-revisit.swp-consent-position-top {
  top: 16px;
  bottom: auto;
}

.swp-consent-revisit.swp-consent-position-bottom-left {
  right: auto;
  left: 16px;
}

@media (max-width: 520px) {
  .swp-consent-banner {
    right: 8px;
    bottom: 8px;
    left: 8px;
  }

  .swp-consent-position-top {
    top: 8px;
  }

  .swp-consent__actions {
    justify-content: stretch;
  }

  .swp-consent .button {
    flex: 1 1 100%;
  }
}
