.scl-consent-open {
  overflow: hidden;
}

.scl-consent[hidden] {
  display: none !important;
}

.scl-consent {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.scl-consent__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.scl-consent__dialog {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: min(720px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #fff;
  color: #1f2937;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.30);
  padding: 24px;
}

.scl-consent__dialog h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.scl-consent__dialog p {
  margin: 0 0 16px;
}

.scl-consent__categories {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.scl-consent__category {
  display: flex;
  gap: 12px;
  padding: 14px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
}

.scl-consent__category input {
  margin-top: 4px;
}

.scl-consent__category small {
  display: block;
  margin-top: 4px;
  color: #4b5563;
  line-height: 1.35;
}

.scl-consent__links {
  margin: 12px 0;
  font-size: 14px;
}

.scl-consent__actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.scl-button {
  appearance: none;
  border: 1px solid #1f2937;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  font: inherit;
  line-height: 1.2;
}

.scl-button--primary {
  background: #1f2937;
  color: #fff;
}

.scl-button--secondary {
  background: #fff;
  color: #1f2937;
}

.scl-blocked-content {
  border: 1px dashed #9ca3af;
  border-radius: 12px;
  padding: 24px;
  background: #f9fafb;
  color: #1f2937;
  text-align: center;
}

.scl-blocked-content p {
  margin: 0 0 12px;
}

.scl-cookie-policy table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
}

.scl-cookie-policy th,
.scl-cookie-policy td {
  text-align: left;
  vertical-align: top;
  border: 1px solid #d1d5db;
  padding: 10px;
}

.scl-cookie-policy th {
  width: 180px;
  background: #f9fafb;
}

@media (max-width: 640px) {
  .scl-consent__dialog {
    bottom: 0;
    width: 100%;
    max-height: 90vh;
    border-radius: 16px 16px 0 0;
  }

  .scl-consent__actions {
    display: grid;
  }

  .scl-button {
    width: 100%;
  }
}

.scl-footer-settings{position:fixed;bottom:8px;right:8px;z-index:9998}.scl-footer-settings__button{cursor:pointer}