/* ==========================================================================
   Provider network dashboard - the statistics band under the directory on the
   hospitals page.
   ========================================================================== */

.provider-stats {
  padding: 2.4rem 0 3.4rem;
  background: #f3f5fa;
}

.provider-stats-head {
  max-width: 780px;
  margin: 0 auto 1.6rem;
  text-align: center;
}

.provider-stats-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.75rem;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  background: #e6f4ea;
  color: #1d6b38;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.provider-stats-head h2 {
  margin: 0 0 0.55rem;
  color: var(--primary-navy, #123524);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
}

.provider-stats-head p {
  margin: 0;
  color: #5b6b62;
  font-size: clamp(0.86rem, 1.4vw, 0.98rem);
  line-height: 1.6;
}

.provider-stats-status {
  margin: 0;
  text-align: center;
  color: #6b7c72;
  font-size: 0.86rem;
}

.provider-stats-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}

.provider-stats-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.1rem 1.15rem;
  background: #ffffff;
  border: 1px solid #e2e8e4;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(18, 53, 36, 0.07);
}

.provider-stats-card strong {
  color: #123524;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 800;
  line-height: 1.1;
}

.provider-stats-card span {
  color: #5b6b62;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
}

.provider-stats-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.provider-stats-panel {
  padding: 1.15rem 1.25rem 1.3rem;
  background: #ffffff;
  border: 1px solid #e2e8e4;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(18, 53, 36, 0.07);
}

.provider-stats-panel h3 {
  margin: 0 0 0.9rem;
  color: #123524;
  font-size: 0.95rem;
  font-weight: 800;
}

.provider-stats-bars {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.provider-stats-bar-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.3rem;
}

.provider-stats-bar-head span {
  color: #40514a;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
}

.provider-stats-bar-head strong {
  color: #123524;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.provider-stats-bar-track {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: #edf2ee;
  overflow: hidden;
}

.provider-stats-bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2e7d32, #66bb6a);
}

@media (max-width: 1000px) {
  .provider-stats-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .provider-stats-panels { grid-template-columns: 1fr; }
}

body[data-mobile="true"] .provider-stats { padding: 1.8rem 0 2.4rem; }
body[data-mobile="true"] .provider-stats-cards { gap: 0.6rem; }
body[data-mobile="true"] .provider-stats-card { padding: 0.85rem 0.9rem; border-radius: 13px; }
body[data-mobile="true"] .provider-stats-card strong { font-size: 1.3rem; }
body[data-mobile="true"] .provider-stats-card span { font-size: 0.7rem; }
body[data-mobile="true"] .provider-stats-panel { padding: 1rem; border-radius: 13px; }
