body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background: #f5f7fb; }
body.rtl { font-family: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", serif; }

.sidebar { min-height: calc(100vh - 56px); width: 240px; overflow-y: auto; }
.sidebar .nav-link { color: #334155; padding: 8px 12px; border-radius: 6px; margin: 2px 4px; display: flex; align-items: center; gap: 8px; }
.sidebar .nav-link:hover, .sidebar .nav-link.active { background: #e0e7ff; color: #1e40af; }
.sidebar .nav-section { display: block; margin: 8px 0 2px; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; }

.main-content { min-height: calc(100vh - 56px); }

.page-header { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 12px 16px; margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; }
.page-header h4 { margin: 0; }

.card { border: 1px solid #e5e7eb; box-shadow: 0 1px 2px rgba(0,0,0,0.03); }

.table thead th { background: #f8fafc; font-weight: 600; border-bottom: 2px solid #e5e7eb; }

.stat-card { border-left: 4px solid #6366f1; padding: 12px 16px; }
.stat-card .label { font-size: 0.75rem; text-transform: uppercase; color: #6b7280; letter-spacing: 0.05em; }
.stat-card .value { font-size: 1.5rem; font-weight: 600; color: #111827; }
.stat-card.success { border-left-color: #10b981; }
.stat-card.warning { border-left-color: #f59e0b; }
.stat-card.danger { border-left-color: #ef4444; }

.pos-layout { display: grid; grid-template-columns: 1fr 420px; gap: 12px; min-height: calc(100vh - 120px); }
.pos-cart { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 12px; display: flex; flex-direction: column; }
.pos-search-result { max-height: 320px; overflow-y: auto; }
.pos-cart-items { flex: 1; overflow-y: auto; }
.pos-total { font-size: 1.5rem; font-weight: 700; }
