/* Right Sidebar Menu - Separate CSS File */
.fixed-right-sidebar-menu {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 10px;
}

.sidebar-menu-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.sidebar-menu-button {
   /* position: relative;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0;
    text-decoration: none;
    outline: none;*/
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 5px;
    background: #1e3a8c;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s 
ease;
    padding: 0;
    margin: 0;
    text-decoration: none;
    outline: none;
    right: -16px;
}

.sidebar-menu-button:hover {
    background: #4A90E2;
    width: 380px;
    justify-content: flex-start;
    padding: 0 15px;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.4);
    text-decoration: none;
}

.sidebar-menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.sidebar-menu-button:hover .sidebar-menu-icon {
    color: #ffffff;
    margin-right: 12px;
}

.sidebar-menu-label {
  /*  display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    width: 0;
    overflow: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease, width 0.3s ease;
    text-decoration: none;
    flex: 1;
    min-width: 0;*/
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    white-space: pre-wrap;
    opacity: 0;
    visibility: hidden;
    width: 0;
    overflow: visible;
    transition: opacity 0.3s 
ease, visibility 0.3s 
ease, width 0.3s 
ease;
    text-decoration: none;
    flex: 1;
    min-width: 0;
    margin-left: -14px;
}

.sidebar-menu-button:hover .sidebar-menu-label {
    opacity: 1;
    visibility: visible;
    width: auto;
    color: #ffffff;
    text-decoration: none;
    overflow: visible;
}

.sidebar-menu-button.active {
    background: #4A90E2;
}

.sidebar-menu-button.active .sidebar-menu-icon {
    color: #ffffff;
}

/* Tablet adjustments */
@media (max-width: 1024px) {
    .fixed-right-sidebar-menu {
        width: 60px;
        padding: 15px 0;
    }
    
    .sidebar-menu-button {
        width: 45px;
        height: 45px;
    }
    
    .sidebar-menu-button:hover {
        width: 240px;
        padding: 0 12px;
    }
    
    .sidebar-menu-icon {
        font-size: 18px;
        width: 45px;
        height: 45px;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .fixed-right-sidebar-menu {
        width: 55px;
        padding: 12px 0;
        right: 0;
    }
    
    .sidebar-menu-button {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
    
    .sidebar-menu-button:hover {
        width: 220px;
        padding: 0 12px;
    }
    
    .sidebar-menu-icon {
        font-size: 16px;
        width: 40px;
        height: 40px;
    }
    
    .sidebar-menu-label {
        font-size: 13px;
    }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
    .fixed-right-sidebar-menu {
        width: 50px;
        padding: 10px 0;
    }
    
    .sidebar-menu-button {
        width: 38px;
        height: 38px;
        border-radius: 8px;
    }
    
    .sidebar-menu-button:hover {
        width: 200px;
        padding: 0 10px;
    }
    
    .sidebar-menu-icon {
        font-size: 15px;
        width: 38px;
        height: 38px;
    }
    
    .sidebar-menu-label {
        font-size: 12px;
    }
}

