/* Style for the floating icon */
.float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  border-radius: 50%;
  text-align: center;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 100;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.3s ease;
}

.float img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.float:hover {
  box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.4);
}

/* Tooltip Text */
.tooltip-text {
  visibility: hidden;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 5px;
  position: absolute;
  bottom: 70px; /* Position above the icon */
  right: -10px;
  z-index: 1;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 12px;
}

/* Show the tooltip when hovering */
.float:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.fixed .main-sidebar {
  min-height: 0 !important;
  max-height: 100vh;
  height: 100vh;
  overflow: hidden;
  box-sizing: border-box;
}

section.sidebar {
  max-height: calc(100vh - 50px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 767px) {
  section.sidebar {
    max-height: calc(100vh - 100px);
  }
}

section.sidebar::-webkit-scrollbar {
  width: 6px;
}

section.sidebar::-webkit-scrollbar-thumb {
  background: rgba(136, 136, 136, 0.65);
  border-radius: 3px;
}
