/* ===========================================================================
   iVenza Privacy Choices page (/privacy-choices/) - the store-facing
   "Privacy Choices URL" and Google Play account-deletion URL.

   Brand tokens come from ../styles.css; the form mirrors /security/security.css
   so the two public forms look and behave identically.
   =========================================================================== */

/* ── Quick actions ──────────────────────────────────────────────────────── */
.pc-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 28px 0 18px;
}

/* `.legal a` sets an underline site-wide and outranks a single class, so the
   card link is de-underlined with two classes to win on specificity. */
.legal .pc-action,
.pc-action {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.pc-action:hover { border-color: var(--red); transform: translateY(-1px); }
.pc-action:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.pc-action__title { font-weight: 600; font-size: 1.02rem; }
.pc-action__body { color: var(--text-2); font-size: 0.94rem; line-height: 1.5; }

.pc-inapp { font-size: 0.94rem; }

@media (max-width: 640px) {
  .pc-actions { grid-template-columns: 1fr; }
}

/* ── Live analytics opt-out switch ──────────────────────────────────────── */
.pc-toggle {
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  margin: 16px 0;
}

.pc-toggle__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.96rem;
}
.pc-toggle__row input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--red);
  flex: none;
  cursor: pointer;
}
.pc-toggle__row input:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.pc-toggle__hint {
  display: block;
  color: var(--text-2);
  font-size: 0.88rem;
  margin-top: 4px;
}

/* ── Category list ──────────────────────────────────────────────────────── */
.pc-cats li { margin-bottom: 4px; }

/* ── Request form (mirrors .vdp-form on /security/) ─────────────────────── */
.pc-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 24px;
}

.pc-form__label {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pc-form__input {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  width: 100%;
  box-sizing: border-box;
}
.pc-form__input:focus { outline: 2px solid var(--red); outline-offset: 1px; }
textarea.pc-form__input { resize: vertical; min-height: 110px; }
select.pc-form__input { appearance: none; cursor: pointer; }

/* Honeypot: visually removed, still in the DOM for bots. */
.pc-form__hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.pc-form__hint { color: var(--text-2); font-size: 13px; margin-top: -4px; }
.pc-form__error { color: #f87171; font-size: 14px; }
.pc-form__cta { align-self: flex-start; }

.pc-form__done {
  margin-top: 16px;
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
