/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
.dark ::-webkit-scrollbar-thumb { background: #475569; }

/* Drag and drop styles */
.card-dragging {
    opacity: 0.5;
    transform: rotate(2deg);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.15);
}
.column-drag-over {
    background: rgba(29, 160, 216, 0.08) !important;
    border-color: rgba(29, 160, 216, 0.3) !important;
}
.drop-indicator {
    height: 3px;
    background: #1da0d8;
    border-radius: 4px;
    margin: 4px 0;
    transition: opacity 0.15s;
    opacity: 0;
}
.drop-indicator.active {
    opacity: 1;
}

/* Modal animations */
.modal-overlay {
    animation: fadeIn 0.2s ease-out;
}
.modal-content {
    animation: slideUp 0.25s ease-out;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Card enter animation */
.card-enter {
    animation: cardSlideIn 0.3s ease-out;
}
@keyframes cardSlideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Toast notification */
.toast {
    animation: toastIn 0.3s ease-out, toastOut 0.3s ease-in 2.2s forwards;
}
@keyframes toastIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes toastOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(20px); }
}

/* Context menu */
.context-menu {
    animation: menuIn 0.15s ease-out;
}
@keyframes menuIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
