@import "../../../../../style/mixin";

@include export-module('sc-tags-join-label-layout') {
  .sc-tags-join-label {
    position: relative;
    z-index: 10;
    display: flex;
    cursor: default;
    padding-right: 10px;
    padding-bottom: 5px;

    .focus-item {
      animation: none; // counters ng-tree's native background color animations
    }

    div.labelgroup {
      align-items: center;
      display: flex;
      transition: all 0.14s ease-out;
      background-color: var(--custom-color, #DCE4EA);
      border-radius: 6px;
      width: 100%;
      height: 60px;
      padding-left: 5px;

      &.focus-item {
        background-color: $color-active-accent !important;
      }

      .labeltext {
        display: inline-block;
        white-space: nowrap;
        padding-left: 5px;
        padding-right: 5px;

        .mainText {
          display: block;
          color: $color-dark;
          font-weight: bold;

          &.custom-colors {
            color: white;
          }

          &.focus-item {
            color: white;
          }
        }

        .parentText {
          display: block;
          font-size: $font-size-input-label;
          color: $color_label_default;
          font-weight: 500;

          &.custom-colors {
            color: white;
          }

          &.focus-item {
            color: white;
          }
        }
      }

      .tag-icon {
        align-items: center;
        display: flex;
        justify-content: center;
        @include square(50px);

        icon {
          @include square(50px);
        }
      }
    }

    doc-image {
      @include square(50px);
    }

    doc-image img {
      @include square(50px);
      border-radius: 5px;
      object-fit: contain;
    }

    button-select {
      position: absolute;
      right: 20px;
      top: 0;
      bottom: 0;
      margin: auto;
    }
  }
}

