
        /* ==============================================================================
           PREMIUM GLASSMORPHISM & CYBER-GOLD DESIGN SYSTEM
           ============================================================================== */
        
        /* Layout overrides */
        .card {
            background: rgba(30, 41, 59, 0.45) !important;
            border: 1px solid rgba(251, 191, 36, 0.08) !important;
            backdrop-filter: blur(10px) !important;
            box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5) !important;
            border-radius: 16px !important;
            padding: 24px !important;
            margin-bottom: 25px;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }
        .card:hover {
            border-color: rgba(251, 191, 36, 0.15) !important;
            box-shadow: 0 15px 40px -10px rgba(251, 191, 36, 0.05), 0 10px 30px -10px rgba(0, 0, 0, 0.6) !important;
        }

        /* Custom Hotspot Compact Stats Card */
        .hs-stat-card {
            flex: 1 1 200px;
            max-width: 280px;
            background: rgba(30, 41, 59, 0.45) !important;
            border: 1px solid rgba(255, 255, 255, 0.05) !important;
            padding: 10px 16px !important;
            border-radius: 12px !important;
            display: flex !important;
            align-items: center !important;
            gap: 12px !important;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
            min-height: 55px !important;
            height: auto !important;
            margin: 0 !important;
            position: relative !important;
            transition: all 0.2s ease !important;
        }
        .hs-stat-card:hover {
            transform: translateY(-2px) !important;
            border-color: rgba(251, 191, 36, 0.2) !important;
            box-shadow: 0 6px 20px rgba(0,0,0,0.3) !important;
        }

        /* Sorting Styles */
        .sortable {
            cursor: pointer;
            transition: background 0.2s;
            position: relative;
        }

        .sortable:hover {
            background: rgba(255, 255, 255, 0.03) !important;
        }

        .sort-icon {
            font-size: 10px;
            margin-left: 5px;
            opacity: 0.5;
            transition: all 0.2s ease;
        }

        .sort-icon.active {
            opacity: 1;
            color: #f3ba2f;
            text-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
        }

        /* Flexible Table Fix & Styles */
        .table-wrap {
            width: 100%;
            border-radius: 12px;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            background: rgba(15, 23, 42, 0.25);
            border: 1px solid rgba(255, 255, 255, 0.05);
            box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
            margin-bottom: 15px;
        }

        .table {
            width: 100%;
            border-collapse: collapse;
            min-width: 500px;
            font-size: 13px;
        }

        .table th {
            background: rgba(15, 23, 42, 0.6);
            color: #94a3b8;
            font-weight: 800;
            text-transform: uppercase;
            font-size: 11px;
            letter-spacing: 0.8px;
            padding: 16px 15px;
            border-bottom: 2px solid rgba(251, 191, 36, 0.15);
            text-align: left;
            vertical-align: middle;
        }

        .table td {
            padding: 14px 15px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.03);
            color: #cbd5e1;
            transition: all 0.2s ease;
            vertical-align: middle;
        }

        .table tbody tr {
            transition: background-color 0.2s ease;
        }

        .table tbody tr:hover {
            background-color: rgba(255, 255, 255, 0.02) !important;
        }

        .table tbody tr:nth-child(even) {
            background: rgba(255, 255, 255, 0.005);
        }

        /* Compact Generator Forms */
        .form-row {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
        }

        .form-group {
            flex: 1;
            min-width: 180px;
        }

        .form-group label {
            font-size: 11px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 6px;
            display: block;
            color: #a8b2c1;
        }

        .input,
        .select {
            background: rgba(15, 23, 42, 0.55) !important;
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
            color: #fff !important;
            border-radius: 8px !important;
            padding: 10px 14px !important;
            font-size: 13px !important;
            transition: all 0.3s ease !important;
            width: 100%;
            box-sizing: border-box;
        }

        .input:focus,
        .select:focus {
            border-color: rgba(251, 191, 36, 0.5) !important;
            box-shadow: 0 0 12px rgba(251, 191, 36, 0.18) !important;
            background: rgba(15, 23, 42, 0.8) !important;
            outline: none !important;
        }

        /* Tab Navigation Overrides */
        .tabs {
            display: flex;
            gap: 8px;
            background: rgba(15, 23, 42, 0.4) !important;
            border: 1px solid rgba(255, 255, 255, 0.05) !important;
            padding: 6px !important;
            border-radius: 10px !important;
            margin-bottom: 25px !important;
            flex-wrap: wrap;
        }

        .tab {
            padding: 10px 20px !important;
            font-size: 11px !important;
            font-weight: 800 !important;
            color: #94a3b8 !important;
            border-radius: 8px !important;
            cursor: pointer !important;
            transition: all 0.2s ease !important;
            text-transform: uppercase !important;
            letter-spacing: 0.8px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 6px !important;
            border: 1px solid transparent !important;
            background: transparent !important;
            min-width: unset !important;
            flex: unset !important;
        }

        .tab:hover {
            color: #fff !important;
            background: rgba(255, 255, 255, 0.03) !important;
        }

        .tab.active {
            color: #0f172a !important;
            background: linear-gradient(135deg, #f59e0b, #d97706) !important;
            box-shadow: 0 4px 15px rgba(245, 158, 11, 0.25) !important;
            border-color: rgba(245, 158, 11, 0.3) !important;
        }

        @media (max-width: 768px) {
            .table th,
            .table td {
                padding: 10px 8px;
                font-size: 11px;
            }

            .form-group {
                min-width: 100% !important;
            }

            .table {
                min-width: 400px;
            }

            .tabs {
                flex-wrap: wrap !important;
                display: flex;
                gap: 6px !important;
            }

            .tab {
                flex: 1 1 calc(33.33% - 8px) !important;
                min-width: 70px !important;
                padding: 8px 4px !important;
                font-size: 10px !important;
            }

            .btn {
                padding: 10px !important;
                font-size: 12px !important;
            }

            /* Tighten Modals */
            .modal-content-nms {
                padding: 20px !important;
                width: 95% !important;
                max-width: 100% !important;
                border-radius: 12px !important;
            }

            .user-header-actions {
                padding: 12px !important;
                flex-direction: column !important;
                align-items: stretch !important;
                gap: 12px !important;
            }

            .search-box-wrap {
                max-width: 100% !important;
                flex: none !important;
            }

            .batch-action-group {
                justify-content: space-between;
                margin-top: 5px;
            }
        }

        /* Pagination Styles */
        .pagination-wrapper {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 20px;
            padding-top: 15px;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            font-size: 12px;
            color: #94a3b8;
        }

        .pagination-btns {
            display: flex;
            gap: 6px;
        }

        .btn-page {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
            color: #cbd5e1;
            padding: 6px 12px;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s ease;
            font-weight: 600;
        }

        .btn-page:hover:not(:disabled) {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.15);
            color: #fff;
        }

        .btn-page.active {
            background: linear-gradient(135deg, #f59e0b, #d97706) !important;
            color: #0f172a !important;
            border-color: rgba(251, 191, 36, 0.3) !important;
            box-shadow: 0 0 10px rgba(251, 191, 36, 0.2) !important;
        }

        .btn-page:disabled {
            opacity: 0.25;
            cursor: not-allowed;
        }

        .modal-tabs {
            display: flex;
            gap: 8px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            margin-bottom: 20px;
            padding-bottom: 8px;
        }

        .modal-tab {
            padding: 8px 16px;
            cursor: pointer;
            color: #94a3b8;
            border-bottom: 2px solid transparent;
            transition: all 0.2s ease;
            font-size: 12px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .modal-tab:hover {
            color: #fff;
        }

        .modal-tab.active {
            color: #f3ba2f;
            border-bottom-color: #f3ba2f;
            text-shadow: 0 0 8px rgba(251, 191, 36, 0.3);
        }

        .modal-tab-pane {
            display: none;
            flex-direction: column;
            gap: 16px;
        }

        .modal-tab-pane.active {
            display: flex;
        }

        /* --- PREMIUM TOAST NOTIFICATION --- */
        #toast-container {
            position: fixed;
            top: 25px;
            right: 25px;
            z-index: 10000;
            display: flex;
            flex-direction: column;
            gap: 12px;
            pointer-events: none;
        }

        .toast-msg {
            min-width: 280px;
            background: rgba(30, 41, 59, 0.9);
            backdrop-filter: blur(8px);
            color: white;
            padding: 14px 20px;
            border-radius: 12px;
            box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.6);
            border-left: 4px solid #f3ba2f;
            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: 13px;
            font-weight: 600;
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-left-width: 4px;
        }

        .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; }
        }

        .form-check {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            color: #cbd5e1;
            font-size: 13px;
            margin-top: 5px;
            user-select: none;
        }

        .form-check input {
            width: 16px;
            height: 16px;
            cursor: pointer;
            accent-color: #f3ba2f;
        }

        .form-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 16px;
            width: 100%;
        }

        /* Glassmorphic Badges Override */
        .status-badge {
            padding: 4px 8px !important;
            border-radius: 6px !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;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
        }

        .status-online {
            background: rgba(16, 185, 129, 0.15) !important;
            color: #34d399 !important;
            border-color: rgba(16, 185, 129, 0.25) !important;
        }

        .status-offline {
            background: rgba(148, 163, 184, 0.15) !important;
            color: #cbd5e1 !important;
            border-color: rgba(148, 163, 184, 0.25) !important;
        }

        .status-disabled {
            background: rgba(239, 68, 68, 0.15) !important;
            color: #fb7185 !important;
            border-color: rgba(239, 68, 68, 0.25) !important;
        }

        /* Table header & wrapper visual polish */
        .user-header-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px;
            background: rgba(15, 23, 42, 0.6);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 12px 12px 0 0;
            gap: 20px;
            flex-wrap: wrap;
        }

        .search-box-wrap {
            position: relative;
            flex: 1 1 350px;
            max-width: 450px;
        }

        .search-box-wrap i {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: #64748b;
            font-size: 13px;
        }

        .search-input-premium {
            width: 100%;
            padding-left: 38px !important;
            height: 40px;
            background: rgba(15, 23, 42, 0.5) !important;
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
            border-radius: 10px !important;
            color: #fff !important;
        }

        .search-input-premium:focus {
            border-color: rgba(251, 191, 36, 0.5) !important;
            box-shadow: 0 0 12px rgba(251, 191, 36, 0.18) !important;
            background: rgba(15, 23, 42, 0.7) !important;
        }

        .batch-action-group {
            display: flex;
            gap: 8px;
        }

        /* Premium Cyber Badges */
        .prof-badge-premium {
            background: rgba(56, 189, 248, 0.15) !important;
            color: #38bdf8 !important;
            padding: 4px 10px !important;
            border-radius: 6px !important;
            font-size: 10px !important;
            font-weight: 800 !important;
            text-transform: uppercase !important;
            border: 1px solid rgba(56, 189, 248, 0.25) !important;
            display: inline-block;
        }

        .limit-badge-premium {
            background: rgba(245, 158, 11, 0.15) !important;
            color: #fbbf24 !important;
            padding: 4px 10px !important;
            border-radius: 6px !important;
            font-size: 10px !important;
            font-weight: 800 !important;
            border: 1px solid rgba(245, 158, 11, 0.25) !important;
            display: inline-block;
        }

        /* Action Buttons Overrides */
        .btn-icon {
            width: 36px;
            height: 36px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px !important;
            cursor: pointer;
            transition: all 0.2s ease;
            background: rgba(255, 255, 255, 0.03) !important;
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
            color: #cbd5e1 !important;
        }

        .btn-icon:hover {
            background: rgba(251, 191, 36, 0.08) !important;
            border-color: rgba(251, 191, 36, 0.4) !important;
            color: #fff !important;
            transform: translateY(-1px);
        }

        .btn-icon:hover i.fa-trash-alt, 
        .btn-icon:hover i.fa-trash, 
        .btn-icon:hover i.fa-user-times {
            color: #f87171 !important;
            text-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
        }

        .btn-icon:hover i.fa-pen, 
        .btn-icon:hover i.fa-edit {
            color: #f3ba2f !important;
            text-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
        }

        /* Deep-glass Premium Modals */
        .modal-nms {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(15, 23, 42, 0.75) !important;
            backdrop-filter: blur(10px) !important;
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .modal-nms.active {
            display: flex;
            opacity: 1;
        }

        .modal-content-nms {
            background: #0f172a !important;
            border: 1px solid rgba(251, 191, 36, 0.15) !important;
            border-radius: 16px !important;
            width: 90%;
            max-width: 550px;
            padding: 26px !important;
            box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8) !important;
            transform: scale(0.9) translateY(20px);
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            max-height: 90vh;
            overflow-y: auto;
        }

        .modal-nms.active .modal-content-nms {
            transform: scale(1) translateY(0);
        }

        /* Empty State Table */
        .empty-state {
            padding: 40px 20px;
            text-align: center;
            color: #64748b;
        }

        .empty-state i {
            font-size: 36px;
            margin-bottom: 12px;
            opacity: 0.25;
            display: block;
        }

        .btn {
            font-weight: 700;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            border-radius: 8px;
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .btn:hover:not(:disabled) {
            transform: translateY(-1px);
            filter: brightness(1.15);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

        .btn:active:not(:disabled) {
            transform: translateY(0);
        }

        .btn-primary {
            background: linear-gradient(135deg, #f59e0b, #d97706) !important;
            color: #0f172a !important;
            border: none !important;
            box-shadow: 0 4px 12px rgba(245, 158, 11, 0.18) !important;
        }

        .btn-accent {
            background: rgba(251, 191, 36, 0.03) !important;
            border: 1px solid rgba(251, 191, 36, 0.2) !important;
            color: #f3ba2f !important;
        }

        .btn-accent:hover:not(:disabled) {
            background: rgba(251, 191, 36, 0.08) !important;
            border-color: rgba(251, 191, 36, 0.4) !important;
        }

        .btn-danger {
            background: rgba(239, 68, 68, 0.1) !important;
            border: 1px solid rgba(239, 68, 68, 0.25) !important;
            color: #f87171 !important;
        }

        .btn-danger:hover:not(:disabled) {
            background: rgba(239, 68, 68, 0.18) !important;
            border-color: rgba(239, 68, 68, 0.5) !important;
            color: #fff !important;
        }
    