/* Paper Boy Biz theme: affiliate-registration. Source: handoff css/pages/affiliate-registration.css
   Breakpoints (mobile-first, min-width): mobile < 768px, tablet 768-1023px,
   desktop >= 1024px. Tokens that change per breakpoint live in tokens.css.

   Shared template: these rules are identical for 1 other page(s)
   that use the same WordPress template:
     affiliate-login.html
   In the theme, enqueue ONE stylesheet per template (not per page) so the
   rules are maintained in one place.
   ========================================================================== */

/* ==========================================================================
   Pages: Affiliate Registration + Affiliate Login
   (affiliate-registration.html, affiliate-login.html → AffiliateWP shortcodes)
   Breakpoints: mobile < 768 · tablet 768–1023 · desktop >= 1024
   ========================================================================== */

.aff-auth-layout { display: grid; gap: var(--space-5); }
.aff-auth-side p { margin: 0; font-size: 0.9375rem; }
.aff-login { max-width: 480px; margin-inline: auto; }
.aff-login__alt { margin: var(--space-4) 0 0; text-align: center; font-size: 0.9375rem; }

@media (min-width: 1024px) {
  .aff-auth-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: var(--space-8); align-items: start; }
}

/* WordPress mapping (theme-only): the submit comes from AffiliateWP's captcha
   manager and cannot carry the hand-off button classes. */
.affwp-submit-row input[type="submit"], .affwp-submit-row button[type="submit"] { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-6); border: var(--border-width) solid var(--color-action-border); border-radius: var(--radius-sm); background: var(--color-action); color: var(--color-text); font-family: inherit; font-size: 1rem; font-weight: var(--fw-bold); cursor: pointer; }
.affwp-submit-row input[type="submit"]:hover, .affwp-submit-row button[type="submit"]:hover { filter: brightness(0.95); }
.affwp-errors { margin-bottom: var(--space-4); }
.affwp-errors .affwp-error { display: block; padding: var(--space-3) var(--space-4); border: var(--border-width) solid var(--color-error); border-radius: var(--radius-sm); background: var(--color-error-bg); font-size: 0.9375rem; }
