/* ==========================================================================
   WIDGET STATISTIK — statistik-widget.css
   CSS khusus widget statistik pengunjung
   ========================================================================== */

.pnbyw-stat-widget {
  background: #fff;
  border: .5px solid #e2e4e8;
  border-radius: 10px;
  overflow: hidden;
}

.pnbyw-stat-header {
  background: linear-gradient(135deg, #9a2109, #c0300f);
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pnbyw-stat-icon { display: flex; align-items: center; color: #fff; flex-shrink: 0; }

.pnbyw-stat-header h3.pnbyw-stat-title,
.pnbyw-stat-header .pnbyw-stat-title {
  font-size: 10px !important;
  font-weight: 700 !important;
  color: #fff !important;
  text-transform: uppercase !important;
  letter-spacing: .6px !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

.pnbyw-stat-total {
  font-size: 2.2rem;
  font-weight: 800;
  color: #9a2109;
  text-align: center;
  padding: 14px 14px 4px;
  line-height: 1;
  letter-spacing: -1px;
}

.pnbyw-stat-body { padding: 6px 14px 10px; }

.pnbyw-stat-list { list-style: none; padding: 0; margin: 0; }

.pnbyw-stat-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 0;
  border-bottom: 1px dashed #e2e4e8;
  font-size: 11px;
  color: #374151;
}

.pnbyw-stat-row:last-child { border-bottom: none; }

.pnbyw-stat-row-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  color: #9a2109;
  opacity: .8;
}

.pnbyw-stat-row-label { flex: 1; }

.pnbyw-stat-row-val {
  font-weight: 700;
  color: #1A1D23;
  font-size: 11.5px;
  text-align: right;
  min-width: 40px;
}

.pnbyw-stat-footer {
  background: #fafafa;
  border-top: 1px solid #e2e4e8;
  padding: 7px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 10px;
  color: #6b7280;
  text-align: center;
}
