Files
2026-05-09 18:27:47 +00:00

406 lines
27 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HR Portal v4 — Payroll Processing</title>
<style>
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #f8fafc; color: #0f172a; display: flex; min-height: 100vh; }
.sidebar { width: 240px; min-height: 100vh; background: #1e3a5f; display: flex; flex-direction: column; position: fixed; top: 0; left: 0; z-index: 100; }
.sidebar-logo { padding: 20px 20px 16px; border-bottom: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; gap: 10px; }
.sidebar-logo-icon { width: 36px; height: 36px; background: #2563eb; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sidebar-logo-text { font-size: 15px; font-weight: 700; color: #fff; }
.sidebar-logo-sub { font-size: 10px; color: #94a3b8; margin-top: 1px; }
.sidebar-nav { flex: 1; padding: 12px 0; overflow-y: auto; }
.nav-section-label { font-size: 10px; font-weight: 600; color: #64748b; letter-spacing: 0.8px; text-transform: uppercase; padding: 8px 20px 4px; }
.nav-item { display: flex; align-items: center; gap: 10px; padding: 9px 20px; color: #cbd5e1; font-size: 13.5px; font-weight: 500; cursor: pointer; border-left: 3px solid transparent; text-decoration: none; }
.nav-item:hover { background: rgba(255,255,255,0.07); color: #fff; }
.nav-item.active { background: rgba(37,99,235,0.25); color: #fff; border-left-color: #2563eb; }
.nav-badge { margin-left: auto; background: #2563eb; color: #fff; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 20px; }
.sidebar-footer { padding: 14px 16px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; gap: 10px; }
.sidebar-avatar { width: 34px; height: 34px; border-radius: 50%; background: #2563eb; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #fff; flex-shrink: 0; }
.sidebar-user-name { font-size: 13px; font-weight: 600; color: #fff; }
.sidebar-user-role { font-size: 11px; color: #94a3b8; }
.main { margin-left: 240px; display: flex; flex-direction: column; flex: 1; }
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid #e2e8f0; padding: 0 28px; height: 60px; display: flex; align-items: center; gap: 16px; }
.header-title { font-size: 16px; font-weight: 700; color: #0f172a; flex: 1; }
.icon-btn { width: 36px; height: 36px; border-radius: 8px; border: 1px solid #e2e8f0; background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; color: #64748b; }
.notif-badge { position: absolute; top: -4px; right: -4px; width: 16px; height: 16px; background: #dc2626; border-radius: 50%; font-size: 9px; font-weight: 700; color: #fff; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.header-avatar { width: 34px; height: 34px; border-radius: 50%; background: #1e3a5f; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; cursor: pointer; }
.content { padding: 28px; flex: 1; }
.page-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.page-title { font-size: 20px; font-weight: 700; }
.page-sub { font-size: 13px; color: #64748b; margin-top: 2px; }
/* CONTROLS */
.controls-row { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.month-selector { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px 16px; }
.month-nav { width: 28px; height: 28px; border-radius: 6px; border: 1px solid #e2e8f0; background: #f8fafc; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #64748b; }
.month-label { font-size: 15px; font-weight: 700; color: #0f172a; padding: 0 8px; }
.compliance-badge { display: inline-flex; align-items: center; gap: 6px; background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; border-radius: 8px; padding: 8px 14px; font-size: 12px; font-weight: 600; }
/* STATUS BANNER */
.status-banner { background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 14px 20px; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.banner-icon { width: 36px; height: 36px; background: #fef3c7; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.banner-text strong { font-size: 14px; color: #92400e; }
.banner-text p { font-size: 12px; color: #b45309; margin-top: 2px; }
.btn-process-all { margin-left: auto; background: #2563eb; color: #fff; border: none; border-radius: 8px; padding: 10px 20px; font-size: 13px; font-weight: 700; cursor: pointer; font-family: inherit; display: flex; align-items: center; gap: 8px; transition: background 0.15s; }
.btn-process-all:hover { background: #1d4ed8; }
/* SUMMARY CARDS */
.summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.summary-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 18px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.summary-label { font-size: 12px; color: #64748b; font-weight: 500; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.summary-value { font-size: 26px; font-weight: 800; color: #0f172a; letter-spacing: -0.5px; }
.summary-sub { font-size: 11px; color: #94a3b8; margin-top: 4px; }
/* TABLE */
.table-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); overflow: hidden; }
.table-header { padding: 16px 20px; border-bottom: 1px solid #f1f5f9; display: flex; align-items: center; justify-content: space-between; }
.table-title { font-size: 14px; font-weight: 700; }
table { width: 100%; border-collapse: collapse; }
th { font-size: 11px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; padding: 10px 14px; text-align: right; background: #f8fafc; border-bottom: 1px solid #e2e8f0; white-space: nowrap; }
th:first-child, th:nth-child(2) { text-align: left; }
td { padding: 13px 14px; font-size: 13px; color: #374151; border-bottom: 1px solid #f1f5f9; vertical-align: middle; text-align: right; }
td:first-child, td:nth-child(2) { text-align: left; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #fafbfd; }
.emp-cell { display: flex; align-items: center; gap: 10px; }
.emp-avatar { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #fff; flex-shrink: 0; }
.emp-name { font-size: 13px; font-weight: 600; color: #0f172a; }
.emp-code { font-size: 11px; color: #94a3b8; }
.amount { font-size: 13px; font-weight: 600; color: #0f172a; font-variant-numeric: tabular-nums; }
.deduction { color: #dc2626; }
.net-pay { color: #16a34a; font-weight: 700; }
.btn-payslip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 6px; font-size: 11px; font-weight: 600; cursor: pointer; border: 1px solid #bfdbfe; background: #eff6ff; color: #2563eb; font-family: inherit; white-space: nowrap; }
.btn-payslip:hover { background: #dbeafe; }
.total-row td { background: #f8fafc !important; font-weight: 700; border-top: 2px solid #e2e8f0; }
/* MOBILE RESPONSIVE */
.sidebar-overlay {
display: none;
position: fixed; inset: 0; background: rgba(0,0,0,0.5);
z-index: 99;
}
.hamburger {
display: none;
background: none; border: none; cursor: pointer;
padding: 4px; color: #0f172a;
}
@media (max-width: 768px) {
.sidebar {
transform: translateX(-100%);
transition: transform 0.25s ease;
}
.sidebar.open {
transform: translateX(0);
}
.sidebar-overlay.open {
display: block;
}
.main {
margin-left: 0 !important;
}
.hamburger {
display: flex;
align-items: center;
justify-content: center;
}
.search-box {
display: none;
}
.header {
padding: 0 16px;
}
.content {
padding: 16px !important;
}
/* Stack KPI cards on mobile */
.kpi-grid, .stats-row {
grid-template-columns: repeat(2, 1fr) !important;
}
/* Hide less important table columns on mobile */
.hide-mobile {
display: none !important;
}
}
@media (max-width: 480px) {
.kpi-grid, .stats-row {
grid-template-columns: 1fr 1fr !important;
}
}
</style>
</head>
<body>
<div class="sidebar-overlay" id="sidebarOverlay" onclick="closeSidebar()"></div>
<aside class="sidebar">
<div class="sidebar-logo">
<div class="sidebar-logo-icon"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2.2"><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M23 21v-2a4 4 0 0 0-3-3.87"/><path d="M16 3.13a4 4 0 0 1 0 7.75"/></svg></div>
<div><div class="sidebar-logo-text">HR Portal v4</div><div class="sidebar-logo-sub">Admin Console</div></div>
</div>
<nav class="sidebar-nav">
<div class="nav-section-label">Main</div>
<a class="nav-item" href="02-admin-dashboard.html"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="3" y="3" width="7" height="7"/><rect x="14" y="3" width="7" height="7"/><rect x="14" y="14" width="7" height="7"/><rect x="3" y="14" width="7" height="7"/></svg>Dashboard</a>
<a class="nav-item" href="03-employee-list.html"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M23 21v-2a4 4 0 0 0-3-3.87"/><path d="M16 3.13a4 4 0 0 1 0 7.75"/></svg>Employees</a>
<a class="nav-item" href="#"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/><polyline points="9 22 9 12 15 12 15 22"/></svg>Departments</a>
<div class="nav-section-label" style="margin-top:8px;">Operations</div>
<a class="nav-item" href="04-leave-management.html"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"/><line x1="16" y1="2" x2="16" y2="6"/><line x1="8" y1="2" x2="8" y2="6"/><line x1="3" y1="10" x2="21" y2="10"/></svg>Leave Management<span class="nav-badge">5</span></a>
<a class="nav-item" href="06-attendance.html"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"/><polyline points="12 6 12 12 16 14"/></svg>Attendance</a>
<a class="nav-item active" href="#"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="12" y1="1" x2="12" y2="23"/><path d="M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"/></svg>Payroll</a>
<a class="nav-item" href="07-recruitment.html"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/></svg>Recruitment</a>
<a class="nav-item" href="#"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="22 12 18 12 15 21 9 3 6 12 2 12"/></svg>Performance</a>
<div class="nav-section-label" style="margin-top:8px;">Analytics</div>
<a class="nav-item" href="#"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="18" y1="20" x2="18" y2="10"/><line x1="12" y1="20" x2="12" y2="4"/><line x1="6" y1="20" x2="6" y2="14"/></svg>Reports</a>
<a class="nav-item" href="#"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="3"/><path d="M19.07 4.93a10 10 0 0 1 0 14.14M4.93 4.93a10 10 0 0 0 0 14.14"/></svg>Settings</a>
</nav>
<div class="sidebar-footer">
<div class="sidebar-avatar">AK</div>
<div><div class="sidebar-user-name">Arun Kumar</div><div class="sidebar-user-role">Super Admin</div></div>
</div>
</aside>
<div class="main">
<header class="header">
<button class="hamburger" onclick="toggleSidebar()" aria-label="Toggle menu">
<svg width="22" height="22" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" d="M4 6h16M4 12h16M4 18h16"/>
</svg>
</button>
<div class="header-title">Payroll Processing</div>
<div style="display:flex;align-items:center;gap:8px">
<div class="icon-btn"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"/><path d="M13.73 21a2 2 0 0 1-3.46 0"/></svg><span class="notif-badge">5</span></div>
<div class="header-avatar">AK</div>
</div>
</header>
<div class="content">
<div class="page-top">
<div>
<div class="page-title">Payroll Processing</div>
<div class="page-sub">Manage monthly salaries, deductions, and payslips</div>
</div>
<div style="display:flex;gap:10px">
<button style="display:flex;align-items:center;gap:6px;background:#fff;color:#374151;border:1px solid #e2e8f0;border-radius:8px;padding:9px 16px;font-size:13px;font-weight:500;cursor:pointer;font-family:inherit">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="21 15 15 15 15 21"/><path d="M18 15V9a6 6 0 0 0-6-6H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h6"/></svg>
Export Report
</button>
</div>
</div>
<div class="controls-row">
<div class="month-selector">
<div class="month-nav"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="15 18 9 12 15 6"/></svg></div>
<div class="month-label">May 2026</div>
<div class="month-nav"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="9 18 15 12 9 6"/></svg></div>
</div>
<div class="compliance-badge">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/></svg>
Indian Compliance Mode: PF + ESI + TDS Active
</div>
</div>
<!-- Status Banner -->
<div class="status-banner">
<div class="banner-icon">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="#d97706" stroke-width="2"><circle cx="12" cy="12" r="10"/><line x1="12" y1="8" x2="12" y2="12"/><line x1="12" y1="16" x2="12.01" y2="16"/></svg>
</div>
<div class="banner-text">
<strong>Payroll Status: Draft — Not Yet Processed</strong>
<p>Review employee data, verify attendance, and click "Process All Payroll" to generate payslips for May 2026.</p>
</div>
<button class="btn-process-all">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"><polyline points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"/></svg>
Process All Payroll
</button>
</div>
<!-- Summary Cards -->
<div class="summary-grid">
<div class="summary-card">
<div class="summary-label">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="#64748b" stroke-width="2"><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/></svg>
Total Employees
</div>
<div class="summary-value">247</div>
<div class="summary-sub">Eligible for May payroll</div>
</div>
<div class="summary-card">
<div class="summary-label">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="#64748b" stroke-width="2"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"/><polyline points="22 4 12 14.01 9 11.01"/></svg>
Processed
</div>
<div class="summary-value" style="color:#64748b">0</div>
<div class="summary-sub">Pending processing</div>
</div>
<div class="summary-card">
<div class="summary-label">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="#64748b" stroke-width="2"><line x1="12" y1="1" x2="12" y2="23"/><path d="M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"/></svg>
Total Gross
</div>
<div class="summary-value">&#8377;18.4L</div>
<div class="summary-sub">Before deductions</div>
</div>
<div class="summary-card">
<div class="summary-label">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="#16a34a" stroke-width="2"><line x1="12" y1="1" x2="12" y2="23"/><path d="M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"/></svg>
Total Net Pay
</div>
<div class="summary-value" style="color:#16a34a">&#8377;15.6L</div>
<div class="summary-sub">After all deductions</div>
</div>
</div>
<!-- Payroll Table -->
<div class="table-card">
<div class="table-header">
<div class="table-title">Employee Payroll — May 2026</div>
<div style="display:flex;align-items:center;gap:10px">
<select style="appearance:none;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:7px 32px 7px 12px;font-size:13px;color:#374151;font-family:inherit;cursor:pointer;background-image:url('data:image/svg+xml,%3Csvg width=\'10\' height=\'6\' viewBox=\'0 0 10 6\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cpath d=\'M1 1l4 4 4-4\' stroke=\'%2364748b\' stroke-width=\'1.5\'/%3E%3C/svg%3E');background-repeat:no-repeat;background-position:right 10px center;outline:none;">
<option>All Departments</option>
<option>Engineering</option>
<option>Sales</option>
</select>
</div>
</div>
<div style="overflow-x:auto">
<table>
<thead>
<tr>
<th>Employee</th>
<th>Designation</th>
<th>Days Worked</th>
<th>Gross Pay</th>
<th>PF (12%)</th>
<th>ESI (0.75%)</th>
<th>TDS</th>
<th>Net Pay</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<tr>
<td><div class="emp-cell"><div class="emp-avatar" style="background:#7c3aed">PS</div><div><div class="emp-name">Priya Sharma</div><div class="emp-code">EMP-0041</div></div></div></td>
<td><span style="font-size:12px;color:#64748b">Sr. Software Engineer</span></td>
<td style="text-align:right">25</td>
<td class="amount">&#8377;1,20,000</td>
<td class="amount deduction">&#8377;14,400</td>
<td class="amount deduction">&#8377;900</td>
<td class="amount deduction">&#8377;8,500</td>
<td class="amount net-pay">&#8377;96,200</td>
<td><button class="btn-payslip"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/></svg>Generate</button></td>
</tr>
<tr>
<td><div class="emp-cell"><div class="emp-avatar" style="background:#0891b2">RV</div><div><div class="emp-name">Rahul Verma</div><div class="emp-code">EMP-0028</div></div></div></td>
<td><span style="font-size:12px;color:#64748b">Product Manager</span></td>
<td style="text-align:right">26</td>
<td class="amount">&#8377;1,45,000</td>
<td class="amount deduction">&#8377;17,400</td>
<td class="amount deduction">&#8377;1,088</td>
<td class="amount deduction">&#8377;12,000</td>
<td class="amount net-pay">&#8377;1,14,512</td>
<td><button class="btn-payslip"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/></svg>Generate</button></td>
</tr>
<tr>
<td><div class="emp-cell"><div class="emp-avatar" style="background:#16a34a">AP</div><div><div class="emp-name">Anjali Patel</div><div class="emp-code">EMP-0055</div></div></div></td>
<td><span style="font-size:12px;color:#64748b">HR Executive</span></td>
<td style="text-align:right">24</td>
<td class="amount">&#8377;55,000</td>
<td class="amount deduction">&#8377;6,600</td>
<td class="amount deduction">&#8377;413</td>
<td class="amount deduction">&#8377;1,200</td>
<td class="amount net-pay">&#8377;46,787</td>
<td><button class="btn-payslip"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/></svg>Generate</button></td>
</tr>
<tr>
<td><div class="emp-cell"><div class="emp-avatar" style="background:#d97706">VS</div><div><div class="emp-name">Vikram Singh</div><div class="emp-code">EMP-0012</div></div></div></td>
<td><span style="font-size:12px;color:#64748b">Regional Sales Head</span></td>
<td style="text-align:right">21</td>
<td class="amount">&#8377;1,80,000</td>
<td class="amount deduction">&#8377;21,600</td>
<td class="amount deduction" style="color:#94a3b8;font-style:italic">Exempt</td>
<td class="amount deduction">&#8377;18,500</td>
<td class="amount net-pay">&#8377;1,39,900</td>
<td><button class="btn-payslip"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/></svg>Generate</button></td>
</tr>
<tr>
<td><div class="emp-cell"><div class="emp-avatar" style="background:#0e7490">NK</div><div><div class="emp-name">Neha Kapoor</div><div class="emp-code">EMP-0067</div></div></div></td>
<td><span style="font-size:12px;color:#64748b">Marketing Manager</span></td>
<td style="text-align:right">25</td>
<td class="amount">&#8377;95,000</td>
<td class="amount deduction">&#8377;11,400</td>
<td class="amount deduction">&#8377;713</td>
<td class="amount deduction">&#8377;5,200</td>
<td class="amount net-pay">&#8377;77,687</td>
<td><button class="btn-payslip"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/></svg>Generate</button></td>
</tr>
<tr>
<td><div class="emp-cell"><div class="emp-avatar" style="background:#7c3aed">SG</div><div><div class="emp-name">Suresh Gupta</div><div class="emp-code">EMP-0008</div></div></div></td>
<td><span style="font-size:12px;color:#64748b">Engineering Manager</span></td>
<td style="text-align:right">26</td>
<td class="amount">&#8377;2,20,000</td>
<td class="amount deduction">&#8377;21,600</td>
<td class="amount deduction" style="color:#94a3b8;font-style:italic">Exempt</td>
<td class="amount deduction">&#8377;28,000</td>
<td class="amount net-pay">&#8377;1,70,400</td>
<td><button class="btn-payslip"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/></svg>Generate</button></td>
</tr>
<tr>
<td><div class="emp-cell"><div class="emp-avatar" style="background:#dc2626">MI</div><div><div class="emp-name">Meena Iyer</div><div class="emp-code">EMP-0033</div></div></div></td>
<td><span style="font-size:12px;color:#64748b">Finance Analyst</span></td>
<td style="text-align:right">0</td>
<td class="amount">&#8377;75,000</td>
<td class="amount deduction">&#8377;9,000</td>
<td class="amount deduction">&#8377;563</td>
<td class="amount deduction">&#8377;3,000</td>
<td class="amount net-pay">&#8377;62,437</td>
<td><button class="btn-payslip"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/></svg>Generate</button></td>
</tr>
<tr>
<td><div class="emp-cell"><div class="emp-avatar" style="background:#166534">AM</div><div><div class="emp-name">Arjun Mehta</div><div class="emp-code">EMP-0092</div></div></div></td>
<td><span style="font-size:12px;color:#64748b">Sales Executive</span></td>
<td style="text-align:right">7</td>
<td class="amount">&#8377;28,000</td>
<td class="amount deduction">&#8377;3,360</td>
<td class="amount deduction">&#8377;210</td>
<td class="amount deduction">&#8377;0</td>
<td class="amount net-pay">&#8377;24,430</td>
<td><button class="btn-payslip"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/></svg>Generate</button></td>
</tr>
<tr class="total-row">
<td colspan="3" style="font-weight:700;color:#0f172a;font-size:13px">TOTAL (8 shown / 247 employees)</td>
<td class="amount" style="font-weight:700">&#8377;9,18,000</td>
<td class="amount deduction" style="font-weight:700">&#8377;1,05,360</td>
<td class="amount deduction" style="font-weight:700">&#8377;3,887</td>
<td class="amount deduction" style="font-weight:700">&#8377;76,400</td>
<td class="amount net-pay" style="font-weight:800;font-size:14px">&#8377;7,32,353</td>
<td></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<script>
function toggleSidebar() {
document.querySelector('.sidebar').classList.toggle('open');
document.getElementById('sidebarOverlay').classList.toggle('open');
}
function closeSidebar() {
document.querySelector('.sidebar').classList.remove('open');
document.getElementById('sidebarOverlay').classList.remove('open');
}
// Close sidebar on nav item click (mobile UX)
document.querySelectorAll('.nav-item').forEach(function(item) {
item.addEventListener('click', function() {
if (window.innerWidth <= 768) closeSidebar();
});
});
</script>
</body>
</html>