.smm-consent-block {
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.02);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.smm-consent-text {
  margin-bottom: 0.75rem;
}

.smm-consent-text p {
  margin: 0;
}

.smm-consent-field {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}

.smm-consent-field input[type="checkbox"] {
  margin-top: 0.2rem;
  flex: 0 0 auto;
}

.smm-consent-label {
  display: inline-block;
}

.smm-consent-error {
  margin: 0.625rem 0 0;
  color: #b42318;
  font-size: 0.875rem;
}

.smm-consent-test-host {
  margin: 1.5rem 0;
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  background: #fff;
}

.smm-consent-test-host input[type="email"] {
  width: 100%;
  max-width: 28rem;
  padding: 0.625rem 0.75rem;
}

.smm-consent-debug {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 99999;
  width: min(420px, calc(100vw - 32px));
  max-height: 70vh;
  overflow: auto;
  border: 1px solid #1f2937;
  border-radius: 8px;
  background: #111827;
  color: #f9fafb;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  font: 13px/1.45 Arial, sans-serif;
}

.smm-consent-debug-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: sticky;
  top: 0;
  background: #111827;
}

.smm-consent-debug-meta {
  color: #cbd5e1;
  font-size: 12px;
}

.smm-consent-debug-body {
  padding: 12px 14px;
}

.smm-consent-debug-item {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.smm-consent-debug-item:last-child {
  border-bottom: 0;
}

.smm-consent-debug-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.smm-consent-debug-item code {
  color: #bfdbfe;
  word-break: break-word;
}

.smm-consent-debug-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  white-space: nowrap;
}

.smm-consent-debug-badge-ok {
  background: #dcfce7;
  color: #166534;
}

.smm-consent-debug-badge-warn {
  background: #fef3c7;
  color: #92400e;
}

.smm-consent-debug-badge-error {
  background: #fee2e2;
  color: #991b1b;
}

.smm-consent-debug-empty {
  margin: 0;
  color: #cbd5e1;
}
