/* =========================================================
   PickleHeart — Community Request Form
   -----------------------------------------------------------------
   Component styles for the Community Owner page template.
   Scoped under `.community-request` — does not affect header/footer.

   Buttons, cards, inputs, and the eyebrow label are the shared
   `.pkl-*` components from pickleheart-components.css (loaded as a
   dependency, see community_assets_loader() in functions.php); this
   file only carries what's genuinely specific to this page's layout.
   ========================================================= */

.community-request {
  font-family: var(--font-body);
  color: var(--text-neutral-strong);
  background: var(--background-neutral);
  line-height: 1.535;
  text-align: left;
}
.community-request *,
.community-request *::before,
.community-request *::after { box-sizing: border-box; }
.community-request a { text-decoration: none; color: inherit; }
/* ...but not the buttons: color:inherit above was overriding .pkl-btn's
   own white, leaving "Sign Up" black on the navy fill. */
.community-request a.pkl-btn,
.community-request a.btn { color: var(--text-on-primary, #fff); }

.community-request .wrap {
  width: min(720px, 100% - 48px);
  margin-inline: auto;
  padding-inline: 22px;
}

.community-request .hero { padding: 60px 0 20px; text-align: center; }
.community-request .hero-title {
  margin-top: 16px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  font-weight: 700;
}
.community-request .hero-lead {
  margin-top: 16px;
  font-size: 16px;
  color: var(--text-neutral-weak);
  max-width: 560px;
  margin-inline: auto;
}
.community-request .hero-lead p { margin: 0; }

.community-request .join { padding: 20px 0 70px; }

/* Layout only — visual style (background, radius, shadow, padding)
   comes from the shared .pkl-card/.pkl-card--white classes on the
   markup itself. */
.community-request .form-card {
  max-width: 460px;
  margin-inline: auto;
}

.community-request label.lbl {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-neutral-weak);
  margin-bottom: 7px;
}
.community-request .pkl-input[readonly] {
  background: var(--pkl-black-06);
  color: var(--text-neutral-weak);
}
/* Navy-tinted focus ring — this page's CTA context is navy, not the
   shared .pkl-input's brand-coral ring. */
.community-request .pkl-input:focus {
  border-color: var(--foreground-primary);
  box-shadow: var(--shadow-focus-primary);
}

.community-request .form-lead {
  font-size: 15px;
  color: var(--text-neutral-weak);
  text-align: center;
  margin: 0 0 16px;
}
.community-request .form-login-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.community-request .form-login-link {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--foreground-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.community-request .form-insider-access {
  text-align: center;
}
.community-request .community-owner-note {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--pkl-black-50);
}
.community-request .community-owner-error {
  background: var(--background-danger-weak);
  color: var(--text-danger-strong);
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 14px;
  text-align: center;
}
