@import 'variables';

:host {
    flex: 1;
}

.list-container {
    border: 1px solid var(--color-component-border-200);
    border-radius: 3px;
    padding: 12px;
}

.list-item-row {
    font-size: 13px;
    display: flex;
    align-items: center;
    margin: 3px 0;
}

.drag-placeholder {
    transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
}

.cdk-drag-preview {
    font-size: 13px;
    background-color: var(--color-component-bg-100);
    opacity: 0.8;
    border-radius: 4px;
    box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14),
        0 3px 14px 2px rgba(0, 0, 0, 0.12);
}

.drag-handle {
    cursor: move;
}

.drag-handle.hidden {
    display: none;
}

.cdk-drag-placeholder {
    opacity: 0.1;
}

.cdk-drag-animating {
    transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
}

.cdk-drop-list-dragging .list-item-row:not(.cdk-drag-placeholder) {
    transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
}
