.has-floating {
  position: relative;
}

.floating-header-waiting {
  display: none;
}

.has-floating:hover > .floating-header {
  display: block;
}

.floating-header {
  border-radius: 6px;
  position: absolute;
  z-index: 99999;
  display: none;
  right: 6px;
  top: 6px;
  color: var(--white);
}

.floating-header-bar {
  padding: 3px 8px;
  background: var(--darker-color);
  display: flex;
  align-items: center;
  gap: 6px;
}

.floating-header-bar .move-handle {
  flex: 1;
  user-select: none;
  cursor: move;
}

.floating-header .move-handle {
  background: var(--darker-color);
  width: 18px !important;
  user-select: none;
  cursor: move;
}

.floating-header.left {
  left: 6px;
  right: unset
}

.floating-header.right {
  right: 6px;
  left: unset
}

.floating-header.inactive {
  filter: grayscale(1);
  opacity: 0.2;
}

.floating-header.inactive:hover {
  filter: unset;
  opacity: 1;
}

.floating-header .handle-bar {
  display: flex;
  border-radius: 6px;
  overflow: hidden;
}

.floating-header .hover:hover, .floating-header-popup .hover:hover {
  background: var(--hover-color);
}

.floating-header .handle-bar a {
  background: var(--main-color);
  width: 32px;
  height: 24px;
  display: block;
  text-align: center;
  padding-top: 4px;
}

.floating-header-popup {
  position: absolute;
  z-index: 9999;
  left: 10px;
  top: 10px;
  width: 240px;
  max-height: 400px;
  background: var(--main-color);
  color: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.icon-toolbox {
  width: 16px;
  height: 16px;
  background-image: url("../../common/images/icon-assets/toolbox.svg");
  background-size: cover;
  display: inline-block;
}

.icon-toolbox.small {
  width: 9px;
  height: 9px;
}

.icon-toolbox:before {
  content: " ";
}

.floating-header-inner {
  position: relative;
  padding: 8px;
}

.floating-header-popup .to-close {
  width: 16px;
  text-align: center;
  border-radius: 3px;
}

.floating-header-inner .action {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.floating-header-inner .ohke-btn {
  display: flex;
  margin: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.floating-header-inner .search-box {
  position: relative;
}
.floating-header-inner .search-box .w3-input {
  height: 25px;
  width: 100%;
}
.floating-header-inner .search-box .total {
  position: absolute;
  right: 6px;
  top: 2px;
  bottom: 3px;
  display: flex;
  align-items: center;
  color: #333;
  background: #e6e6e6;
  padding: 2px 5px;
  border-radius: 6px;
}
.floating-header-inner .btn-search span{display: none}

.floating-header-inner .state-filter-2 select {
  height: 26px;
  padding: 0 8px;
}
.floating-header-inner .filter-form{
  display: flex;
  flex-direction: column;
  gap: 8px;
}