.select2-container {
  &--open {
    &.select2-container--below {
      .select2-selection--single {
        border-radius: 10px 10px 0 0 !important;
      }
    }
  }
  .select2-selection--single {
    height: 40px !important;
    border-radius: 10px;
    border: none;

    background-color: var(--white);
    transition: background-color 0.3s ease-out;
    &:hover {
      background-color: #001e610d;
    }
  }
}

.select2-selection {
  &__rendered {
    width: 250px;
    display: flex !important;
    align-items: center;
    height: 100%;
    padding: 0 30px 0 22px !important;
    font-size: var(--font-size-15);
    color: var(--dark-blue) !important;
  }
  &__arrow {
    position: relative;
    top: 50% !important;
    right: 12px !important;
    transform: translateY(-50%) !important;
    height: unset !important;
    width: unset !important;
    &::after {
      content: "";
      display: block;
      width: 13px;
      height: 6px;
      background: url("/themes/custom/super_league_2/images/arrow.svg") no-repeat;
      transition: transform 0.3s ease-out;
    }
    b {
      display: none !important;
    }
  }
}

.select2-container--open {
  .select2-selection__arrow {
    &::after {
      transform: rotate(-180deg);
    }
  }
}

.select2-dropdown {
  z-index: 100 !important;
  color: var(--dark-blue) !important;
  border: none !important;
  padding: 16px 0;

  &--above {
    border-radius: 10px 10px 0 0 !important;
    margin-top: -2px;
  }
  &--below {
    border-radius: 0 0 10px 10px !important;
    margin-top: 2px;
  }
}
.select2-results {
  &__options {
    // padding: 16px 0;
    &::-webkit-scrollbar-thumb {
      background-color: #878787;
      border-radius: 5px;
    }
    &::-webkit-scrollbar-track {
      -webkit-box-shadow: inset 0 0 6px #d9d9d9;
      border-radius: 5px;
    }
    &::-webkit-scrollbar {
      width: 2px;
    }
  }

  &__option {
    color: var(--dark-blue);
    font-size: var(--font-size-14);
    letter-spacing: 0.28px;
    padding: 10px 20px !important;

    &--selected,
    &--highlighted {
      background-color: #001e6109 !important;
      color: var(--dark-blue) !important;
    }
  }
}
