Add customer/manager access UI and tighten customers filters.

Business and super-admin can set Customer vs Manager roles (Admin only for super-admin), and the customers page drops clutter while filtering by all/customers/managers.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-08-10 21:31:28 +03:30
co-authored by Cursor
parent 404c008ced
commit f622e6d605
28 changed files with 1280 additions and 241 deletions
@@ -384,6 +384,7 @@ p.footerText {
line-height: 1.75;
color: var(--text-primary);
margin-bottom: 18px;
text-align: justify;
}
.noticeLink {
@@ -403,6 +404,7 @@ p.footerText {
padding: 11px 16px;
font-size: 14px;
font-weight: 600;
text-align: center;
color: #fff;
background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
border-radius: var(--radius-sm);
@@ -410,6 +412,10 @@ p.footerText {
transition: transform 0.2s, opacity 0.2s;
}
button.noticeAdmit {
text-align: center;
}
.noticeAdmit:hover:not(:disabled) {
transform: translateY(-1px);
}
@@ -108,12 +108,14 @@
}
.badge[data-status='draft'] {
color: #fff;
color: #0f172a;
background: linear-gradient(
145deg,
rgba(251, 191, 36, 0.55) 0%,
rgba(245, 158, 11, 0.32) 100%
rgba(255, 255, 255, 0.78) 0%,
rgba(255, 255, 255, 0.42) 100%
);
border-color: rgba(255, 255, 255, 0.55);
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}
.badge[data-status='published'] {