/* FLOATING MENU  */
.amdHsptlFloating-sidebar {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 35px;
    background-color: #0391FF;
    color: white;
    border-radius: 0 10px 10px 0;
    transition: width 0.3s ease;
    z-index: 99;
    overflow: visible;
    padding: 10px 0;
}

.amdHsptlFloating-sidebar:hover {
    width: 280px;
}

.amdHsptlFloating-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.amdHsptlFloating-menu-item {
    position: relative;
    padding: 9px 4px;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

.amdHsptlFloating-menu-item:hover {
    background: #0392ffd6;
}

.amdHsptlFloating-menu-icon {
    font-size: 22px;
    margin-right: 10px;
    vertical-align: middle;
}

.amdHsptlFloating-menu-title {
    vertical-align: middle;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: inline-block;
    font-size: var(--smallPara);
    pointer-events: none;
}

.amdHsptlFloating-sidebar:hover .amdHsptlFloating-menu-title {
    opacity: 1;
}

.amdHsptlFloating-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #04477b;
    border-radius: 0 0 5px 5px;
    opacity: 0;
    pointer-events: none;
    transform: scaleY(0);
    transform-origin: top;
    transition: all 0.3s ease;
    z-index: 10;
}

.amdHsptlFloating-menu-item:hover .amdHsptlFloating-submenu {
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1);
    position: all;
}

.amdHsptlFloating-submenu a {
    display: block;
    /* padding: 10px 20px; */
    font-size: var(--miniFont14);
    padding: 6px 2px 0px 6px;
    color: #ccc;
    text-decoration: none;
    transition: .2s ease-in-out;
}

.amdHsptlFloating-submenu {
    pointer-events: none;

}

.amdHsptlFloating-submenu a:hover {
    background-color: #3e3e5c;
    color: #fff;
}

/* FLOATING MENU END  */

/* Active state for mobile */
.amdHsptlFloating-menu-item.active {
    background: #0392ffd6;
}

.amdHsptlFloating-menu-item.active .amdHsptlFloating-submenu {
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1);
}

/* Mobile-specific styles */
@media (max-width: 1150) {
    .amdHsptlFloating-sidebar {
        width: 280px !important;
    }

    .amdHsptlFloating-menu-title {
        opacity: 1 !important;
    }

    .amdHsptlFloating-sidebar:hover {
        width: 280px !important;
    }
}