.snippet-language-selector {
  padding: 1rem 0.625rem;
}

@media (max-width: 400px) {
  .snippet-language-selector {
    padding: 1rem 0.25rem;
  }
}

span.select2-container--paylix-lng-selector .selection span.select2-selection--single {
  display: flex!important;
  align-items: center;
  border-radius: 0.5rem;
  background-color: var(--backgroundAccentDark) !important;
  padding: 0.25rem 0.5rem;
  outline-width: 0;
}

.select2-selection__arrow {
  display: none;
}

.select2-container--paylix-lng-selector.select2-container--open svg {
  transform: rotate(0deg);
  transition: transform .25s ease;
}

.select2-container--paylix-lng-selector svg {
  transform: rotate(180deg);
  transition: transform .25s ease;
}

.select2-container--paylix-lng-selector.select2-container--open:hover svg {
  transform: rotate(0deg);
  transition: transform .25s ease;
}

.select2-container--paylix-lng-selector:hover svg {
  transform: rotate(90deg);
  transition: transform .25s ease;
}

.select2-container--paylix-lng-selector .select2-selection__rendered {
  padding: 0 !important;
  white-space: nowrap;
  text-overflow: unset;
  display: inline;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
}

.select2-container--paylix-lng-selector .select2-selection__arrow b:before {
  position: relative;
  content: '';
  display: inline-block;
  width: 0.4em;
  height: 0.4em;
  border-right: 1px solid var(--black5);
  border-top: 1px solid var(--black5);
  transform: rotate(135deg);
  margin-bottom: 0.25rem;
}

.select2-results__option  {
  border-radius: 1px;
}

span.select2-container--paylix-lng-selector .select2-dropdown {
  /*margin-top: .5rem;*/
  margin-bottom: .5rem;
  margin-top: 0.25rem;
  padding: .5rem 0;
  border-radius: .5rem !important;
  border: none !important;
  box-shadow: 0 2px 24px -2px rgba(7, 14, 35, 0.12), 0 2px 4px -1px rgba(7, 14, 35, 0.08) !important;
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  min-width: 200px !important;
}

.is-dark span.select2-container--paylix-lng-selector .select2-dropdown {
  border: 1px solid var(--borderColor)!important;
}


.flipIn {
  -webkit-backface-visibility: visible!important;
  backface-visibility: visible!important;
  -webkit-animation-name: flipIn;
  -webkit-animation-duration: .5s;
  -webkit-animation-fill-mode: both;
  animation-name: flipIn;
  animation-duration: .5s;
  animation-fill-mode: both;
}

@keyframes flipIn {
  0% {
    -webkit-transform: perspective(400px) rotateX(50deg);
    transform: perspective(400px) rotateX(50deg);
    opacity: 0
  }

  0%,40% {
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in
  }

  40% {
    -webkit-transform: perspective(400px) rotateX(0deg);
    transform: perspective(400px) rotateX(0deg)
  }

  60% {
    -webkit-transform: perspective(400px) rotateX(0deg);
    transform: perspective(400px) rotateX(0deg);
    opacity: 1
  }

  80% {
    -webkit-transform: perspective(400px) rotateX(0deg);
    transform: perspective(400px) rotateX(0deg)
  }

  to {
    -webkit-transform: perspective(400px);
    transform: perspective(400px)
  }
}

.select2-container--paylix-lng-selector .select2-results__option {
  padding: .5rem 0.5rem;
  margin: 0 .5rem;
  display: flex !important;
  align-items: center;
}

.select2-container--paylix-lng-selector .select2-results {
  padding: 0.5rem 0;
}

.select2-container.select2-container--paylix-lng-selector.select2-container--open {
  display: block;
  right: 0;
  left: unset !important;
}

.select2-container--paylix-lng-selector .select2-results__options {
  max-height: 200px;
  overflow-y: auto;
}

.select2-container--paylix-lng-selector .select2-results__options::-webkit-scrollbar {
  width: 1px;
  height: 1px;
}

.select2-container--paylix-lng-selector .select2-results__option {
  border-radius: 0.5rem;
  position: relative;
}

.select2-container--paylix-lng-selector .select2-results__option svg {
  position: absolute;
  right: 0.5rem;
}

.is-dark .select2-container--paylix-lng-selector .select2-results__option--highlighted {
  color: black;
}
