/* Custom Scrollbars */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* No scrollbar utility */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Kanban Column Glow */
.kanban-column {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(51, 65, 85, 0.5);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.kanban-column:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 40px -15px rgba(99, 102, 241, 0.1);
}

/* Task Card Premium Styles */
.task-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(51, 65, 85, 0.4);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.task-card:hover {
    transform: translateY(-2px) scale(1.01);
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.04), 0 0 15px -5px rgba(99, 102, 241, 0.3);
}

/* Badges Premium Glow */
.badge-baja {
    background: rgba(6, 182, 212, 0.1);
    color: #22d3ee;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.badge-media {
    background: rgba(245, 158, 11, 0.1);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-alta {
    background: rgba(244, 63, 94, 0.1);
    color: #fb7185;
    border: 1px solid rgba(244, 63, 94, 0.2);
}

/* SortableJS Ghost Classes */
.sortable-ghost {
    opacity: 0.2 !important;
    background: #6366f1 !important;
}

.sortable-chosen-column {
    opacity: 0.5;
}

.sortable-drag {
    cursor: grabbing !important;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeIn 0.4s ease-out forwards;
}

/* Modal Helper */
#modal-overlay.show {
    display: flex;
    opacity: 1;
}

#modal-overlay.show>div.show {
    display: flex;
    transform: scale(1);
}

/* Input Styles Override */
.column-title-input {
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.column-title-input:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

.column-title-input:focus {
    background: #020617;
    border-color: #6366f1;
    outline: none;
    padding-left: 8px;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}