@charset "UTF-8";

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

* {
    -webkit-tap-highlight-color: transparent;
}

@keyframes bounceIn {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-bounce-in {
    animation: bounceIn 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
}

/* 拖曳時的樣式 */
.dragging {
    opacity: 0.5;
    background-color: #f3f4f6;
}

/* 防止拖曳時選取文字 */
.no-select {
    user-select: none;
    -webkit-user-select: none;
}

/* 閃爍動畫 */
@keyframes highlight {

    0%,
    100% {
        background-color: white;
    }

    50% {
        background-color: #fef08a;
    }
}

.animate-highlight {
    animation: highlight 1s ease-in-out 2;
}

/* Added for Modal Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in {
    animation: fadeIn 0.2s ease-out forwards;
}

@keyframes scaleIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.animate-scale-in {
    animation: scaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
