:root {
            --sidebar-width: 280px;
            --sidebar-collapsed-width: 60px;

            /* Mastech Theme (Default) - Updated cleaner theme */
            --header-bg: #153D64;
            --header-text: #ffffff;
            --primary: #4A7BF7;
            --primary-dark: #3A62C4;
            --primary-light: #6B93F9;
            --accent: #4A7BF7;
            --accent-dark: #3A62C4;
            --accent-light: #6B93F9;
            --body-bg: #f5f6f8;
            --sidebar-bg: #ffffff;
            --card-bg: #ffffff;
            --section-header-border: #153D64;
            --welcome-bg-start: #153D64;
            --welcome-bg-end: #217abc;
            --stat-highlight: #4A7BF7;
            --nav-active-bg: #e8f4fc;
            --nav-hover-color: #4A7BF7;
            --download-btn-start: #153D64;
            --download-btn-end: #217abc;

            /* Gray scale - updated for cleaner look */
            --gray-50: #f8f9fb;
            --gray-100: #f1f3f5;
            --gray-200: #e8eaed;
            --gray-300: #d1d5db;
            --gray-400: #9ca3af;
            --gray-500: #6b7280;
            --gray-600: #4b5563;
            --gray-700: #374151;
            --gray-800: #1a1a2e;
            --gray-900: #111827;

            /* Border colors */
            --border-light: #e8eaed;
            --border-medium: #d1d5db;
        }

        /* Fabric Theme - only colors change, typography stays same */
        [data-theme="fabric"] {
            --header-bg: linear-gradient(135deg, #5a1f5a 0%, #742774 100%);
            --header-text: #ffffff;
            --primary: #742774;
            --primary-dark: #5a1f5a;
            --primary-light: #9b4d96;
            --accent: #742774;
            --accent-dark: #5a1f5a;
            --accent-light: #9b4d96;
            --body-bg: #f5f6f8;
            --sidebar-bg: #ffffff;
            --card-bg: #ffffff;
            --section-header-border: #742774;
            --welcome-bg-start: #4a1a4a;
            --welcome-bg-end: #742774;
            --stat-highlight: #9b4d96;
            --nav-active-bg: #F5E6F5;
            --nav-hover-color: #742774;
            --download-btn-start: #742774;
            --download-btn-end: #9b4d96;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: var(--body-bg);
            color: var(--gray-800);
            line-height: 1.6;
            transition: background 0.3s ease;
            zoom: 0.9;
        }

        /* Header */
        .header {
            background: #153D64;
            color: #ffffff;
            padding: 0 40px;
            height: 80px;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: background 0.3s ease;
        }

        [data-theme="fabric"] .header {
            background: linear-gradient(135deg, #5a1f5a 0%, #742774 100%);
        }

        .header-left {
            display: flex;
            align-items: center;
        }

        .logo {
            height: 45px;
            filter: brightness(0) invert(1);
        }

        .header-center {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .header-center h1 {
            font-size: 1.75rem;
            font-weight: 600;
            color: #ffffff;
        }

        .platform-badge {
            display: none;
        }

        /* Theme Toggle */
        .theme-toggle {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .toggle-switch {
            position: relative;
            width: 40px;
            height: 22px;
            background: rgba(255,255,255,0.2);
            border-radius: 11px;
            border: none;
            cursor: pointer;
            padding: 0;
            transition: background 0.3s ease;
        }

        .toggle-switch:hover {
            background: rgba(255,255,255,0.3);
        }

        .toggle-switch::after {
            content: '';
            position: absolute;
            top: 2px;
            left: 2px;
            width: 18px;
            height: 18px;
            background: white;
            border-radius: 50%;
            transition: transform 0.3s ease;
            box-shadow: 0 1px 3px rgba(0,0,0,0.2);
        }

        [data-theme="fabric"] .toggle-switch::after {
            transform: translateX(18px);
        }

        [data-theme="fabric"] .toggle-switch {
            background: rgba(255,255,255,0.4);
        }

        .header-right {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .search-box {
            display: flex;
            align-items: center;
            background: rgba(255,255,255,0.15);
            border-radius: 8px;
            padding: 10px 16px;
            width: 280px;
            transition: all 0.2s ease;
        }

        .search-box:focus-within {
            background: rgba(255,255,255,0.25);
            width: 320px;
        }

        .search-box input {
            background: transparent;
            border: none;
            color: white;
            font-size: 14px;
            width: 100%;
            outline: none;
        }

        .search-box input::placeholder {
            color: rgba(255,255,255,0.7);
        }

        /* Sidebar */
        .sidebar {
            position: fixed;
            top: 80px;
            left: 0;
            width: var(--sidebar-width);
            height: calc(100vh - 80px);
            background: var(--sidebar-bg);
            border-right: 1px solid var(--border-light);
            overflow-y: auto;
            padding: 0;
            z-index: 100;
            transition: background 0.3s ease, width 0.3s ease;
        }

        .sidebar-back {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 16px 20px;
            color: var(--gray-600);
            text-decoration: none;
            font-size: 0.85rem;
            border-bottom: 1px solid var(--border-light);
            transition: background 0.2s, color 0.2s;
        }

        .sidebar-back:hover {
            background: var(--gray-100);
            color: var(--accent);
        }

        .sidebar-back svg {
            width: 16px;
            height: 16px;
        }

        .sidebar-nav {
            padding: 16px 0;
        }

        .nav-category {
            margin-bottom: 4px;
        }

        .nav-category-header {
            padding: 12px 20px;
            font-weight: 500;
            color: var(--gray-800);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: background 0.2s;
            font-size: 0.9rem;
        }

        .nav-category-header:hover {
            background: var(--gray-100);
        }

        .nav-category-header > span:first-child {
            display: inline-flex;
            align-items: center;
        }

        .nav-category-header .icon {
            margin-right: 10px;
            display: inline-flex;
            align-items: center;
            width: 18px;
            height: 18px;
            flex-shrink: 0;
        }

        .nav-category-header .icon svg {
            width: 18px;
            height: 18px;
        }

        .nav-category-header .arrow {
            transition: transform 0.2s;
            font-size: 0.7rem;
            color: var(--gray-500);
        }

        .nav-category.expanded .arrow {
            transform: rotate(90deg);
        }

        .nav-items {
            display: none;
            padding-left: 15px;
        }

        .nav-category.expanded .nav-items {
            display: block;
        }

        .nav-item {
            padding: 10px 20px;
            color: var(--gray-600);
            cursor: pointer;
            font-size: 0.85rem;
            transition: all 0.2s;
            border-left: 2px solid transparent;
        }

        .nav-item:hover {
            background: var(--gray-100);
            color: var(--nav-hover-color);
            border-left-color: var(--accent);
        }

        .nav-item.active {
            background: var(--nav-active-bg);
            color: var(--nav-hover-color);
            border-left-color: var(--accent);
            font-weight: 500;
        }

        /* Main Content */
        .main-content {
            margin-left: var(--sidebar-width);
            margin-top: 80px;
            padding: 30px;
            min-height: calc(100vh - 80px);
        }

        .section {
            display: none;
        }

        .section.active {
            display: block;
        }

        .section-header {
            margin-bottom: 30px;
            padding-bottom: 16px;
            border-bottom: 2px solid var(--section-header-border);
            transition: border-color 0.3s ease;
        }

        .section-header h2 {
            color: var(--gray-800);
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 8px;
        }

        .section-header p {
            color: var(--gray-500);
            font-size: 0.95rem;
        }

        /* Asset Cards */
        .asset-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 20px;
        }

        .asset-card {
            background: var(--card-bg);
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.04);
            transition: all 0.2s ease;
            border: 1px solid var(--border-light);
        }

        .asset-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 24px rgba(0,0,0,0.08);
            border-color: var(--border-medium);
        }

        .asset-card h3 {
            color: var(--gray-800);
            font-size: 0.95rem;
            font-weight: 600;
            margin-bottom: 10px;
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }

        .asset-card h3::before {
            content: '';
            display: inline-block;
            width: 16px;
            height: 16px;
            min-width: 16px;
            margin-top: 2px;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cpolyline points='10 9 9 9 8 9'/%3E%3C/svg%3E");
            background-size: contain;
            background-repeat: no-repeat;
        }

        .asset-card p {
            color: var(--gray-500);
            font-size: 0.85rem;
            margin-bottom: 15px;
            line-height: 1.6;
        }

        .asset-card .download-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: linear-gradient(135deg, var(--download-btn-start) 0%, var(--download-btn-end) 100%);
            color: white;
            padding: 10px 18px;
            border-radius: 8px;
            text-decoration: none;
            font-size: 0.8rem;
            font-weight: 500;
            transition: all 0.15s ease;
        }

        .asset-card .download-btn:hover {
            background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
            transform: scale(1.02);
        }

        /* Welcome Section */
        .welcome-section {
            background: var(--card-bg);
            color: var(--gray-800);
            padding: 48px 40px;
            border-radius: 16px;
            margin-bottom: 30px;
            position: relative;
            overflow: hidden;
            border: 1px solid var(--border-light);
        }

        .welcome-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 50% 50%, rgba(74, 123, 247, 0.03) 0%, transparent 70%);
        }

        [data-theme="fabric"] .welcome-section::before {
            background: radial-gradient(circle at 50% 50%, rgba(116, 39, 116, 0.03) 0%, transparent 70%);
        }

        .welcome-content {
            position: relative;
            z-index: 1;
        }

        .welcome-section h2 {
            font-size: 1.75rem;
            font-weight: 600;
            margin-bottom: 12px;
            color: var(--gray-800);
        }

        .welcome-section p {
            font-size: 1rem;
            color: var(--gray-500);
            max-width: 600px;
            margin-bottom: 28px;
            line-height: 1.7;
        }

        .stats-grid {
            display: flex;
            gap: 36px;
        }

        .stat-card {
            text-align: center;
            padding: 16px 28px;
            background: var(--body-bg);
            border-radius: 12px;
            border: 1px solid var(--border-light);
            transition: all 0.2s ease;
            cursor: default;
        }

        .stat-card:hover {
            background: var(--card-bg);
            box-shadow: 0 4px 12px rgba(0,0,0,0.06);
            transform: translateY(-2px);
            border-color: var(--border-medium);
        }

        .stat-card .number {
            font-size: 2.25rem;
            font-weight: 600;
            color: var(--accent);
            line-height: 1;
            margin-bottom: 6px;
        }

        .stat-card .label {
            color: var(--gray-500);
            font-size: 0.8rem;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Quick Access */
        .quick-access {
            margin-top: 32px;
        }

        .quick-access h3 {
            color: var(--gray-800);
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 20px;
            padding-left: 12px;
            border-left: 3px solid var(--accent);
            transition: border-color 0.3s ease;
        }

        /* Search Results */
        .search-overlay {
            display: none;
            position: fixed;
            top: 80px;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.5);
            z-index: 998;
        }

        .search-overlay.active {
            display: block;
        }

        .search-results {
            position: fixed;
            top: 92px;
            left: 50%;
            transform: translateX(-50%);
            width: 90%;
            max-width: 700px;
            max-height: 70vh;
            background: white;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.2);
            overflow: hidden;
            z-index: 999;
            display: none;
        }

        .search-results.active {
            display: block;
        }

        .search-results-header {
            padding: 15px 20px;
            background: var(--gray-100);
            border-bottom: 1px solid var(--border-light);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .close-search {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--gray-500);
        }

        .search-results-body {
            max-height: calc(70vh - 60px);
            overflow-y: auto;
            padding: 10px;
        }

        .search-result-item {
            display: block;
            padding: 15px;
            border-radius: 8px;
            text-decoration: none;
            color: inherit;
            transition: background 0.2s;
        }

        .search-result-item:hover {
            background: var(--gray-100);
        }

        .search-result-item h5 {
            color: var(--gray-800);
            font-weight: 600;
            margin-bottom: 4px;
        }

        .search-result-item p {
            color: var(--gray-500);
            font-size: 0.8rem;
        }

        .no-results {
            text-align: center;
            padding: 40px;
            color: var(--gray-500);
        }

        /* Footer */
        .footer {
            margin-left: var(--sidebar-width);
            padding: 20px 30px;
            text-align: center;
            color: var(--gray-500);
            font-size: 0.8rem;
            border-top: 1px solid var(--border-light);
        }

        /* Sidebar Toggle Button */
        .sidebar-toggle {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            padding: 8px 8px 8px 16px;
            border: none;
            background: none;
            cursor: pointer;
            color: var(--gray-400);
            width: 100%;
            transition: background 0.2s, color 0.2s;
        }

        .sidebar-toggle:hover {
            background: var(--gray-100);
            color: var(--accent);
        }

        .sidebar-toggle svg {
            width: 18px;
            height: 18px;
            transition: transform 0.3s ease;
        }

        .sidebar.collapsed .sidebar-toggle svg {
            transform: rotate(180deg);
        }

        /* Sidebar Collapsed State */
        .sidebar.collapsed {
            width: var(--sidebar-collapsed-width);
            overflow: visible;
        }

        .sidebar.collapsed .sidebar-back {
            justify-content: center;
            padding: 16px;
            position: relative;
        }

        .sidebar.collapsed .back-text {
            display: none;
        }

        .sidebar.collapsed .nav-category-header {
            justify-content: center;
            padding: 12px;
            position: relative;
        }

        .sidebar.collapsed .nav-category-header > span {
            font-size: 0;
        }

        .sidebar.collapsed .nav-category-header > span .icon {
            margin-right: 0;
        }

        .sidebar.collapsed .nav-category-header .arrow {
            display: none;
        }

        .sidebar.collapsed .nav-items {
            display: none !important;
        }

        .sidebar.collapsed .sidebar-nav {
            padding: 8px 0;
        }

        /* Tooltips for collapsed sidebar */
        .sidebar.collapsed .nav-category-header[data-tooltip]:hover::after {
            content: attr(data-tooltip);
            position: absolute;
            left: 100%;
            top: 50%;
            transform: translateY(-50%);
            background: var(--gray-800);
            color: white;
            padding: 6px 12px;
            border-radius: 6px;
            font-size: 0.8rem;
            font-weight: 500;
            white-space: nowrap;
            z-index: 1000;
            margin-left: 8px;
            pointer-events: none;
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        }

        .sidebar.collapsed .nav-category-header[data-tooltip]:hover::before {
            content: '';
            position: absolute;
            left: 100%;
            top: 50%;
            transform: translateY(-50%);
            border: 5px solid transparent;
            border-right-color: var(--gray-800);
            margin-left: -2px;
            z-index: 1000;
        }

        .sidebar.collapsed .sidebar-back:hover::after {
            content: 'All Platforms';
            position: absolute;
            left: 100%;
            top: 50%;
            transform: translateY(-50%);
            background: var(--gray-800);
            color: white;
            padding: 6px 12px;
            border-radius: 6px;
            font-size: 0.8rem;
            font-weight: 500;
            white-space: nowrap;
            z-index: 1000;
            margin-left: 8px;
            pointer-events: none;
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        }

        .sidebar.collapsed .sidebar-back:hover::before {
            content: '';
            position: absolute;
            left: 100%;
            top: 50%;
            transform: translateY(-50%);
            border: 5px solid transparent;
            border-right-color: var(--gray-800);
            margin-left: -2px;
            z-index: 1000;
        }

        body.sidebar-collapsed .main-content,
        body.sidebar-collapsed .footer {
            margin-left: var(--sidebar-collapsed-width);
        }

        .main-content,
        .footer {
            transition: margin-left 0.3s ease;
        }
