* { font-family: 'Cairo', sans-serif; margin: 0; padding: 0; box-sizing: border-box; }
        body { 
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            padding: 1rem;
        }
        .glass-card { 
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 1.5rem; 
            border-radius: 2rem; 
            box-shadow: 0 20px 35px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.5);
            transition: 0.3s;
            border: 1px solid rgba(255,255,255,0.8);
        }
        .glass-card:hover { 
            transform: translateY(-5px);
            box-shadow: 0 30px 45px rgba(0,0,0,0.3), 0 0 0 2px rgba(255,255,255,1);
        }
        .btn-toggle { 
            padding: 0.5rem 1.5rem; 
            border-radius: 9999px; 
            font-weight: 700; 
            border: 2px solid; 
            transition: 0.2s; 
            cursor: pointer;
            background: white;
            color: #4f46e5;
            border-color: #4f46e5;
        }
        .btn-toggle:hover {
            background: #4f46e5;
            color: white;
        }
        .active-toggle { 
            background: #4f46e5; 
            color: white; 
            border-color: #4f46e5;
            box-shadow: 0 10px 20px rgba(79, 70, 229, 0.4);
        }
        .inactive-toggle { 
            background: white; 
            color: #4f46e5; 
            border-color: #e2e8f0;
        }
        .kpi-box { 
            padding: 1.5rem; 
            border-radius: 1.5rem; 
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white; 
            font-weight: 700;
            box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
            border: 1px solid rgba(255,255,255,0.3);
        }
        .grid-auto { 
            display: grid; 
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
            gap: 1.5rem; 
        }
        .virtual-scroll { 
            max-height: 400px; 
            overflow-y: auto; 
            scrollbar-width: thin;
            padding-left: 0.5rem;
        }
        .virtual-scroll::-webkit-scrollbar { width: 6px; }
        .virtual-scroll::-webkit-scrollbar-thumb { 
            background: linear-gradient(135deg, #667eea, #764ba2);
            border-radius: 6px; 
        }
        .modal { 
            position: fixed; 
            inset: 0; 
            background: rgba(0,0,0,0.5); 
            backdrop-filter: blur(5px);
            display: none; 
            place-items: center; 
            z-index: 50; 
        }
        .modal-content { 
            background: white; 
            padding: 2rem; 
            border-radius: 2rem; 
            max-width: 900px; 
            width: 95%; 
            max-height: 90vh; 
            overflow-y: auto;
            box-shadow: 0 30px 60px rgba(0,0,0,0.3);
            border: 2px solid rgba(255,255,255,0.9);
        }
        .notification { 
            position: fixed; 
            top: 1rem; 
            left: 1rem; 
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            padding: 1rem 2rem; 
            border-radius: 2rem; 
            box-shadow: 0 20px 35px rgba(102, 126, 234, 0.4); 
            z-index: 100; 
            transform: translateX(0); 
            transition: 0.3s;
            border: 1px solid rgba(255,255,255,0.5);
            font-weight: bold;
        }
        .hidden { display: none; }
        .loader { 
            width: 40px; 
            height: 40px; 
            border: 4px solid rgba(255,255,255,0.3); 
            border-top-color: white; 
            border-radius: 50%; 
            animation: spin 1s infinite; 
        }
        @keyframes spin { to { transform: rotate(360deg); } }
        .gradient-btn {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
            transition: 0.3s;
        }
        .gradient-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 15px 30px rgba(102, 126, 234, 0.5);
        }
        input, select {
            background: rgba(255,255,255,0.9);
            border: 2px solid rgba(102, 126, 234, 0.3);
            border-radius: 9999px;
            padding: 0.75rem 1.5rem;
            outline: none;
            transition: 0.3s;
        }
        input:focus, select:focus {
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
        }
        table {
            width: 100%;
            border-collapse: collapse;
        }
        th {
            background: linear-gradient(135deg, #667eea20, #764ba220);
            padding: 1rem;
            font-weight: bold;
            color: #4f46e5;
        }
        td {
            padding: 0.75rem 1rem;
            border-bottom: 1px solid #e2e8f0;
        }
        tr:hover {
            background: rgba(102, 126, 234, 0.05);
        }
        .share-btn {
            position: fixed;
            bottom: 1rem;
            right: 1rem;
            z-index: 40;
        }
        .search-box {
            background: white;
            border-radius: 9999px;
            padding: 0.5rem 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            border: 2px solid #667eea40;
            margin-bottom: 1rem;
        }
        .search-box input {
            border: none;
            padding: 0.5rem;
            flex: 1;
        }
        .search-box input:focus {
            box-shadow: none;
            border: none;
        }
        .tab-buttons {
            display: flex;
            gap: 1rem;
            margin-bottom: 1rem;
        }
        .tab-btn {
            padding: 0.75rem 2rem;
            border-radius: 9999px;
            font-weight: bold;
            cursor: pointer;
            transition: 0.3s;
            background: white;
            color: #4f46e5;
            border: 2px solid #4f46e5;
        }
        .tab-btn.active {
            background: #4f46e5;
            color: white;
        }
        .recommendation-item {
            cursor: pointer;
            transition: 0.2s;
        }
        .recommendation-item:hover {
            transform: translateX(-5px);
            background: rgba(102, 126, 234, 0.1);
        }
