/* ============================================================
   VendorVerse for WooCommerce — Admin Stylesheet v2.0.0
   Developer: susheelhbti@gmail.com (Freelance & Project Basis)
   ============================================================ */

/* ── Dashboard stat cards ────────────────────────────────── */
.vv-admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.vv-admin-stat-card {
  background: #fff;
  border: 1px solid #dcdcde;
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
  box-shadow: 0 1px 6px rgba(0,0,0,.07);
  transition: transform .15s ease, box-shadow .15s ease;
}
.vv-admin-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.vv-admin-stat-card .dashicons { font-size: 32px; width: 32px; height: 32px; margin-bottom: 6px; }
.vv-admin-stat-value { font-size: 26px; font-weight: 700; line-height: 1.15; }
.vv-admin-stat-label { font-size: 12px; color: #646970; margin-top: 2px; }

/* ── Chart card ──────────────────────────────────────────── */
.vv-chart-card {
  background: #fff;
  border: 1px solid #dcdcde;
  border-radius: 10px;
  padding: 20px;
  max-width: 820px;
  margin-bottom: 24px;
  box-shadow: 0 1px 6px rgba(0,0,0,.07);
}
.vv-chart-card h3 { font-size: 14px; color: #1d2327; margin: 0 0 16px; }

/* ── Status badges ───────────────────────────────────────── */
.vv-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.vv-badge-pending  { background: #fff8e1; color: #7a5800; border: 1px solid #f0c040; }
.vv-badge-approved { background: #f0fdf4; color: #166534; border: 1px solid #86efac; }
.vv-badge-rejected { background: #fff1f2; color: #9f1239; border: 1px solid #fca5a5; }
.vv-badge-high     { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }
.vv-badge-medium   { background: #fff7ed; color: #9a3412; border: 1px solid #fdba74; }
.vv-badge-low      { background: #f0f9ff; color: #075985; border: 1px solid #7dd3fc; }

/* ── Admin tables ────────────────────────────────────────── */
.wp-list-table .column-vv_role,
.wp-list-table .column-vv_balance,
.wp-list-table .column-vv_orders,
.wp-list-table .column-vv_products { width: 100px; }

/* ── Notice bar ──────────────────────────────────────────── */
.vv-pending-notice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff8e1;
  color: #7a5800;
  border: 1px solid #f0c040;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  margin: 4px 0;
}

/* ── Developer hire box ──────────────────────────────────── */
.vv-hire-box {
  background: linear-gradient(135deg, #f0f8ff, #e8f4fd);
  border: 1px solid #b3d4fc;
  border-radius: 10px;
  padding: 16px 20px;
  max-width: 540px;
  margin-top: 24px;
  font-size: 13px;
}
.vv-hire-box strong { display: block; font-size: 14px; margin-bottom: 4px; }
.vv-hire-box a { color: #2271b1; font-weight: 600; }

/* ── Settings form ───────────────────────────────────────── */
.form-table th { width: 220px; }

/* ── Reports grid ────────────────────────────────────────── */
.vv-reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.vv-kpi-card {
  background: #fff;
  border: 1px solid #dcdcde;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 1px 6px rgba(0,0,0,.07);
}
.vv-kpi-value { font-size: 30px; font-weight: 700; }
.vv-kpi-label { font-size: 12px; color: #646970; margin-top: 2px; }

/* ── Plans table ─────────────────────────────────────────── */
.vv-plan-check { color: #00a32a; font-size: 16px; }
.vv-plan-dash  { color: #c3c4c7; }

/* ── Period filter buttons ───────────────────────────────── */
.vv-period-filters { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .vv-admin-stats { grid-template-columns: repeat(2, 1fr); }
  .vv-chart-card  { max-width: 100%; }
}
