/* =============================================
   THREADCRAFT — ADMIN DASHBOARD SPECIFIC CSS
   ============================================= */

/* ── Panels ── */
.dash-panel { display: none; animation: fadeSlideUp 0.35s ease; }
.dash-panel.active { display: block; }

/* ── Admin sidebar accent ── */
.sidebar .sf-avatar { background: linear-gradient(135deg, #d94f4f, var(--accent)); }

/* ── Chart legend ── */
.chart-legend {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
}

/* ── Queue stats ── */
.queue-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.84rem;
}
.queue-stat:last-of-type { border-bottom: none; }
.qs-label { color: var(--text-muted); font-weight: 500; }
.qs-val {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
}
.qs-val.accent  { color: var(--accent); }
.qs-val.success { color: var(--success); }
.qs-val.info    { color: var(--info); }
.qs-val.warn    { color: var(--warning); }

/* ── Admin proof list (overview) ── */
.admin-proof-list { display: flex; flex-direction: column; gap: 10px; }
.admin-proof-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-off);
  transition: border-color var(--transition);
}
.admin-proof-item:hover { border-color: var(--accent); }
.ap-img {
  width: 52px;
  height: 40px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--border);
}
.ap-img img { width: 100%; height: 100%; object-fit: cover; }
.ap-info { flex: 1; min-width: 0; }
.ap-name  { font-size: 0.8rem; font-weight: 700; color: var(--text-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-order { font-size: 0.68rem; color: var(--text-muted); }
.ap-actions { display: flex; gap: 5px; flex-shrink: 0; }

/* ── Proof admin card ── */
.proof-admin-card .proof-admin-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.proof-admin-card .proof-admin-info strong {
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 800;
}
.proof-detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.proof-detail-row:last-of-type { border-bottom: none; }
.proof-detail-row span:last-child { font-weight: 600; color: var(--text-dark); }

/* ── Filter pills ── */
.filter-pill {
  padding: 6px 14px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.filter-pill:hover { border-color: var(--accent); color: var(--accent); }
.filter-pill.active { background: var(--accent); color: white; border-color: var(--accent); }

/* ── Logo customer row ── */
.logo-customer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* ── Success btn ── */
.btn-success {
  background: rgba(34,197,94,0.12);
  color: var(--success);
  border-color: transparent;
}
.btn-success:hover { background: rgba(34,197,94,0.22); }

/* ── Dropdown menu (reuse from user) ── */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 180px;
  z-index: 300;
  display: none;
  overflow: hidden;
}
.dropdown-menu.open { display: block; animation: fadeSlideUp 0.2s ease; }
.dropdown-menu a, .dropdown-menu button {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px;
  font-size: 0.82rem; font-weight: 500; color: var(--text-dark); width: 100%;
  text-align: left; transition: background var(--transition); background: none; border: none; cursor: pointer;
}
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--bg-off); color: var(--accent); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .queue-stat { font-size: 0.78rem; }
}
@media (max-width: 640px) {
  .chart-legend { flex-direction: column; gap: 4px; }
  .ap-name { font-size: 0.74rem; }
}
