@import "@/styles/mixins";
@import "@/styles/variables";

.multiSelect {
  :global(.rmsc) {
    --rmsc-main: rgba(44, 44, 44, 0.15);
    --rmsc-hover: $white;
    --rmsc-selected: $white;
    --rmsc-border: rgba(44, 44, 44, 0.15);
    --rmsc-gray: rgba(44, 44, 44, 0.4);
    --rmsc-p: 0.625rem;
    --rmsc-radius: 0.375rem;
    --rmsc-h: 2.875rem;
  }

  :global(.rmsc .dropdown-content) {
    border-radius: 0;
    box-shadow: none;
    margin-top: 1px;
  }

  :global(.rmsc .dropdown-container:focus-within) {
    box-shadow: none;
    .arrow {
      i {
        color: $black;
      }
    }
  }

  :global(.rmsc .dropdown-content .panel-content) {
    border-radius: 0;
  }

  :global(.rmsc .select-item:hover, .rmsc .select-item:focus) {
    background: #ffffff;
  }

  :global(.rmsc .dropdown-heading) {
    cursor: pointer;
    padding: 0.625rem 0.5rem 0.625rem 1rem;
  }

  :global(.rmsc .clear-selected-button) {
    display: none;
  }

  :global(.rmsc .select-item) {
    padding: 0;
  }
}

.arrow {
  transform: rotate(90deg);
  i {
    font-size: 24px;
    color: $font-color-4;
  }
}

.expandedArrow {
  transform: rotate(180deg);
}

.renderItem {
  display: flex;
  justify-content: space-between;
  padding: 0.375rem 1rem;
  i {
    color: $blue;
    width: 1.125rem;
    height: 1.125rem;
  }
}
