/*
 * Sober AF -- CRP inquiry form: plugin-specific styles.
 *
 * The shared `.saf-form` base (grid, input box-model, focus ring,
 * textarea, notices, `.saf-form .saf-btn`) now lives in the
 * `saf-public-form` handle (sober-af-design-system). This file keeps
 * ONLY the CRP form's own shape: the row wrapper, the class-based label
 * with req/optional markers, and the notice bottom margin. The
 * shortcode's register_assets() declares `saf-public-form` as a
 * dependency so the base always loads first.
 *
 * Scoped under `.saf-form` (memory: per-cpt-css-saf-btn-footer-leak).
 * Bump SAF_CRP_VERSION on every edit (LiteSpeed cache discipline).
 */

/* ----------------------------------------------------------------------
 * Row wrapper + label
 * -------------------------------------------------------------------- */

.saf-form__row {
  display: grid;
  gap: var(--saf-gap-2, 0.5rem);
}

.saf-form__label {
  font-weight: 700;
  font-size: var(--saf-text-sm, 0.875rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--saf-charcoal, #1c1710);
}

.saf-form__req {
  color: var(--saf-brick-red, #be2727);
  font-weight: 700;
  margin-left: 0.15em;
}

.saf-form__optional {
  font-weight: 400;
  color: var(--saf-fg-muted, #5a554e);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.85em;
  margin-left: 0.25em;
}

/* ----------------------------------------------------------------------
 * Notice: CRP spaces the notice from the form below it (the base notice
 * has no bottom margin).
 * -------------------------------------------------------------------- */

.saf-form__notice {
  margin-bottom: var(--saf-gap-4, 1.5rem);
}
