/* Drag Hint Animation */
/* .drag-hint.custom-scrollbar-wrapper {
  height: 0;
} */

/* .drag-hint .custom-scrollbar-container {
  padding-top: 0;
} */

.drag-hint .custom-scrollbar-container .text-scroll {
  top: 185px;
  right: unset;
  width: 40px;
  height: 60px;
  opacity: 0;
}

.drag-hint.active .custom-scrollbar-container .text-scroll {
  top: 194px;
}

.drag-hint .custom-scrollbar-container .text-scroll.hide-icon {
  opacity: 0 !important;
}

.drag-hint .text-scroll {
  position: absolute;
  pointer-events: none;
  /* opacity: 1; */
  transition: opacity 0.3s ease;
  left: 50%;
  transform: translateX(-50%);
  top: 335px;
  z-index: 100;
  right: unset;
}

.text-scroll.hidden-icon {
  opacity: 0 !important;
  pointer-events: none;
}

/* .drag-hint-overlay.show {
  opacity: 1;
  flex-direction: column;
  display: flex !important;
} */


.drag-hint-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.drag-hint .drag-hint-hand {
  width: 40px;
  height: 50px;
  animation: swipeLeftRight 2s ease-in-out infinite;
}

.drag-hint .drag-hint-text {
  font-size: 14px;
  color: #666;
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ===== Style Double สำหรับ Table 2 ===== */
.drag-hint .drag-hint-overlay.style-double {
  position: absolute;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.drag-hint .drag-hint-overlay.style-double .hint-wrapper {
  position: relative;
  width: 55px;
  height: 55px;
}

.drag-hint .drag-hint-overlay.style-double .hint-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 55px;
  height: auto;
}

.drag-hint .drag-hint-overlay.style-double .hint-hand {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: auto;
}

.drag-hint .drag-hint-overlay.style-double .hint-static {
  /* รูปนิ่ง - ไม่มี animation */
  width: 40px;
  height: 40px;
}

.drag-hint .drag-hint-overlay.style-double .hint-animate {
  /* รูป animate - ซ้อนอยู่บนรูปนิ่ง */
  position: absolute;
  top: 50%;
  left: 0;
  width: 35px;
  height: 35px;
  animation: swipeLeftRight 2s ease-in-out infinite;
}

@keyframes swipeLeftRight {
  0% {
    transform: translateX(-30px);
  }

  50% {
    transform: translateX(30px);
  }

  100% {
    transform: translateX(-30px);
  }
}