/* ==========================================================================
   INDIKATOR NASIONAL MUTU (INM & IMP-RS) - RS ISLAM WONOSOBO
   Extracted from app/Views/frontend/mutu.php (Stage 3.4D.4)
   ========================================================================== */

/* Color Palette & Foundations */
:root {
  --rsi-forest: #174C3C;
  --rsi-teal: #0F766E;
  --rsi-gold: #B45309;
}

.text-rsi-forest {
  color: var(--rsi-forest) !important;
}

.text-caption {
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  font-weight: 800;
}

.mutu-page-wrapper {
  color: #334155;
  line-height: 1.6;
}

/* Rounded Cards */
.shadow-xs {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
}

/* Table Design */
.clinical-table {
  min-width: 840px;
}
.clinical-table thead tr {
  background: linear-gradient(135deg, #174C3C 0%, #0E3D2F 100%);
  border-bottom: 2.5px solid #C6A45A;
}
.clinical-table thead tr th {
  color:var(--rsi-forest);
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  letter-spacing: 0.06em;
  padding-top: 13px;
  padding-bottom: 13px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.clinical-table thead tr th:last-child {
  border-right: none;
}
.clinical-table tbody tr td {
  border-top: 1px solid #F1F5F9;
  vertical-align: middle;
}
.table-row-hover {
  transition: background-color 0.15s ease;
}
.table-row-hover:hover td {
  background-color: #F8FAFC !important;
}

/* Navigation Step Buttons */
.btn-nav-step {
  background-color: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #334155;
  font-weight: 600;
  border-radius: 9999px;
  padding: 6px 16px;
  font-size: 0.82rem;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.btn-nav-step:hover:not(:disabled) {
  background-color: #F8FAFC;
  border-color: #174C3C;
  color: #174C3C;
  box-shadow: 0 2px 6px rgba(23, 76, 60, 0.12);
}
.btn-nav-step:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.badge-counter {
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 9999px;
  padding: 6px 14px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Status Pills */
.status-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 9999px;
}
.status-pill--tercapai {
  background-color: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
}
.status-pill--rtl {
  background-color: #FFFBEB;
  color: #B45309;
  border: 1px solid #FDE68A;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 6px;
  display: inline-block;
}
.status-dot--tercapai { background-color: #10B981; }
.status-dot--rtl { background-color: #F59E0B; }

/* Legend Badges */
.legend-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 9999px;
  padding: 3px 10px;
}
.legend-color-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.legend-color-line {
  width: 14px;
  height: 0;
  display: inline-block;
}

/* Article Card */
.rincian-card {
  transition: box-shadow 0.2s ease;
}

/* Typography Tabular Figures */
.font-tabular {
  font-variant-numeric: tabular-nums;
}
