.buzio-consent-root {
  position: relative;
  z-index: 99998;
}

.buzio-site-shell {
  transition: filter 160ms ease;
}

.buzio-consent-modal-open .buzio-site-shell {
  filter: blur(10px);
  pointer-events: none;
  user-select: none;
}

.buzio-consent-banner {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(9, 13, 18, 0.34);
  backdrop-filter: blur(8px);
}

.buzio-consent-banner.is-hidden {
  display: none;
}

.buzio-consent-card {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(780px, 100%);
  max-height: min(88vh, 920px);
  overflow: auto;
  padding: 24px;
  border-radius: 24px;
  background: rgba(11, 15, 22, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
  color: #f5f7fb;
  backdrop-filter: blur(20px);
}

.buzio-consent-dragbar {
  display: flex;
  justify-content: center;
  padding-bottom: 16px;
  cursor: grab;
  touch-action: none;
}

.buzio-consent-dragbar.is-dragging {
  cursor: grabbing;
}

.buzio-consent-dragbar span {
  width: 72px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.buzio-consent-copy h2,
.buzio-consent-service-list h3 {
  margin: 0 0 10px;
}

.buzio-consent-copy p {
  margin: 0 0 10px;
  line-height: 1.6;
  color: rgba(245, 247, 251, 0.86);
}

.buzio-consent-eyebrow {
  display: inline-flex;
  margin-bottom: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: #6be4ae;
}

.buzio-consent-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.buzio-consent-button,
.buzio-consent-manage-button,
.buzio-consent-inline-link {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.buzio-consent-button {
  min-width: 180px;
  padding: 14px 18px;
  border-radius: 16px;
  font-weight: 700;
}

.buzio-consent-button.primary {
  background: linear-gradient(135deg, #4ad395, #4eb0ff);
  color: #08120f;
}

.buzio-consent-button.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #f5f7fb;
}

.buzio-consent-policy-link,
.buzio-consent-service-list a {
  color: #7fc9ff;
}

.buzio-consent-settings {
  display: none;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.buzio-consent-settings.is-open {
  display: block;
}

.buzio-consent-categories {
  display: grid;
  gap: 14px;
}

.buzio-consent-category-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.buzio-consent-category-copy {
  display: grid;
  gap: 4px;
}

.buzio-consent-category-copy small {
  color: rgba(245, 247, 251, 0.68);
  line-height: 1.5;
}

.buzio-consent-switch {
  position: relative;
  display: inline-flex;
  width: 58px;
  height: 34px;
}

.buzio-consent-switch input {
  position: absolute;
  opacity: 0;
  inset: 0;
}

.buzio-consent-switch span {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  transition: background 140ms ease;
}

.buzio-consent-switch span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f5f7fb;
  transition: transform 140ms ease;
}

.buzio-consent-switch input:checked + span {
  background: #4ad395;
}

.buzio-consent-switch input:checked + span::after {
  transform: translateX(24px);
}

.buzio-consent-service-list {
  margin-top: 20px;
}

.buzio-consent-service-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.buzio-consent-service-list li {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.buzio-consent-service-list li span {
  display: block;
  margin-top: 6px;
  color: rgba(245, 247, 251, 0.74);
}

.buzio-consent-manage-button {
  position: fixed;
  left: 20px;
  bottom: 20px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(11, 15, 22, 0.88);
  color: #f5f7fb;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
  z-index: 99999;
}

.buzio-consent-inline-link {
  padding: 0;
  color: inherit;
  text-decoration: underline;
  background: none;
}

@media (max-width: 720px) {
  .buzio-consent-banner {
    padding: 12px;
  }

  .buzio-consent-card {
    left: 12px;
    right: 12px;
    top: 12px;
    width: auto;
    max-height: min(92vh, 920px);
    padding: 18px;
    border-radius: 20px;
    transform: none;
  }

  .buzio-consent-button {
    width: 100%;
  }

  .buzio-consent-category-row {
    grid-template-columns: 1fr;
  }

}
