@burdenoff/microfe-subscriberbot 2026.615.1 → 2026.625.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/dist/node_modules/{.bun/clsx@2.1.1/node_modules/clsx → clsx}/dist/clsx.js +1 -1
  2. package/dist/node_modules/clsx/dist/clsx.js.map +1 -0
  3. package/dist/node_modules/{.bun/tailwind-merge@3.5.0/node_modules/tailwind-merge → tailwind-merge}/dist/bundle-mjs.js +212 -170
  4. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -0
  5. package/dist/subscriberbot/components/EmptyState.js +20 -13
  6. package/dist/subscriberbot/components/EmptyState.js.map +1 -1
  7. package/dist/subscriberbot/components/InvestmentCard.js +29 -28
  8. package/dist/subscriberbot/components/InvestmentCard.js.map +1 -1
  9. package/dist/subscriberbot/components/MetricsCard.js +18 -15
  10. package/dist/subscriberbot/components/MetricsCard.js.map +1 -1
  11. package/dist/subscriberbot/components/PageLayout.js +27 -15
  12. package/dist/subscriberbot/components/PageLayout.js.map +1 -1
  13. package/dist/subscriberbot/components/RatingDisplay.js +3 -3
  14. package/dist/subscriberbot/components/RatingDisplay.js.map +1 -1
  15. package/dist/subscriberbot/components/StatusBadge.js +26 -14
  16. package/dist/subscriberbot/components/StatusBadge.js.map +1 -1
  17. package/dist/subscriberbot/context/SubscriberBotContext.js.map +1 -1
  18. package/dist/subscriberbot/pages/HomePage.js +109 -105
  19. package/dist/subscriberbot/pages/HomePage.js.map +1 -1
  20. package/dist/subscriberbot/pages/admin/AdminAnalyticsPage.js +87 -87
  21. package/dist/subscriberbot/pages/admin/AdminAnalyticsPage.js.map +1 -1
  22. package/dist/subscriberbot/pages/admin/AdminDashboard.js +102 -101
  23. package/dist/subscriberbot/pages/admin/AdminDashboard.js.map +1 -1
  24. package/dist/subscriberbot/pages/admin/AdminFinancialPage.js +48 -48
  25. package/dist/subscriberbot/pages/admin/AdminFinancialPage.js.map +1 -1
  26. package/dist/subscriberbot/pages/admin/AdminOrdersPage.js +96 -96
  27. package/dist/subscriberbot/pages/admin/AdminOrdersPage.js.map +1 -1
  28. package/dist/subscriberbot/pages/admin/AdminProfilePage.js +34 -34
  29. package/dist/subscriberbot/pages/admin/AdminProfilePage.js.map +1 -1
  30. package/dist/subscriberbot/pages/admin/AdminSettingsPage.js +40 -40
  31. package/dist/subscriberbot/pages/admin/AdminSettingsPage.js.map +1 -1
  32. package/dist/subscriberbot/pages/admin/CartManagementPage.js +104 -104
  33. package/dist/subscriberbot/pages/admin/CartManagementPage.js.map +1 -1
  34. package/dist/subscriberbot/pages/admin/UserManagementPage.js +99 -99
  35. package/dist/subscriberbot/pages/admin/UserManagementPage.js.map +1 -1
  36. package/dist/subscriberbot/pages/cart-owner/AnalyticsDashboard.js +117 -117
  37. package/dist/subscriberbot/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
  38. package/dist/subscriberbot/pages/cart-owner/BusinessSettingsPage.js +34 -34
  39. package/dist/subscriberbot/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
  40. package/dist/subscriberbot/pages/cart-owner/CartOwnerDashboard.js +158 -153
  41. package/dist/subscriberbot/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
  42. package/dist/subscriberbot/pages/cart-owner/CartOwnerProfilePage.js +117 -117
  43. package/dist/subscriberbot/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
  44. package/dist/subscriberbot/pages/cart-owner/CartServiceConfigPage.js +89 -89
  45. package/dist/subscriberbot/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
  46. package/dist/subscriberbot/pages/cart-owner/InventoryManagementPage.js +109 -109
  47. package/dist/subscriberbot/pages/cart-owner/InventoryManagementPage.js.map +1 -1
  48. package/dist/subscriberbot/pages/cart-owner/OrderManagementPage.js +90 -89
  49. package/dist/subscriberbot/pages/cart-owner/OrderManagementPage.js.map +1 -1
  50. package/dist/subscriberbot/pages/cart-owner/StaffManagementPage.js +97 -97
  51. package/dist/subscriberbot/pages/cart-owner/StaffManagementPage.js.map +1 -1
  52. package/dist/subscriberbot/pages/common/HelpSupportPage.js +138 -138
  53. package/dist/subscriberbot/pages/common/HelpSupportPage.js.map +1 -1
  54. package/dist/subscriberbot/pages/common/NotificationCenterPage.js +67 -66
  55. package/dist/subscriberbot/pages/common/NotificationCenterPage.js.map +1 -1
  56. package/dist/subscriberbot/pages/common/SettingsPage.js +116 -116
  57. package/dist/subscriberbot/pages/common/SettingsPage.js.map +1 -1
  58. package/dist/subscriberbot/pages/customer/BookingDetailsPage.js +73 -72
  59. package/dist/subscriberbot/pages/customer/BookingDetailsPage.js.map +1 -1
  60. package/dist/subscriberbot/pages/customer/CartDetailPage.js +89 -88
  61. package/dist/subscriberbot/pages/customer/CartDetailPage.js.map +1 -1
  62. package/dist/subscriberbot/pages/customer/CartDiscoveryPage.js +68 -66
  63. package/dist/subscriberbot/pages/customer/CartDiscoveryPage.js.map +1 -1
  64. package/dist/subscriberbot/pages/customer/CheckoutPage.js +80 -80
  65. package/dist/subscriberbot/pages/customer/CheckoutPage.js.map +1 -1
  66. package/dist/subscriberbot/pages/customer/CustomerDashboard.js +89 -88
  67. package/dist/subscriberbot/pages/customer/CustomerDashboard.js.map +1 -1
  68. package/dist/subscriberbot/pages/customer/CustomerProfilePage.js +84 -84
  69. package/dist/subscriberbot/pages/customer/CustomerProfilePage.js.map +1 -1
  70. package/dist/subscriberbot/pages/customer/DirectServiceBookingPage.js +92 -91
  71. package/dist/subscriberbot/pages/customer/DirectServiceBookingPage.js.map +1 -1
  72. package/dist/subscriberbot/pages/customer/FavoritesPage.js +34 -33
  73. package/dist/subscriberbot/pages/customer/FavoritesPage.js.map +1 -1
  74. package/dist/subscriberbot/pages/customer/OrderHistoryPage.js +45 -43
  75. package/dist/subscriberbot/pages/customer/OrderHistoryPage.js.map +1 -1
  76. package/dist/subscriberbot/pages/customer/OrderTrackingPage.js +61 -60
  77. package/dist/subscriberbot/pages/customer/OrderTrackingPage.js.map +1 -1
  78. package/dist/subscriberbot/pages/customer/PaymentMethodsPage.js +59 -58
  79. package/dist/subscriberbot/pages/customer/PaymentMethodsPage.js.map +1 -1
  80. package/dist/subscriberbot/pages/customer/ReviewsPage.js +49 -48
  81. package/dist/subscriberbot/pages/customer/ReviewsPage.js.map +1 -1
  82. package/dist/subscriberbot/pages/customer/SavedAddressesPage.js +47 -46
  83. package/dist/subscriberbot/pages/customer/SavedAddressesPage.js.map +1 -1
  84. package/dist/subscriberbot/pages/investor/InvestmentDetailsPage.js +129 -129
  85. package/dist/subscriberbot/pages/investor/InvestmentDetailsPage.js.map +1 -1
  86. package/dist/subscriberbot/pages/investor/InvestmentOpportunitiesPage.js +90 -88
  87. package/dist/subscriberbot/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
  88. package/dist/subscriberbot/pages/investor/InvestorAnalyticsPage.js +88 -88
  89. package/dist/subscriberbot/pages/investor/InvestorAnalyticsPage.js.map +1 -1
  90. package/dist/subscriberbot/pages/investor/InvestorDashboard.js +63 -62
  91. package/dist/subscriberbot/pages/investor/InvestorDashboard.js.map +1 -1
  92. package/dist/subscriberbot/pages/investor/InvestorInvestmentsPage.js +39 -38
  93. package/dist/subscriberbot/pages/investor/InvestorInvestmentsPage.js.map +1 -1
  94. package/dist/subscriberbot/pages/investor/InvestorPortfolioPage.js +66 -66
  95. package/dist/subscriberbot/pages/investor/InvestorPortfolioPage.js.map +1 -1
  96. package/dist/subscriberbot/pages/investor/InvestorProfilePage.js +154 -154
  97. package/dist/subscriberbot/pages/investor/InvestorProfilePage.js.map +1 -1
  98. package/dist/subscriberbot/pages/worker/TaskDetailsPage.js +80 -79
  99. package/dist/subscriberbot/pages/worker/TaskDetailsPage.js.map +1 -1
  100. package/dist/subscriberbot/pages/worker/WorkerDashboard.js +107 -106
  101. package/dist/subscriberbot/pages/worker/WorkerDashboard.js.map +1 -1
  102. package/dist/subscriberbot/pages/worker/WorkerOrdersPage.js +73 -72
  103. package/dist/subscriberbot/pages/worker/WorkerOrdersPage.js.map +1 -1
  104. package/dist/subscriberbot/pages/worker/WorkerProfilePage.js +108 -108
  105. package/dist/subscriberbot/pages/worker/WorkerProfilePage.js.map +1 -1
  106. package/dist/subscriberbot/pages/worker/WorkerSchedulePage.js +71 -69
  107. package/dist/subscriberbot/pages/worker/WorkerSchedulePage.js.map +1 -1
  108. package/dist/subscriberbot/utils/cn.js +2 -2
  109. package/package.json +3 -3
  110. package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js.map +0 -1
  111. package/dist/node_modules/.bun/tailwind-merge@3.5.0/node_modules/tailwind-merge/dist/bundle-mjs.js.map +0 -1
@@ -87,33 +87,34 @@ function D() {
87
87
  order: b,
88
88
  dispute: s
89
89
  }[e] ?? o, { className: "h-4 w-4" }), z = (e) => ({
90
- user_registration: "text-blue-600 dark:text-blue-400",
91
- cart_approval: "text-purple-600 dark:text-purple-400",
92
- investment: "text-emerald-600 dark:text-emerald-400",
93
- order: "text-green-600 dark:text-green-400",
94
- dispute: "text-yellow-600 dark:text-yellow-400"
95
- })[e] ?? "text-muted-foreground", B = (e) => ({
96
- completed: "bg-green-500/20 text-green-600 dark:text-green-400",
97
- pending: "bg-yellow-500/20 text-yellow-600 dark:text-yellow-400",
98
- failed: "bg-red-500/20 text-red-600 dark:text-red-400"
90
+ user_registration: "text-status-info-text",
91
+ cart_approval: "text-accent-purple",
92
+ investment: "text-status-success-text",
93
+ order: "text-status-success-text",
94
+ dispute: "text-status-warning-text"
95
+ })[e] ?? "text-text-secondary", B = (e) => ({
96
+ completed: "bg-status-success-bg/20 text-status-success-text",
97
+ pending: "bg-status-warning-bg/20 text-status-warning-text",
98
+ failed: "bg-status-error-bg/20 text-status-error-text"
99
99
  })[e] ?? "bg-secondary text-secondary-foreground";
100
100
  return I ? /* @__PURE__ */ T(n, {
101
101
  title: "Admin Dashboard",
102
102
  description: "Loading...",
103
103
  children: /* @__PURE__ */ E("div", {
104
104
  className: "flex flex-col items-center justify-center py-20",
105
- children: [/* @__PURE__ */ T(g, { className: "h-10 w-10 animate-spin text-muted-foreground mb-4" }), /* @__PURE__ */ T("p", {
106
- className: "text-muted-foreground",
105
+ children: [/* @__PURE__ */ T(g, { className: "h-10 w-10 animate-spin text-text-secondary mb-4" }), /* @__PURE__ */ T("p", {
106
+ className: "text-text-secondary",
107
107
  children: "Loading admin dashboard..."
108
108
  })]
109
109
  })
110
110
  }) : /* @__PURE__ */ E(n, {
111
111
  title: "Admin Dashboard",
112
112
  description: `Welcome, ${k}! Monitor and manage the platform.`,
113
+ titleGradient: !0,
113
114
  actions: A?.pendingApprovals && A.pendingApprovals > 0 ? /* @__PURE__ */ E("div", {
114
- className: "flex items-center gap-2 rounded-lg border border-red-500/30 bg-red-500/10 px-3 py-2",
115
- children: [/* @__PURE__ */ T(s, { className: "h-4 w-4 text-red-600 dark:text-red-400" }), /* @__PURE__ */ E("span", {
116
- className: "text-sm font-medium text-red-600 dark:text-red-400",
115
+ className: "flex items-center gap-2 rounded-lg border border-status-error-border/30 bg-status-error-bg/10 px-3 py-2",
116
+ children: [/* @__PURE__ */ T(s, { className: "h-4 w-4 text-status-error-text" }), /* @__PURE__ */ E("span", {
117
+ className: "text-sm font-medium text-status-error-text",
117
118
  children: [A.pendingApprovals, " pending approvals"]
118
119
  })]
119
120
  }) : void 0,
@@ -121,7 +122,7 @@ function D() {
121
122
  /* @__PURE__ */ E("div", {
122
123
  className: "mb-8",
123
124
  children: [/* @__PURE__ */ T("h2", {
124
- className: "text-lg font-semibold text-foreground mb-4",
125
+ className: "text-lg font-semibold text-text-primary mb-4",
125
126
  children: "Quick Actions"
126
127
  }), /* @__PURE__ */ E("div", {
127
128
  className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-3",
@@ -129,7 +130,7 @@ function D() {
129
130
  /* @__PURE__ */ E("button", {
130
131
  type: "button",
131
132
  onClick: () => D("/admin/carts"),
132
- className: "flex items-center gap-3 rounded-lg bg-red-600 hover:bg-red-700 text-white p-3 text-sm font-medium transition-colors",
133
+ className: "flex items-center gap-3 rounded-lg bg-status-error-text hover:bg-status-error-text text-text-inverse p-3 text-sm font-medium transition-colors",
133
134
  children: [
134
135
  /* @__PURE__ */ T(s, { className: "h-5 w-5" }),
135
136
  "Approve Carts (",
@@ -140,44 +141,44 @@ function D() {
140
141
  /* @__PURE__ */ E("button", {
141
142
  type: "button",
142
143
  onClick: () => D("/admin/carts"),
143
- className: "flex items-center gap-3 rounded-lg border border-border bg-card hover:bg-accent p-3 text-sm font-medium text-foreground transition-colors",
144
- children: [/* @__PURE__ */ T(x, { className: "h-5 w-5 text-muted-foreground" }), "Manage Carts"]
144
+ className: "flex items-center gap-3 rounded-lg border border-border-seam bg-bg-surface hover:bg-accent p-3 text-sm font-medium text-text-primary transition-colors",
145
+ children: [/* @__PURE__ */ T(x, { className: "h-5 w-5 text-text-secondary" }), "Manage Carts"]
145
146
  }),
146
147
  /* @__PURE__ */ E("button", {
147
148
  type: "button",
148
149
  onClick: () => D("/admin/users"),
149
- className: "flex items-center gap-3 rounded-lg border border-border bg-card hover:bg-accent p-3 text-sm font-medium text-foreground transition-colors",
150
- children: [/* @__PURE__ */ T(C, { className: "h-5 w-5 text-muted-foreground" }), "User Management"]
150
+ className: "flex items-center gap-3 rounded-lg border border-border-seam bg-bg-surface hover:bg-accent p-3 text-sm font-medium text-text-primary transition-colors",
151
+ children: [/* @__PURE__ */ T(C, { className: "h-5 w-5 text-text-secondary" }), "User Management"]
151
152
  }),
152
153
  /* @__PURE__ */ E("button", {
153
154
  type: "button",
154
155
  onClick: () => D("/admin/orders"),
155
- className: "flex items-center gap-3 rounded-lg border border-border bg-card hover:bg-accent p-3 text-sm font-medium text-foreground transition-colors",
156
- children: [/* @__PURE__ */ T(b, { className: "h-5 w-5 text-muted-foreground" }), "Order Management"]
156
+ className: "flex items-center gap-3 rounded-lg border border-border-seam bg-bg-surface hover:bg-accent p-3 text-sm font-medium text-text-primary transition-colors",
157
+ children: [/* @__PURE__ */ T(b, { className: "h-5 w-5 text-text-secondary" }), "Order Management"]
157
158
  }),
158
159
  /* @__PURE__ */ E("button", {
159
160
  type: "button",
160
161
  onClick: () => D("/admin/financial"),
161
- className: "flex items-center gap-3 rounded-lg border border-border bg-card hover:bg-accent p-3 text-sm font-medium text-foreground transition-colors",
162
- children: [/* @__PURE__ */ T(h, { className: "h-5 w-5 text-muted-foreground" }), "Financial Analytics"]
162
+ className: "flex items-center gap-3 rounded-lg border border-border-seam bg-bg-surface hover:bg-accent p-3 text-sm font-medium text-text-primary transition-colors",
163
+ children: [/* @__PURE__ */ T(h, { className: "h-5 w-5 text-text-secondary" }), "Financial Analytics"]
163
164
  }),
164
165
  /* @__PURE__ */ E("button", {
165
166
  type: "button",
166
167
  onClick: () => D("/admin/analytics"),
167
- className: "flex items-center gap-3 rounded-lg border border-border bg-card hover:bg-accent p-3 text-sm font-medium text-foreground transition-colors",
168
- children: [/* @__PURE__ */ T(l, { className: "h-5 w-5 text-muted-foreground" }), "Analytics"]
168
+ className: "flex items-center gap-3 rounded-lg border border-border-seam bg-bg-surface hover:bg-accent p-3 text-sm font-medium text-text-primary transition-colors",
169
+ children: [/* @__PURE__ */ T(l, { className: "h-5 w-5 text-text-secondary" }), "Analytics"]
169
170
  }),
170
171
  /* @__PURE__ */ E("button", {
171
172
  type: "button",
172
173
  onClick: () => D("/admin/settings"),
173
- className: "flex items-center gap-3 rounded-lg border border-border bg-card hover:bg-accent p-3 text-sm font-medium text-foreground transition-colors",
174
- children: [/* @__PURE__ */ T(v, { className: "h-5 w-5 text-muted-foreground" }), "Settings"]
174
+ className: "flex items-center gap-3 rounded-lg border border-border-seam bg-bg-surface hover:bg-accent p-3 text-sm font-medium text-text-primary transition-colors",
175
+ children: [/* @__PURE__ */ T(v, { className: "h-5 w-5 text-text-secondary" }), "Settings"]
175
176
  }),
176
177
  /* @__PURE__ */ E("button", {
177
178
  type: "button",
178
179
  onClick: () => D("/admin/analytics"),
179
- className: "flex items-center gap-3 rounded-lg border border-border bg-card hover:bg-accent p-3 text-sm font-medium text-foreground transition-colors",
180
- children: [/* @__PURE__ */ T(m, { className: "h-5 w-5 text-muted-foreground" }), "Reports"]
180
+ className: "flex items-center gap-3 rounded-lg border border-border-seam bg-bg-surface hover:bg-accent p-3 text-sm font-medium text-text-primary transition-colors",
181
+ children: [/* @__PURE__ */ T(m, { className: "h-5 w-5 text-text-secondary" }), "Reports"]
181
182
  })
182
183
  ]
183
184
  })]
@@ -186,7 +187,7 @@ function D() {
186
187
  className: "mb-8",
187
188
  children: [
188
189
  /* @__PURE__ */ T("h2", {
189
- className: "text-lg font-semibold text-foreground mb-4",
190
+ className: "text-lg font-semibold text-text-primary mb-4",
190
191
  children: "Platform Overview"
191
192
  }),
192
193
  /* @__PURE__ */ E("div", {
@@ -226,42 +227,42 @@ function D() {
226
227
  className: "grid grid-cols-2 lg:grid-cols-4 gap-4 mt-4",
227
228
  children: [
228
229
  /* @__PURE__ */ E("div", {
229
- className: "rounded-lg border border-border bg-card p-4",
230
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4",
230
231
  children: [/* @__PURE__ */ T("p", {
231
- className: "text-xs text-muted-foreground",
232
+ className: "text-xs text-text-secondary",
232
233
  children: "Active Users (24h)"
233
234
  }), /* @__PURE__ */ T("p", {
234
- className: "text-xl font-bold text-green-600 dark:text-green-400",
235
+ className: "text-xl font-bold text-status-success-text",
235
236
  children: A.activeUsers.toLocaleString("en-IN")
236
237
  })]
237
238
  }),
238
239
  /* @__PURE__ */ E("div", {
239
- className: "rounded-lg border border-border bg-card p-4",
240
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4",
240
241
  children: [/* @__PURE__ */ T("p", {
241
- className: "text-xs text-muted-foreground",
242
+ className: "text-xs text-text-secondary",
242
243
  children: "Pending Approvals"
243
244
  }), /* @__PURE__ */ T("p", {
244
- className: "text-xl font-bold text-red-600 dark:text-red-400",
245
+ className: "text-xl font-bold text-status-error-text",
245
246
  children: A.pendingApprovals
246
247
  })]
247
248
  }),
248
249
  /* @__PURE__ */ E("div", {
249
- className: "rounded-lg border border-border bg-card p-4",
250
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4",
250
251
  children: [/* @__PURE__ */ T("p", {
251
- className: "text-xs text-muted-foreground",
252
+ className: "text-xs text-text-secondary",
252
253
  children: "Total Investments"
253
254
  }), /* @__PURE__ */ T("p", {
254
- className: "text-xl font-bold text-blue-600 dark:text-blue-400",
255
+ className: "text-xl font-bold text-status-info-text",
255
256
  children: A.totalInvestments.toLocaleString("en-IN")
256
257
  })]
257
258
  }),
258
259
  /* @__PURE__ */ E("div", {
259
- className: "rounded-lg border border-border bg-card p-4",
260
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4",
260
261
  children: [/* @__PURE__ */ T("p", {
261
- className: "text-xs text-muted-foreground",
262
+ className: "text-xs text-text-secondary",
262
263
  children: "Platform Commission"
263
264
  }), /* @__PURE__ */ E("p", {
264
- className: "text-xl font-bold text-purple-600 dark:text-purple-400",
265
+ className: "text-xl font-bold text-accent-purple",
265
266
  children: [
266
267
  "₹",
267
268
  (A.platformCommission / 1e3).toFixed(0),
@@ -276,10 +277,10 @@ function D() {
276
277
  P && /* @__PURE__ */ E("div", {
277
278
  className: "mb-8",
278
279
  children: [/* @__PURE__ */ T("h2", {
279
- className: "text-lg font-semibold text-foreground mb-4",
280
+ className: "text-lg font-semibold text-text-primary mb-4",
280
281
  children: "User Distribution"
281
282
  }), /* @__PURE__ */ E("div", {
282
- className: "rounded-lg border border-border bg-card p-6",
283
+ className: "rounded-lg border border-border-seam bg-bg-surface p-6",
283
284
  children: [/* @__PURE__ */ E("div", {
284
285
  className: "grid grid-cols-2 lg:grid-cols-4 gap-6",
285
286
  children: [
@@ -287,15 +288,15 @@ function D() {
287
288
  className: "text-center",
288
289
  children: [
289
290
  /* @__PURE__ */ T("div", {
290
- className: "text-2xl sm:text-3xl font-bold text-blue-600 dark:text-blue-400",
291
+ className: "text-2xl sm:text-3xl font-bold text-status-info-text",
291
292
  children: P.customers.toLocaleString("en-IN")
292
293
  }),
293
294
  /* @__PURE__ */ T("div", {
294
- className: "text-sm text-muted-foreground",
295
+ className: "text-sm text-text-secondary",
295
296
  children: "Customers"
296
297
  }),
297
298
  /* @__PURE__ */ T("div", {
298
- className: "text-xs text-muted-foreground",
299
+ className: "text-xs text-text-secondary",
299
300
  children: "69.5%"
300
301
  })
301
302
  ]
@@ -304,15 +305,15 @@ function D() {
304
305
  className: "text-center",
305
306
  children: [
306
307
  /* @__PURE__ */ T("div", {
307
- className: "text-2xl sm:text-3xl font-bold text-green-600 dark:text-green-400",
308
+ className: "text-2xl sm:text-3xl font-bold text-status-success-text",
308
309
  children: P.cartOwners.toLocaleString("en-IN")
309
310
  }),
310
311
  /* @__PURE__ */ T("div", {
311
- className: "text-sm text-muted-foreground",
312
+ className: "text-sm text-text-secondary",
312
313
  children: "Cart Owners"
313
314
  }),
314
315
  /* @__PURE__ */ T("div", {
315
- className: "text-xs text-muted-foreground",
316
+ className: "text-xs text-text-secondary",
316
317
  children: "19.1%"
317
318
  })
318
319
  ]
@@ -321,15 +322,15 @@ function D() {
321
322
  className: "text-center",
322
323
  children: [
323
324
  /* @__PURE__ */ T("div", {
324
- className: "text-2xl sm:text-3xl font-bold text-yellow-600 dark:text-yellow-400",
325
+ className: "text-2xl sm:text-3xl font-bold text-status-warning-text",
325
326
  children: P.workers.toLocaleString("en-IN")
326
327
  }),
327
328
  /* @__PURE__ */ T("div", {
328
- className: "text-sm text-muted-foreground",
329
+ className: "text-sm text-text-secondary",
329
330
  children: "Workers"
330
331
  }),
331
332
  /* @__PURE__ */ T("div", {
332
- className: "text-xs text-muted-foreground",
333
+ className: "text-xs text-text-secondary",
333
334
  children: "9.7%"
334
335
  })
335
336
  ]
@@ -338,29 +339,29 @@ function D() {
338
339
  className: "text-center",
339
340
  children: [
340
341
  /* @__PURE__ */ T("div", {
341
- className: "text-2xl sm:text-3xl font-bold text-purple-600 dark:text-purple-400",
342
+ className: "text-2xl sm:text-3xl font-bold text-accent-purple",
342
343
  children: P.investors.toLocaleString("en-IN")
343
344
  }),
344
345
  /* @__PURE__ */ T("div", {
345
- className: "text-sm text-muted-foreground",
346
+ className: "text-sm text-text-secondary",
346
347
  children: "Investors"
347
348
  }),
348
349
  /* @__PURE__ */ T("div", {
349
- className: "text-xs text-muted-foreground",
350
+ className: "text-xs text-text-secondary",
350
351
  children: "1.7%"
351
352
  })
352
353
  ]
353
354
  })
354
355
  ]
355
356
  }), /* @__PURE__ */ T("div", {
356
- className: "mt-4 pt-4 border-t border-border",
357
+ className: "mt-4 pt-4 border-t border-border-seam",
357
358
  children: /* @__PURE__ */ E("div", {
358
359
  className: "flex justify-between items-center",
359
360
  children: [/* @__PURE__ */ T("span", {
360
- className: "text-sm text-muted-foreground",
361
+ className: "text-sm text-text-secondary",
361
362
  children: "User Growth (This Month)"
362
363
  }), /* @__PURE__ */ E("span", {
363
- className: "text-sm font-medium text-green-600 dark:text-green-400",
364
+ className: "text-sm font-medium text-status-success-text",
364
365
  children: [
365
366
  "+",
366
367
  P.growth,
@@ -376,34 +377,34 @@ function D() {
376
377
  children: [/* @__PURE__ */ E("div", {
377
378
  className: "flex items-center justify-between mb-4",
378
379
  children: [/* @__PURE__ */ T("h2", {
379
- className: "text-lg font-semibold text-foreground",
380
+ className: "text-lg font-semibold text-text-primary",
380
381
  children: "Recent Platform Activity"
381
382
  }), /* @__PURE__ */ E("button", {
382
383
  type: "button",
383
384
  onClick: () => D("/admin/analytics"),
384
- className: "flex items-center gap-1 text-sm font-medium text-muted-foreground hover:text-foreground transition-colors",
385
+ className: "flex items-center gap-1 text-sm font-medium text-text-secondary hover:text-text-primary transition-colors",
385
386
  children: ["View all activities", /* @__PURE__ */ T(c, { className: "h-4 w-4" })]
386
387
  })]
387
388
  }), /* @__PURE__ */ T("div", {
388
- className: "rounded-lg border border-border bg-card divide-y divide-border",
389
+ className: "rounded-lg border border-border-seam bg-bg-surface divide-y divide-border",
389
390
  children: M.map((e) => /* @__PURE__ */ E("div", {
390
391
  className: "flex items-start gap-3 px-4 py-3",
391
392
  children: [/* @__PURE__ */ T("div", {
392
- className: t("flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-muted mt-0.5", z(e.type)),
393
+ className: t("flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-bg-sunken mt-0.5", z(e.type)),
393
394
  children: R(e.type)
394
395
  }), /* @__PURE__ */ E("div", {
395
396
  className: "flex-1 min-w-0",
396
397
  children: [/* @__PURE__ */ E("div", {
397
398
  className: "flex flex-col sm:flex-row sm:items-center justify-between gap-2",
398
399
  children: [/* @__PURE__ */ T("p", {
399
- className: "text-sm font-medium text-foreground",
400
+ className: "text-sm font-medium text-text-primary",
400
401
  children: e.description
401
402
  }), /* @__PURE__ */ T("span", {
402
403
  className: t("inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium capitalize w-fit", B(e.status)),
403
404
  children: e.status
404
405
  })]
405
406
  }), /* @__PURE__ */ E("div", {
406
- className: "flex flex-wrap items-center mt-1 text-xs text-muted-foreground gap-3",
407
+ className: "flex flex-wrap items-center mt-1 text-xs text-text-secondary gap-3",
407
408
  children: [
408
409
  /* @__PURE__ */ T("span", { children: e.timestamp }),
409
410
  e.user && /* @__PURE__ */ E("span", {
@@ -427,11 +428,11 @@ function D() {
427
428
  /* @__PURE__ */ E("div", {
428
429
  className: "grid grid-cols-1 lg:grid-cols-2 gap-6 mb-8",
429
430
  children: [/* @__PURE__ */ E("div", {
430
- className: "rounded-lg border border-border bg-card p-6",
431
+ className: "rounded-lg border border-border-seam bg-bg-surface p-6",
431
432
  children: [/* @__PURE__ */ E("div", {
432
433
  className: "flex items-center gap-2 mb-4",
433
- children: [/* @__PURE__ */ T(y, { className: "h-5 w-5 text-muted-foreground" }), /* @__PURE__ */ T("h3", {
434
- className: "text-lg font-semibold text-foreground",
434
+ children: [/* @__PURE__ */ T(y, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ T("h3", {
435
+ className: "text-lg font-semibold text-text-primary",
435
436
  children: "System Health"
436
437
  })]
437
438
  }), /* @__PURE__ */ E("div", {
@@ -441,12 +442,12 @@ function D() {
441
442
  className: "flex items-center justify-between",
442
443
  children: [/* @__PURE__ */ E("div", {
443
444
  className: "flex items-center gap-3",
444
- children: [/* @__PURE__ */ T(_, { className: "h-4 w-4 text-muted-foreground" }), /* @__PURE__ */ T("span", {
445
- className: "text-sm text-muted-foreground",
445
+ children: [/* @__PURE__ */ T(_, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ T("span", {
446
+ className: "text-sm text-text-secondary",
446
447
  children: "Server Status"
447
448
  })]
448
449
  }), /* @__PURE__ */ E("span", {
449
- className: "inline-flex items-center gap-1.5 rounded-full bg-green-500/20 px-3 py-1 text-xs font-medium text-green-600 dark:text-green-400",
450
+ className: "inline-flex items-center gap-1.5 rounded-full bg-status-success-bg/20 px-3 py-1 text-xs font-medium text-status-success-text",
450
451
  children: [/* @__PURE__ */ T(u, { className: "h-3 w-3" }), "Healthy"]
451
452
  })]
452
453
  }),
@@ -454,12 +455,12 @@ function D() {
454
455
  className: "flex items-center justify-between",
455
456
  children: [/* @__PURE__ */ E("div", {
456
457
  className: "flex items-center gap-3",
457
- children: [/* @__PURE__ */ T(p, { className: "h-4 w-4 text-muted-foreground" }), /* @__PURE__ */ T("span", {
458
- className: "text-sm text-muted-foreground",
458
+ children: [/* @__PURE__ */ T(p, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ T("span", {
459
+ className: "text-sm text-text-secondary",
459
460
  children: "Database Performance"
460
461
  })]
461
462
  }), /* @__PURE__ */ E("span", {
462
- className: "inline-flex items-center gap-1.5 rounded-full bg-green-500/20 px-3 py-1 text-xs font-medium text-green-600 dark:text-green-400",
463
+ className: "inline-flex items-center gap-1.5 rounded-full bg-status-success-bg/20 px-3 py-1 text-xs font-medium text-status-success-text",
463
464
  children: [/* @__PURE__ */ T(u, { className: "h-3 w-3" }), "Optimal"]
464
465
  })]
465
466
  }),
@@ -467,12 +468,12 @@ function D() {
467
468
  className: "flex items-center justify-between",
468
469
  children: [/* @__PURE__ */ E("div", {
469
470
  className: "flex items-center gap-3",
470
- children: [/* @__PURE__ */ T(f, { className: "h-4 w-4 text-muted-foreground" }), /* @__PURE__ */ T("span", {
471
- className: "text-sm text-muted-foreground",
471
+ children: [/* @__PURE__ */ T(f, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ T("span", {
472
+ className: "text-sm text-text-secondary",
472
473
  children: "Payment Gateway"
473
474
  })]
474
475
  }), /* @__PURE__ */ E("span", {
475
- className: "inline-flex items-center gap-1.5 rounded-full bg-green-500/20 px-3 py-1 text-xs font-medium text-green-600 dark:text-green-400",
476
+ className: "inline-flex items-center gap-1.5 rounded-full bg-status-success-bg/20 px-3 py-1 text-xs font-medium text-status-success-text",
476
477
  children: [/* @__PURE__ */ T(u, { className: "h-3 w-3" }), "Online"]
477
478
  })]
478
479
  }),
@@ -480,12 +481,12 @@ function D() {
480
481
  className: "flex items-center justify-between",
481
482
  children: [/* @__PURE__ */ E("div", {
482
483
  className: "flex items-center gap-3",
483
- children: [/* @__PURE__ */ T(w, { className: "h-4 w-4 text-muted-foreground" }), /* @__PURE__ */ T("span", {
484
- className: "text-sm text-muted-foreground",
484
+ children: [/* @__PURE__ */ T(w, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ T("span", {
485
+ className: "text-sm text-text-secondary",
485
486
  children: "API Response Time"
486
487
  })]
487
488
  }), /* @__PURE__ */ T("span", {
488
- className: "text-sm font-medium text-foreground",
489
+ className: "text-sm font-medium text-text-primary",
489
490
  children: "145ms"
490
491
  })]
491
492
  }),
@@ -493,23 +494,23 @@ function D() {
493
494
  className: "flex items-center justify-between",
494
495
  children: [/* @__PURE__ */ E("div", {
495
496
  className: "flex items-center gap-3",
496
- children: [/* @__PURE__ */ T(d, { className: "h-4 w-4 text-muted-foreground" }), /* @__PURE__ */ T("span", {
497
- className: "text-sm text-muted-foreground",
497
+ children: [/* @__PURE__ */ T(d, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ T("span", {
498
+ className: "text-sm text-text-secondary",
498
499
  children: "Uptime (30 days)"
499
500
  })]
500
501
  }), /* @__PURE__ */ T("span", {
501
- className: "text-sm font-medium text-foreground",
502
+ className: "text-sm font-medium text-text-primary",
502
503
  children: "99.8%"
503
504
  })]
504
505
  })
505
506
  ]
506
507
  })]
507
508
  }), /* @__PURE__ */ E("div", {
508
- className: "rounded-lg border border-border bg-card p-6",
509
+ className: "rounded-lg border border-border-seam bg-bg-surface p-6",
509
510
  children: [/* @__PURE__ */ E("div", {
510
511
  className: "flex items-center gap-2 mb-4",
511
- children: [/* @__PURE__ */ T(h, { className: "h-5 w-5 text-muted-foreground" }), /* @__PURE__ */ T("h3", {
512
- className: "text-lg font-semibold text-foreground",
512
+ children: [/* @__PURE__ */ T(h, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ T("h3", {
513
+ className: "text-lg font-semibold text-text-primary",
513
514
  children: "Financial Overview"
514
515
  })]
515
516
  }), /* @__PURE__ */ E("div", {
@@ -518,50 +519,50 @@ function D() {
518
519
  /* @__PURE__ */ E("div", {
519
520
  className: "flex justify-between",
520
521
  children: [/* @__PURE__ */ T("span", {
521
- className: "text-sm text-muted-foreground",
522
+ className: "text-sm text-text-secondary",
522
523
  children: "Today's Revenue"
523
524
  }), /* @__PURE__ */ T("span", {
524
- className: "font-medium text-foreground",
525
+ className: "font-medium text-text-primary",
525
526
  children: "₹1,45,230"
526
527
  })]
527
528
  }),
528
529
  /* @__PURE__ */ E("div", {
529
530
  className: "flex justify-between",
530
531
  children: [/* @__PURE__ */ T("span", {
531
- className: "text-sm text-muted-foreground",
532
+ className: "text-sm text-text-secondary",
532
533
  children: "This Month"
533
534
  }), /* @__PURE__ */ T("span", {
534
- className: "font-medium text-foreground",
535
+ className: "font-medium text-text-primary",
535
536
  children: "₹24,50,000"
536
537
  })]
537
538
  }),
538
539
  /* @__PURE__ */ E("div", {
539
540
  className: "flex justify-between",
540
541
  children: [/* @__PURE__ */ T("span", {
541
- className: "text-sm text-muted-foreground",
542
+ className: "text-sm text-text-secondary",
542
543
  children: "Platform Commission"
543
544
  }), /* @__PURE__ */ T("span", {
544
- className: "font-medium text-foreground",
545
+ className: "font-medium text-text-primary",
545
546
  children: "₹1,22,500"
546
547
  })]
547
548
  }),
548
549
  /* @__PURE__ */ E("div", {
549
550
  className: "flex justify-between",
550
551
  children: [/* @__PURE__ */ T("span", {
551
- className: "text-sm text-muted-foreground",
552
+ className: "text-sm text-text-secondary",
552
553
  children: "Active Investments"
553
554
  }), /* @__PURE__ */ T("span", {
554
- className: "font-medium text-foreground",
555
+ className: "font-medium text-text-primary",
555
556
  children: "₹1.52Cr"
556
557
  })]
557
558
  }),
558
559
  /* @__PURE__ */ E("div", {
559
560
  className: "flex justify-between",
560
561
  children: [/* @__PURE__ */ T("span", {
561
- className: "text-sm text-muted-foreground",
562
+ className: "text-sm text-text-secondary",
562
563
  children: "Pending Payouts"
563
564
  }), /* @__PURE__ */ T("span", {
564
- className: "font-medium text-foreground",
565
+ className: "font-medium text-text-primary",
565
566
  children: "₹45,600"
566
567
  })]
567
568
  })
@@ -613,17 +614,17 @@ function D() {
613
614
  return /* @__PURE__ */ E("button", {
614
615
  type: "button",
615
616
  onClick: () => D(e.path),
616
- className: t("flex items-center gap-4 rounded-lg border border-border bg-card p-4 sm:p-6 text-left shadow-sm transition-all", "hover:bg-accent hover:shadow-md"),
617
+ className: t("flex items-center gap-4 rounded-lg border border-border-seam bg-bg-surface p-4 sm:p-6 text-left shadow-sm transition-all", "hover:bg-accent hover:shadow-md"),
617
618
  children: [/* @__PURE__ */ T("div", {
618
- className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-muted text-muted-foreground",
619
+ className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-bg-sunken text-text-secondary",
619
620
  children: /* @__PURE__ */ T(n, { className: "h-5 w-5" })
620
621
  }), /* @__PURE__ */ E("div", {
621
622
  className: "min-w-0",
622
623
  children: [/* @__PURE__ */ T("h3", {
623
- className: "font-semibold text-foreground text-sm sm:text-base",
624
+ className: "font-semibold text-text-primary text-sm sm:text-base",
624
625
  children: e.label
625
626
  }), /* @__PURE__ */ T("p", {
626
- className: "text-xs sm:text-sm text-muted-foreground",
627
+ className: "text-xs sm:text-sm text-text-secondary",
627
628
  children: e.desc
628
629
  })]
629
630
  })]