/* =====================
   Stats Bar
   ===================== */

.stats-bar {
  border-top: 1px solid var(--border-dim);
  border-bottom: 1px solid var(--border-dim);
  padding: 36px 0;
  background: var(--bg);
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: border-color var(--transition), background var(--transition);
}

.stat-card:hover {
  border-color: var(--border);
  background: var(--bg-card2);
}

.stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.stat-info .stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-available {
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.3 !important;
}

.stat-card--available {
  border-color: rgba(57,211,83,0.2);
}

.stat-icon--pulse {
  background: var(--accent-dim);
  border-color: var(--border);
}

.pulse-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(57,211,83,0.5);
  display: block;
  animation: pulse-ring 1.6s ease-out infinite;
}

@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(57,211,83,0.5); }
  70%  { box-shadow: 0 0 0 10px rgba(57,211,83,0); }
  100% { box-shadow: 0 0 0 0 rgba(57,211,83,0); }
}

.stat-info .stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

@media (max-width: 800px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .stat-card { padding: 16px; gap: 12px; }
  .stat-icon { width: 36px; height: 36px; font-size: 0.9rem; }
  .stat-info .stat-num { font-size: 1.3rem; }
}
