/* Custom CSS for Telegram Mini App */

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.animate-slide-up {
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Tool Buttons Active Style */
.tool-btn.active {
  background: rgba(30, 41, 59, 0.95) !important;
  border-color: #F5D77F !important;
  box-shadow: 0 0 15px rgba(245, 215, 127, 0.15) !important;
}

/* Hide scrollbars but keep functional */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.2);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.4);
}

/* Ensure smooth slider dragging */
#sliderHandle {
  touch-action: none;
  user-select: none;
}
