/* Analytics consent banner + footer settings entry.
   Scoped to the .pvuv-* prefixes so nothing here touches the rest of the site. */

.pvuv-consent {
  position: fixed;
  z-index: 1000;
  left: 12px;
  right: 12px;
  bottom: 12px;
  max-width: 420px;
  margin-left: auto;
  padding: 16px;
  border: 1px solid var(--border, #e2e2e2);
  border-radius: 16px;
  background: var(--bg, #ffffff);
  color: var(--text, #16181d);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

.pvuv-consent-text {
  margin: 0;
}

.pvuv-consent-legal {
  margin: 6px 0 0;
  font-size: 13px;
}

.pvuv-consent-legal a {
  color: var(--accent, #2f6fed);
  text-decoration: underline;
}

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

.pvuv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}

.pvuv-btn-primary {
  background: var(--text, #16181d);
  border-color: var(--text, #16181d);
  color: var(--bg, #ffffff);
}

.pvuv-btn-primary:hover {
  opacity: 0.85;
}

.pvuv-btn-outline {
  background: transparent;
  border-color: var(--border, #d0d0d0);
  color: var(--text, #16181d);
}

.pvuv-btn-outline:hover {
  background: rgba(127, 127, 127, 0.12);
}

.pvuv-settings {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.pvuv-settings-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted, #6b7280);
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}

.pvuv-settings-link:hover {
  color: var(--text, #16181d);
}

.pvuv-settings-overlay {
  position: fixed;
  inset: 0;
  z-index: 1010;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.45);
}

.pvuv-settings-panel {
  width: 100%;
  max-width: 360px;
  padding: 20px;
  border: 1px solid var(--border, #e2e2e2);
  border-radius: 16px;
  background: var(--bg, #ffffff);
  color: var(--text, #16181d);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
  text-align: left;
}

.pvuv-settings-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.pvuv-settings-status {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--muted, #4b5563);
}

.pvuv-settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

@media (max-width: 480px) {
  .pvuv-consent {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 14px;
  }
}
