Initial commit

This commit is contained in:
2026-05-25 08:22:12 +07:00
commit a152c99cce
154 changed files with 39033 additions and 0 deletions

View File

@ -0,0 +1,539 @@
<!DOCTYPE html>
<html class="light" lang="en"><head>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<title>Merchant Management | Soundbox Ops</title>
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&amp;family=Inter:wght@400;500;600&amp;family=JetBrains+Mono&amp;display=swap" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&amp;display=swap" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&amp;display=swap" rel="stylesheet"/>
<script id="tailwind-config">
tailwind.config = {
darkMode: "class",
theme: {
extend: {
"colors": {
"surface-container-lowest": "#ffffff",
"on-tertiary": "#ffffff",
"secondary-fixed-dim": "#b7c8e1",
"warning": "#F59E0B",
"on-primary-fixed-variant": "#003ea8",
"inverse-surface": "#2e3039",
"surface": "#faf8ff",
"surface-container-low": "#f3f3fe",
"outline": "#737686",
"on-primary": "#ffffff",
"tertiary-fixed": "#ffdbcd",
"primary": "#004ac6",
"on-error-container": "#93000a",
"surface-tint": "#0053db",
"tertiary-container": "#bc4800",
"surface-variant": "#e1e2ed",
"on-tertiary-fixed": "#360f00",
"surface-container-high": "#e7e7f3",
"info": "#0EA5E9",
"slate-500": "#64748B",
"tertiary-fixed-dim": "#ffb596",
"on-surface": "#191b23",
"outline-variant": "#c3c6d7",
"error": "#ba1a1a",
"inverse-on-surface": "#f0f0fb",
"on-primary-fixed": "#00174b",
"surface-bright": "#faf8ff",
"surface-container": "#ededf9",
"error-container": "#ffdad6",
"slate-900": "#0F172A",
"inverse-primary": "#b4c5ff",
"on-tertiary-fixed-variant": "#7d2d00",
"slate-700": "#334155",
"slate-200": "#E2E8F0",
"on-background": "#191b23",
"on-error": "#ffffff",
"on-secondary": "#ffffff",
"secondary": "#505f76",
"on-secondary-fixed": "#0b1c30",
"on-secondary-fixed-variant": "#38485d",
"danger": "#DC2626",
"on-primary-container": "#eeefff",
"success": "#16A34A",
"on-tertiary-container": "#ffede6",
"surface-container-highest": "#e1e2ed",
"primary-fixed": "#dbe1ff",
"on-surface-variant": "#434655",
"secondary-container": "#d0e1fb",
"primary-container": "#2563eb",
"background": "#F8FAFC",
"primary-fixed-dim": "#b4c5ff",
"tertiary": "#943700",
"secondary-fixed": "#d3e4fe",
"surface-dim": "#d9d9e5",
"on-secondary-container": "#54647a",
"slate-100": "#F1F5F9"
},
"borderRadius": {
"DEFAULT": "0.125rem",
"lg": "0.25rem",
"xl": "0.5rem",
"full": "0.75rem"
},
"spacing": {
"page-padding": "24px",
"gutter": "24px",
"topbar-height": "72px",
"card-padding": "20px",
"row-height": "52px"
},
"fontFamily": {
"display-lg": ["Plus Jakarta Sans"],
"label-md": ["Inter"],
"headline-md": ["Plus Jakarta Sans"],
"body-md": ["Inter"],
"headline-lg": ["Plus Jakarta Sans"],
"body-lg": ["Inter"],
"metric-lg": ["Inter"],
"metric-sm": ["Inter"]
},
"fontSize": {
"display-lg": ["36px", {"lineHeight": "44px", "letterSpacing": "-0.02em", "fontWeight": "600"}],
"label-md": ["12px", {"lineHeight": "16px", "letterSpacing": "0.01em", "fontWeight": "500"}],
"headline-md": ["20px", {"lineHeight": "28px", "fontWeight": "600"}],
"body-md": ["14px", {"lineHeight": "20px", "fontWeight": "400"}],
"headline-lg": ["28px", {"lineHeight": "36px", "fontWeight": "600"}],
"body-lg": ["16px", {"lineHeight": "24px", "fontWeight": "400"}],
"metric-lg": ["32px", {"lineHeight": "40px", "fontWeight": "600"}],
"metric-sm": ["14px", {"lineHeight": "20px", "fontWeight": "600"}]
}
},
},
}
</script>
<style>
.material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
vertical-align: middle;
}
.data-table-container::-webkit-scrollbar {
height: 8px;
}
.data-table-container::-webkit-scrollbar-thumb {
background: #E2E8F0;
border-radius: 4px;
}
.data-table-container::-webkit-scrollbar-track {
background: transparent;
}
</style>
</head>
<body class="bg-background text-on-surface font-body-md antialiased min-h-screen">
<!-- Side Navigation Bar -->
<aside class="w-64 h-full fixed left-0 top-0 bg-surface-container-lowest border-r border-slate-200 flex flex-col py-6 px-4 gap-2 z-50">
<div class="flex items-center gap-3 px-2 mb-8">
<div class="w-10 h-10 bg-primary rounded-lg flex items-center justify-center text-on-primary">
<span class="material-symbols-outlined">storefront</span>
</div>
<div>
<h1 class="font-headline-md text-headline-md font-bold text-primary">Soundbox Ops</h1>
<p class="font-label-md text-label-md text-on-surface-variant">Admin Console</p>
</div>
</div>
<nav class="flex flex-col gap-1 flex-1">
<a class="flex items-center gap-3 px-4 py-3 text-on-surface-variant hover:bg-slate-100 transition-colors rounded-lg" href="#">
<span class="material-symbols-outlined" data-icon="dashboard">dashboard</span>
<span class="font-body-md">Overview</span>
</a>
<a class="flex items-center gap-3 px-4 py-3 bg-secondary-container text-on-secondary-container font-bold rounded-lg" href="#">
<span class="material-symbols-outlined" data-icon="storefront">storefront</span>
<span class="font-body-md">Merchant Management</span>
</a>
<a class="flex items-center gap-3 px-4 py-3 text-on-surface-variant hover:bg-slate-100 transition-colors rounded-lg" href="#">
<span class="material-symbols-outlined" data-icon="speaker_group">speaker_group</span>
<span class="font-body-md">Device Registry</span>
</a>
<a class="flex items-center gap-3 px-4 py-3 text-on-surface-variant hover:bg-slate-100 transition-colors rounded-lg" href="#">
<span class="material-symbols-outlined" data-icon="receipt_long">receipt_long</span>
<span class="font-body-md">Transactions</span>
</a>
<a class="flex items-center gap-3 px-4 py-3 text-on-surface-variant hover:bg-slate-100 transition-colors rounded-lg" href="#">
<span class="material-symbols-outlined" data-icon="account_balance">account_balance</span>
<span class="font-body-md">Ledger &amp; Settlement</span>
</a>
<a class="flex items-center gap-3 px-4 py-3 text-on-surface-variant hover:bg-slate-100 transition-colors rounded-lg" href="#">
<span class="material-symbols-outlined" data-icon="history_edu">history_edu</span>
<span class="font-body-md">Audit Control</span>
</a>
</nav>
<div class="mt-auto flex flex-col gap-1 border-t border-slate-100 pt-4">
<a class="flex items-center gap-3 px-4 py-3 text-on-surface-variant hover:bg-slate-100 transition-colors rounded-lg" href="#">
<span class="material-symbols-outlined" data-icon="settings">settings</span>
<span class="font-body-md">Settings</span>
</a>
<a class="flex items-center gap-3 px-4 py-3 text-on-surface-variant hover:bg-slate-100 transition-colors rounded-lg" href="#">
<span class="material-symbols-outlined" data-icon="help">help</span>
<span class="font-body-md">Support</span>
</a>
</div>
</aside>
<!-- Top Navigation Bar -->
<header class="fixed top-0 right-0 h-[72px] bg-surface-container-lowest border-b border-slate-200 flex justify-between items-center w-[calc(100%-256px)] ml-64 px-page-padding z-40">
<div class="flex items-center flex-1 max-w-xl">
<div class="relative w-full">
<span class="material-symbols-outlined absolute left-3 top-1/2 -translate-y-1/2 text-on-surface-variant">search</span>
<input class="w-full pl-10 pr-4 py-2 bg-surface-container-low border-none rounded-full focus:ring-2 focus:ring-primary/20 font-body-md" placeholder="Search system resources..." type="text"/>
</div>
</div>
<div class="flex items-center gap-4">
<button class="w-10 h-10 flex items-center justify-center rounded-full hover:bg-slate-100 text-on-surface-variant">
<span class="material-symbols-outlined" data-icon="notifications">notifications</span>
</button>
<button class="w-10 h-10 flex items-center justify-center rounded-full hover:bg-slate-100 text-on-surface-variant">
<span class="material-symbols-outlined" data-icon="calendar_today">calendar_today</span>
</button>
<div class="h-8 w-[1px] bg-slate-200 mx-2"></div>
<div class="flex items-center gap-3 pl-2">
<div class="text-right">
<p class="font-body-md font-semibold text-on-surface">Alex Rivera</p>
<p class="font-label-md text-on-surface-variant">Senior Administrator</p>
</div>
<img alt="Administrator Profile" class="w-10 h-10 rounded-full border border-slate-200" src="https://lh3.googleusercontent.com/aida-public/AB6AXuAtHGoIBcar94rMuPWVlFHcN-UeUZqFQEA_6n8Bwewxqe80TjDQjWPaBTLNsg4S-gBxFpcIY0xWawaDEJfZ2xfpmPL1CW1eV38Mi5CsTPYygJfh2wHlBGu8oJ-K1525FjWYMBigTWZNn4wbyTlVVEB1EonSgphK2PUCtOH3uee5wkDF6kKIWDWjSZVel6TAmtuSf2py8PmIFK00Rrt01xUOMAzo1pEfLvQkG7DJ4eyAJJhWYBfqcpgWEAXGgBxRcyTuKtt9o6ETfHo"/>
</div>
</div>
</header>
<!-- Main Content Area -->
<main class="ml-64 mt-[72px] p-page-padding">
<!-- Page Header -->
<div class="flex justify-between items-end mb-8">
<div>
<h2 class="font-display-lg text-display-lg text-on-surface">Merchant Management</h2>
<p class="font-body-lg text-on-surface-variant mt-1">Oversee and manage the complete merchant lifecycle and compliance.</p>
</div>
<button class="bg-primary text-on-primary px-6 py-3 rounded-xl flex items-center gap-2 hover:opacity-90 active:scale-95 transition-all font-semibold">
<span class="material-symbols-outlined">add</span>
Register New Device
</button>
</div>
<!-- Filter Bar -->
<section class="bg-surface-container-lowest border border-slate-200 rounded-xl p-4 mb-6 flex flex-wrap items-center gap-4">
<div class="flex-1 min-w-[240px] relative">
<span class="material-symbols-outlined absolute left-3 top-1/2 -translate-y-1/2 text-on-surface-variant text-[20px]">search</span>
<input class="w-full pl-10 pr-4 py-2 border border-slate-200 rounded-lg text-body-md focus:ring-primary focus:border-primary" placeholder="Search by Merchant Name or ID..." type="text"/>
</div>
<div class="flex items-center gap-3">
<select class="border border-slate-200 rounded-lg py-2 pl-3 pr-8 text-body-md focus:ring-primary bg-white">
<option value="">All Statuses</option>
<option value="active">Active</option>
<option value="inactive">Inactive</option>
<option value="pending">Pending</option>
</select>
<select class="border border-slate-200 rounded-lg py-2 pl-3 pr-8 text-body-md focus:ring-primary bg-white">
<option value="">All Categories</option>
<option value="fb">F&amp;B</option>
<option value="retail">Retail</option>
<option value="services">Services</option>
<option value="ecommerce">E-commerce</option>
</select>
<button class="flex items-center gap-2 border border-slate-200 rounded-lg py-2 px-4 text-on-surface hover:bg-slate-50 transition-colors font-semibold">
<span class="material-symbols-outlined text-[20px]">download</span>
Export CSV
</button>
</div>
</section>
<!-- Data Table Section -->
<section class="bg-surface-container-lowest border border-slate-200 rounded-xl overflow-hidden">
<div class="data-table-container overflow-x-auto">
<table class="w-full text-left border-collapse">
<thead>
<tr class="bg-slate-50 border-b border-slate-200">
<th class="px-6 py-4 font-semibold text-on-surface-variant text-label-md uppercase tracking-wider">ID</th>
<th class="px-6 py-4 font-semibold text-on-surface-variant text-label-md uppercase tracking-wider">Merchant Name</th>
<th class="px-6 py-4 font-semibold text-on-surface-variant text-label-md uppercase tracking-wider">Category</th>
<th class="px-6 py-4 font-semibold text-on-surface-variant text-label-md uppercase tracking-wider">Outlets</th>
<th class="px-6 py-4 font-semibold text-on-surface-variant text-label-md uppercase tracking-wider">Devices</th>
<th class="px-6 py-4 font-semibold text-on-surface-variant text-label-md uppercase tracking-wider">Status</th>
<th class="px-6 py-4 font-semibold text-on-surface-variant text-label-md uppercase tracking-wider">Last Transaction</th>
<th class="px-6 py-4 font-semibold text-on-surface-variant text-label-md uppercase tracking-wider text-right">Actions</th>
</tr>
</thead>
<tbody class="divide-y divide-slate-100">
<!-- Merchant Row 1 -->
<tr class="hover:bg-slate-50 transition-colors group">
<td class="px-6 py-4 font-mono text-label-md text-on-surface-variant">MCH-88291</td>
<td class="px-6 py-4">
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-lg bg-secondary-container flex items-center justify-center overflow-hidden">
<img class="w-full h-full object-cover" data-alt="A clean, minimalist logo for a coffee shop featuring a stylized steaming cup in a modern flat design. The background is a soft blue-grey, matching a fintech dashboard palette of reliable and professional tones." src="https://lh3.googleusercontent.com/aida-public/AB6AXuBKfBUyrfZro5QVTE5ZCHKN39soarIHfzQFLprT4Y2uPMBLW-u0mWpegdCXdvKCnYE6rA0McX6GvMfR2Qyzz9WxW2ETHywyFDNqBBYo7kteOxuMIku9etvuLDx4nyLz7sPFnpbuUQY6ollY6OKKNJgmDya8_2YQI2ySdqQNNvOYFVoTH53wN4195W4pASxMCG0NnVAxwDIeX8CRvzXwhP8JcEkgJRLA2w5s_y8qaVqUqy5mjRmmn4HpjBgrAauWCTI_R0sjJzv7_JE"/>
</div>
<span class="font-semibold text-on-surface">Artisan Brew Co.</span>
</div>
</td>
<td class="px-6 py-4">
<span class="text-body-md text-on-surface-variant">F&amp;B</span>
</td>
<td class="px-6 py-4 font-mono text-body-md">12</td>
<td class="px-6 py-4 font-mono text-body-md">45</td>
<td class="px-6 py-4">
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-bold bg-success/10 text-success">
ACTIVE
</span>
</td>
<td class="px-6 py-4 text-body-md text-on-surface-variant">Oct 24, 2023 14:22</td>
<td class="px-6 py-4 text-right">
<button class="text-slate-400 hover:text-primary transition-colors">
<span class="material-symbols-outlined">more_vert</span>
</button>
</td>
</tr>
<!-- Merchant Row 2 -->
<tr class="hover:bg-slate-50 transition-colors group">
<td class="px-6 py-4 font-mono text-label-md text-on-surface-variant">MCH-44120</td>
<td class="px-6 py-4">
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-lg bg-secondary-container flex items-center justify-center overflow-hidden">
<img class="w-full h-full object-cover" data-alt="A modern apparel brand logo featuring a stylized hanger icon in a sleek, minimalist geometric style. The color palette is professional slate and crisp white, designed for a corporate admin interface with high density and clarity." src="https://lh3.googleusercontent.com/aida-public/AB6AXuBkmTU4JFWXV3Rit6K4fgcF7sGDXBXpntQ9fJsDAuahc9gDUe_HWHc46Zm-fTkbjd1mJHmhJsBxi2GyMqCZz8Y3gz1NY3ek5nJPgG5sPGM69X1d2u-UPRvogRgxCEnZly8s6rPGm_70NeYIPCo7KH-YMPM32yoPeWT5QSP1ihFq3Sn6L3zBJHrOEcYjMsBri9Nzr-NN505R9GSh4egxWehgbngkD60ylylOhcub3XmyFOndD8XBtQ0cKo-qZ96o-uZLqiRxtMmIR74"/>
</div>
<span class="font-semibold text-on-surface">Urban Threads</span>
</div>
</td>
<td class="px-6 py-4">
<span class="text-body-md text-on-surface-variant">Retail</span>
</td>
<td class="px-6 py-4 font-mono text-body-md">04</td>
<td class="px-6 py-4 font-mono text-body-md">08</td>
<td class="px-6 py-4">
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-bold bg-danger/10 text-danger">
INACTIVE
</span>
</td>
<td class="px-6 py-4 text-body-md text-on-surface-variant">Oct 20, 2023 09:15</td>
<td class="px-6 py-4 text-right">
<button class="text-slate-400 hover:text-primary transition-colors">
<span class="material-symbols-outlined">more_vert</span>
</button>
</td>
</tr>
<!-- Merchant Row 3 -->
<tr class="hover:bg-slate-50 transition-colors group">
<td class="px-6 py-4 font-mono text-label-md text-on-surface-variant">MCH-99012</td>
<td class="px-6 py-4">
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-lg bg-secondary-container flex items-center justify-center overflow-hidden">
<img class="w-full h-full object-cover" data-alt="A logistics company logo showcasing a minimalist box icon with speed lines, rendered in professional navy and bright accent blue. The aesthetic is sharp, functional, and aligns with a high-performance data-centric operational dashboard." src="https://lh3.googleusercontent.com/aida-public/AB6AXuAteFl10D32AZL0y8tuXOSnmnJ4tc58HNOXD2K2ImTWo4Nxsv5Np3ef99cG4E_PTxixQsDi96uykUjsg6p35VZwY5inZMRf_7Q4HBEScyHyI_TrnL4J6DymxcbidH77BRXV9y5ucOmUs0kQhGFh1cHiX4g_MXECvyykX97zVnauBJrMUr_4mPNQ9Fwemlim6s0_wcRjRajP-oQdreC4Nhi_F9_xsLPO0mbsEr7KX7Q1KGxy6xrNjIWTjTCo6HGpJxMK_tILcriVUN0"/>
</div>
<span class="font-semibold text-on-surface">Swift Logistics Ltd.</span>
</div>
</td>
<td class="px-6 py-4">
<span class="text-body-md text-on-surface-variant">Services</span>
</td>
<td class="px-6 py-4 font-mono text-body-md">01</td>
<td class="px-6 py-4 font-mono text-body-md">02</td>
<td class="px-6 py-4">
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-bold bg-warning/10 text-warning">
PENDING
</span>
</td>
<td class="px-6 py-4 text-body-md text-on-surface-variant">--</td>
<td class="px-6 py-4 text-right">
<button class="text-slate-400 hover:text-primary transition-colors">
<span class="material-symbols-outlined">more_vert</span>
</button>
</td>
</tr>
<!-- Merchant Row 4 -->
<tr class="hover:bg-slate-50 transition-colors group">
<td class="px-6 py-4 font-mono text-label-md text-on-surface-variant">MCH-23841</td>
<td class="px-6 py-4">
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-lg bg-secondary-container flex items-center justify-center overflow-hidden">
<img class="w-full h-full object-cover" data-alt="A fresh produce market logo with a geometric broccoli icon in a vibrant yet professional green tone. The design is minimalist and high-contrast, optimized for rapid scanning within a dense corporate data table." src="https://lh3.googleusercontent.com/aida-public/AB6AXuCCP8RJqNWQLE7Z-BIb3KRTDckaIjT7YjbE0OHl5fOFC561xfQf2IRDRzGal47AQb6QlrZ_p-rIZIXjfjcVvkE3zJe3RCTD5C0cen6M1F84bpKjfWO0-Mhj0pnZ_iLnTnSO4Wj_pdqwuiawXy9zIBD4y0UvnmXGvSKhWp9_FzHq781IUPGe7hWDtuWR8VoOampvdGw3fuEKLRIMXUJ1naRM5Vpv4BWX35JHkls9AUzwbdszHWMMeKkJHVGBwObTO8Ur_c-5NHJkpEo"/>
</div>
<span class="font-semibold text-on-surface">Green Garden Market</span>
</div>
</td>
<td class="px-6 py-4">
<span class="text-body-md text-on-surface-variant">Retail</span>
</td>
<td class="px-6 py-4 font-mono text-body-md">25</td>
<td class="px-6 py-4 font-mono text-body-md">110</td>
<td class="px-6 py-4">
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-bold bg-success/10 text-success">
ACTIVE
</span>
</td>
<td class="px-6 py-4 text-body-md text-on-surface-variant">Oct 24, 2023 16:45</td>
<td class="px-6 py-4 text-right">
<button class="text-slate-400 hover:text-primary transition-colors">
<span class="material-symbols-outlined">more_vert</span>
</button>
</td>
</tr>
<!-- Merchant Row 5 -->
<tr class="hover:bg-slate-50 transition-colors group">
<td class="px-6 py-4 font-mono text-label-md text-on-surface-variant">MCH-11005</td>
<td class="px-6 py-4">
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-lg bg-secondary-container flex items-center justify-center overflow-hidden">
<img class="w-full h-full object-cover" data-alt="A digital agency logo representing a minimalist smartphone silhouette with a small spark icon, using a sophisticated dark blue and slate palette. The style is clean, corporate, and focuses on professional reliability for fintech operations." src="https://lh3.googleusercontent.com/aida-public/AB6AXuBBrKpwIAJIli0LBrGqV9D3Le2guSH2NHq8Y0cFb5jy1MWJTrTK3U0azfF4cTFBjxh90cdUL_RlsOjw2z77hcHmSoncAjOx90fFCnh11YbFnxHI_oDx2xd-rv3a0i9wpXXz7Jk5pWXnfc9jbEJvopMpXSwkHN8h475CjZ2UyJv3YhyLj0at7lVYDhnXKdcKXEPIGe3wUArGxiSmHlroSJYXJFglfswomZouovWyB_LAyTqXclNCCId3aIsOvdcZu0yAr0VxMDoyXpk"/>
</div>
<span class="font-semibold text-on-surface">Pixel Perfect Media</span>
</div>
</td>
<td class="px-6 py-4">
<span class="text-body-md text-on-surface-variant">E-commerce</span>
</td>
<td class="px-6 py-4 font-mono text-body-md">02</td>
<td class="px-6 py-4 font-mono text-body-md">02</td>
<td class="px-6 py-4">
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-bold bg-success/10 text-success">
ACTIVE
</span>
</td>
<td class="px-6 py-4 text-body-md text-on-surface-variant">Oct 23, 2023 11:30</td>
<td class="px-6 py-4 text-right">
<button class="text-slate-400 hover:text-primary transition-colors">
<span class="material-symbols-outlined">more_vert</span>
</button>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Pagination -->
<div class="px-6 py-4 bg-white border-t border-slate-200 flex items-center justify-between">
<p class="font-label-md text-on-surface-variant">
Showing <span class="font-bold text-on-surface">1 - 5</span> of <span class="font-bold text-on-surface">124</span> merchants
</p>
<div class="flex items-center gap-2">
<button class="w-8 h-8 flex items-center justify-center rounded border border-slate-200 text-slate-400 hover:bg-slate-50 disabled:opacity-50" disabled="">
<span class="material-symbols-outlined text-[20px]">chevron_left</span>
</button>
<button class="w-8 h-8 flex items-center justify-center rounded bg-primary text-on-primary text-label-md font-bold">1</button>
<button class="w-8 h-8 flex items-center justify-center rounded hover:bg-slate-50 text-on-surface-variant text-label-md">2</button>
<button class="w-8 h-8 flex items-center justify-center rounded hover:bg-slate-50 text-on-surface-variant text-label-md">3</button>
<span class="text-slate-300">...</span>
<button class="w-8 h-8 flex items-center justify-center rounded hover:bg-slate-50 text-on-surface-variant text-label-md">25</button>
<button class="w-8 h-8 flex items-center justify-center rounded border border-slate-200 text-on-surface-variant hover:bg-slate-50">
<span class="material-symbols-outlined text-[20px]">chevron_right</span>
</button>
</div>
</div>
</section>
<!-- KPI Cards Grid -->
<section class="grid grid-cols-1 md:grid-cols-4 gap-gutter mt-8">
<div class="bg-surface-container-lowest border border-slate-200 p-card-padding rounded-xl shadow-sm">
<p class="font-label-md text-on-surface-variant uppercase tracking-wider mb-1">Total Merchants</p>
<h3 class="font-metric-lg text-metric-lg text-on-surface">1,248</h3>
<div class="flex items-center gap-1 mt-2 text-success font-metric-sm">
<span class="material-symbols-outlined text-[16px]">trending_up</span>
<span>+12.5%</span>
<span class="text-on-surface-variant ml-1">vs last month</span>
</div>
</div>
<div class="bg-surface-container-lowest border border-slate-200 p-card-padding rounded-xl shadow-sm">
<p class="font-label-md text-on-surface-variant uppercase tracking-wider mb-1">Active Devices</p>
<h3 class="font-metric-lg text-metric-lg text-on-surface">4,812</h3>
<div class="flex items-center gap-1 mt-2 text-success font-metric-sm">
<span class="material-symbols-outlined text-[16px]">trending_up</span>
<span>+4.2%</span>
<span class="text-on-surface-variant ml-1">vs last month</span>
</div>
</div>
<div class="bg-surface-container-lowest border border-slate-200 p-card-padding rounded-xl shadow-sm">
<p class="font-label-md text-on-surface-variant uppercase tracking-wider mb-1">Pending KYM</p>
<h3 class="font-metric-lg text-metric-lg text-on-surface">24</h3>
<div class="flex items-center gap-1 mt-2 text-warning font-metric-sm">
<span class="material-symbols-outlined text-[16px]">priority_high</span>
<span>Needs attention</span>
</div>
</div>
<div class="bg-surface-container-lowest border border-slate-200 p-card-padding rounded-xl shadow-sm">
<p class="font-label-md text-on-surface-variant uppercase tracking-wider mb-1">Total Volume</p>
<h3 class="font-metric-lg text-metric-lg text-on-surface">$2.4M</h3>
<div class="flex items-center gap-1 mt-2 text-success font-metric-sm">
<span class="material-symbols-outlined text-[16px]">trending_up</span>
<span>+18.4%</span>
<span class="text-on-surface-variant ml-1">vs last month</span>
</div>
</div>
</section>
</main>
<!-- Detail Drawer Placeholder (Hidden by default) -->
<div class="fixed top-0 right-0 h-full w-[480px] bg-white shadow-2xl z-[60] transform translate-x-full transition-transform duration-300 border-l border-slate-200" id="detail-drawer">
<div class="p-6 h-full flex flex-col">
<div class="flex justify-between items-center mb-8">
<h3 class="font-headline-lg text-headline-lg text-on-surface">Merchant Details</h3>
<button class="w-10 h-10 flex items-center justify-center rounded-full hover:bg-slate-100 transition-colors" onclick="closeDrawer()">
<span class="material-symbols-outlined">close</span>
</button>
</div>
<div class="flex-1 overflow-y-auto">
<!-- Content will be injected here -->
<div class="bg-slate-50 p-4 rounded-xl mb-6 flex items-center gap-4">
<div class="w-16 h-16 rounded-xl bg-white border border-slate-200 flex items-center justify-center overflow-hidden">
<img class="w-full h-full object-cover" data-alt="High-resolution, minimalist corporate logo mockup on a clean white background. Soft studio lighting creates a premium, modern tech aesthetic suitable for a detailed admin inspection panel." src="https://lh3.googleusercontent.com/aida-public/AB6AXuCeTlL7iBlYwrDbVDHtYvDcce0uIyVd-9P6WnjYxruB94Q8dMXWwAFs6mv9sPK6Cf15cEm0dgG2nMeqBTXk0k0h6eh4laSjli21qrfsu8D2tT5M9oPy-Xonc1EgsgM24YUJl23Dydu2rmxDdoctzefQTtQm4EzUC4o2dBUQSRHp5KhgtL3qj-gegguvtEjH2cHIUKf40ZK9ew73QnvWr7fFYquaSAgMHt1vZgN6Ya9LJah4eRUlmklnZ_NeqxIPQN_AWOfvPCwQqo0"/>
</div>
<div>
<h4 class="font-headline-md text-on-surface">Artisan Brew Co.</h4>
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-bold bg-success/10 text-success">ACTIVE</span>
</div>
</div>
<div class="space-y-6">
<div class="grid grid-cols-2 gap-4">
<div>
<p class="font-label-md text-on-surface-variant uppercase">Merchant ID</p>
<p class="font-body-md font-semibold text-on-surface">MCH-88291</p>
</div>
<div>
<p class="font-label-md text-on-surface-variant uppercase">Tax ID</p>
<p class="font-body-md font-semibold text-on-surface">TX-992-001</p>
</div>
</div>
<div>
<p class="font-label-md text-on-surface-variant uppercase mb-2">Operational Health</p>
<div class="w-full bg-slate-100 rounded-full h-2">
<div class="bg-success h-2 rounded-full w-[94%]"></div>
</div>
<p class="text-right text-xs mt-1 font-semibold text-success">94% Positive Uptime</p>
</div>
<div>
<p class="font-label-md text-on-surface-variant uppercase mb-3">Recent System Audit</p>
<div class="bg-slate-900 rounded-lg p-4 font-mono text-xs text-slate-300 relative">
<button class="absolute top-2 right-2 text-slate-500 hover:text-white">
<span class="material-symbols-outlined text-[18px]">content_copy</span>
</button>
<pre>{
"event": "SETTLEMENT_BATCH_CLOSE",
"batch_id": "BT-7721",
"total": 4500.22,
"status": "SUCCESS",
"timestamp": "2023-10-24T14:22:11Z"
}</pre>
</div>
</div>
</div>
</div>
<div class="mt-auto pt-6 border-t border-slate-200 grid grid-cols-2 gap-4">
<button class="py-3 border border-slate-200 rounded-xl font-semibold text-on-surface hover:bg-slate-50 transition-all">Suspend Account</button>
<button class="py-3 bg-primary text-on-primary rounded-xl font-semibold hover:opacity-90 transition-all">Edit Profiles</button>
</div>
</div>
</div>
<!-- Interaction Script -->
<script>
function openDrawer() {
document.getElementById('detail-drawer').classList.remove('translate-x-full');
}
function closeDrawer() {
document.getElementById('detail-drawer').classList.add('translate-x-full');
}
// Add event listeners to table rows to simulate drawer opening
document.querySelectorAll('tbody tr').forEach(row => {
row.style.cursor = 'pointer';
row.addEventListener('click', (e) => {
if (e.target.closest('button')) return; // Don't trigger on action button
openDrawer();
});
});
</script>
</body></html>