/* ===== PHASE 7: Admin Dashboard, Artist Dashboard, Tips, AI Detection ===== */

/* ══════════════════════════════════════════════════════════════════
   SHARED COMPONENTS
   ══════════════════════════════════════════════════════════════════ */

.p7-input {
  width: 100%;
  padding: 10px 14px;
  background: rgba(240,240,245,0.04);
  border: 1px solid rgba(240,240,245,0.1);
  border-radius: 8px;
  color: var(--color-text, #f0f0f5);
  font-size: 0.9rem;
  transition: border-color 0.2s;
  box-sizing: border-box;
  margin-bottom: 10px;
}
.p7-input:focus {
  outline: none;
  border-color: #ff2d78;
}
.p7-textarea { resize: vertical; font-family: inherit; }

.p7-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: #ff2d78;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  width: 100%;
}
.p7-btn-primary:hover { background: #e6226a; }
.p7-btn-primary:active { transform: scale(0.97); }
.p7-btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.p7-btn-ghost {
  background: transparent;
  border: 1px solid rgba(240,240,245,0.1);
  color: var(--color-text, #f0f0f5);
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.2s;
}
.p7-btn-ghost:hover { background: rgba(240,240,245,0.05); }

.p7-btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 45, 120, 0.3);
  color: #ff2d78;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s;
}
.p7-btn-outline:hover {
  background: rgba(255, 45, 120, 0.1);
  border-color: #ff2d78;
}

.p7-btn-sm {
  padding: 5px 12px;
  font-size: 0.78rem;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid rgba(240,240,245,0.12);
  background: rgba(240,240,245,0.05);
  color: var(--color-text, #f0f0f5);
  font-weight: 500;
  transition: background 0.2s;
}
.p7-btn-sm:hover { background: rgba(240,240,245,0.1); }

.p7-link-btn {
  background: none;
  border: none;
  color: #ff2d78;
  cursor: pointer;
  text-decoration: underline;
  font-size: inherit;
}

.p7-muted { color: rgba(240,240,245,0.45); font-size: 0.85rem; }
.p7-text-green { color: #00e676; }
.p7-text-amber { color: #ffab00; }
.p7-text-red { color: #ff4444; }
.p7-text-center { text-align: center; }

.p7-error-msg {
  padding: 8px 12px;
  background: rgba(255, 68, 68, 0.1);
  border: 1px solid rgba(255, 68, 68, 0.2);
  border-radius: 6px;
  color: #ff6b6b;
  font-size: 0.85rem;
  margin: 8px 0;
}
.p7-success-msg {
  padding: 8px 12px;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.2);
  border-radius: 6px;
  color: #00e676;
  font-size: 0.85rem;
  margin: 8px 0;
}

.p7-loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 16px;
  color: rgba(240,240,245,0.45);
}
.p7-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(255, 45, 120, 0.15);
  border-top-color: #ff2d78;
  border-radius: 50%;
  animation: p7spin 0.8s linear infinite;
}
@keyframes p7spin { to { transform: rotate(360deg); } }

.p7-icon-refresh { font-size: 1.1rem; display: inline-block; transition: transform 0.3s; }
.p7-btn-ghost:hover .p7-icon-refresh { transform: rotate(180deg); }

.p7-label { color: rgba(240,240,245,0.5); font-size: 0.82rem; margin-right: 4px; }


/* ══════════════════════════════════════════════════════════════════
   ADMIN LOGIN
   ══════════════════════════════════════════════════════════════════ */

.p7-admin-login {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.p7-admin-login-card {
  max-width: 380px;
  width: 100%;
  background: var(--color-surface, rgba(240,240,245,0.03));
  border: 1px solid rgba(240,240,245,0.08);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
}
.p7-admin-login-card h2 { margin: 12px 0 8px; font-size: 1.4rem; }
.p7-admin-login-card p { color: rgba(240,240,245,0.5); margin-bottom: 24px; font-size: 0.9rem; }
.p7-admin-icon { font-size: 2.5rem; }


/* ══════════════════════════════════════════════════════════════════
   ADMIN DASHBOARD
   ══════════════════════════════════════════════════════════════════ */

.p7-admin-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}
.p7-admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.p7-admin-title h1 { font-size: 1.6rem; margin: 0; }
.p7-admin-badge {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(255, 45, 120, 0.12);
  color: #ff2d78;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 4px;
}
.p7-admin-actions { display: flex; gap: 8px; }

/* ── Tabs ──────────────────────────────────────────────────────── */
.p7-admin-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid rgba(240,240,245,0.08);
  margin-bottom: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.p7-tab {
  padding: 10px 18px;
  background: none;
  border: none;
  color: rgba(240,240,245,0.45);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
}
.p7-tab:hover { color: rgba(240,240,245,0.7); }
.p7-tab.active {
  color: #ff2d78;
  border-bottom-color: #ff2d78;
}

.p7-admin-content { min-height: 300px; }

/* ── Stats Grid ────────────────────────────────────────────────── */
.p7-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.p7-stat-card {
  background: var(--color-surface, rgba(240,240,245,0.03));
  border: 1px solid rgba(240,240,245,0.06);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  transition: border-color 0.2s;
}
.p7-stat-card:hover { border-color: rgba(240,240,245,0.12); }
.p7-stat-value {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text, #f0f0f5);
}
.p7-stat-label {
  font-size: 0.75rem;
  color: rgba(240,240,245,0.45);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}
.p7-stat-pink .p7-stat-value { color: #ff2d78; }
.p7-stat-cyan .p7-stat-value { color: #00e5ff; }
.p7-stat-green .p7-stat-value { color: #00e676; }

/* ── Admin Panels ──────────────────────────────────────────────── */
.p7-admin-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
@media (max-width: 700px) { .p7-admin-row { grid-template-columns: 1fr; } }

.p7-admin-panel {
  background: var(--color-surface, rgba(240,240,245,0.03));
  border: 1px solid rgba(240,240,245,0.06);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}
.p7-admin-panel h3 {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 600;
}
.p7-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.p7-panel-header h3 { margin: 0; }

/* ── Region Bars ───────────────────────────────────────────────── */
.p7-region-bars { display: flex; flex-direction: column; gap: 8px; }
.p7-region-row { display: flex; align-items: center; gap: 10px; }
.p7-region-name { width: 100px; font-size: 0.82rem; color: rgba(240,240,245,0.7); flex-shrink: 0; }
.p7-region-bar-track { flex: 1; height: 6px; background: rgba(240,240,245,0.06); border-radius: 3px; overflow: hidden; }
.p7-region-bar-fill { height: 100%; background: linear-gradient(90deg, #ff2d78, #00e5ff); border-radius: 3px; transition: width 0.6s ease; }
.p7-region-count { font-size: 0.8rem; color: rgba(240,240,245,0.5); width: 35px; text-align: right; }

/* ── Queue Stats ───────────────────────────────────────────────── */
.p7-queue-stats { display: flex; flex-direction: column; gap: 10px; }
.p7-queue-item { display: flex; justify-content: space-between; align-items: center; }
.p7-q-label { font-size: 0.85rem; color: rgba(240,240,245,0.6); }
.p7-q-value { font-size: 1.1rem; font-weight: 600; }

/* ── Table ─────────────────────────────────────────────────────── */
.p7-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.p7-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.p7-table th {
  text-align: left;
  padding: 8px 10px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(240,240,245,0.4);
  border-bottom: 1px solid rgba(240,240,245,0.08);
  font-weight: 600;
}
.p7-table td {
  padding: 10px;
  border-bottom: 1px solid rgba(240,240,245,0.04);
  color: rgba(240,240,245,0.8);
}
.p7-table tr:hover td { background: rgba(240,240,245,0.02); }
.p7-clickable-row { cursor: pointer; }
.p7-clickable-row:hover td { background: rgba(255, 45, 120, 0.04); }

/* ── Upload List ───────────────────────────────────────────────── */
.p7-upload-list { display: flex; flex-direction: column; }
.p7-upload-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(240,240,245,0.04);
  font-size: 0.83rem;
  flex-wrap: wrap;
}
.p7-upload-name { font-weight: 500; color: var(--color-text, #f0f0f5); min-width: 100px; }
.p7-upload-file { color: rgba(240,240,245,0.5); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p7-upload-event { color: rgba(240,240,245,0.5); min-width: 100px; }
.p7-upload-time { color: rgba(240,240,245,0.35); font-size: 0.78rem; }
.p7-upload-status {
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: capitalize;
}
.p7-status-completed { background: rgba(0, 230, 118, 0.1); color: #00e676; }
.p7-status-processing, .p7-status-running { background: rgba(255, 171, 0, 0.1); color: #ffab00; }
.p7-status-pending { background: rgba(240,240,245,0.06); color: rgba(240,240,245,0.4); }
.p7-status-failed { background: rgba(255, 68, 68, 0.1); color: #ff4444; }

/* ── Status Chips ──────────────────────────────────────────────── */
.p7-status-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.p7-chip {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
}
.p7-chip-active, .p7-chip-live { background: rgba(0, 230, 118, 0.1); color: #00e676; }
.p7-chip-pending { background: rgba(255, 171, 0, 0.1); color: #ffab00; }
.p7-chip-approved, .p7-chip-completed { background: rgba(0, 230, 118, 0.1); color: #00e676; }
.p7-chip-denied, .p7-chip-cancelled { background: rgba(255, 68, 68, 0.1); color: #ff4444; }
.p7-chip-draft, .p7-chip-inactive { background: rgba(240,240,245,0.06); color: rgba(240,240,245,0.45); }
.p7-chip-upcoming { background: rgba(0, 229, 255, 0.1); color: #00e5ff; }

/* ── Claims ────────────────────────────────────────────────────── */
.p7-claims-list { display: flex; flex-direction: column; gap: 14px; }
.p7-claim-card {
  background: rgba(240,240,245,0.02);
  border: 1px solid rgba(240,240,245,0.06);
  border-radius: 10px;
  padding: 16px;
  transition: opacity 0.3s;
}
.p7-claim-card.p7-claim-approved { opacity: 0.6; }
.p7-claim-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.p7-claim-details { font-size: 0.85rem; }
.p7-claim-details p { margin: 4px 0; color: rgba(240,240,245,0.7); }
.p7-claim-details code { background: rgba(240,240,245,0.06); padding: 2px 6px; border-radius: 4px; font-size: 0.82rem; }
.p7-claim-actions { display: flex; gap: 8px; margin-top: 12px; }


/* ══════════════════════════════════════════════════════════════════
   SYSTEM HEALTH
   ══════════════════════════════════════════════════════════════════ */

.p7-health-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.p7-health-card {
  background: var(--color-surface, rgba(240,240,245,0.03));
  border: 1px solid rgba(240,240,245,0.06);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.p7-health-card.p7-health-alert { border-color: rgba(255, 68, 68, 0.3); }
.p7-health-icon { font-size: 1.5rem; }
.p7-health-value { font-size: 1.5rem; font-weight: 700; }
.p7-health-label { font-size: 0.78rem; color: rgba(240,240,245,0.45); text-transform: uppercase; letter-spacing: 0.04em; }
.p7-health-detail { font-size: 0.8rem; color: rgba(240,240,245,0.5); }
.p7-health-bar { height: 6px; background: rgba(240,240,245,0.06); border-radius: 3px; overflow: hidden; }
.p7-health-fill { height: 100%; background: #00e5ff; border-radius: 3px; transition: width 0.6s; }
.p7-health-fill.p7-fill-danger { background: #ff4444; }


/* ══════════════════════════════════════════════════════════════════
   ARTIST / VENUE DASHBOARD
   ══════════════════════════════════════════════════════════════════ */

.p7-artist-auth {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.p7-artist-auth-card {
  max-width: 380px;
  width: 100%;
  background: var(--color-surface, rgba(240,240,245,0.03));
  border: 1px solid rgba(240,240,245,0.08);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
}
.p7-artist-auth-card h2 { margin: 0 0 10px; }
.p7-artist-auth-card p { color: rgba(240,240,245,0.5); margin-bottom: 24px; font-size: 0.9rem; }

.p7-artist-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}
.p7-artist-header { margin-bottom: 24px; }
.p7-artist-header h1 { font-size: 1.5rem; margin: 0 0 4px; }

.p7-artist-events { display: flex; flex-direction: column; gap: 14px; }

.p7-artist-event-card {
  background: var(--color-surface, rgba(240,240,245,0.03));
  border: 1px solid rgba(240,240,245,0.06);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  transition: border-color 0.2s;
}
.p7-artist-event-card:hover { border-color: rgba(255, 45, 120, 0.2); }

.p7-ae-info { flex: 1; min-width: 200px; }
.p7-ae-info h3 { margin: 0 0 4px; font-size: 1.05rem; }
.p7-ae-info h3 a { color: var(--color-text, #f0f0f5); text-decoration: none; }
.p7-ae-info h3 a:hover { color: #ff2d78; }
.p7-ae-meta { font-size: 0.82rem; color: rgba(240,240,245,0.45); margin: 0; }

.p7-ae-stats { display: flex; gap: 20px; }
.p7-ae-stat { text-align: center; }
.p7-ae-num { display: block; font-size: 1.2rem; font-weight: 700; color: var(--color-text, #f0f0f5); }
.p7-ae-label { font-size: 0.72rem; color: rgba(240,240,245,0.4); text-transform: uppercase; letter-spacing: 0.04em; }

.p7-ae-actions { display: flex; gap: 8px; }

.p7-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: rgba(240,240,245,0.5);
}
.p7-empty-icon { font-size: 2.5rem; margin-bottom: 12px; }
.p7-empty-state h3 { color: var(--color-text, #f0f0f5); margin: 0 0 8px; }
.p7-empty-state p { font-size: 0.9rem; }
.p7-error-state {
  text-align: center;
  padding: 40px 20px;
  color: rgba(240,240,245,0.5);
}


/* ══════════════════════════════════════════════════════════════════
   CLAIM WIDGET & MODAL
   ══════════════════════════════════════════════════════════════════ */

.p7-claimed-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.2);
  border-radius: 20px;
  color: #00e676;
  font-size: 0.82rem;
  font-weight: 600;
}
.p7-claimed-icon { font-size: 0.9rem; }

.p7-btn-claim {
  font-size: 0.85rem;
  padding: 8px 18px;
}

/* ── Modal ─────────────────────────────────────────────────────── */
.p7-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: p7fadeIn 0.2s ease;
}
@keyframes p7fadeIn { from { opacity: 0; } to { opacity: 1; } }

.p7-modal {
  background: #12121a;
  border: 1px solid rgba(240,240,245,0.1);
  border-radius: 16px;
  max-width: 440px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: p7slideUp 0.25s ease;
}
@keyframes p7slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.p7-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px 0;
}
.p7-modal-header h2 { margin: 0; font-size: 1.2rem; }
.p7-modal-close {
  background: none;
  border: none;
  color: rgba(240,240,245,0.45);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: color 0.2s;
}
.p7-modal-close:hover { color: var(--color-text, #f0f0f5); }

.p7-modal-body { padding: 16px 24px 24px; }
.p7-modal-body p { color: rgba(240,240,245,0.6); font-size: 0.88rem; margin: 0 0 16px; }


/* ══════════════════════════════════════════════════════════════════
   TIP MODAL & LEADERBOARD
   ══════════════════════════════════════════════════════════════════ */

.p7-tip-modal { max-width: 400px; }
.p7-tip-desc { margin-bottom: 16px; }

.p7-tip-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.p7-tip-amount {
  padding: 12px 0;
  background: rgba(240,240,245,0.04);
  border: 1px solid rgba(240,240,245,0.1);
  border-radius: 10px;
  color: var(--color-text, #f0f0f5);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.p7-tip-amount:hover { border-color: rgba(255, 45, 120, 0.4); }
.p7-tip-amount.p7-tip-selected {
  background: rgba(255, 45, 120, 0.12);
  border-color: #ff2d78;
  color: #ff2d78;
}

.p7-tip-custom {
  margin-bottom: 12px;
}
.p7-tip-custom label { font-size: 0.82rem; color: rgba(240,240,245,0.5); display: block; margin-bottom: 4px; }
.p7-tip-input-wrap { position: relative; }
.p7-tip-dollar {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(240,240,245,0.4);
  font-weight: 600;
}
.p7-tip-input { padding-left: 28px; margin-bottom: 0; }

.p7-btn-tip { margin-top: 8px; }

.p7-tip-note {
  font-size: 0.75rem;
  color: rgba(240,240,245,0.3);
  text-align: center;
  margin-top: 12px;
}

/* ── Tip Leaderboard ───────────────────────────────────────────── */
.p7-tip-leaderboard {
  background: var(--color-surface, rgba(240,240,245,0.03));
  border: 1px solid rgba(240,240,245,0.06);
  border-radius: 12px;
  padding: 16px;
  margin-top: 16px;
}
.p7-tip-lb-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.p7-tip-lb-header h3 { margin: 0; font-size: 0.95rem; }
.p7-tip-lb-total { font-size: 0.85rem; color: #00e676; font-weight: 600; }
.p7-tip-lb-list { display: flex; flex-direction: column; gap: 6px; }
.p7-tip-lb-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(240,240,245,0.04);
}
.p7-tip-lb-rank { font-weight: 700; color: #ff2d78; width: 24px; text-align: center; font-size: 0.85rem; }
.p7-tip-lb-name { flex: 1; font-size: 0.88rem; }
.p7-tip-lb-amount { font-weight: 600; color: #00e676; font-size: 0.88rem; }
.p7-tip-lb-count { font-size: 0.78rem; color: rgba(240,240,245,0.35); }

.p7-tip-promo {
  background: rgba(255, 45, 120, 0.05);
  border: 1px solid rgba(255, 45, 120, 0.12);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(240,240,245,0.6);
  margin-top: 12px;
}
.p7-tip-promo strong { color: #ff2d78; }


/* ══════════════════════════════════════════════════════════════════
   AI INSIGHTS
   ══════════════════════════════════════════════════════════════════ */

.p7-ai-insights { margin-top: 20px; }
.p7-ai-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.p7-ai-header h3 { margin: 0; font-size: 1.05rem; }
.p7-ai-badge {
  padding: 3px 10px;
  background: rgba(0, 229, 255, 0.1);
  border-radius: 20px;
  color: #00e5ff;
  font-size: 0.72rem;
  font-weight: 600;
}

.p7-ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.p7-ai-card {
  background: rgba(240,240,245,0.03);
  border: 1px solid rgba(240,240,245,0.06);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.p7-ai-card-icon { font-size: 1.5rem; flex-shrink: 0; }
.p7-ai-card-value { font-size: 1.15rem; font-weight: 700; }
.p7-ai-card-label { font-size: 0.75rem; color: rgba(240,240,245,0.45); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 2px; }
.p7-ai-card-detail { font-size: 0.78rem; color: rgba(240,240,245,0.4); margin-top: 3px; }

.p7-ai-dupes {
  background: rgba(255, 171, 0, 0.04);
  border: 1px solid rgba(255, 171, 0, 0.12);
  border-radius: 10px;
  padding: 16px;
}
.p7-ai-dupes h4 { margin: 0 0 6px; font-size: 0.95rem; color: #ffab00; }
.p7-dupe-group {
  display: flex;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 171, 0, 0.06);
  font-size: 0.85rem;
}
.p7-dupe-sim { color: #ffab00; font-weight: 600; }
.p7-dupe-ids { color: rgba(240,240,245,0.5); }


/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════ */

@media (max-width: 600px) {
  .p7-admin-wrap { padding: 20px 14px 40px; }
  .p7-admin-title h1 { font-size: 1.3rem; }
  .p7-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .p7-stat-value { font-size: 1.3rem; }
  .p7-admin-row { grid-template-columns: 1fr; }
  .p7-health-grid { grid-template-columns: repeat(2, 1fr); }
  .p7-ai-grid { grid-template-columns: 1fr; }
  .p7-artist-event-card { flex-direction: column; align-items: stretch; }
  .p7-ae-stats { justify-content: space-around; }
  .p7-ae-actions { justify-content: center; }
  .p7-tip-amounts { grid-template-columns: repeat(2, 1fr); }
  .p7-upload-row { gap: 6px; }
}
