.toolbox {
  margin: 1rem 0;
  background-color: hsl(0, 0%, 100%);
}
.toolbox:first-child {
  margin-top: 0;
}
.toolbox:last-child {
  margin-bottom: 0;
}



.toolbox_list {
  margin: 0;
}

.toolbox_list_item {
  border-right: 1px solid hsl(0, 0%, 91%);
}
.toolbox_list_item:last-child {
  border-right: 0 none;
}



/* ====== CMD BUTTONS (clone/toggle/delete) ====== */
.toolbox .btn.is--disabled {
  cursor: not-allowed;
  pointer-events: none;
}



/* ====== MODE BUTTONS (select-one/select-all) ====== */
/* although select-all isn't a mode, but design thinks it is... */
.btn[data-toolbox-action="select-one"] {
  display: inline-flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
}

.btn[data-toolbox-action="select-one"] .icon {
  display: block;
  margin-right: 0.5rem;
}
.btn[data-toolbox-action="select-one"] .icon:nth-of-type(1) {
  display: block;
}
.btn[data-toolbox-action="select-one"] .icon:nth-of-type(2) {
  display: none;
}
.btn[data-toolbox-action="select-one"].is--active .icon:nth-of-type(1) {
  display: none;
}
.btn[data-toolbox-action="select-one"].is--active .icon:nth-of-type(2) {
  display: block;
}



/* ====== WIDGET WRAPPERS TO MAKE WIDGETS CLICKABLE ====== */
.widget-toolbox-wrapper {
  position: relative;
}

.widget-toolbox-wrapper-layer {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  background-color: hsla(0, 0%, 91%, 0.6);
}
.widget-toolbox-wrapper.is--selectable .widget-toolbox-wrapper-layer {
  display: block;
}
.widget-toolbox-wrapper.is--selected .widget-toolbox-wrapper-layer {
  background-color: hsla(0, 0%, 20%, 0.8);
}

.widget-toolbox-wrapper-icon {
  display: none;
  position: absolute;
  top: 0.3rem;
  right: 0.3rem;
  border-radius: 50%;
  background-color: hsl(0, 0%, 100%);
  color: hsl(0, 0%, 20%);
}
.widget-toolbox-wrapper.is--selected .widget-toolbox-wrapper-icon {
  display: block;
}