/* Admin dashboard. */

.cc-shell {
  max-width: 1180px;
}

/* Stat card grid */
.cc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.cc-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 14px;
}
.cc-card-warn {
  border-left: 3px solid #f59e0b;
}
.cc-card-alert {
  border-left: 3px solid #dc2626;
  background: #fef2f2;
}
.cc-card-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6b7280;
}
.cc-card-value {
  font-size: 28px;
  font-weight: 700;
  margin: 5px 0 3px;
  color: #1a1a1a;
}
.cc-card-sub {
  font-size: 12px;
  color: #9ca3af;
}
.cc-card-sub a {
  color: #2c5282;
  text-decoration: none;
}
.cc-card-sub a:hover { text-decoration: underline; }

/* Admin-owned WhatsApp numbers */
.cc-my-whatsapp {
  background: #fff;
  border: 1px solid #dbe5ec;
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.06);
  margin-bottom: 16px;
  padding: 16px 18px;
}
.cc-section-header {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}
.cc-section-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}
.cc-section-header p {
  color: #6b7280;
  font-size: 13px;
  margin: 4px 0 0;
  max-width: 760px;
}
.cc-muted {
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
}
.cc-my-account-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 12px;
}
.cc-my-account-card {
  background: #fbfdfe;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 14px;
}
.cc-my-account-card header {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}
.cc-my-account-card h3 {
  font-size: 15px;
  margin: 0;
}
.cc-my-account-card p {
  color: #4b5563;
  font-size: 13px;
  margin: 3px 0 0;
}
.cc-my-account-card .qr {
  width: 190px;
}
.cc-my-account-card .actions {
  margin-top: 2px;
}

/* Priority queue */
.cc-queue {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px 18px;
}
.cc-queue h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}
.cc-queue-hint {
  margin: 4px 0 16px;
  color: #6b7280;
  font-size: 12px;
}
.cc-queue-table-wrap {
  overflow-x: auto;
}
.cc-queue-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.cc-queue-table th {
  text-align: left;
  font-weight: 600;
  padding: 8px 10px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  color: #6b7280;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cc-queue-table td {
  padding: 10px 10px;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: top;
}
.cc-queue-table tr:hover td { background: #fafbfc; }
.cc-cell-title {
  font-weight: 500;
}
.cc-cell-detail {
  color: #4b5563;
  max-width: 480px;
}
.cc-queue-table a {
  color: #2c5282;
  text-decoration: none;
  font-weight: 500;
}
.cc-queue-table a:hover { text-decoration: underline; }
.cc-empty {
  text-align: center;
  padding: 24px !important;
  color: #9ca3af;
}

@media (max-width: 720px) {
  .cc-section-header {
    display: grid;
  }
}
