.holder {
  position: absolute;
  width: 156px;
  height: 156px;
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .2));
  background-color: #424242;
  border-radius: 3px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.5);
  transition: background-color .15s, box-shadow .15s, transform .15s, height .1s linear;
}

.holder.active {
  background-color: #757575;
}

.holder.picked {
  z-index: 999;
}

.holder.initial {
  transition: none;
}

.holder:hover {
  transform: translateY(-4px);
}

.holder:hover:not(.selected) {
  box-shadow: 0 6px 8px rgba(0,0,0,0.5);
}

.holder.selected:not(.value) {
  box-shadow: 0 0px 0px 2px #40c4ff, 0 0px 32px #0064b7;
}

.holder.error:not(.value) {
  box-shadow: 0 0px 0px 4px #ff0033, 0 0px 64px #ff0033;
}

.holder .inner {
  padding: 12px;
}

.inner .size-toggle {
  width: 24px;
  height: 24px;
  position: absolute;
  top: 8px;
  right: 8px;
  background-image: url('../../../../assets/expand.svg');
  background-size: 24px 24px;
  background-position: center;
  opacity: 0.25;
  transition: opacity .15s, transform .15s;
}

.inner .size-toggle.value {
  top: -16px;
}

.inner .size-toggle:hover {
  opacity: .75;
  transform: scale(1.2);
}

.inner .size-toggle.collapse {
  background-image: url('../../../../assets/collapse.svg');
}

.inner .size-toggle.collapse:hover {
  opacity: .75;
  transform: scale(0.8);
}

.input, .output {
  margin-bottom: 8px;
  font-size: 13px;
}

.input.optional span,
.input.optional editor-pin {
  opacity: .5;
}

.input span {
  max-width: calc(100% - 48px);
  display: inline-block;
  vertical-align: top;
}

.input .remove {
  position: absolute;
  width: 16px;
  right: 32px;
  left: auto;
  margin: 0;
  padding: 0;
  cursor: pointer;
  margin-top: 2px;
  opacity: 0;
  transition: opacity .15s;
}

.input:hover .remove {
  opacity: .5;
}

.input:hover .remove:hover {
  opacity: 1;
}

.input editor-pin {
  margin-right: 6px;
}

.input input, .path input {
  display: inline;
  background: none;
  border: none;
  outline: none;
  max-width: 96px;
  font-family: inherit;
  font-size: 13px;
  color: white;
}

.target {
  text-align: center;
  line-height: 12px;
  margin-bottom: 8px;
}

.case {
  position: relative;
  margin-bottom: 8px;
}

.output {
  text-align: right;
}

.output.control {
  color: #FFC400;
}

.output editor-pin {
  margin-left: 6px;
}

.path {
  text-align: center;
}

.path input {
  text-align: center;
  color: #00BFA5;
  margin-bottom: 8px;
  min-width: 100%;
}

.input.placeholder {
  padding: 2px 0;
}

.case .remove {
  position: absolute;
  left: auto;
  right: 24px;
  margin: 0;
  padding: 0;
  top: 5px;
  width: 16px;
  opacity: 0;
  transition: opacity .15s;
}

.case:hover .remove {
  opacity: .5;
}

.case:hover .remove:hover {
  opacity: 1;
}

.add-more {
  width: 12px;
  height: 12px;
  text-align: center;
  border: 1px solid white;
  border-radius: 24px;
  font-size: 10px;
  opacity: .5;
  cursor: pointer;
  transition: all .2s ease-in-out;
}

.add-more:hover {
  opacity: 1;
}

.case .add-more {
  width: 22px;
  height: 22px;
  font-size: 16px;
  color: #FFC400;
  border-color: #FFC400;
  background: #212121;
}

.add-more.disabled {
  opacity: 0;
}

.path-suggest {
  position: absolute;
  left: 16px;
  right: 16px;
  text-align: center;
  background: #424242;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
  font-size: 13px;
  font-weight: light;
}

.path-suggest .item {
  padding: 8px 0;
  cursor: pointer;
  color: #9e9e9e;
  transition: color .3s;
}

.path-suggest .item:hover {
  color: #00BFA5;
}

.path-suggest .item .access {
  font-size: 12px;
  color: #757575;
  transition: color .3s;
}

.path-suggest .item .access.public {
  color: #76FF03;
}

.path-suggest .item .access.internal {
  color: #448aff;
}

.path-suggest .item .access.socket {
  color: #49c289;
}

.path-suggest .item .method {
  color: #616161;
  font-size: 9px;
  font-weight: 900;
  transition: color .3s;
}

.path-suggest:hover .item .method {
  color: #9e9e9e;
}

.inactive-optins {
  position: relative;
  margin-top: 12px;
  width: 32px;
  padding-bottom: 8px;
}

.inactive-optins .optin-list {
  position: absolute;
  background: red;
  margin-top: 8px;
  z-index: 1000;
  width: 156px;
  opacity: 0;
  transform: scale(0);
  transform-origin: top left;
  transition: opacity .15s, transform .15s;
  border-radius: 3px;
  background-color: #424242;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
  overflow: hidden;
}

.inactive-optins:hover .optin-list {
  transform: scale(1);
  opacity: 1;
}

.inactive-optins .optin-list .inactive-optin {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px;
  transition: background .15s;
  padding: 8px;
}

.inactive-optins .optin-list .inactive-optin:hover {
  background: rgba(255, 255, 255, .25);
}

.inactive-optins .optin-list .inactive-optin:not(:last-child) {
  border-bottom: 1px dashed #616161;
}
