.gdpr-no-scroll {
  overflow: hidden !important;
}

.gdpr-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 12, 16, 0.65);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 2147483647;
}

.gdpr-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gdpr-modal {
  width: min(720px, 100%);
  background: #ffffff;
  color: #111111;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  padding: 24px;
  outline: none;
}

.gdpr-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.gdpr-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.gdpr-close {
  border: 1px solid #1a1a1a;
  background: #f4f4f4;
  color: #111111;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.9rem;
  cursor: pointer;
}

.gdpr-step[hidden] {
  display: none !important;
}

.gdpr-desc,
.gdpr-pref-desc {
  margin: 0 0 16px;
  line-height: 1.5;
}

.gdpr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gdpr-btn {
  border: 1px solid #1a1a1a;
  background: #ffffff;
  color: #111111;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 600;
  cursor: pointer;
}

.gdpr-btn.primary {
  background: #111111;
  color: #ffffff;
}

.gdpr-btn.secondary {
  background: #f0f0f0;
}

.gdpr-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.gdpr-link {
  background: none;
  border: none;
  color: #0b4f8a;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  font: inherit;
}

.gdpr-list {
  border-top: 1px solid #e5e5e5;
  margin-top: 12px;
}

.gdpr-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #e5e5e5;
}

.gdpr-row-title {
  font-weight: 600;
}

.gdpr-row-sub {
  font-size: 0.9rem;
  color: #444444;
  margin-top: 4px;
}

.gdpr-row-state {
  font-size: 0.85rem;
  color: #333333;
  background: #f5f5f5;
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.gdpr-toggle {
  display: inline-flex;
  border: 1px solid #1a1a1a;
  border-radius: 999px;
  overflow: hidden;
}

.gdpr-toggle button {
  border: none;
  background: #ffffff;
  color: #111111;
  padding: 6px 12px;
  font-weight: 600;
  cursor: pointer;
}

.gdpr-toggle button.is-active {
  background: #111111;
  color: #ffffff;
}

.gdpr-footer {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.gdpr-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 2147483646;
  border: 1px solid #1a1a1a;
  background: #ffffff;
  color: #111111;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 600;
  width: auto;
  white-space: nowrap;
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.gdpr-fab.is-dragging {
  cursor: grabbing;
}

@media (max-width: 600px) {
  .gdpr-overlay {
    padding: 16px;
  }

  .gdpr-modal {
    padding: 18px;
  }

  .gdpr-actions,
  .gdpr-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .gdpr-fab {
    right: 12px;
    bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gdpr-overlay {
    transition: none;
  }
}
