/* Score card accent borders */
.score-card-success { border-left: 5px solid #198754; }
.score-card-primary { border-left: 5px solid #0d6efd; }
.score-card-warning { border-left: 5px solid #ffc107; }
.score-card-danger  { border-left: 5px solid #dc3545; }
.score-card-secondary { border-left: 5px solid #6c757d; }
.score-card-info    { border-left: 5px solid #0dcaf0; }

/* MRF path display */
.mrf-path {
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.8rem;
  word-break: break-all;
  color: #495057;
}

/* Large score display */
.score-xl {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
}

/* Finding block */
.finding-block {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 0.375rem;
  padding: 0.75rem 1rem;
}

/* Pre-formatted text with wrapping */
.pre-wrap {
  white-space: pre-wrap;
  word-break: break-all;
}

/* Compact table cells */
.table-compact td,
.table-compact th {
  padding: 0.3rem 0.5rem;
  font-size: 0.875rem;
}

/* Score badge sizing */
.badge.fs-5 {
  font-size: 1.1rem !important;
}

/* Ensure accordion body is scrollable for large metric tables */
.accordion-body {
  max-height: 400px;
  overflow-y: auto;
}

/* Navbar form buttons */
.navbar form { margin-bottom: 0; }

/* Truncate long payer names in tables */
.payer-cell {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
