/**
 * Fund4Founders — Component Utility Classes
 * css/components.css
 *
 * All repeated inline styles extracted into named classes.
 * Organised by category. Every value references a CSS variable
 * from :root (f4f-theme.css) so themes cascade automatically.
 *
 * DO NOT add hardcoded colors here — use var(--token) only.
 */

/* ═══════════════════════════════════════════════════════════
   TEXT COLOR UTILITIES
════════════════════════════════════════════════════════════ */
.txt-gold       { color: var(--gold); }
.txt-gold-link  { color: var(--gold); text-decoration: none; }
.txt-gold-sm    { color: var(--gold); font-size:14px; font-weight: 600; margin-top: 2px; }
.txt-gold-label { color: var(--gold); font-size: 14px; font-weight: 700; letter-spacing: 1px; }
.txt-gold-lg    { color: var(--gold); font-size: 18px; margin-bottom: 12px; }
.txt-gold-bold  { color: var(--gold); font-weight: 700; }
.txt-gold-cta   { display: inline-block; margin-top: 16px; font-size: 14px; color: var(--gold); }

/* WCAG 1.4.1 — links in running text must be distinguishable without relying on colour alone */
p a.txt-gold,
li a.txt-gold,
dd a.txt-gold {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.txt-blue       { color: var(--blue-bright); }
.txt-blue-bold  { color: var(--blue-bright); font-size: 14px; font-weight: 700; }
.txt-blue-icon  { color: var(--blue-bright); font-size: 48px; }

.txt-green      { color: var(--green); }
.txt-cyan       { color: var(--blue-bright); }
.txt-warning    { color: var(--warning); }
.txt-red        { color: var(--red); }
.txt-muted      { color: var(--muted); }

.txt-primary    { color: var(--text-primary); }
.txt-sec        { color: var(--text-sec); }
.txt-dim        { color: var(--text-dim); }

/* Role colours */
.txt-role-talent    { color: var(--role-talent, #9A75E8); }
.txt-role-talent-b  { color: var(--role-talent, #9B59B6); }
.txt-role-talent-lt { color: var(--role-talent, #A89EF5); }
.txt-role-customer  { color: var(--role-customer, #EC4899); }
.txt-role-consultant{ color: var(--role-consultant, #148F77); }

/* ═══════════════════════════════════════════════════════════
   TEXT SIZE + WEIGHT COMBINATIONS
════════════════════════════════════════════════════════════ */
.txt-11-dim   { font-size:14px; font-weight: 600; color: var(--text-dim); }
.txt-11-dim-mt{ font-size:14px; font-weight: 600; color: var(--text-dim); margin-top: 4px; }
.txt-11-dim-mb{ font-size:14px; font-weight: 600; color: var(--text-dim); display: block; margin-bottom: 4px; }
.txt-11-dim-c { font-size:14px; font-weight: 600; color: var(--text-dim); margin: 0; text-align: center; }
.txt-11-dim-mono { font-family: Arial, sans-serif; font-size:14px; font-weight: 600; color: var(--text-dim); }
.txt-11-dim-ml{ font-size:14px; font-weight: 600; color: var(--text-dim); margin-left: 10px; }

.txt-11-label { font-size:14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 6px; }
.txt-11-label-2{ font-size:14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-dim); }
.txt-11-label-gold { font-size:14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-dim); margin-top: 4px; letter-spacing: 2px; }

.txt-12-dim   { font-size: 14px; color: var(--text-dim); }
.txt-12-dim-mt{ font-size: 14px; color: var(--text-dim); margin-top: 3px; }
.txt-12-dim-mt2{ font-size: 14px; color: var(--text-dim); margin-top: 12px; }
.txt-12-sec   { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.txt-12-mono  { font-family: Arial, sans-serif; font-size: 14px; color: var(--text-dim); }
.txt-12-gold  { font-size: 14px; font-weight: 700; color: var(--gold); letter-spacing: 1px; }

.txt-13-sec   { font-size: 14px; color: var(--text-sec); }
.txt-13-sec-16{ font-size: 14px; color: var(--text-sec); line-height: 1.6; }
.txt-13-sec-17{ font-size: 14px; color: var(--text-sec); line-height: 1.7; }
.txt-13-sec-17m{ font-size: 14px; color: var(--text-sec); line-height: 1.7; margin: 0; }
.txt-13-sec-mb0{ font-size: 14px; color: var(--text-sec); line-height: 1.6; margin-bottom: 0; }
.txt-13-sec-mb{ font-size: 14px; color: var(--text-sec); line-height: 1.6; margin-bottom: 24px; }
.txt-13-dim   { font-size: 14px; color: var(--text-dim); }
.txt-13-dim-pt{ font-size: 14px; color: var(--text-dim); padding: 20px 0; }
.txt-13-dim-mt{ font-size: 14px; margin-top: 16px; color: var(--text-dim); }
.txt-13-dim-mt2{ font-size: 14px; color: var(--text-dim); margin-top: 12px; }
.txt-13-sec-600{ font-size: 14px; font-weight: 600; color: var(--text-sec); }
.txt-13-gold  { color: var(--gold); text-decoration: none; }
.txt-13-body  { font-size: 14px; color: var(--text); line-height: 1.7; }

.txt-14-dim   { font-size: 14px; font-weight: 400; color: var(--text-dim); }
.txt-14-sec   { font-size: 14px; color: var(--text-sec); line-height: 1.8; margin: 0 0 16px; }
.txt-14-sec-b { font-size: 14px; color: var(--surface-2); line-height: 1.8; margin: 0 0 24px; }
.txt-14-primary{ font-size: 14px; color: var(--surface-2); line-height: 1.8; margin: 0 0 16px; }

.txt-15-700   { font-size: 15px; font-weight: 700; color: var(--text-primary); }
.txt-18-dim   { font-size: 18px; color: var(--text-dim); }

.txt-20-700   { font-size: 20px; font-weight: 700; color: var(--text-primary); }
.txt-20-800   { font-size: 20px; font-weight: 800; color: var(--text-primary); margin-bottom: 4px; }

/* Barlow / heading variants */
.txt-barlow-22 { font-family: Arial, sans-serif; font-size: 22px; font-weight: 700; color: var(--white); }
.txt-barlow-26 { font-family: Arial, sans-serif; font-size: 26px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.txt-barlow-36 { font-family: Arial, sans-serif; font-size: 36px; color: var(--gold); font-weight: 700; margin-bottom: 8px; }
.txt-heading-sm{ font-size: 22px; font-weight: 800; color: var(--surface); margin: 0 0 24px; }
.txt-heading-xs{ font-size: 14px; font-weight: 800; color: var(--surface); margin: 0; }

/* Eyebrow / label */
.eyebrow-mono  { font-family: Arial, sans-serif; font-size:14px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--role-consultant, #148F77); }

/* Mono utilities */
.mono-10-dim-upper { font-family: Arial, sans-serif; font-size:14px; font-weight: 700; letter-spacing: 0.5px; padding: 6px 14px; border-radius: 4px; }
.mono-tag   { font-family: Arial, sans-serif; font-size:14px; font-weight: 700; letter-spacing: 0.5px; padding: 6px 14px; border-radius: 6px; }
.mono-dim   { font-family: Arial, sans-serif; font-size:14px; font-weight: 600; color: var(--text-dim); margin-bottom: 20px; }
.mono-sec   { font-family: Arial, sans-serif; font-size:14px; font-weight: 600; color: var(--text-sec); display: flex; gap: 8px; }
.mono-11    { font-family: Arial, sans-serif; font-size:14px; font-weight: 600; color: var(--text-dim); }
.mono-10-upper-l { text-align: left; padding: 10px 12px; color: var(--text-dim); font-size:14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.mono-10-upper-sm{ text-align: left; padding: 8px 10px; color: var(--text-dim); font-size:14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.mono-10-upper-s { text-align: left; padding: 8px 10px; font-family: Arial, sans-serif; font-size:14px; font-weight: 600; color: var(--text-dim); text-transform: uppercase; }
.tbl-col-hdr { padding: 10px; text-align: left; font-size:14px; color: var(--text-dim); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.tbl-std     { width: 100%; border-collapse: collapse; font-size: 14px; }

/* ═══════════════════════════════════════════════════════════
   BACKGROUND + BORDER SURFACE UTILITIES
════════════════════════════════════════════════════════════ */

/* Cards / panels */
.panel        { background: var(--surface-2); border: 1px solid var(--white-a07); border-radius: 14px; overflow: hidden; }
.panel-sm     { background: var(--surface-2); border: 1px solid var(--white-a10); border-radius: 8px; }
.panel-pad    { background: var(--surface-2); padding: 80px 0; }
.panel-p20    { background: var(--surface-2); border: 1px solid var(--white-a10); border-radius: 8px; padding: 8px 12px; color: var(--text-sec); }
.panel-p16    { background: var(--white-a02); border: 1px solid var(--white-a08); border-radius: 12px; padding: 20px 24px; display: flex; }
.panel-p8     { text-align: center; padding: 8px; background: var(--white-a03); border-radius: 8px; }
.panel-center { text-align: center; padding: 40px; color: var(--text-dim); }
.panel-center-lg { text-align: center; padding: 40px; color: var(--text-dim); font-size: 14px; }
.panel-center-red{ text-align: center; padding: 40px; color: var(--red); }
.panel-center-green{ color: var(--green); padding: 40px 20px; }
.panel-tc     { text-align: center; padding: 24px; transition: border-color 0.2s; }
.panel-tc-bg  { text-align: center; padding: 24px; background: var(--white-a02); border: 1px solid var(--border-soft); border-radius: 12px; }

/* Row divider */
.row-divider  { display: flex; align-items: center; gap: 10px; padding: 0 0 20px; border-bottom: 1px solid var(--gold-a15); margin-bottom: 8px; }
.row-div-top  { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.row-div-bot  { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.row-div-bb   { border-bottom: 1px solid var(--white-a08); }
.row-div-bb2  { border-bottom: 1px solid var(--white-a06); }

/* Tinted surface cards by color */
.card-blue    { background: var(--blue-a12); border: 1px solid var(--blue-a20); }
.card-blue-sm { margin-top: 12px; padding: 10px 12px; background: rgba(74,158,240,0.06); border: 1px solid var(--blue-a15); }
.card-blue-mt { background: rgba(74,158,240,0.05); border: 1px solid var(--blue-a15); margin-top: 12px; }
.card-green   { background: var(--green-a10); border: 1px solid var(--green-a25); color: var(--green); }
.card-green-sm{ background: rgba(72,199,142,0.06); border: 1px solid var(--green-a15); }
.card-purple  { background: var(--role-talent, rgba(154,117,232,0.10)); border: 1px solid var(--role-talent, rgba(154,117,232,0.25)); color: var(--role-talent, #9A75E8); }
.card-purple-a{ background: var(--role-talent, rgba(154,117,232,0.10)); border-color: var(--role-talent, rgba(154,117,232,0.25)); color: var(--role-talent, #9A75E8); }
.card-purple-sm{ background: rgba(154,117,232,0.06); border: 1px solid var(--role-talent, rgba(154,117,232,0.15)); }
.card-purple-mt{ margin-top: 12px; padding: 10px 12px; background: rgba(154,117,232,0.06); border-radius: 8px; font-size: 14px; }
.card-amber   { background: rgba(255,167,38,0.12); border: 1px solid rgba(255,167,38,0.25); }
.card-amber-sm{ background: rgba(255,167,38,0.06); border: 1px solid rgba(255,167,38,0.15); }
.card-pink    { background: rgba(236,72,153,0.06); border: 1px solid rgba(236,72,153,0.15); }
.card-gold    { background: var(--gold-a15); color: var(--gold); }
.card-grad    { background: linear-gradient(135deg, var(--bg) 0%, var(--surface-2) 100%); padding: 32px 36px 24px; }

/* White-bg modal/form sections */
.form-section       { background: var(--white); padding: 36px 36px 0; }
.form-section-body  { background: var(--white); padding: 0 36px 20px; }
.form-section-foot  { background: var(--white); padding: 0 36px 36px; }
.form-section-footer{ background: var(--surface-2); padding: 14px 36px; border-top: 1px solid var(--border); }

/* ═══════════════════════════════════════════════════════════
   BADGE / PILL / TAG UTILITIES
════════════════════════════════════════════════════════════ */
.badge-gold   { font-size:14px; font-weight: 700; letter-spacing: 0.5px; padding: 2px 8px; border-radius: 99px; background: var(--gold-a15); border: 1px solid var(--gold-a40); color: var(--gold); vertical-align: middle; }
.badge-blue   { background: linear-gradient(135deg, var(--blue), var(--blue-bright)); color: var(--bg); }
.badge-blue-w { background: linear-gradient(135deg, var(--blue), var(--blue-bright)); color: var(--white); }
.badge-cyan   { background: linear-gradient(135deg, var(--blue), var(--blue-bright)); color: var(--bg); }
/* Ensure btn + badge-blue hover stays white — overrides the generic a:hover gold rule */
a.badge-blue:hover,
.btn.badge-blue:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--blue-a25);
  text-decoration: none;
}
.badge-gold-grad { background: linear-gradient(135deg, var(--gold-dim), var(--gold)); color: var(--bg); }
.badge-warning{ background: linear-gradient(135deg, var(--warning), var(--warning)); color: var(--white); }
.badge-talent { background: linear-gradient(135deg, var(--role-talent), var(--role-talent, #9B59B6)); color: var(--white); }
.badge-inline { display: inline-block; font-size:14px; font-weight: 700; letter-spacing: 0.06em; color: var(--text-dim); background: var(--white-a07); border-radius: 4px; }

/* Role tag variants */
.tag-blue     { background: #4A9EF022; color: var(--blue-bright); }
.tag-gold     { background: #C9A84C22; color: var(--gold); }
.tag-consultant{ background: #148F7722; color: var(--role-consultant); }
.tag-talent   { background: #7D3C9822; color: var(--role-talent); }
.tag-red      { background: #C0392B22; color: var(--red); }
.tag-partner  { background: #1E5C3822; color: var(--role-partner, #1E5C38); }

/* Inline badge with border */
.tag-mono     { font-size:14px; font-weight: 600; font-family: Arial, sans-serif; color: var(--gold); background: var(--gold-a10); border: 1px solid var(--gold-a25); border-radius: 4px; }

/* ═══════════════════════════════════════════════════════════
   BORDER UTILITIES
════════════════════════════════════════════════════════════ */
.border-cyan  { color: var(--blue-bright); border-color: #2DC4C440; }
.border-blue  { color: var(--blue-bright); border-color: #7B9CD940; }
.border-blue2 { color: var(--blue-bright); border-color: #4A9EF040; }
.border-gold  { color: var(--gold); border-color: #C9A84C40; }
.border-warning{ color: var(--warning); border-color: #C0500A40; }
.border-talent{ color: var(--role-talent, #9B59B6); border-color: #9B59B640; }
.border-purple{ border-color: var(--role-talent, rgba(154,117,232,0.20)); }

/* ═══════════════════════════════════════════════════════════
   PROGRESS BAR FILL WIDTHS (common values)
════════════════════════════════════════════════════════════ */
.bar-85  { width: 85%;  background: var(--blue-bright); }
.bar-88  { width: 88%;  background: var(--blue-bright); }
.bar-95  { width: 95%;  background: var(--blue-bright); }
.bar-100 { width: 100%; background: var(--blue-bright); }

/* ═══════════════════════════════════════════════════════════
   ICON CIRCLE
════════════════════════════════════════════════════════════ */
.icon-circle      { width: 28px; height: 28px; border-radius: 50%; background: var(--green-a15); border: 1px solid var(--green-a30); display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.icon-circle-sm   { width: 36px; height: 36px; border-radius: 50%; background: var(--gold-a12); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.checkbox-gold    { width: 16px; height: 16px; accent-color: var(--gold); }

/* ═══════════════════════════════════════════════════════════
   FORM / INPUT UTILITIES
════════════════════════════════════════════════════════════ */
.btn-ghost-sm  { background: none; border: 1px solid var(--white-a15); color: var(--text-dim); border-radius: 8px; padding: 10px; cursor: pointer; font-family: inherit; }
.cursor-row    { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; color: var(--text-sec); }

/* ═══════════════════════════════════════════════════════════
   SECTION / LAYOUT UTILITIES
════════════════════════════════════════════════════════════ */
.section-bg   { background: var(--surface-2); padding: 80px 0; }
.grad-bg      { background: linear-gradient(135deg, var(--bg) 0%, var(--surface-2) 100%); padding: 32px 36px 24px; }
.sys-container{ font-family:Arial, sans-serif'Segoe UI', Helvetica, Arial, sans-serif; max-width: 1200px; }

/* ═══════════════════════════════════════════════════════════
   ADDITIONAL UTILITIES (Pass 2)
════════════════════════════════════════════════════════════ */
.txt-red-light  { color: var(--red); }
.txt-13-blue-hd { font-size: 14px; font-weight: 700; color: var(--blue-bright); margin-bottom: 8px; }
.txt-12-dim-15  { font-size: 14px; color: var(--text-dim); line-height: 1.5; }
.txt-12-dim-mt3 { margin: 3px 0 0; font-size: 14px; color: var(--text-dim); }
.txt-11-gold-mt { font-size:14px; font-weight: 600; color: var(--gold); margin-top: 2px; }
.txt-13-dim-mt4 { font-size: 14px; color: var(--text-dim); margin-top: 4px; }
.txt-11-label-3 { font-size:14px; font-weight: 600; color: var(--text-dim); margin-top: 4px; letter-spacing: 2px; text-transform: uppercase; }
.txt-heading-sm2{ font-size: 22px; font-weight: 800; color: var(--surface); margin: 0 0 24px; }
.txt-heading-xs2{ margin: 0; font-size: 14px; font-weight: 800; color: var(--surface); }
.txt-14-sec-b2  { font-size: 14px; color: var(--surface-2); line-height: 1.8; margin: 0 0 24px; }
.cursor-row-sec { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; color: var(--text-secondary); }
.card-info      { background: var(--surface-2); border: 1px solid var(--blue-a20); border-radius: 12px; padding: 18px 22px; }
.mono-10-upper-v{ text-align: left; padding: 10px 12px; color: var(--text-dim); font-size:14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.sys-font       { font-family:Arial, sans-serif'Segoe UI', Helvetica, Arial, sans-serif; max-width: 600px; }
