.preset-tabs {
    padding-inline-start: var(--surface-margin-left);
    margin: var(--space-unit) 0;
    gap: calc(var(--space-unit) * 0.5);
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    //border-bottom: 1px solid var(--color-component-border-100);
}

.preset-tab {
    display: flex;
    align-items: center;
    gap: calc(var(--space-unit) * 0.5);
    font-size: var(--font-size-sm);
    cursor: pointer;
    white-space: nowrap;
    text-transform: none;
    padding: 0 calc(var(--space-unit) * 1);
    border: 1px solid var(--color-weight-300);
    border-radius: var(--border-radius-lg);
    cursor: pointer;

    > a {
        //padding: calc(var(--space-unit) * 1) 0;
        padding-inline-end: 0;
        color: var(--color-weight-600);
    }

    &.active {
        border-color: var(--color-primary-700);
        background-color: var(--color-primary-700);
        color: var(--color-primary-100);

        > a {
            color: var(--color-primary-100);
        }

        button.icon-button {
            color: var(--color-primary-100);
        }
    }
}

.preset-tab-link {
    display: flex;
    align-items: center;
    gap: calc(var(--space-unit) * 0.5);
}

.drag-handle {
    cursor: move;
}

.cdk-drag-preview {
    box-sizing: border-box;
    opacity: 0.8;
    background: var(--color-weight-100);
    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);
}

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

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

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