@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --ink: #0f172a;
  --ink-soft: #334155;
  --primary: #4f46e5;
  --primary-deep: #3730a3;
  --primary-light: #eef2ff;
  --emerald: #10b981;
  --emerald-deep: #047857;
  --emerald-light: #ecfdf5;
  --amber: #f59e0b;
  --amber-deep: #d97706;
  --amber-light: #fffbeb;
  --danger: #ef4444;
  --danger-deep: #b91c1c;
  --danger-light: #fef2f2;
  --paper: #f8fafc;
  --card: #ffffff;
  --line: #e2e8f0;
  --line-soft: #f1f5f9;
  --muted: #64748b;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
  --font-body: 'Cairo', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --font-display: 'Cairo', 'IBM Plex Sans Arabic', system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display { font-family: var(--font-display); line-height: 1.35; margin: 0 0 12px; font-weight: 700; color: #0f172a; }
.num { font-family: var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

a { color: var(--primary); text-decoration: none; transition: color 150ms ease; }
a:hover { color: var(--primary-deep); }
button, .btn { cursor: pointer; font-family: inherit; }

/* ---------- App shell ---------- */
.shell { display: flex; min-height: 100vh; }
.sidebar {
  width: 260px; flex-shrink: 0;
  background: linear-gradient(180deg, #0b1120 0%, #0f172a 60%, #080d1a 100%);
  color: #cbd5e1;
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 2px 0 16px rgba(0, 0, 0, 0.25);
  z-index: 30;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  padding: 22px 20px 18px;
  color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 21px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.brand .mark {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  background: linear-gradient(135deg, #6366f1 0%, #3b82f6 50%, #10b981 100%);
  display: grid; place-items: center; color: #fff;
  font-size: 20px; font-weight: 900; box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}
.brand .tagline { font-size: 11px; font-weight: 500; color: #94a3b8; display: block; margin-top: -2px; }

.nav-scroll {
  flex: 1; overflow-y: auto; overflow-x: hidden; padding: 12px 10px;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.15) transparent;
}
.nav-scroll::-webkit-scrollbar { width: 5px; }
.nav-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 10px; }

.nav-section-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: #64748b; padding: 14px 12px 6px; display: flex; align-items: center; gap: 6px;
}
.nav { display: flex; flex-direction: column; gap: 3px; }
.nav a {
  display: flex; align-items: center; gap: 11px;
  color: #94a3b8; text-decoration: none; font-size: 14px; font-weight: 600;
  padding: 9px 12px; border-radius: 9px;
  transition: all 140ms ease;
}
.nav a svg { width: 18px; height: 18px; flex-shrink: 0; }
.nav a:hover { background: rgba(255, 255, 255, 0.07); color: #f8fafc; }
.nav a.active {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.25) 0%, rgba(59, 130, 246, 0.15) 100%);
  color: #ffffff; font-weight: 700;
  border-inline-start: 3px solid #6366f1;
}

/* Colorful icon badge container */
.nav-ic {
  width: 28px; height: 28px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.nav-ic svg {
  width: 15px; height: 15px; stroke: #ffffff !important; color: #ffffff !important;
  opacity: 1 !important;
}
.nav a:hover .nav-ic {
  transform: scale(1.12);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.nav a.active .nav-ic {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4), 0 4px 12px rgba(0, 0, 0, 0.35);
}

/* Individual vibrant icon badge gradients */
.ic-dash  { background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); }
.ic-pos   { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.ic-prod  { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.ic-dev   { background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%); }
.ic-sale  { background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); }
.ic-trade { background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); }
.ic-rep   { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); }
.ic-cust  { background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%); }
.ic-inst  { background: linear-gradient(135deg, #d946ef 0%, #c026d3 100%); }
.ic-supp  { background: linear-gradient(135deg, #64748b 0%, #475569 100%); }
.ic-po    { background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%); }
.ic-rec   { background: linear-gradient(135deg, #84cc16 0%, #65a30d 100%); }
.ic-trsf  { background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%); }
.ic-brn   { background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%); }
.ic-cash  { background: linear-gradient(135deg, #059669 0%, #047857 100%); }
.ic-wallets { background: linear-gradient(135deg, #e11d48 0%, #9333ea 100%); box-shadow: 0 0 10px rgba(225, 29, 72, 0.4); }
.ic-wrep  { background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%); }
.ic-comm  { background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%); }
.ic-fin   { background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%); }
.ic-ret   { background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%); }
.ic-subs  { background: linear-gradient(135deg, #eab308 0%, #a16207 100%); }
.ic-team  { background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%); }
.ic-admin { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }

.side-foot {
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}
.side-foot .foot-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.side-foot a.lang-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  color: #cbd5e1; background: rgba(255,255,255,0.08); padding: 5px 12px; border-radius: 8px; font-weight: 600;
}
.side-foot a.lang-toggle:hover { background: rgba(255,255,255,0.15); color: #fff; }
.side-foot button {
  background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5; border-radius: 8px; padding: 7px 12px; width: 100%; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: all 140ms ease;
}
.side-foot button:hover { background: rgba(239, 68, 68, 0.25); color: #fff; border-color: rgba(239, 68, 68, 0.5); }

/* ---------- Main & Topbar ---------- */
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: var(--paper); }
.topbar {
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 10px 24px; display: flex; align-items: center; gap: 14px;
  position: sticky; top: 0; z-index: 20;
}
.topbar .page-title { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: #0f172a; margin: 0; }
.topbar .spacer { flex: 1; }

.topbar-badge {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 600;
}
.topbar-badge.store {
  background: #f1f5f9; color: #1e293b; border: 1px solid #cbd5e1;
}
.topbar-badge.plan {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e; border: 1px solid #f59e0b;
}
.topbar-badge.online {
  background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0;
}
.topbar-badge.user {
  background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe;
}

.badge-dot {
  width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0;
}
.badge-dot.green { background: #10b981; box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25); }
.badge-dot.amber { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25); }
.badge-dot.blue { background: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25); }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 6px 14px; font-size: 13px; font-weight: 600; text-decoration: none; color: var(--ink);
  transition: all 140ms ease;
}
.pill:hover { border-color: var(--primary); background: var(--primary-light); color: var(--primary-deep); }

.content { padding: 24px; max-width: 1240px; width: 100%; margin: 0 auto; }

/* ---------- Onboarding Wizard Card (Baby Steps) ---------- */
.wizard-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.wizard-card::before {
  content: ''; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 6px;
  background: linear-gradient(180deg, #6366f1 0%, #10b981 100%);
}
.wizard-header {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-bottom: 18px;
}
.wizard-title-wrap h2 { margin: 0; font-size: 19px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.wizard-title-wrap p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.wizard-progress-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #ecfdf5; color: #047857; border: 1px solid #6ee7b7;
  padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 13px;
}

.wizard-steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px;
}
.wizard-step {
  background: #ffffff; border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 16px; display: flex; flex-direction: column; gap: 10px;
  transition: all 150ms ease; position: relative;
}
.wizard-step:hover { border-color: #cbd5e1; transform: translateY(-2px); box-shadow: var(--shadow); }
.wizard-step.completed { border-color: #a7f3d0; background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%); }
.wizard-step-top { display: flex; align-items: center; justify-content: space-between; }
.step-num {
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  font-weight: 800; font-size: 13px; background: #e0e7ff; color: #4338ca;
}
.wizard-step.completed .step-num { background: #d1fae5; color: #065f46; }
.step-status { font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 8px; }
.step-status.done { background: #dcfce7; color: #15803d; }
.step-status.next { background: #fef3c7; color: #b45309; }
.step-title { font-weight: 700; font-size: 14px; color: #0f172a; margin: 0; }
.step-desc { font-size: 12px; color: var(--muted); line-height: 1.45; margin: 0; flex: 1; }
.step-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 12px; border-radius: 8px; font-size: 13px; font-weight: 700; text-decoration: none;
  background: var(--primary); color: #fff; transition: background 140ms ease;
}
.step-btn:hover { background: var(--primary-deep); color: #fff; }
.step-btn.emerald { background: var(--emerald); }
.step-btn.emerald:hover { background: var(--emerald-deep); }
.step-btn.ghost { background: #f1f5f9; color: #334155; border: 1px solid #cbd5e1; }
.step-btn.ghost:hover { background: #e2e8f0; }

/* ---------- Quick Action Bar (Competitor-grade fast buttons) ---------- */
.quick-actions-bar {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px;
  margin-bottom: 20px;
}
.quick-action-card {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: #ffffff; border: 1.5px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm);
  transition: all 160ms ease;
}
.quick-action-card:hover {
  transform: translateY(-2px); box-shadow: var(--shadow);
  border-color: var(--primary);
}
.quick-action-ic {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; color: #fff; font-size: 20px;
}
.quick-action-ic.green { background: linear-gradient(135deg, #10b981 0%, #059669 100%); box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3); }
.quick-action-ic.blue { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3); }
.quick-action-ic.amber { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3); }
.quick-action-ic.purple { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); box-shadow: 0 4px 10px rgba(139, 92, 246, 0.3); }
.quick-action-ic.crimson { background: linear-gradient(135deg, #e11d48 0%, #9333ea 100%); box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35); }
.quick-action-ic.emerald { background: linear-gradient(135deg, #059669 0%, #047857 100%); box-shadow: 0 4px 10px rgba(5, 150, 105, 0.3); }
.quick-action-ic.sky { background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3); }
.quick-action-title { font-weight: 700; font-size: 15px; color: #0f172a; margin: 0; display: flex; align-items: center; gap: 6px; }
.quick-action-sub { font-size: 12px; color: var(--muted); margin: 2px 0 0; }

/* ---------- Signature money strip ---------- */
.money-strip {
  background: linear-gradient(120deg, #0b1120 0%, #1e1b4b 50%, #064e3b 130%);
  color: #fff; border-radius: var(--radius-lg); padding: 26px 30px;
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg); margin-bottom: 20px; overflow: hidden; position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.money-strip::after {
  content: ''; position: absolute; inset-inline-end: -60px; top: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.35), transparent 70%);
}
.money-strip .label { font-size: 13px; font-weight: 600; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.04em; }
.money-strip .amount { font-family: var(--font-display); font-weight: 900; font-size: 42px; line-height: 1.15; color: #ffffff; }
.money-strip .amount span.curr { font-size: 22px; font-weight: 600; color: #34d399; margin-inline-start: 6px; }
.money-strip .actions { margin-inline-start: auto; display: flex; gap: 12px; z-index: 1; }
.btn-light {
  background: #ffffff; color: #0f172a; border: none; border-radius: 10px;
  padding: 11px 22px; font-weight: 700; font-size: 14px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.22); color: #fff; }

.card .btn-light {
  background: var(--primary); color: #ffffff; border: 1px solid var(--primary);
}
.card .btn-light:hover {
  background: var(--primary-deep); color: #ffffff;
}
.card .btn-ghost {
  background: #f1f5f9; color: #334155; border: 1px solid var(--line);
}
.card .btn-ghost:hover {
  background: #e2e8f0; color: #0f172a;
}

/* ---------- Cards & stats ---------- */
.grid { display: grid; gap: 16px; }
.grid.stats { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
}
.stat-card { display: flex; gap: 14px; align-items: center; }
.stat-ic {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; color: #fff;
}
.stat-ic svg { width: 22px; height: 22px; }
.stat-ic.green { background: linear-gradient(135deg, #10b981 0%, #047857 100%); }
.stat-ic.indigo { background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%); }
.stat-ic.amber { background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%); }
.stat-ic.rose { background: linear-gradient(135deg, #f43f5e 0%, #be123c 100%); }
.stat-ic.slate { background: linear-gradient(135deg, #64748b 0%, #334155 100%); }
.stat-card .lbl { font-size: 13px; font-weight: 600; color: var(--muted); }
.stat-card .val { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: #0f172a; line-height: 1.2; margin-top: 2px; }

/* ---------- Tables ---------- */
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th {
  text-align: start; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--muted); padding: 12px 14px; border-bottom: 1.5px solid var(--line); background: #f8fafc;
}
.tbl td { padding: 12px 14px; border-bottom: 1px solid #f1f5f9; color: #334155; vertical-align: middle; }
.tbl tbody tr { transition: background 120ms ease; }
.tbl tbody tr:hover { background: #f8fafc; }
.tbl tr:last-child td { border-bottom: none; }

.badge {
  display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px; background: #eef2ff; color: var(--primary-deep);
}
.badge.green { background: #ecfdf5; color: #047857; }
.badge.amber { background: #fffbeb; color: #b45309; }
.badge.rose { background: #fef2f2; color: #b91c1c; }
.badge.slate { background: #f1f5f9; color: #475569; }
.badge.blue { background: #eff6ff; color: #1d4ed8; }

.tag-pill {
  display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px;
  border-radius: 6px; background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0;
}

/* ---------- Forms & buttons ---------- */
label.f { display: block; font-size: 13px; font-weight: 700; color: #334155; margin: 12px 0 5px; }
input[type=text], input[type=email], input[type=password], input[type=number], select, textarea {
  width: 100%; padding: 10px 14px; font-size: 14px; font-family: inherit;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}
.btn-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  color: #fff; border: none; border-radius: 10px;
  padding: 11px 24px; font-weight: 700; font-size: 14px;
  transition: transform 150ms ease, box-shadow 150ms ease;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4); color: #fff; }
.btn-emerald {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  color: #fff; border: none; border-radius: 10px;
  padding: 11px 24px; font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.btn-emerald:hover { color: #fff; }
.alert { background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46; padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-weight: 600; }
.error-box { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-weight: 600; }

/* ---------- Login ---------- */
.login-wrap {
  min-height: 100vh; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(1000px 500px at 85% -5%, rgba(99, 102, 241, 0.15), transparent),
              radial-gradient(800px 500px at 10% 110%, rgba(16, 185, 129, 0.15), transparent),
              #f8fafc;
}
.login-card {
  display: grid; grid-template-columns: 1fr 1fr; max-width: 880px; width: 100%;
  background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.login-side {
  background: linear-gradient(160deg, #0b1120 0%, #1e1b4b 60%, #064e3b 140%);
  color: #fff; padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; gap: 16px;
}
.login-side h1 { font-size: 32px; font-weight: 900; color: #fff; }
.login-side p { opacity: 0.85; font-size: 14px; }
.login-side ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 12px; font-size: 14px; }
.login-side li { display: flex; gap: 10px; align-items: center; }
.login-side li svg { width: 18px; height: 18px; color: #34d399; flex-shrink: 0; }
.login-form { padding: 48px 40px; }
.login-form h2 { font-size: 24px; font-weight: 800; }

/* ---------- POS ---------- */
.pos-grid { display: grid; grid-template-columns: 1fr 360px; gap: 18px; align-items: start; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.product-card {
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 16px;
  cursor: pointer; transition: all 160ms ease;
  background: #fff; display: flex; flex-direction: column; justify-content: space-between;
}
.product-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.product-card .pname { font-weight: 700; font-size: 14px; color: #0f172a; margin-bottom: 6px; }
.product-card .pprice { font-family: var(--font-display); color: #047857; font-weight: 800; font-size: 16px; }
.cart { position: sticky; top: 76px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; padding: 18px; box-shadow: var(--shadow); }
.cart-line { display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.cart-total { font-family: var(--font-display); font-weight: 900; font-size: 28px; color: #0f172a; }

.pagination { display: flex; gap: 8px; align-items: center; padding-top: 14px; font-size: 13px; color: var(--muted); }

@media (max-width: 960px) {
  .sidebar { width: 68px; }
  .sidebar .lbl, .brand .word, .brand .tagline, .nav-section-title, .side-foot .foot-meta { display: none; }
  .nav a { justify-content: center; padding: 10px; }
  .login-card { grid-template-columns: 1fr; }
  .login-side { display: none; }
  .pos-grid { grid-template-columns: 1fr; }
  .cart { position: static; }
  .content { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
