/* ============================================================
   HeartScore Calculator — Lean Body Mass Specific Override
   Filename: lbm.css (Coupled with global style.css)
   ============================================================ */

/* Hero Section Badge Element */
.lbm-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 16px;
}

/* Form Layout Override: Adjust padding because LBM uses right-side text indicators instead of left icons */
.calc-card .calc-input {
  padding-left: 14px;
  padding-right: 42px;
}

/* Input Measurement Unit Tags (kg, cm, lbs, in) pinned to the right */
.input-group-text {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--slate-400);
  font-weight: 600;
  pointer-events: none;
}

/* Dynamic Engine Output Handling (Hidden by default, reveals on execute) */
.result-display-area {
  display: none;
  margin-top: 24px;
  border-top: 2px dashed var(--slate-200);
  padding-top: 20px;
}

/* Premium Gradient Display Panel for Main Score */
.lbm-output-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 22px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.lbm-output-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-400);
}

.lbm-output-val {
  font-family: 'Lexend', sans-serif;
  font-size: 34px;
  font-weight: 800;
  margin: 6px 0;
  color: var(--white);
}

/* Sub-Metrics Layout Distribution Grid */
.metrics-panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.metric-sub-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  padding: 14px 12px;
  border-radius: 10px;
  text-align: center;
}

.metric-sub-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--slate-500);
  font-weight: 500;
}

.metric-sub-val {
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 4px;
}

/* Clinical Callout Infobox Matrix for Peptide/Protein Data */
.protein-alert-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 14px;
  margin-top: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #1e40af;
  line-height: 1.6;
}

.protein-alert-box strong {
  color: #1d4ed8;
  font-family: 'Lexend', sans-serif;
}

/* Contextual Cross-Reference Tables styling inside Content sections */
.abg-ref-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--slate-200);
}

.abg-ref-table th, .abg-ref-table td {
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  text-align: left;
}

.abg-ref-table th {
  background: var(--navy);
  color: var(--white);
  font-family: 'Lexend', sans-serif;
  font-weight: 600;
}

.abg-ref-table td {
  color: var(--slate-600);
  border-bottom: 1px solid var(--slate-100);
  background: var(--white);
}

.abg-ref-table tbody tr:nth-child(even) td {
  background: var(--slate-50);
}

.abg-ref-table tbody tr:last-child td {
  border-bottom: none;
}

/* Editorial Segment Callouts */
.highlight-box-tdee {
  background: var(--slate-50);
  border-left: 4px solid var(--navy);
  padding: 16px;
  border-radius: 0 12px 12px 0;
  margin: 20px 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate-700);
}