
        /* ==========================================================================
           STUNNING GLASSMORPHISM CLIENT METRIC CARDS
           ========================================================================== */
        .stat-badge {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 6px !important;
            padding: 6px 12px !important;
            font-size: 11px !important;
            font-weight: 700 !important;
            border-radius: 6px !important;
            height: 32px !important;
            box-sizing: border-box !important;
            background: rgba(13, 18, 32, 0.8) !important;
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
            color: #ffffff !important;
            backdrop-filter: blur(10px) !important;
            -webkit-backdrop-filter: blur(10px) !important;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
            transition: all 0.2s ease !important;
            text-transform: uppercase !important;
            letter-spacing: 0.5px !important;
        }

        .stat-badge:hover {
            transform: translateY(-1px) !important;
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3) !important;
            border-color: rgba(255, 255, 255, 0.2) !important;
        }

        .stat-badge i {
            font-size: 11px !important;
        }

        .stat-badge strong {
            font-family: 'Outfit', sans-serif !important;
            font-weight: 900 !important;
            font-size: 12px !important;
            margin-left: 2px !important;
        }

        .stat-badge.total {
            border-color: rgba(255, 255, 255, 0.15) !important;
        }
        .stat-badge.total i {
            color: #94a3b8 !important;
        }

        .stat-badge.online {
            border-color: rgba(16, 185, 129, 0.25) !important;
        }
        .stat-badge.online:hover {
            border-color: rgba(16, 185, 129, 0.6) !important;
        }
        .stat-badge.online i {
            color: #10b981 !important;
        }

        .stat-badge.offline {
            border-color: rgba(244, 63, 94, 0.25) !important;
        }
        .stat-badge.offline:hover {
            border-color: rgba(244, 63, 94, 0.6) !important;
        }
        .stat-badge.offline i {
            color: #f43f5e !important;
        }

        .stat-badge.isolir {
            border-color: rgba(168, 85, 247, 0.25) !important;
        }
        .stat-badge.isolir:hover {
            border-color: rgba(168, 85, 247, 0.6) !important;
        }
        .stat-badge.isolir i {
            color: #a855f7 !important;
        }

        .text-green { color: #34d399 !important; }
        .text-red { color: #fb7185 !important; }
        .text-purple { color: #c084fc !important; }

        @keyframes pulse {
            0% { transform: scale(0.95); opacity: 0.5; }
            50% { transform: scale(1.2); opacity: 1; }
            100% { transform: scale(0.95); opacity: 0.5; }
        }

        /* Premium Badge Glassmorphism Overrides for client status */
        .pill {
            padding: 4px 10px !important;
            border-radius: 50px !important;
            font-size: 10px !important;
            font-weight: 800 !important;
            text-transform: uppercase !important;
            letter-spacing: 0.5px !important;
            backdrop-filter: blur(4px) !important;
            border: 1px solid transparent !important;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            width: fit-content !important;
            text-shadow: none !important;
        }

        .pill.green {
            background: rgba(34, 197, 94, 0.15) !important;
            color: #4ade80 !important;
            border-color: rgba(74, 222, 128, 0.3) !important;
        }

        .pill.red {
            background: rgba(239, 68, 68, 0.15) !important;
            color: #fb7185 !important;
            border-color: rgba(244, 63, 94, 0.3) !important;
        }

        .pill.purple {
            background: rgba(168, 85, 247, 0.15) !important;
            color: #c084fc !important;
            border-color: rgba(192, 132, 252, 0.3) !important;
        }

        /* CSS KHUSUS BIAR FLEXIBLE PERSIS FINANCE */
        .table-container {
            background: #151b2b;
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            overflow-x: auto;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        table {
            width: 100%;
            border-collapse: collapse;
            min-width: 600px !important;
            /* Sama dengan finance.css */
        }

        th,
        td {
            white-space: nowrap;
        }

        /* Kolom Aksi Global */
        th[data-lang="th_action"] {
            width: 170px !important;
            min-width: 170px !important;
        }

        .td-actions {
            display: flex !important;
            gap: 6px !important;
            flex-wrap: nowrap !important;
            justify-content: flex-start;
            align-items: center;
        }

        /* Responsivitas Layar Kecil */
        @media (max-width: 768px) {

            .main,
            .main-content {
                padding: 15px !important;
            }

            table {
                min-width: auto !important;
                /* Jadikan benar-benar fleksibel */
            }

            th,
            td {
                padding: 8px 6px !important;
                font-size: 11px !important;
                width: auto !important;
            }

            th[data-lang="th_action"] {
                width: 130px !important;
                min-width: 130px !important;
            }

            /* Optimasi Ukuran Tombol Aksi di Mobile */
            .btn-xs {
                padding: 2px 5px !important;
                font-size: 9px !important;
                border-radius: 4px !important;
            }

            .btn-done {
                padding: 2px 4px !important;
                font-size: 8px !important;
            }

            .td-actions {
                gap: 3px !important;
            }

            .pill {
                padding: 2px 6px !important;
                font-size: 9px !important;
            }

            .desktop-only {
                display: none !important;
            }

            .mobile-only {
                display: block !important;
            }

            /* METRIC BADGES RESPONSIVE MOBILE */
            .stat-badge-container {
                gap: 6px !important;
                margin-bottom: 10px !important;
            }

            .stat-badge {
                padding: 4px 8px !important;
                height: 28px !important;
                font-size: 10px !important;
                gap: 4px !important;
            }

            .stat-badge strong {
                font-size: 11px !important;
            }
        }

        @media (min-width: 769px) {
            .mobile-only {
                display: none !important;
            }

            .desktop-only {
                display: table-cell !important;
            }
        }

        /* --- PREMIUM TOAST NOTIFICATION --- */
        #toast-container {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 10000;
            display: flex;
            flex-direction: column;
            gap: 10px;
            pointer-events: none;
        }

        .toast-msg {
            min-width: 250px;
            background: #1e293b;
            color: white;
            padding: 14px 20px;
            border-radius: 10px;
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
            border-left: 5px solid #3b82f6;
            display: flex;
            align-items: center;
            gap: 12px;
            pointer-events: auto;
            animation: toast-slide-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
            font-size: 14px;
            font-weight: 500;
        }

        .toast-msg.success {
            border-left-color: #10b981;
        }

        .toast-msg.error {
            border-left-color: #ef4444;
        }

        .toast-msg.warning {
            border-left-color: #f59e0b;
        }

        @keyframes toast-slide-in {
            from {
                transform: translateX(120%);
                opacity: 0;
            }

            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        .toast-fade-out {
            animation: toast-fade-out 0.4s ease-in forwards !important;
        }

        @keyframes toast-fade-out {
            from {
                transform: translateX(0);
                opacity: 1;
            }

            to {
                transform: translateX(40px);
                opacity: 0;
            }
        }

        /* --- MODAL STYLING --- */
        .modal-box {
            background: #1e293b;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            width: 100%;
            padding: 0;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            max-height: 90vh; /* Responsive Max Height */
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
            animation: modal-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        @keyframes modal-pop {
            from {
                transform: scale(0.9);
                opacity: 0;
            }

            to {
                transform: scale(1);
                opacity: 1;
            }
        }

        .modal-head {
            padding: 16px 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-shrink: 0; /* Keep header fixed */
        }

        .modal-head b {
            font-size: 16px;
            color: white;
        }

        .modal-close {
            cursor: pointer;
            opacity: 0.5;
            font-weight: bold;
            transition: all 0.2s;
            color: white;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
        }

        .modal-close:hover {
            opacity: 1;
            background: rgba(255, 255, 255, 0.1);
            transform: scale(1.1);
        }

        .modal-body {
            padding: 20px;
            overflow-y: auto; /* Enable scroll if content is long */
            flex: 1;
        }

        /* Mobile Adjustments for Modal */
        @media (max-width: 480px) {
            .modal {
                padding: 10px;
            }
            .modal-box {
                max-width: 95% !important;
                max-height: 95vh;
            }
            .modal-body {
                padding: 15px;
            }
        }

        .pay-history-item {
            font-size: 11px;
            color: #94a3b8;
            margin-top: 4px;
            padding-left: 10px;
            position: relative;
        }

        .pay-history-item::before {
            content: "•";
            position: absolute;
            left: 0;
            color: #3b82f6;
            font-weight: bold;
        }

        #print-mode-wrapper {
            display: none;
        }

        /* ==========================================================================
           SCREEN OPTIONS (OPSI LAYAR) DRAWER
           ========================================================================== */
        .screen-options-drawer {
            display: none;
            background: rgba(15, 23, 42, 0.45) !important;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            padding: 16px 20px;
            margin-bottom: 20px;
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
            animation: slideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        }
        @keyframes slideDown {
            from { opacity: 0; transform: translateY(-8px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .screen-options-drawer h4 {
            margin: 0 0 12px 0;
            font-size: 11px;
            font-weight: 700;
            color: #94a3b8;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .checkbox-group {
            display: flex;
            flex-wrap: wrap;
            gap: 10px 16px;
        }
        .checkbox-label-compact {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 12px;
            color: #e2e8f0;
            cursor: pointer;
            user-select: none;
            padding: 5px 10px;
            border-radius: 6px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.05);
            transition: all 0.15s ease;
        }
        .checkbox-label-compact:hover:not([style*="not-allowed"]) {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.12);
        }
        .checkbox-label-compact input[type="checkbox"] {
            accent-color: #3b82f6;
            width: 14px;
            height: 14px;
            cursor: pointer;
            margin: 0;
        }

        #clientTableContainer.hide-col-num .col-num { display: none !important; }
        #clientTableContainer.hide-col-id .col-id { display: none !important; }
        #clientTableContainer.hide-col-paket .col-paket { display: none !important; }
        #clientTableContainer.hide-col-ip .col-ip { display: none !important; }
        #clientTableContainer.hide-col-induk .col-induk { display: none !important; }
        #clientTableContainer.hide-col-wa .col-wa { display: none !important; }
        #clientTableContainer.hide-col-join .col-join { display: none !important; }
        #clientTableContainer.hide-col-aktif .col-aktif { display: none !important; }

        /* Printing Layout for Mobile Fallback printing */
        @media print {
            body {
                background-color: #fff !important;
                background: #fff !important;
                color: #000 !important;
            }
            body > *:not(#print-mode-wrapper) {
                display: none !important;
            }
            #print-mode-wrapper {
                display: block !important;
                width: 100% !important;
                margin: 0 !important;
                padding: 0 !important;
                background: #fff !important;
                color: #000 !important;
            }
            #print-mode-wrapper * {
                color: #000 !important;
            }
        }
    