@import "../../../assets/sass/core/vars.scss";


.tag-picker-label {
    font-weight: bold;
    margin-bottom: 10px;
}

.gtc-tag-picker-dropdown-container {
  position: relative;
  width: 100%;

  .gtc-tag-picker-input-container {
    width: 100%;
    margin-top: 5px;
    position: relative;

    .gtc-tag-picker-input {
      width: 100%;
      -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
      -moz-box-sizing: border-box; /* Firefox, other Gecko */
      box-sizing: border-box; /* Opera/IE 8+ */
    }

    .gtc-tag-picker-menu-arrow-button {
      position: absolute;
      top: 8px;
      right: 2px;
    }
  }

  .gtc-tag-picker-value-container {
    font-size: 14px !important;
    padding: 8px 10px;
    border: 1px solid $color-border;
    border-radius: 3px;
  }

  .gtc-tag-picker-options-container {
    width: 100%;
    max-height: 230px;

    .gtc-tag-picker-option {
      padding: 8px;
      cursor: pointer;
    }

    .gtc-tag-picker-option:hover {
      background-color: $color-dark;
      color: black;
    }

    .gtc-tag-picker-option-selected {
      color: white;
      background-color: $color-blue-gtc;
    }
  }
}

.gtc-tag-picker-disabled {
  background-color: -internal-light-dark(rgba(239, 239, 239, 0.3), rgba(59, 59, 59, 0.3));
  border-color: hsl(0,0%,90%);
  color: hsl(0,0%,60%);
  cursor: default;
}

.gtc-tag-picker-inline-container {
  .gtc-tag-picker-inline-input {
    width: 100%;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box; /* Firefox, other Gecko */
    box-sizing: border-box; /* Opera/IE 8+ */
  }

  .gtc-tag-picker-inline-tags-container {
    overflow-y: auto;
    margin-top: 5px;
  }
}

.MuiTreeItem-content {
  .MuiTreeItem-label {
    width: 100%;
    position: relative;
    padding-left: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.MuiChip-deleteIcon {
  color: white !important;
  font-size: 20px !important;
  margin: 0 5px 0 -5px !important;
  height: auto !important;
}

.create-tag-option {
  font-weight: 500;
}

.create-tag-option:hover {
  color: $color-blue-gtc;
}

