body {
  font-family: 'Poppins', sans-serif;
  background: #f4f6f8;
  font-size: 0.92rem;
}

.admin-header {
  background: #000;
  color: #fff;
  padding: 12px 0;
  margin-bottom: 24px;
}

.admin-header .brand {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
}

.admin-header .brand span {
  color: #06d20d;
  font-weight: 400;
}

.admin-header .container-fluid {
  flex-wrap: wrap;
  row-gap: 6px;
}

.admin-header .brand,
#logout {
  white-space: nowrap;
}

@media (max-width: 420px) {
  .admin-header .brand {
    font-size: 1.05rem;
  }
}

.live-status {
  font-size: 0.85rem;
  color: #ccc;
}

.live-status::before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border-radius: 50%;
  background: #999;
}

.live-status.online::before {
  background: #06d20d;
  box-shadow: 0 0 0 3px rgba(6, 210, 13, 0.25);
}

.login-card {
  max-width: 380px;
  margin: 60px auto;
  padding: 32px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.login-card h1 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.stat {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  border-left: 5px solid #000;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.stat .value {
  display: block;
  font-size: 1.8rem;
  font-weight: 600;
}

.stat .label {
  color: #666;
}

.stat.received {
  border-color: #6c757d;
}

.stat.scheduled {
  border-color: #f0ad4e;
}

.stat.collected {
  border-color: #17a2b8;
}

.stat.delivered {
  border-color: #28a745;
}

.category-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-chip {
  background: #eef7f0;
  border-radius: 999px;
  padding: 4px 14px;
}

.category-chip strong {
  margin-left: 6px;
}

.status-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  white-space: nowrap;
  background: #e9ecef;
}

.status-badge.scheduled {
  background: #fff3cd;
}

.status-badge.collected {
  background: #d1ecf1;
}

.status-badge.delivered {
  background: #d4edda;
}

td .phone,
td .notes {
  display: block;
  color: #666;
  font-size: 0.82rem;
}

td code {
  color: #000;
  font-weight: 600;
}

tr.flash {
  animation: flash 2s ease-out;
}

@keyframes flash {
  from {
    background: #fff3a8;
  }
  to {
    background: transparent;
  }
}
