/**
* -------------------- BUTTON --------------------------
 */
.develux-button{
  cursor: pointer;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.develux-button{
  .svg-active-js{
    display:none;
  }
  .svg-passive-js{
    display:block;
  }
  &:hover{
    .svg-active-js{
      display:block;
    }
    .svg-passive-js{
      display:none;
    }
  }
}


.reset-btn{
  width:178px;
  background: $gray-background;
  border: 1px solid $gray-background;
  color: $text-color;
  &:hover{
    background: $text-color;
    color:#ffffff;
  }
}
.styling-button{
  width:178px;
  color: $label-color;
  background: $gray-background;
  border: 1px solid $border-block;
  .svg-active-js{
    display:none;
  }
  .svg-passive-js{
    display:block;
  }
  &:hover{
    background: rgb(156, 117, 208);
    color: #fff;
    border: 1px solid #8d61c7;
    .svg-passive-js{
      display:none;
    }
    .svg-active-js{
      display:block;
    }
  }
}
.styling-button.active{
  background: rgb(156, 117, 208);
  color: #fff;
  border: 1px solid #8d61c7;
  .svg-passive-js{
    display:none;
  }
  .svg-active-js{
    display:block;
  }
}
.add-button{
  @media (max-width: 480px) {
    width:115px;
    gap:4px;
  }
  color: $brand-deep;
  border: 1px solid $brand-deep;
  background: white;
}

.add-button.active{
  color: #fff;
  .svg-active-js{
    display:block;
  }
  .svg-passive-js{
    display:none;
  }
}

.upload-icon-button{
  @extend .add-button;
  height: 32px;
}
.upload-button{
  @extend .develux-button;
  @extend .add-button;
}
.remove-repeater-field{
  height: 32px;
  width: 32px;
  cursor: pointer;
  border: none;
  background: white;
}
.remove-button{
  @extend .develux-button;
  color: #007cba;
  font-size: 13px;
  height: 36px;
  margin: 0;
  padding: 6px 12px;
  border-radius: 2px;
  align-items: center;
  display: inline-flex;
  border: none;
  cursor: pointer;
  &:hover {
    background: color-mix(in srgb,#007cba 4%,#0000);
    color: #005a87;
  }
}

.delete-button {
  @extend .develux-button;
  border: 2px solid #e2deee;
  cursor: pointer;
  background: #fff;
  height: 36px;
  width: 100%;
}
.clear-uploaded-icon-button{
  height: auto;
  width: auto;
  cursor: pointer;
  border: none;
  background: white;
  padding:0;
}
.develux-delete-popup{
  color: #fff;
  background: rgba(0,0,0,.8);
  position: absolute;
  width:calc(100% - 45px);
  min-height: calc(100% - 45px);
  height:auto;
  z-index: 1111;
  border: 2px solid #e2deee;
  top:5px;
  left:5px;
}
#develux-create-label-form,.custom-product-card-form-create{
  .develux-button{
    cursor: pointer;
    height: 30px;
    border-radius: 5px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid $brand-semi-deep;
    background:$brand;
    color: #fff;
    padding: 0 16px;
    &:hover{
      background: $brand-semi-deep;
    }
  }
}
.repeater-navigation{
  .add-button,.styling-button{
    @media (max-width: 500px) {
      width: 100%;
    }
  }
}
.develux-wc-button{
  display:block;
  border-radius: 2px;
  cursor: pointer;
  padding: 10px 15px;
  border: none;
  margin: 0 auto 0;
  background: $brand;
  color: #fff;
  outline: 1px solid #0000;
  text-decoration: none;
  text-shadow: none;
  white-space: nowrap;
  &:hover, &:focus, &:active{
    background: $brand-deep;
  }
}
.develux-wc-style-select-image {
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-bottom: 8px;
  min-height: 88px;
  padding: 10px;
  position: relative;
  width: 400px;
  background: transparent;
  height: auto;
  &:hover {
    border-color: #999;
    cursor: pointer;
  }
  .label-uploaded-image-preview {
    max-height: 160px;
    max-width: 100%;
    object-fit: cover;
  }
}
.develux-label-builder {
  .develux-wc-button {
    background: none;
    outline: 1px solid #0000;
    white-space: nowrap;

    &:hover {
      background: color-mix(in srgb, #007cba 4%, #0000);
      color: #005a87;
    }
  }
}