@use "../custom" as *;

.queryModal {
  .modal-dialog {
    max-width: 52.875rem;

    @include media-breakpoint-down(lg) {
      max-width: calc(100% - 3rem);
      width: 100%;
      margin: auto;
    }
  }

  .modal-content {
    border: none;
    border-radius: 1.5rem;
    overflow: hidden;
    background-color: #9752ff;
  }

  &__content {
    display: flex;
    align-items: stretch;
    min-height: 12.8125rem;

    @include media-breakpoint-down(lg) {
      flex-direction: column;
    }
  }

  &__left {
    height: auto;
    background-color: #7e3de0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 20.875rem;
    width: 100%;
    gap: 0.375rem;
    padding: 2rem;

    @include media-breakpoint-down(lg) {
      max-width: 100%;
      padding: 2rem 1.5rem;
    }

    span {
      font-family: $roobert;
      display: block;
    }

    &-title {
      font-weight: 700;
      font-size: 2.25rem;
      line-height: 150%;
      color: #fff;
    }

    &-description {
      font-weight: 400;
      font-size: 1rem;
      color: rgba(#fff, 0.6);
    }
  }

  &__right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    width: 100%;

    @include media-breakpoint-down(lg) {
      padding: 2rem 1.5rem;
    }

    &-input {
      position: relative;
      width: 100%;
      height: 3.5rem;
    }
  }

  &__input {
    border-radius: 0.375rem;
    border: none;
    background-color: rgba($white, 0.12);
    width: 100%;
    height: 100%;
    outline: none;
    padding: 0 10.9375rem 0 1.5rem;
    font-weight: 400;
    font-size: 1rem;
    font-family: $roobert;
    color: $white;
    border: 0.0625rem solid transparent;
    transition: all ease-in-out 200ms;
    &:focus {
      border: 0.0625rem solid $white;
    }
    &::placeholder {
      color: rgba($white, 0.7);
    }
    &:hover {
      background-color: rgba($white, 0.2);
    }
  }

  &__submit {
    position: absolute;
    top: 50%;
    right: 0.625rem;
    transform: translateY(-50%);
    border-radius: 0.38rem;
    padding: 0 2rem;
    height: 2.25rem;
    background: rgba(255, 255, 255, 0.25);
    font-family: $roobert;
    font-size: 1rem;
    border: none;
    color: $white;
  }
}
