/* ###### 4.11 Spectrum ###### */

.sp-container {
  background-color: rgb($white) ;
  border-color:#{$border};
  z-index: 200;
  border-radius:5px;
  box-shadow:0px 4px 7px rgba(154, 154, 204, .1);

  button {
    border: 0;
    padding: 8px 15px;
    background-image: none;
    background-color: rgb($background-gradient-color);
    font-family: inherit;
    font-size: 12px;
    text-shadow: none;
    text-transform: capitalize;
    border-radius: 2px;

    &:hover, &:focus {
      border: 0;
      background-image: none;
      background-color: #{$gray-500};
      text-shadow: none;
    }
  }
}

.sp-button-container .sp-cancel {
  font-family: inherit;
  font-size: 12px;
  text-transform: capitalize;
  color: #{$gray-600} !important;

  &:hover, &:focus {
    color: #{$gray-800} !important;
    text-decoration: none;
  }
}

.sp-picker-container {
  border-inline-start: 0;
}

.sp-replacer {
  border-color: #{$border};
  background-color: rgb($white) ;
   border-radius:5px;
  &:hover, &:focus {
    border-color:#{$border};
  }

  &.sp-active {
    border-color: #{$border};
  }
}

.sp-dd {
  text-indent: -99999px;
  position: relative;
  width: 10px;

  &::before {
    content: '\f280';
    font-family: 'Ionicons';
    font-size: 15px;
    color: #{$gray-500};
    position: absolute;
    text-indent: 0;
    inset-inline-start: 0;
    z-index: 10;
  }
}

.sp-preview {
  border: 0;
}

.sp-dragger {
  background-color: transparent;
}

.sp-choose {
  background-color: rgb($background-gradient-color);
}

.sp-palette .sp-thumb-el {
  &:hover, &.sp-thumb-active {
    border-color: #{$gray-800};
  }
}