/* 1. Reset & Layout */

.cx.cx_shortcode.rb_cx_menu_wp .user-details-sidebar {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 2. Top Level Items */
.cx.cx_shortcode.rb_cx_menu_wp  .customer-menu-item {
    position: relative; /* Crucial for absolute positioning of sub-menu */
    display: inline-block;
}

.cx.cx_shortcode.rb_cx_menu_wp .customer-menu-item a {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

/* 3. The Sub-Menu (Hidden by default) */
.cx.cx_shortcode.rb_cx_menu_wp .sub-menu {
    position: absolute;
    top: 100%;       /* Directly below the parent */
    left: 0;
    min-width: 220px;
    background: #0a1128; /* Match your dark background */
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    padding: 10px 0;
    list-style: none;
    
    /* Animation Properties */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 999;
}

/* 4. Hover State: Show the Sub-Menu */
.cx.cx_shortcode.rb_cx_menu_wp  .customer-menu-item:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 5. Sub-Menu Items Styling */
.cx.cx_shortcode.rb_cx_menu_wp  .sub-menu .customer-menu-item {
    display: block;
    width: 100%;
}

.cx.cx_shortcode.rb_cx_menu_wp  .sub-menu .customer-menu-item a {
    padding: 12px 20px;
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    display: block;
}

.cx.cx_shortcode.rb_cx_menu_wp  .sub-menu .customer-menu-item a:hover {
    background: rgba(255,255,255,0.05);
    color: #ffcc00; /* Your yellow highlight color */
    padding-left: 25px; /* Subtle slide effect on hover */
}

/* 6. Indicator for items with children (Optional) */
.cx.cx_shortcode.rb_cx_menu_wp  .has-children > a::after {
    content: '▾';
    margin-left: 8px;
    font-size: 12px;
    opacity: 0.7;
}

.cx.cx_shortcode.rb_cx_menu_wp.cx_menu_item_ppline ul{
    gap:0px!important;
}

.cx.cx_shortcode.rb_cx_menu_wp.cx_menu_item_ppline ul li.customer-menu-item {
    padding:0px!important;
}
.cx.cx_shortcode.rb_cx_menu_wp.cx_menu_item_ppline ul li.customer-menu-item a{
    padding:0px 8px!important;
}

.cx.cx_shortcode.rb_cx_menu_wp.cx_menu_item_ppline ul li.customer-menu-item a span {
    font-size:14px !important;
}

@media screen and (max-width: 1100px) {
   .cx.cx_shortcode.rb_cx_menu_wp.cx_menu_item_ppline ul li.customer-menu-item a{
        padding:0px 6px!important;
    }

    .cx.cx_shortcode.rb_cx_menu_wp.cx_menu_item_ppline ul li.customer-menu-item a span {
        font-size:13px !important;
    }
}