
    @media (max-width: 768px) {
       .mobile-tree-menu {
        background: #ffffff;
        padding: 1rem;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        margin: 0.5rem;
    }

    .tree-menu {
        list-style: none;
        padding-left: 0;
        margin: 0;
    }

    .tree-menu > li {
        margin-bottom: 0.5rem;
        background-color: #f8f9fa;
        padding: 12px 15px;
        border-radius: 8px;
        color: #2c3e50;
        font-weight: 600;
        transition: all 0.3s ease;
        border-left: 4px solid #3e97ff;
    }

    .tree-menu > li:hover {
        background-color: #e1f0ff;
        transform: translateX(3px);
    }

    .tree-toggle {
        cursor: pointer;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: #2c3e50;
    }

    .tree-toggle::after {
        content: '▶';
        display: inline-block;
        font-size: 10px;
        color: #3e97ff;
        transition: all 0.3s ease;
    }

    .tree-toggle.open::after {
        transform: rotate(90deg);
        color: #009ef7;
    }

    .tree-submenu {
        list-style: none;
        padding-left: 1rem;
        margin-top: 0.8rem;
        display: none;
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .tree-submenu li {
        background-color: #ffffff;
        padding: 10px 12px;
        border-radius: 6px;
        margin-bottom: 6px;
        font-size: 14px;
        border-left: 3px solid #00c5dc;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        transition: all 0.2s ease;
    }

    .tree-submenu li:hover {
        background-color: #f1faff;
        transform: translateX(5px);
    }

    .tree-submenu li a {
        color: #1e1e2d;
        text-decoration: none;
        display: block;
        font-weight: 500;
    }

    .tree-submenu li a:hover {
        color: #009ef7;
    }

    /* Active state */
    .tree-menu > li.active {
        background-color: #3e97ff;
        color: white;
    }

    .tree-menu > li.active .tree-toggle {
        color: white;
    }

    .tree-menu > li.active .tree-toggle::after {
        color: white;
    }
    .mobile-tab-container {
    position: relative;
}

.mobile-tab-container::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 100%);
    pointer-events: none;
}
}

.container {
            width: 800px;
            margin: 50px auto;
        }

        .typeahead-wrapper {
            display: block;
            margin: 50px 0;
        }

        .tt-dropdown-menu {
            background-color: #fff;
            border: 1px solid #000;
        }

        .tt-suggestion.tt-cursor {
            background-color: #ccc;
        }

        .triggered-events {
            float: right;
            width: 500px;
            height: 300px;
        }

        /* Styling dasar menu */
        /* Reset Positioning */
        .header-menu {
            display: flex;
            height: 100%;
            margin: 0;
            padding: 0;
            list-style: none;
        }

        .menu-item {
            position: static;
            /* Kunci penting! */
            height: 100%;
            display: flex;
            align-items: center;
            padding: 0 15px;
        }

        .menu-link {
            position: relative;
            color: #333;
            text-decoration: none;
            height: 100%;
            display: flex;
            align-items: center;
        }

        /* Submenu Positioning yang Tepat */
        .submenu {
            position: absolute;
            top: 100%;
            left: 0;
            width: 200px;
            background: white;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 1000;
        }

        .menu-item:hover .submenu {
            opacity: 1;
            visibility: visible;
        }

        /* Pastikan submenu-item memiliki spacing yang cukup */
        .submenu-item {
            display: block;
            padding: 10px 15px;
            color: #333;
            text-decoration: none;
        }

        .submenu-item:hover {
            background: #f5f5f5;
        }

        /* Animasi blink untuk indicator aktif */
        @keyframes animation-blink {
            0% { opacity: 1; }
            50% { opacity: 0.3; }
            100% { opacity: 1; }
        }

        /* Efek hover untuk menu items */
        .menu-link:hover {
            background-color: rgba(255,255,255,0.15) !important;
            border-radius: 6px !important;
        }

        /* Transisi halus */
        .btn-flex, .menu-item, .menu-link {
            transition: all 0.3s ease;
        }

        /* Badge modern */
        .badge-light-danger {
            background-color: rgba(255,88,96,0.15);
            color: #ff5860 !important;
            padding: 3px 8px;
            font-weight: 600;
        }

        /* Style untuk scrollable menu */
        .header-menu-container {
            scrollbar-width: thin;
            scrollbar-color: #4b6cb7 transparent;
            -ms-overflow-style: none;
        }

        .header-menu-container::-webkit-scrollbar {
            height: 6px;
        }

        .header-menu-container::-webkit-scrollbar-thumb {
            background-color: #4b6cb7;
            border-radius: 3px;
        }

        .header-menu-container::-webkit-scrollbar-track {
            background: transparent;
        }

        /* Style untuk menu items */
        .header-menu .menu-item {
            position: relative;
            height: 100%;
            display: flex;
            align-items: center;
            flex-shrink: 0;
            padding: 0 15px;
        }

        .header-menu .menu-link {
            white-space: nowrap;
            color: #495057;
            font-weight: 500;
            padding: 0.5rem 0;
            position: relative;
            display: flex;
            align-items: center;
            height: 100%;
        }

        /* Scroll controls styling */
        .scroll-left, .scroll-right {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: white;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            z-index: 10;
            width: 30px;
            height: 30px;
            border-radius: 50%;
        }

        .scroll-left {
            left: 10px;
        }

        .scroll-right {
            right: 10px;
        }

        /* Active state */
        .header-menu .menu-item.active .menu-link {
            color: #4b6cb7;
            border-bottom: 2px solid #4b6cb7;
        }

        /* Container utama */
.header-tabs-wrapper {
    height: 100%;
    overflow: hidden;
}

/* Area yang bisa discroll */
.header-tabs-scrollable {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    height: 100%;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

/* Hide scrollbar for Chrome/Safari */
.header-tabs-scrollable::-webkit-scrollbar {
    display: none;
}




    

