/* assets/css/custom.css */
html {
    scroll-behavior: smooth;
}
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 4px;
}
*:hover::-webkit-scrollbar-thumb {
    background: #cbd5e1;
}
*:hover::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.kanban-board {
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.kanban-column {
    scroll-snap-align: start;
}

/* Custom Checkbox */
.custom-checkbox {
    appearance: none;
    background-color: #fff;
    margin: 0;
    font: inherit;
    color: currentColor;
    width: 1.15em;
    height: 1.15em;
    border: 1px solid #cbd5e1;
    border-radius: 0.25em;
    display: grid;
    place-content: center;
}
.custom-checkbox::before {
    content: "";
    width: 0.65em;
    height: 0.65em;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em white;
    background-color: CanvasText;
    transform-origin: bottom left;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.custom-checkbox:checked {
    background-color: #3b82f6;
    border-color: #3b82f6;
}
.custom-checkbox:checked::before {
    transform: scale(1);
}

.drawer-overlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.drawer {
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}
.drawer.active {
    transform: translateX(0);
}
