/* The Ledger v1.0 — wpForo profile/edit-field icon overlap correction.
   Specific selectors deliberately override the theme's generic 10px input padding.
   No hiding icons and no changes to user data or WordPress forms. */
body #wpforo-wrap .wpf-field-wrap {
  position: relative;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
body #wpforo-wrap .wpf-field-wrap input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="file"]),
body #wpforo-wrap .wpf-field-wrap textarea,
body #wpforo-wrap .wpf-field-wrap select {
  box-sizing: border-box !important;
  min-width: 0 !important;
  max-width: 100% !important;
  padding-left: 40px !important;
  padding-inline-start: 40px !important;
  line-height: 1.5 !important;
}
body #wpforo-wrap .wpf-field-wrap input[type="password"] {
  padding-right: 42px !important;
  padding-inline-end: 42px !important;
}
body #wpforo-wrap .wpf-field-wrap .wpf-field-icon {
  position: absolute !important;
  left: 12px !important;
  top: 12px !important;
  margin: 0 !important;
  transform: none !important;
  line-height: 20px !important;
  width: 18px !important;
  text-align: center !important;
  z-index: 1;
  pointer-events: none;
  color: #aebbb0 !important;
}
/* Multi-line fields have a top-aligned icon; no vertically centered icon blocking text. */
body #wpforo-wrap .wpf-field-wrap textarea { min-height: 80px; }
/* Allow long email and social links to wrap rather than push the profile editor off-screen. */
body #wpforo-wrap .wpforo-profile-wrap .wpf-field,
body #wpforo-wrap .wpforo-profile-wrap .wpf-field-wrap,
body #wpforo-wrap .wpforo-profile-wrap .wpf-field-wrap > * {
  max-width: 100%;
}
@media (max-width: 720px) {
  body #wpforo-wrap .wpf-field-wrap input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  body #wpforo-wrap .wpf-field-wrap textarea,
  body #wpforo-wrap .wpf-field-wrap select {
    width: 100% !important;
  }
}

/* v1.1: The Ledger's native template renders actions inside .ledger-entry-actions.
   Spacing applies to actual interactive elements without hiding moderator controls. */
body #wpforo-wrap .ledger-entry-actions {
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:14px 18px !important;
}
body #wpforo-wrap .ledger-entry-actions .wpf-post-actions {
  display:flex !important;
  flex-wrap:wrap !important;
  justify-content:flex-end !important;
  align-items:center !important;
  gap:7px 9px !important;
  width:auto !important;
  float:none !important;
  margin:0 !important;
  padding:0 !important;
  min-width:0 !important;
}
/* The buttons returned by wpforo_post_buttons() differ among wpForo versions.
   Style links and interactive wrappers, not their common parent as one long link. */
body #wpforo-wrap .ledger-entry-actions .wpf-post-actions a,
body #wpforo-wrap .ledger-entry-actions .wpf-post-actions button,
body #wpforo-wrap .ledger-entry-actions .wpf-post-actions .wpf-action,
body #wpforo-wrap .ledger-entry-actions .wpf-post-actions [role="button"] {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  column-gap:7px !important;
  min-height:34px !important;
  font-size:12px !important;
  line-height:1.35 !important;
  letter-spacing:0 !important;
  white-space:nowrap !important;
  padding:7px 10px !important;
  margin:0 !important;
  border:1px solid #354c40 !important;
  border-radius:5px !important;
  background:#1c3028 !important;
  color:#dfd9c9 !important;
  text-decoration:none !important;
  box-shadow:none !important;
  text-indent:0 !important;
  float:none !important;
  width:auto !important;
  max-width:100% !important;
  box-sizing:border-box !important;
  position:relative;
}
body #wpforo-wrap .ledger-entry-actions .wpf-post-actions a:hover,
body #wpforo-wrap .ledger-entry-actions .wpf-post-actions button:hover,
body #wpforo-wrap .ledger-entry-actions .wpf-post-actions .wpf-action:hover {
  border-color:#c8aa70 !important;
  color:#f3d79f !important;
  background:#254236 !important;
}
body #wpforo-wrap .ledger-entry-actions .wpf-post-actions :is(i,svg,[class*="fa-"],.wpf-icon) {
  display:inline-block !important;
  flex:0 0 auto !important;
  margin-inline:0 !important;
  font-size:12px !important;
  line-height:1 !important;
  position:static !important;
  transform:none !important;
}
body #wpforo-wrap .ledger-entry-actions .wpf-post-actions :is(a,button,.wpf-action):focus-visible {
  outline:2px solid #d8b476 !important;
  outline-offset:2px !important;
}
@media(max-width:760px){
 body #wpforo-wrap .ledger-entry-actions .wpf-post-actions {justify-content:flex-start !important;}
 body #wpforo-wrap .ledger-entry-actions .wpf-post-actions a,
 body #wpforo-wrap .ledger-entry-actions .wpf-post-actions button,
 body #wpforo-wrap .ledger-entry-actions .wpf-post-actions .wpf-action {min-height:40px !important;}
}
/* Disclaimer is a restrained information strip, not a modal or consent banner. */
.ledger-financial-footer{max-width:1420px;margin:0 auto 24px;padding:14px 30px;border-top:1px solid #394d40;color:#abbdb0;background:#14251e;font:12px/1.6 Arial,Helvetica,sans-serif;}
.ledger-financial-footer strong{color:#f0e5cb;margin-right:8px;}
.ledger-financial-footer a,.ledger-finance-inline-notice a{color:#e5c282 !important;text-decoration:underline;text-underline-offset:3px;}
#wpforo-wrap .ledger-finance-inline-notice{padding:13px 18px;margin:0 0 28px;border-left:3px solid #c8aa70;background:#1a3329;color:#efe6cf;font:13px/1.6 Arial,Helvetica,sans-serif;}
@media(max-width:760px){.ledger-financial-footer{margin:0 18px 22px;padding:12px 14px;}}
