.lang-switcher-dialog {
  position: fixed;
  z-index: 10001;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: auto;

  pointer-events: none;
  opacity: 0;
  transition: opacity 250ms ease-out;

  &::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(13, 24, 41, 0.6);
    z-index: -1;
    transition: all 250ms linear;
  }

  @include sm {
    align-items: flex-end;
  }

  &.js-show {
    opacity: 1;
    pointer-events: all;

    &::before {
      backdrop-filter: blur(5px);
    }
  }

  &__box {
    background: #fff;
    width: 100%;
    max-width: 500px;
    padding: 48px 70px;
    opacity: 0;
    transition: all 250ms ease-out;

    .lang-switcher-dialog.js-show & {
      opacity: 1;
    }

    @include sm {
      padding: 48px 40px 24px;
    }
  }

  &__title {
    font-size: 2.6rem;
    color: $primary-color;
    font-weight: 700;
    margin-bottom: 24px;

    @include sm {
      font-size: 2.1rem;
      margin-bottom: 1.6rem;
    }
  }

  li {
    height: 4.8rem;
    box-shadow: inset 0 -1px 0 0 $gray-border;

    input {
      display: none;

      &:checked ~ span {
        font-weight: 700;

        &::after {
          content: '';
          display: inline-flex;
          width: 16px;
          height: 16px;
          background-color: $primary-color;
          mask: url('../assets/img/svg/check-light-blue.svg') no-repeat center center;
          mask-size: 100%;
          transform: translateY(1px);
        }
      }
    }

    label {
      font-size: 1.8rem;
      color: $primary-color;
      height: 100%;
      width: 100%;
      display: flex;
      align-items: center;
      cursor: pointer;

      &:hover {
        font-weight: 700;
      }
    }
  }

  &__cancel-btn {
    display: block;
    font-weight: 700;
    margin-right: 16px;
    width: 100px;
    padding: 0 10px;

    @include sm {
      width: 100%;
      max-width: 300px;
      margin-right: 0px;
      margin-top: 8px;
    }
  }

  &__go-btn {
    width: 140px;

    @include sm {
      width: 100%;
      max-width: 300px;
    }
  }

  &__actions {
    margin-top: 16px;
    display: flex;
    flex-direction: row-reverse;

    @include sm {
      flex-direction: column;
      align-items: center;
      margin-top: 24px;
    }
  }
}
