374 lines
28 KiB
HTML
374 lines
28 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<title>BetterHuman — Analytics</title>
|
||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Sora:wght@600;700&display=swap" rel="stylesheet">
|
||
<style>
|
||
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
||
body { font-family: 'Inter', sans-serif; background: #F8FAFC; display: flex; min-height: 100vh; font-size: 14px; color: #0F172A; }
|
||
|
||
.sidebar { width: 240px; background: #0F172A; min-height: 100vh; display: flex; flex-direction: column; position: fixed; top: 0; left: 0; bottom: 0; z-index: 10; overflow-y: auto; }
|
||
.sidebar-logo { padding: 20px 20px 16px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(255,255,255,0.06); }
|
||
.logo-icon { width: 36px; height: 36px; background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
|
||
.logo-icon svg { width: 20px; height: 20px; }
|
||
.logo-name { font-family: 'Sora', sans-serif; font-size: 16px; font-weight: 700; color: #FFFFFF; }
|
||
.logo-company { font-size: 11px; color: #475569; font-weight: 500; }
|
||
.sidebar-search { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.06); }
|
||
.sidebar-search input { width: 100%; padding: 7px 10px 7px 32px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: 6px; color: #94A3B8; font-size: 12px; font-family: 'Inter', sans-serif; outline: none; }
|
||
.search-wrap { position: relative; }
|
||
.search-wrap svg { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; color: #475569; }
|
||
.sidebar-nav { padding: 8px 0; flex: 1; }
|
||
.nav-section-label { font-size: 10px; font-weight: 600; letter-spacing: 0.08em; color: #334155; padding: 16px 20px 6px; text-transform: uppercase; }
|
||
.nav-item { display: flex; align-items: center; gap: 10px; padding: 8px 16px; margin: 1px 8px; border-radius: 7px; color: #64748B; font-size: 13px; font-weight: 500; cursor: pointer; transition: all 0.15s; text-decoration: none; }
|
||
.nav-item:hover { background: #1E293B; color: #CBD5E1; }
|
||
.nav-item.active { background: #6366F1; color: #FFFFFF; }
|
||
.nav-item svg { width: 16px; height: 16px; flex-shrink: 0; }
|
||
.nav-badge { margin-left: auto; background: #EF4444; color: white; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 9999px; }
|
||
.sidebar-footer { padding: 12px 16px; border-top: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; gap: 10px; }
|
||
.avatar-sm { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #6366F1, #8B5CF6); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: white; flex-shrink: 0; }
|
||
.footer-name { font-size: 12px; font-weight: 600; color: #CBD5E1; }
|
||
.footer-role { font-size: 11px; color: #475569; }
|
||
|
||
.main { margin-left: 240px; flex: 1; display: flex; flex-direction: column; }
|
||
.topbar { height: 64px; background: #FFFFFF; border-bottom: 1px solid #E2E8F0; display: flex; align-items: center; justify-content: space-between; padding: 0 32px; position: sticky; top: 0; z-index: 5; }
|
||
.topbar-left { display: flex; flex-direction: column; }
|
||
.page-title { font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 700; color: #0F172A; }
|
||
.page-breadcrumb { font-size: 12px; color: #94A3B8; }
|
||
.topbar-right { display: flex; align-items: center; gap: 12px; }
|
||
.icon-btn { width: 36px; height: 36px; border-radius: 8px; border: 1.5px solid #E2E8F0; background: #FFFFFF; display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; }
|
||
.icon-btn svg { width: 18px; height: 18px; color: #64748B; }
|
||
.notif-dot { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; background: #EF4444; border-radius: 50%; border: 2px solid #FFFFFF; }
|
||
.topbar-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #6366F1, #8B5CF6); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: white; }
|
||
.content { padding: 32px; flex: 1; }
|
||
|
||
.btn-primary { display: flex; align-items: center; gap: 8px; padding: 9px 18px; background: #6366F1; color: #FFFFFF; border: none; border-radius: 8px; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; cursor: pointer; }
|
||
.btn-secondary { display: flex; align-items: center; gap: 8px; padding: 9px 14px; background: #FFFFFF; color: #0F172A; border: 1.5px solid #E2E8F0; border-radius: 8px; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 500; cursor: pointer; }
|
||
.btn-primary svg, .btn-secondary svg { width: 15px; height: 15px; }
|
||
|
||
/* KPI CARDS */
|
||
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
|
||
.kpi-card { background: #FFFFFF; border-radius: 12px; padding: 20px 24px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
|
||
.kpi-label { font-size: 12px; color: #64748B; font-weight: 500; margin-bottom: 6px; display: flex; align-items: center; justify-content: space-between; }
|
||
.kpi-value { font-family: 'Sora', sans-serif; font-size: 26px; font-weight: 700; color: #0F172A; }
|
||
.kpi-delta { font-size: 12px; margin-top: 4px; display: flex; align-items: center; gap: 4px; }
|
||
.delta-up { color: #10B981; }
|
||
.delta-down { color: #EF4444; }
|
||
.delta-neutral { color: #64748B; }
|
||
|
||
/* MAIN GRID */
|
||
.analytics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
|
||
.analytics-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 16px; margin-bottom: 20px; }
|
||
.card { background: #FFFFFF; border-radius: 12px; padding: 20px 24px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
|
||
.card-title { font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 700; color: #0F172A; margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; }
|
||
.card-action { font-size: 12px; color: #6366F1; cursor: pointer; }
|
||
|
||
/* HORIZONTAL BAR CHART */
|
||
.h-bar-chart { display: flex; flex-direction: column; gap: 12px; }
|
||
.h-bar-row { display: flex; align-items: center; gap: 12px; }
|
||
.h-bar-label { font-size: 12px; color: #64748B; width: 90px; text-align: right; flex-shrink: 0; }
|
||
.h-bar-track { flex: 1; height: 24px; background: #F1F5F9; border-radius: 6px; overflow: hidden; }
|
||
.h-bar-fill { height: 100%; border-radius: 6px; display: flex; align-items: center; padding-left: 8px; }
|
||
.h-bar-fill.indigo { background: linear-gradient(90deg, #6366F1, #818CF8); }
|
||
.h-bar-fill.green { background: linear-gradient(90deg, #10B981, #34D399); }
|
||
.h-bar-fill.teal { background: linear-gradient(90deg, #14B8A6, #2DD4BF); }
|
||
.h-bar-fill.amber { background: linear-gradient(90deg, #F59E0B, #FCD34D); }
|
||
.h-bar-fill.blue { background: linear-gradient(90deg, #3B82F6, #60A5FA); }
|
||
.h-bar-fill.purple { background: linear-gradient(90deg, #8B5CF6, #A78BFA); }
|
||
.h-bar-count { font-size: 11px; font-weight: 700; color: white; }
|
||
.h-bar-num { font-size: 12px; color: #64748B; width: 30px; text-align: right; flex-shrink: 0; }
|
||
|
||
/* GENDER DISTRIBUTION */
|
||
.gender-bar { height: 28px; border-radius: 8px; overflow: hidden; display: flex; margin-bottom: 16px; }
|
||
.gender-segment { display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: white; }
|
||
.g-male { background: #6366F1; }
|
||
.g-female { background: #EC4899; }
|
||
.g-other { background: #94A3B8; }
|
||
.gender-legend { display: flex; gap: 16px; }
|
||
.g-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #64748B; }
|
||
.g-dot { width: 10px; height: 10px; border-radius: 50%; }
|
||
|
||
/* TENURE CARDS */
|
||
.tenure-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
|
||
.tenure-card { background: #FFFFFF; border-radius: 10px; padding: 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); text-align: center; }
|
||
.tenure-label { font-size: 11px; color: #64748B; margin-bottom: 8px; }
|
||
.tenure-value { font-family: 'Sora', sans-serif; font-size: 28px; font-weight: 700; color: #0F172A; }
|
||
.tenure-sub { font-size: 11px; color: #94A3B8; margin-top: 4px; }
|
||
|
||
/* ATTRITION CHART */
|
||
.att-chart { display: flex; align-items: flex-end; gap: 10px; height: 100px; }
|
||
.att-col { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; }
|
||
.att-bar { width: 100%; border-radius: 4px 4px 0 0; }
|
||
.att-label { font-size: 10px; color: #94A3B8; }
|
||
|
||
/* REPORTS TABLE */
|
||
.table-card { background: #FFFFFF; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); overflow: hidden; }
|
||
table { width: 100%; border-collapse: collapse; }
|
||
thead th { background: #F8FAFC; padding: 11px 16px; text-align: left; font-size: 11px; font-weight: 600; color: #64748B; text-transform: uppercase; letter-spacing: 0.06em; border-bottom: 1px solid #E2E8F0; }
|
||
tbody tr { border-bottom: 1px solid #F1F5F9; transition: background 0.12s; }
|
||
tbody tr:last-child { border-bottom: none; }
|
||
tbody tr:hover { background: #F8FAFC; }
|
||
tbody td { padding: 13px 16px; font-size: 13px; color: #374151; vertical-align: middle; }
|
||
.dl-btn { width: 28px; height: 28px; border: 1px solid #E2E8F0; border-radius: 6px; background: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
|
||
.dl-btn svg { width: 13px; height: 13px; color: #6366F1; }
|
||
|
||
.date-range { padding: 8px 14px; border: 1.5px solid #E2E8F0; border-radius: 8px; font-family: 'Inter', sans-serif; font-size: 13px; color: #374151; background: #FFFFFF; outline: none; cursor: pointer; }
|
||
</style>
|
||
</head>
|
||
<body>
|
||
|
||
<aside class="sidebar">
|
||
<div class="sidebar-logo">
|
||
<div class="logo-icon"><svg viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><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="logo-name">BetterHuman</div><div class="logo-company">TechCorp India Pvt. Ltd.</div></div>
|
||
</div>
|
||
<div class="sidebar-search"><div class="search-wrap"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/></svg><input type="text" placeholder="Search people, docs..."></div></div>
|
||
<nav class="sidebar-nav">
|
||
<div class="nav-section-label">Main</div>
|
||
<a class="nav-item" href="02-dashboard.html"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><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-people.html"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><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>People</a>
|
||
<a class="nav-item" href="#"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="22 12 18 12 15 21 9 3 6 12 2 12"/></svg>Org Chart</a>
|
||
<div class="nav-section-label">Workforce</div>
|
||
<a class="nav-item" href="07-recruitment.html"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="7" width="20" height="14" rx="2"/><path d="M16 7V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2"/></svg>Recruitment</a>
|
||
<a class="nav-item" href="#"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"/><rect x="8" y="2" width="8" height="4" rx="1" ry="1"/></svg>Onboarding</a>
|
||
<a class="nav-item" href="#"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><polyline points="12 6 12 12 16 14"/></svg>Attendance</a>
|
||
<a class="nav-item" href="05-leave.html"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="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<span class="nav-badge">5</span></a>
|
||
<a class="nav-item" href="06-payroll.html"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><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>
|
||
<div class="nav-section-label">Talent</div>
|
||
<a class="nav-item" href="08-performance.html"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"/></svg>Performance</a>
|
||
<a class="nav-item" href="#"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"/><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"/></svg>Learning</a>
|
||
<a class="nav-item" href="#"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"/></svg>Benefits</a>
|
||
<div class="nav-section-label">Culture</div>
|
||
<a class="nav-item" href="#"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"/></svg>Engagement</a>
|
||
<a class="nav-item" href="#"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="8" r="6"/><path d="M15.477 12.89L17 22l-5-3-5 3 1.523-9.11"/></svg>Recognition</a>
|
||
<div class="nav-section-label">Insights</div>
|
||
<a class="nav-item active" href="09-analytics.html"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><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>Analytics</a>
|
||
<div class="nav-section-label">Admin</div>
|
||
<a class="nav-item" href="10-settings.html"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="3"/><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 2.83-2.83l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z"/></svg>Settings</a>
|
||
</nav>
|
||
<div class="sidebar-footer"><div class="avatar-sm">PS</div><div><div class="footer-name">Priya Sharma</div><div class="footer-role">HR Admin</div></div></div>
|
||
</aside>
|
||
|
||
<div class="main">
|
||
<header class="topbar">
|
||
<div class="topbar-left">
|
||
<span class="page-title">Analytics & Reports</span>
|
||
<span class="page-breadcrumb">People insights and workforce trends</span>
|
||
</div>
|
||
<div class="topbar-right">
|
||
<input type="text" class="date-range" value="Jan 1, 2026 — May 5, 2026">
|
||
<button class="btn-secondary">
|
||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="width:14px;height:14px"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg>
|
||
Export
|
||
</button>
|
||
<div class="icon-btn"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><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><div class="notif-dot"></div></div>
|
||
<div class="topbar-avatar">PS</div>
|
||
</div>
|
||
</header>
|
||
|
||
<div class="content">
|
||
<!-- KPI Cards -->
|
||
<div class="kpi-row">
|
||
<div class="kpi-card">
|
||
<div class="kpi-label">Headcount Growth <span style="font-size:10px;background:#ECFDF5;color:#059669;padding:2px 6px;border-radius:9999px">vs Q1</span></div>
|
||
<div class="kpi-value">+12%</div>
|
||
<div class="kpi-delta delta-up">
|
||
<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="18 15 12 9 6 15"/></svg>
|
||
+27 employees this quarter
|
||
</div>
|
||
</div>
|
||
<div class="kpi-card">
|
||
<div class="kpi-label">Attrition Rate <span style="font-size:10px;background:#FFFBEB;color:#D97706;padding:2px 6px;border-radius:9999px">YTD</span></div>
|
||
<div class="kpi-value">8.2%</div>
|
||
<div class="kpi-delta delta-up">
|
||
<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="18 15 12 9 6 15"/></svg>
|
||
Down from 11.4% last year
|
||
</div>
|
||
</div>
|
||
<div class="kpi-card">
|
||
<div class="kpi-label">Avg Time to Hire <span style="font-size:10px;background:#EEF2FF;color:#6366F1;padding:2px 6px;border-radius:9999px">Days</span></div>
|
||
<div class="kpi-value">24 days</div>
|
||
<div class="kpi-delta delta-up">
|
||
<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="18 15 12 9 6 15"/></svg>
|
||
3 days faster than Q4
|
||
</div>
|
||
</div>
|
||
<div class="kpi-card">
|
||
<div class="kpi-label">Engagement Score <span style="font-size:10px;background:#F5F3FF;color:#8B5CF6;padding:2px 6px;border-radius:9999px">eNPS</span></div>
|
||
<div class="kpi-value">78%</div>
|
||
<div class="kpi-delta delta-up">
|
||
<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="18 15 12 9 6 15"/></svg>
|
||
+3 pts from last survey
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Charts Row 1 -->
|
||
<div class="analytics-grid">
|
||
<!-- Headcount by Dept -->
|
||
<div class="card">
|
||
<div class="card-title">Headcount by Department <span class="card-action">Details</span></div>
|
||
<div class="h-bar-chart">
|
||
<div class="h-bar-row">
|
||
<div class="h-bar-label">Engineering</div>
|
||
<div class="h-bar-track"><div class="h-bar-fill indigo" style="width:89%"><span class="h-bar-count">89</span></div></div>
|
||
<div class="h-bar-num">89</div>
|
||
</div>
|
||
<div class="h-bar-row">
|
||
<div class="h-bar-label">Sales</div>
|
||
<div class="h-bar-track"><div class="h-bar-fill green" style="width:45%"><span class="h-bar-count">45</span></div></div>
|
||
<div class="h-bar-num">45</div>
|
||
</div>
|
||
<div class="h-bar-row">
|
||
<div class="h-bar-label">Operations</div>
|
||
<div class="h-bar-track"><div class="h-bar-fill teal" style="width:35%"><span class="h-bar-count">35</span></div></div>
|
||
<div class="h-bar-num">35</div>
|
||
</div>
|
||
<div class="h-bar-row">
|
||
<div class="h-bar-label">Product</div>
|
||
<div class="h-bar-track"><div class="h-bar-fill amber" style="width:28%"><span class="h-bar-count">28</span></div></div>
|
||
<div class="h-bar-num">28</div>
|
||
</div>
|
||
<div class="h-bar-row">
|
||
<div class="h-bar-label">Finance</div>
|
||
<div class="h-bar-track"><div class="h-bar-fill blue" style="width:18%"><span class="h-bar-count">18</span></div></div>
|
||
<div class="h-bar-num">18</div>
|
||
</div>
|
||
<div class="h-bar-row">
|
||
<div class="h-bar-label">HR</div>
|
||
<div class="h-bar-track"><div class="h-bar-fill purple" style="width:12%"><span class="h-bar-count">12</span></div></div>
|
||
<div class="h-bar-num">12</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Gender + Attrition -->
|
||
<div style="display:flex;flex-direction:column;gap:20px;">
|
||
<div class="card">
|
||
<div class="card-title">Gender Distribution</div>
|
||
<div class="gender-bar">
|
||
<div class="gender-segment g-male" style="width:60%">60%</div>
|
||
<div class="gender-segment g-female" style="width:36%">36%</div>
|
||
<div class="gender-segment g-other" style="width:4%">4%</div>
|
||
</div>
|
||
<div class="gender-legend">
|
||
<div class="g-item"><div class="g-dot" style="background:#6366F1"></div>Male · 148</div>
|
||
<div class="g-item"><div class="g-dot" style="background:#EC4899"></div>Female · 89</div>
|
||
<div class="g-item"><div class="g-dot" style="background:#94A3B8"></div>Other · 10</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="card">
|
||
<div class="card-title">Monthly Attrition <span class="card-action">Last 6 Months</span></div>
|
||
<div class="att-chart">
|
||
<div class="att-col">
|
||
<div class="att-bar" style="height:40px;background:linear-gradient(180deg,#6366F1,#818CF8);border-radius:4px 4px 0 0"></div>
|
||
<div class="att-label">Nov</div>
|
||
</div>
|
||
<div class="att-col">
|
||
<div class="att-bar" style="height:60px;background:linear-gradient(180deg,#6366F1,#818CF8);border-radius:4px 4px 0 0"></div>
|
||
<div class="att-label">Dec</div>
|
||
</div>
|
||
<div class="att-col">
|
||
<div class="att-bar" style="height:45px;background:linear-gradient(180deg,#6366F1,#818CF8);border-radius:4px 4px 0 0"></div>
|
||
<div class="att-label">Jan</div>
|
||
</div>
|
||
<div class="att-col">
|
||
<div class="att-bar" style="height:30px;background:linear-gradient(180deg,#10B981,#34D399);border-radius:4px 4px 0 0"></div>
|
||
<div class="att-label">Feb</div>
|
||
</div>
|
||
<div class="att-col">
|
||
<div class="att-bar" style="height:50px;background:linear-gradient(180deg,#6366F1,#818CF8);border-radius:4px 4px 0 0"></div>
|
||
<div class="att-label">Mar</div>
|
||
</div>
|
||
<div class="att-col">
|
||
<div class="att-bar" style="height:35px;background:linear-gradient(180deg,#10B981,#34D399);border-radius:4px 4px 0 0"></div>
|
||
<div class="att-label">Apr</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Tenure -->
|
||
<div class="tenure-grid" style="margin-bottom:20px">
|
||
<div class="tenure-card">
|
||
<div class="tenure-label">Less than 1 year</div>
|
||
<div class="tenure-value" style="color:#6366F1">42</div>
|
||
<div class="tenure-sub">17% of workforce</div>
|
||
</div>
|
||
<div class="tenure-card">
|
||
<div class="tenure-label">1–3 years</div>
|
||
<div class="tenure-value" style="color:#10B981">89</div>
|
||
<div class="tenure-sub">36% of workforce</div>
|
||
</div>
|
||
<div class="tenure-card">
|
||
<div class="tenure-label">3–5 years</div>
|
||
<div class="tenure-value" style="color:#F59E0B">67</div>
|
||
<div class="tenure-sub">27% of workforce</div>
|
||
</div>
|
||
<div class="tenure-card">
|
||
<div class="tenure-label">5+ years</div>
|
||
<div class="tenure-value" style="color:#8B5CF6">49</div>
|
||
<div class="tenure-sub">20% of workforce</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Reports Table -->
|
||
<div class="table-card">
|
||
<div style="padding:16px 20px;border-bottom:1px solid #E2E8F0;display:flex;justify-content:space-between;align-items:center">
|
||
<div style="font-family:'Sora',sans-serif;font-size:15px;font-weight:700;color:#0F172A">Saved Reports</div>
|
||
<button class="btn-primary" style="padding:7px 14px;font-size:12px">
|
||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" style="width:13px;height:13px"><line x1="12" y1="5" x2="12" y2="19"/><line x1="5" y1="12" x2="19" y2="12"/></svg>
|
||
New Report
|
||
</button>
|
||
</div>
|
||
<table>
|
||
<thead>
|
||
<tr>
|
||
<th>Report Name</th>
|
||
<th>Type</th>
|
||
<th>Generated By</th>
|
||
<th>Date</th>
|
||
<th>Actions</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
<tr>
|
||
<td style="font-weight:600;color:#0F172A">Monthly Headcount Report — April 2026</td>
|
||
<td><span style="padding:2px 8px;background:#EEF2FF;color:#6366F1;border-radius:9999px;font-size:11px;font-weight:500">People</span></td>
|
||
<td>Priya Sharma</td>
|
||
<td>May 1, 2026</td>
|
||
<td><button class="dl-btn"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg></button></td>
|
||
</tr>
|
||
<tr>
|
||
<td style="font-weight:600;color:#0F172A">Q1 2026 Attrition Analysis</td>
|
||
<td><span style="padding:2px 8px;background:#ECFDF5;color:#059669;border-radius:9999px;font-size:11px;font-weight:500">Attrition</span></td>
|
||
<td>Rahul Mehta</td>
|
||
<td>Apr 15, 2026</td>
|
||
<td><button class="dl-btn"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg></button></td>
|
||
</tr>
|
||
<tr>
|
||
<td style="font-weight:600;color:#0F172A">Payroll Summary — March 2026</td>
|
||
<td><span style="padding:2px 8px;background:#FFFBEB;color:#D97706;border-radius:9999px;font-size:11px;font-weight:500">Payroll</span></td>
|
||
<td>Priya Sharma</td>
|
||
<td>Apr 1, 2026</td>
|
||
<td><button class="dl-btn"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg></button></td>
|
||
</tr>
|
||
<tr>
|
||
<td style="font-weight:600;color:#0F172A">Engagement Survey Results — Q1</td>
|
||
<td><span style="padding:2px 8px;background:#F5F3FF;color:#8B5CF6;border-radius:9999px;font-size:11px;font-weight:500">Engagement</span></td>
|
||
<td>Priya Sharma</td>
|
||
<td>Mar 31, 2026</td>
|
||
<td><button class="dl-btn"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg></button></td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
</body>
|
||
</html>
|