    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --sidebar-bg: #0b1120;
            --sidebar-hover: #1f2a40;
            --accent-glow: #38bdf8;
            --accent-soft: #0ea5e9;
            --gradient-logo: linear-gradient(145deg, #38bdf8, #2563eb);
            --text-light: #f1f5f9;
            --text-muted: #8193b2;
            --border-dim: rgba(255,255,255,0.08); /* Unified border line color */
            --card-bg: #ffffff;
            --header-bg: #0b1120; 
            --transition: all 0.25s cubic-bezier(0.2, 0, 0, 1);
        }

        body {
            margin: 0;
            font-family: 'Inter', sans-serif;
            background: #f1f5f9;
            display: flex;
            min-height: 100vh;
        }

        /* ========= SIDEBAR - PERFECTLY STICKY ========= */
        .sidebar {
            width: 280px;
            height: 100vh;
            background: var(--sidebar-bg);
            color: var(--text-light);
            display: flex;
            flex-direction: column;
            position: sticky;
            top: 0;
            left: 0;
            overflow-y: auto;
            box-shadow: 4px 0 20px rgba(0,0,0,0.3);
            flex-shrink: 0;
            border-right: 1px solid var(--border-dim);
            z-index: 100;
        }

        .sidebar::-webkit-scrollbar { width: 4px; }
        .sidebar::-webkit-scrollbar-thumb { background: #2d3a5e; border-radius: 12px; }

        /* ===== SIDEBAR HEADER - FIXED HEIGHT & STICKY ===== */
        .sidebar-header {
            height: 76px; /* EXACT HEIGHT MATCHED WITH MAIN HEADER */
            padding: 0 20px;
            display: flex;
            align-items: center;
            gap: 12px;
            border-bottom: 1px solid var(--border-dim); /* EXACT SAME BORDER */
            background: var(--sidebar-bg); /* Solid background so links hide behind it */
            position: sticky; /* Logo hides nahi hoga scroll par */
            top: 0;
            z-index: 10;
            flex-shrink: 0;
        }

        .logo-wrapper {
            width: 42px;
            height: 42px;
            background: var(--gradient-logo);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 8px 12px -6px rgba(14, 165, 233, 0.4);
            flex-shrink: 0;
        }

        .logo-wrapper svg {
            width: 24px;
            height: 24px;
            fill: white;
        }

        .brand-text {
            display: flex;
            align-items: baseline;
            gap: 8px;
            flex-wrap: wrap;
            line-height: 1.2;
        }

        .brand-name {
            font-size: 1.2rem;
            font-weight: 700;
            letter-spacing: 0.3px;
            background: linear-gradient(120deg, #ffffff, #e0f2fe);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            white-space: nowrap;
        }

        .brand-tagline {
            font-size: 0.7rem;
            font-weight: 600;
            color: var(--accent-soft);
            background: rgba(14, 165, 233, 0.2);
            padding: 3px 10px;
            border-radius: 30px;
            border: 1px solid rgba(56, 189, 248, 0.3);
            white-space: nowrap;
        }

        /* menu label */
        .menu-label {
            padding: 20px 20px 8px 20px;
            font-size: 0.7rem;
            font-weight: 700;
            color: #5d729b;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .menu-label:before {
            content: '';
            height: 2px;
            width: 20px;
            background: linear-gradient(90deg, var(--accent-soft), transparent);
            border-radius: 4px;
        }

        .nav-list {
            list-style: none;
            padding: 0 16px;
            margin: 0;
        }
        .nav-item { margin-bottom: 4px; }
        .nav-link {
            display: flex;
            align-items: center;
            padding: 12px 18px;
            color: #b0c3e0;
            text-decoration: none;
            border-radius: 14px;
            transition: var(--transition);
            font-size: 0.9rem;
            font-weight: 500;
            border: 1px solid transparent;
        }
        .nav-link i {
            width: 26px;
            margin-right: 14px;
            font-size: 1.2rem;
            color: #61799e;
            transition: var(--transition);
        }
        .nav-link:hover {
            background-color: var(--sidebar-hover);
            color: white;
            transform: translateX(4px);
            border-color: rgba(56, 189, 248, 0.2);
        }
        .nav-link:hover i { color: var(--accent-glow); transform: scale(1.1); }
        .nav-link.active {
            background: linear-gradient(95deg, #1e2a44, #1a253c);
            color: white;
            border-left: 4px solid var(--accent-glow);
            border-radius: 14px 8px 8px 14px;
            box-shadow: inset 0 1px 2px rgba(255,255,255,0.05);
        }
        .nav-link.active i { color: var(--accent-glow); }

        /* ===== MAIN CONTENT ===== */
        .main-content {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            background: #f8fafc;
            min-width: 0;
        }

        /* ===== UNIFIED TOP HEADER - FIXED HEIGHT ===== */
        .unified-header {
            position: sticky;
            top: 0;
            z-index: 90;
            background: var(--header-bg); 
            height: 76px; /* EXACT HEIGHT MATCHED WITH SIDEBAR HEADER */
            border-bottom: 1px solid var(--border-dim); /* EXACT SAME BORDER */
            padding: 0 32px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: white;
            backdrop-filter: blur(0);
            flex-shrink: 0;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

        .header-left {
            display: flex;
            align-items: center;
            gap: 24px;
        }

        .page-indicator {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .page-indicator i {
            font-size: 1.3rem;
            color: var(--accent-soft);
        }
        .page-indicator span {
            font-weight: 600;
            font-size: 1.1rem;
            background: rgba(255,255,255,0.05);
            padding: 6px 18px;
            border-radius: 40px;
            border: 1px solid rgba(255,255,255,0.1);
        }

        .header-right {
            display: flex;
            align-items: center;
            gap: 26px;
        }
        .header-right i {
            font-size: 1.3rem;
            color: #b0c3e0;
            transition: var(--transition);
            cursor: pointer;
        }
        .header-right i:hover { color: var(--accent-glow); transform: scale(1.1); }
        .avatar {
            width: 42px; height: 42px;
            background: linear-gradient(145deg, #2563eb, #0ea5e9);
            border-radius: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 600;
            box-shadow: 0 4px 12px -4px #0ea5e9;
            cursor: pointer;
        }

        /* dashboard content */
        .dashboard-container {
            padding: 32px 32px 80px;
        }

        .welcome-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 28px;
        }
        .welcome-header h2 {
            font-size: 1.8rem;
            font-weight: 650;
            background: linear-gradient(145deg, #0f1829, #2c405e);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .date-badge {
            background: white;
            border-radius: 30px;
            padding: 8px 18px;
            font-weight: 500;
            box-shadow: 0 4px 8px -6px #64748b;
            font-size: 0.9rem;
        }

        .clearance-dashboard { display: flex; flex-direction: column; gap: 28px; }

        .stats-row { display: flex; gap: 20px; flex-wrap: wrap; }
        .stat-card {
            background: white; border-radius: 24px; padding: 22px 28px; flex: 1 1 160px;
            box-shadow: 0 8px 18px -8px rgba(0,20,40,0.12); border: 1px solid rgba(255,255,255,0.7);
        }
        .stat-title { font-size: 0.85rem; color: #4b5b7a; }
        .stat-number { font-size: 2.2rem; font-weight: 700; color: #0f172a; }
        .stat-trend { font-size: 0.8rem; color: #22c55e; margin-top: 6px; }

        .details-section {
            background: white; border-radius: 28px; padding: 24px 28px; box-shadow: 0 12px 24px -16px #101d31;
        }
        .section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
        .section-header h3 { font-size: 1.3rem; font-weight: 600; color: #0f172a; }
    </style>