﻿
        /* =========================================================
           RESET & VARIABLES
           ========================================================= */
        :root {
            --bg-primary: #0a0a1a;
            --bg-secondary: #12122a;
            --bg-card: #1a1a3e;
            --bg-card-hover: #222255;
            --text-primary: #e2e8f0;
            --text-secondary: #a0aec0;
            --text-muted: #718096;
            --border: #2d2d5e;
            --cyan: #00d2d3;
            --purple: #667eea;
            --green: #48bb78;
            --red: #e94560;
            --orange: #ed8936;
            --yellow: #f9ca24;
            --blue: #4299e1;
            --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
            --radius: 16px;
            --transition: 0.3s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: var(--bg-primary);
            color: var(--text-primary);
            min-height: 100vh;
            overflow-x: hidden;
        }

        /* =========================================================
           SCROLLBAR
           ========================================================= */
        ::-webkit-scrollbar {
            width: 6px;
            height: 6px;
        }
        ::-webkit-scrollbar-track {
            background: var(--bg-secondary);
        }
        ::-webkit-scrollbar-thumb {
            background: var(--purple);
            border-radius: 10px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: var(--cyan);
        }

        /* =========================================================
           CONTAINER
           ========================================================= */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px 30px;
        }

        /* =========================================================
           HEADER
           ========================================================= */
        .header {
            text-align: center;
            padding: 30px 0 10px;
        }

        .header .logo {
            margin-bottom: 10px;
        }

        .header .logo img {
            max-width: 60px;
        }

        .header h1 {
            font-size: 32px;
            font-weight: 800;
            color: var(--cyan);
            margin-bottom: 6px;
        }

        .header h1 i {
            margin-right: 8px;
        }

        .header p {
            color: var(--text-secondary);
            font-size: 16px;
        }

        /* =========================================================
           TOP BAR
           ========================================================= */
        .top-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 16px;
            padding: 16px 20px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            margin: 16px 0;
        }

        .top-bar .stats {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            font-size: 14px;
            color: var(--text-secondary);
        }

        .top-bar .stats .item .num {
            color: var(--cyan);
            font-weight: 700;
        }

        .top-bar .actions {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        /* =========================================================
           BUTTONS
           ========================================================= */
        .btn {
            padding: 8px 20px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            font-size: 14px;
            transition: all var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 6px;
            border: none;
            cursor: pointer;
        }

        .btn-success {
            background: var(--green);
            color: white;
        }

        .btn-success:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 16px rgba(72, 187, 120, 0.3);
        }

        .btn-outline {
            background: transparent;
            color: var(--text-secondary);
            border: 1px solid var(--border);
        }

        .btn-outline:hover {
            background: rgba(102, 126, 234, 0.1);
            color: var(--text-primary);
        }

        .btn-filter {
            padding: 8px 20px;
            background: var(--purple);
            color: white;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all var(--transition);
        }

        .btn-filter:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
        }

        .btn-reset {
            padding: 8px 20px;
            background: var(--bg-secondary);
            color: var(--text-secondary);
            border: 1px solid var(--border);
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            transition: all var(--transition);
        }

        .btn-reset:hover {
            background: rgba(233, 69, 96, 0.1);
            border-color: var(--red);
            color: var(--red);
        }

        .btn-promo {
            padding: 4px 10px;
            background: var(--purple);
            color: white;
            border-radius: 4px;
            text-decoration: none;
            font-size: 11px;
            font-weight: 600;
            transition: all var(--transition);
        }

        .btn-promo:hover {
            transform: translateY(-1px);
            box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
        }

        .btn-copy {
            padding: 4px 10px;
            background: var(--bg-secondary);
            color: var(--text-secondary);
            border: 1px solid var(--border);
            border-radius: 4px;
            cursor: pointer;
            font-size: 12px;
            transition: all var(--transition);
        }

        .btn-copy:hover {
            border-color: var(--cyan);
            color: var(--cyan);
        }

        /* =========================================================
           FILTER SECTION
           ========================================================= */
        .filter-section {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            margin-bottom: 20px;
            padding: 16px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            align-items: center;
        }

        .filter-section input,
        .filter-section select {
            padding: 8px 14px;
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 8px;
            color: var(--text-primary);
            font-size: 14px;
            flex: 1;
            min-width: 150px;
            transition: all var(--transition);
        }

        .filter-section input:focus,
        .filter-section select:focus {
            outline: none;
            border-color: var(--purple);
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
        }

        .filter-section input::placeholder {
            color: var(--text-muted);
        }

        /* =========================================================
           UMKM GRID
           ========================================================= */
        .umkm-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
            margin: 20px 0;
        }

        .umkm-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 18px 20px;
            transition: all var(--transition);
        }

        .umkm-card:hover {
            transform: translateY(-4px);
            border-color: var(--purple);
            box-shadow: var(--shadow);
        }

        .umkm-card .header-card {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 10px;
            margin-bottom: 8px;
        }

        .umkm-card .header-card .name {
            font-weight: 700;
            font-size: 16px;
            color: var(--text-primary);
        }

        .umkm-card .owner {
            color: var(--text-secondary);
            font-size: 14px;
            margin-bottom: 6px;
        }

        .umkm-card .owner i {
            margin-right: 6px;
            color: var(--text-muted);
        }

        .umkm-card .info-row {
            color: var(--text-secondary);
            font-size: 13px;
            padding: 3px 0;
        }

        .umkm-card .info-row i {
            margin-right: 6px;
            color: var(--text-muted);
            width: 16px;
        }

        .umkm-card .referral-box {
            display: flex;
            align-items: center;
            gap: 6px;
            margin: 10px 0;
            padding: 8px 10px;
            background: var(--bg-secondary);
            border-radius: 6px;
            border: 1px solid var(--border);
            flex-wrap: wrap;
        }

        .umkm-card .referral-box .ref-label {
            font-size: 11px;
            color: var(--text-muted);
        }

        .umkm-card .referral-box .ref-label i {
            margin-right: 4px;
        }

        .umkm-card .referral-box .ref-code {
            font-size: 12px;
            color: var(--cyan);
            font-family: monospace;
            flex: 1;
            min-width: 60px;
            word-break: break-all;
        }

        .umkm-card .footer-card {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 10px;
            padding-top: 10px;
            border-top: 1px solid var(--border);
        }

        .umkm-card .footer-card .downline {
            font-size: 13px;
            color: var(--text-secondary);
        }

        .umkm-card .footer-card .downline i {
            margin-right: 4px;
        }

        .umkm-card .footer-card .downline strong {
            color: var(--text-primary);
        }

        .umkm-card .footer-card .status-active {
            font-size: 12px;
            color: var(--green);
        }

        .umkm-card .footer-card .status-active i {
            margin-right: 4px;
        }

        /* =========================================================
           BADGES
           ========================================================= */
        .badge-paket {
            display: inline-block;
            padding: 3px 10px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: 600;
            white-space: nowrap;
        }

        .badge-paket i {
            margin-right: 4px;
        }

        .badge-trial { background: rgba(0, 210, 211, 0.2); color: var(--cyan); }
        .badge-gratis { background: rgba(249, 202, 36, 0.2); color: var(--yellow); }
        .badge-basic { background: rgba(102, 126, 234, 0.2); color: var(--purple); }
        .badge-pro { background: rgba(72, 187, 120, 0.2); color: var(--green); }
        .badge-reseller { background: rgba(237, 137, 54, 0.2); color: var(--orange); }

        /* =========================================================
           PAGINATION
           ========================================================= */
        .pagination {
            display: flex;
            justify-content: center;
            gap: 6px;
            flex-wrap: wrap;
            padding: 20px 0;
        }

        .pagination a,
        .pagination .disabled {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 36px;
            height: 36px;
            padding: 0 12px;
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 8px;
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 14px;
            font-weight: 600;
            transition: all var(--transition);
        }

        .pagination a:hover {
            background: var(--purple);
            color: white;
            border-color: var(--purple);
        }

        .pagination a.active {
            background: var(--purple);
            color: white;
            border-color: var(--purple);
        }

        .pagination .disabled {
            opacity: 0.4;
            cursor: default;
        }

        /* =========================================================
           EMPTY STATE
           ========================================================= */
        .empty-state {
            text-align: center;
            padding: 60px 20px;
            background: var(--bg-card);
            border-radius: var(--radius);
            border: 1px solid var(--border);
        }

        .empty-state .icon {
            font-size: 4rem;
            margin-bottom: 16px;
        }

        .empty-state h3 {
            font-size: 22px;
            color: var(--text-primary);
            margin-bottom: 8px;
        }

        .empty-state p {
            color: var(--text-secondary);
            font-size: 16px;
        }

        /* =========================================================
           FOOTER INFO
           ========================================================= */
        .footer-info {
            text-align: center;
            padding: 20px 0;
            color: var(--text-muted);
            font-size: 14px;
            border-top: 1px solid var(--border);
            margin-top: 20px;
        }

        .footer-info a {
            color: var(--cyan);
            text-decoration: none;
        }

        .footer-info a:hover {
            text-decoration: underline;
        }

        /* =========================================================
           TOAST NOTIFICATION
           ========================================================= */
        .toast {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%) translateY(100px);
            background: var(--bg-card);
            color: var(--text-primary);
            padding: 14px 24px;
            border-radius: 10px;
            border: 1px solid var(--border);
            box-shadow: var(--shadow);
            font-size: 14px;
            font-weight: 500;
            opacity: 0;
            transition: all 0.4s ease;
            z-index: 9999;
            max-width: 90%;
        }

        .toast.show {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }

        .toast.error {
            border-color: var(--red);
        }

        /* =========================================================
           RESPONSIVE
           ========================================================= */
        @media (max-width: 992px) {
            .container {
                padding: 16px;
            }

            .umkm-grid {
                grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            }
        }

        @media (max-width: 768px) {
            .top-bar {
                flex-direction: column;
                align-items: stretch;
            }

            .top-bar .stats {
                justify-content: center;
            }

            .top-bar .actions {
                justify-content: center;
            }

            .filter-section {
                flex-direction: column;
            }

            .filter-section input,
            .filter-section select {
                width: 100%;
                min-width: unset;
            }

            .header h1 {
                font-size: 26px;
            }

            .umkm-grid {
                grid-template-columns: 1fr;
            }

            .umkm-card .referral-box {
                flex-wrap: wrap;
            }

            .umkm-card .referral-box .ref-code {
                width: 100%;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 10px;
            }

            .header h1 {
                font-size: 22px;
            }

            .top-bar .stats {
                font-size: 12px;
                gap: 10px;
            }

            .btn {
                font-size: 12px;
                padding: 6px 14px;
            }

            .umkm-card {
                padding: 14px 16px;
            }

            .pagination a,
            .pagination .disabled {
                min-width: 30px;
                height: 30px;
                font-size: 12px;
                padding: 0 8px;
            }
        }

        /* =========================================================
           PRINT
           ========================================================= */
        @media print {
            .filter-section,
            .top-bar .actions,
            .btn-copy,
            .btn-promo {
                display: none !important;
            }

            .umkm-card {
                break-inside: avoid;
                border: 1px solid #ccc !important;
            }
        }
  