.component__team-dropdown-wrapper {
  &.disabled {
    cursor: auto;
    opacity: 0.75;
  }
}

.component__team-dropdown {
  border: 0 !important;
  position: relative;

  :hover {
    cursor: pointer !important;
  }

  &.is-focused {
    .Select-control {
      border: 0 !important;
      height: 32px;
    }
  }

  .Select-menu {
    padding-right: $pad-small; // moves scrollbar to edge of dropdown
    max-height: none;
  }

  .Select-menu-outer {
    position: absolute;
    width: 330px;
    min-width: 125px;
    max-height: none;
    left: -12px;
    top: 36px;
    border-radius: 6px;
    padding-right: 0;
  }

  .Select-control {
    background-color: transparent;
    border: 0 !important;
    border-radius: none;
    position: none;
    width: max-content; // move select arrow
    height: 20px;

    &:hover {
      box-shadow: none;
    }

    &:hover .Select-value-label {
      color: $core-vibrant-blue !important;
    }

    .Select-arrow-zone {
      height: 32px;
      padding-left: 15px;

      .Select-arrow {
        top: 0 !important;
        margin-top: 0 !important;
      }
    }

    .is-open > .Select-arrow {
      top: 0 !important;
    }

    .Select-multi-value-wrapper {
      width: max-content; // move select arrow
      height: 20px;
      margin-bottom: $pad-xsmall;

      .Select-input {
        display: none !important;
      }

      .Select-value {
        position: relative; // move select arrow
        display: inline-block; // move select arrow
        line-height: 28px;
        padding: 0;
        border: 0 !important;
        background-color: transparent !important;
        right: 0;
        left: 0;
        bottom: 0;
        top: 2px;

        &.is-focused {
          border: 0 !important;
        }
        :hover {
          border: 0 !important;
        }

        .Select-value-label {
          font-size: $large !important;
        }
      }
    }
  }
}
