:root {
            --bg-color: #121826; --neo-dark: #090c13; --neo-light: #1b2439;
            --text-main: #e2e8f0; --text-muted: #8b99ae;
            --grad-blue: #3b82f6; --grad-purple: #8b5cf6; --grad-pink: #ec4899;
            --neon-gradient: linear-gradient(135deg, var(--grad-blue), var(--grad-purple), var(--grad-pink));
            --shadow-out: 8px 8px 16px var(--neo-dark), -8px -8px 16px var(--neo-light);
            --shadow-in: inset 6px 6px 12px var(--neo-dark), -6px -6px 12px var(--neo-light);
            --sidebar-width: 260px; --header-height: 80px;
            --radius-lg: 24px; --radius-md: 16px; --radius-sm: 8px;
        }
        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
        body { background-color: var(--bg-color); color: var(--text-main); overflow-x: hidden; display: flex; min-height: 100vh; }
        .gradient-text { background: var(--neon-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; color: transparent; font-weight: 700; }
        .text-sm { font-size: 0.875rem; } .text-xs { font-size: 0.75rem; } .text-muted { color: var(--text-muted); }
        .font-semibold { font-weight: 600; } .font-bold { font-weight: 700; } .font-mono { font-family: 'Fira Code', monospace; }
        .flex { display: flex; } .flex-col { flex-direction: column; } .items-center { align-items: center; } 
        .justify-between { justify-content: space-between; } .justify-center { justify-content: center; }
        .gap-2 { gap: 0.5rem; } .gap-4 { gap: 1rem; }
        
        /* SIDEBAR YANG DAPAT DI-SCROLL */
        .sidebar { 
            width: var(--sidebar-width); 
            background: var(--bg-color); 
            height: 100vh; 
            position: fixed; 
            left: 0; 
            top: 0; 
            padding: 2rem 1.5rem; 
            display: flex; 
            flex-direction: column; 
            z-index: 100; 
            box-shadow: 10px 0 30px rgba(0,0,0,0.5); 
            transition: transform 0.3s ease;
            overflow-y: auto; /* Memungkinkan scroll vertikal pada sidebar */
            scrollbar-width: thin; /* Ukuran scrollbar tipis untuk Firefox */
            scrollbar-color: var(--grad-purple) var(--neo-dark); /* Warna scrollbar Firefox */
        }
        /* Custom Scrollbar sidebar untuk Webkit (Chrome, Safari, Edge) */
        .sidebar::-webkit-scrollbar {
            width: 5px;
        }
        .sidebar::-webkit-scrollbar-track {
            background: var(--neo-dark);
        }
        .sidebar::-webkit-scrollbar-thumb {
            background: var(--grad-purple);
            border-radius: 10px;
        }

        .logo-area { display: flex; align-items: center; gap: 12px; padding-bottom: 2rem; margin-bottom: 1.5rem; }
        .logo-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--bg-color); box-shadow: var(--shadow-out); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--grad-purple); }
        .nav-menu { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
        .nav-item { display: flex; align-items: center; gap: 16px; padding: 12px 20px; border-radius: var(--radius-md); color: var(--text-muted); text-decoration: none; font-weight: 500; transition: all 0.3s ease; }
        .nav-item:hover { color: var(--text-main); background: var(--bg-color); box-shadow: var(--shadow-out); }
        .nav-item.active { color: white; background: var(--bg-color); box-shadow: var(--shadow-in); }
        .nav-item.active i { background: var(--neon-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
        .main-content { margin-left: var(--sidebar-width); flex: 1; padding: 0 2rem 2rem 2rem; min-height: 100vh; display: flex; flex-direction: column; width: calc(100% - var(--sidebar-width)); }
        .header { height: var(--header-height); display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: var(--bg-color); z-index: 50; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.02); }
        .search-bar { background: var(--bg-color); box-shadow: var(--shadow-in); border-radius: var(--radius-lg); padding: 12px 24px; display: flex; align-items: center; gap: 12px; width: 350px; }
        .search-bar input { background: transparent; border: none; outline: none; color: var(--text-main); width: 100%; font-size: 0.95rem; }
        .user-profile { display: flex; align-items: center; gap: 1rem; }
        .icon-btn { width: 45px; height: 45px; border-radius: 50%; background: var(--bg-color); box-shadow: var(--shadow-out); border: none; color: var(--text-muted); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; position: relative; }
        .icon-btn:hover { color: var(--grad-purple); box-shadow: 8px 8px 16px var(--neo-dark), -8px -8px 16px var(--neo-light); } 
        .icon-btn:active { box-shadow: var(--shadow-in); }
        .avatar { width: 45px; height: 45px; border-radius: 50%; background: var(--bg-color); box-shadow: var(--shadow-out); padding: 3px; cursor: pointer; transition: transform 0.2s; } 
        .avatar:hover { transform: scale(1.05); }
        .avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
        .neo-card { background: var(--bg-color); border-radius: var(--radius-lg); box-shadow: var(--shadow-out); padding: 1.5rem; position: relative; border: 1px solid rgba(255, 255, 255, 0.02); }
        .grid-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 1rem; }
        .stat-card { display: flex; align-items: center; gap: 1.5rem; }
        .stat-icon { width: 60px; height: 60px; border-radius: var(--radius-md); background: var(--bg-color); box-shadow: var(--shadow-in); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
        .stat-icon.blue { color: var(--grad-blue); } .stat-icon.purple { color: var(--grad-purple); } .stat-icon.pink { color: var(--grad-pink); }
        .neo-button { padding: 10px 20px; border-radius: var(--radius-sm); background: var(--bg-color); box-shadow: var(--shadow-out); border: none; color: var(--text-main); font-weight: 600; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; gap: 8px; font-size: 0.85rem; }
        .neo-button:hover { color: white; } .neo-button:active { box-shadow: var(--shadow-in); }
        .btn-primary { position: relative; overflow: hidden; }
        .btn-primary i { background: var(--neon-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; z-index: 1; }
        .btn-primary span { z-index: 1; position: relative;}
        .view-section { display: none; animation: fadeIn 0.3s ease-in-out; } .view-section.active { display: block; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
        
        .server-list-container { max-height: 55vh; overflow-y: auto; padding-right: 15px; margin-top: 1.5rem; }
        .server-list-container::-webkit-scrollbar { width: 8px; }
        .server-list-container::-webkit-scrollbar-track { background: var(--neo-dark); border-radius: 8px; }
        .server-list-container::-webkit-scrollbar-thumb { background: var(--grad-purple); border-radius: 8px; }

        .terminal-window { background: var(--bg-color); box-shadow: var(--shadow-in); border-radius: var(--radius-md); padding: 1rem; font-family: 'Fira Code', monospace; font-size: 0.85rem; color: #a78bfa; height: 250px; overflow-y: auto; border: 1px solid rgba(0,0,0,0.5); }
        .terminal-header { display: flex; gap: 8px; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--neo-light); }
        .term-dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: var(--shadow-out); } 
        .term-dot.red { background: #ef4444; } .term-dot.yellow { background: #f59e0b; } .term-dot.green { background: #10b981; }
        .log-line { margin-bottom: 6px; line-height: 1.4;} 
        .log-time { color: var(--text-muted); margin-right: 10px; }
        .log-info { color: var(--grad-blue); } 
        .toast { position: fixed; bottom: -100px; right: 20px; background: var(--bg-color); box-shadow: var(--shadow-out); padding: 16px 24px; border-radius: var(--radius-md); border-left: 4px solid var(--grad-purple); display: flex; align-items: center; gap: 12px; transition: bottom 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); z-index: 1000; }
        .toast.show { bottom: 20px; }
        .mobile-toggle { display: none; background: none; border: none; color: var(--text-main); font-size: 1.5rem; box-shadow: var(--shadow-out); width: 45px; height: 45px; border-radius: var(--radius-sm); cursor: pointer; }
        
        @media (max-width: 1024px) { .search-bar { width: 250px; } }
        @media (max-width: 768px) { .sidebar { transform: translateX(-100%); } .sidebar.open { transform: translateX(0); } .main-content { margin-left: 0; width: 100%; padding: 0 1rem 1rem 1rem; } .mobile-toggle { display: flex; align-items: center; justify-content: center; } .search-bar { display: none; } }
        
        .form-label { display: block; margin-bottom: 8px; color: var(--text-muted); font-size: 0.9rem; font-weight: 500; }
        .form-input, .form-select { width: 100%; padding: 12px 16px; background: var(--neo-dark); border: 1px solid var(--neo-light); color: var(--text-main); border-radius: var(--radius-sm); margin-bottom: 1.5rem; outline: none; transition: all 0.3s; }
        .form-input:focus, .form-select:focus { border-color: var(--grad-purple); box-shadow: 0 0 10px rgba(139, 92, 246, 0.2); }
        .form-select { appearance: none; cursor: pointer; }
        .checkbox-container { display: flex; align-items: center; gap: 10px; margin: 1rem 0 1.5rem 0; color: var(--text-muted); font-size: 0.9rem; cursor: pointer; }
        .checkbox-container input { width: 18px; height: 18px; accent-color: var(--grad-purple); cursor: pointer; }
        
        .slider-container { background: var(--neo-dark); padding: 1.5rem; border-radius: var(--radius-md); border: 1px solid var(--neo-light); margin-bottom: 1.5rem; }
        .slider-wrapper { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
        input[type=range] { -webkit-appearance: none; width: 100%; background: transparent; }
        input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; height: 24px; width: 24px; border-radius: 50%; background: var(--grad-purple); cursor: pointer; margin-top: -10px; box-shadow: 0 0 10px rgba(139, 92, 246, 0.6); }
        input[type=range]::-webkit-slider-runnable-track { width: 100%; height: 6px; cursor: pointer; background: var(--neo-light); border-radius: 4px; }
        .slider-value-display { font-size: 2rem; font-weight: 700; min-width: 80px; text-align: right; background: var(--neon-gradient); -webkit-background-clip: text; color: transparent; }
        
        .specs-breakdown { display: flex; justify-content: space-between; background: var(--bg-color); padding: 1rem; border-radius: var(--radius-sm); box-shadow: var(--shadow-in); margin-top: 1.5rem; }
        .spec-item { text-align: center; flex: 1; } .spec-item:not(:last-child) { border-right: 1px solid var(--neo-light); }
        .spec-label { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 4px; text-transform: uppercase; }
        
        .role-grid { display: grid; grid-template-columns: 350px 1fr; gap: 2rem; align-items: start; }
        @media (max-width: 1024px) { .role-grid { grid-template-columns: 1fr; } }
        .role-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; text-align: left; }
        .role-table th { padding: 16px 12px; color: var(--text-muted); border-bottom: 1px solid var(--neo-light); font-weight: 600; }
        .role-table td { padding: 14px 12px; border-bottom: 1px solid rgba(255,255,255,0.03); vertical-align: middle; }
        .badge { padding: 6px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; display: inline-block; }
        .badge.admin { background: rgba(139, 92, 246, 0.15); color: #a78bfa; border: 1px solid rgba(139, 92, 246, 0.3); }
        .badge.owner { background: rgba(236, 72, 153, 0.15); color: #f472b6; border: 1px solid rgba(236, 72, 153, 0.3); }
        .badge.partner { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
        .badge.reseller { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
        
        .modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(4px); display: none; justify-content: center; align-items: center; z-index: 1000; opacity: 0; transition: opacity 0.3s; }
        .modal-overlay.show { display: flex; opacity: 1; }
        .modal-content { background: var(--bg-color); width: 90%; max-width: 450px; border-radius: var(--radius-lg); border: 1px solid var(--neo-light); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); padding: 2rem; transform: translateY(20px); transition: transform 0.3s; }
        .modal-overlay.show .modal-content { transform: translateY(0); }
        .output-data-box { background: var(--neo-dark); border-radius: var(--radius-sm); padding: 1rem; margin: 1.5rem 0; border: 1px solid var(--neo-light); }
        .output-line { font-family: 'Fira Code', monospace; font-size: 0.85rem; color: #a78bfa; margin-bottom: 8px; word-break: break-all; }
        .output-line span.key { color: var(--text-muted); } .output-line span.val { color: var(--text-main); }
        .spinner { width: 40px; height: 40px; border: 4px solid var(--neo-light); border-top: 4px solid var(--grad-purple); border-radius: 50%; animation: spin 1s linear infinite; margin: auto; display: block; }
        @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
        
        @keyframes blink-red { 0% { opacity: 1; } 50% { opacity: 0.2; } 100% { opacity: 1; } }
        .status-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
        .status-dot.online { background: #10b981; box-shadow: 0 0 10px #10b981; }
        .status-dot.maintenance { background: #ef4444; box-shadow: 0 0 15px #ef4444; animation: blink-red 1.5s infinite; }
