.container {
  margin: 0 auto;
  position: relative;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  border-radius: 1.2rem;
  box-shadow: 0px -3px 14px rgba(0, 0, 0, 0.09);
  background-color: #F4F4F4;

  @include min(tablet) {
    padding: 2.4rem;
    max-width: 96rem;
  }

  > form {
    position: relative;
    gap: 1.6rem;

    @include flex-direction(column);
    svg {
      margin-left: 1rem;
      height: 2.4rem;
      width: 2.4rem;
      fill: #515156;
      vertical-align: text-bottom;
      cursor: pointer;
    }

    a {
      align-self: flex-end;
      height: 4.8rem !important;
      width: 100%;
    }

    @include min(tablet) {
      display: grid;
      grid-template-columns: 1fr 1fr;
      column-gap: 4.8rem;
    }

    > label {
      position: relative;
      &:after {
        @include arrow(var(--primary-text-color), 1rem, down, false);
        position: absolute;
        right: 2rem;
        top: 40%;
        @include min(tablet) {
          top: 65%;
        }
      }
    }
  }
}

.inputContainer {
  @include flex-direction(column);
  justify-content: flex-end;
}

.info {
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  font-size: 1.6rem;
  background: white;
  border-radius: 1.6rem;
  padding: 2.4rem;
  overflow: scroll;
  svg {
    position: absolute;
    top: 1.99rem;
    right: 1.99rem;
    cursor: pointer;
  }
  @include min(tablet) {
    overflow: visible;
  }
}

.mainTitle {
  grid-column: 1/3;
  font-size: var(--h2-mobile-size, 2.4rem);
  line-height: var(--h2-mobile-line-height, 3.4rem);
  @include min(laptop) {
    font-size: var(--h2-size, 2.4rem);
    line-height: var(--h2-line-height, 3.4rem);
  }
}

.infoTitle {
  font-size: 2rem;
  line-height: 3rem;
}

.mainTitle,
.infoTitle,
.label {
  font-weight: 700;
  text-transform: capitalize;
  color: var(--color-71);
}

.mainTitle,
.infoTitle {
  margin-top: 0;
  margin-bottom: 3.2rem;
  width: 100%;
}

.mainTitle {
  margin-bottom: 2.4rem;
  @include min(tablet) {
    margin-bottom: 3.2rem;
  }
}

.label {
  line-height: 2.7rem;
  font-size: 1.6rem;
  margin-bottom: 0.65rem;
  font-weight: 700;
}

.input,
.select {
  padding: 14px;
  height: 4.8rem;
  background: #fff;
  border-radius: 0.8rem;
  border: 0px;
  outline: 0px;
}

.select {
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 1rem;
  position: relative;
}

.input:invalid:required {
  border-bottom: 0.4rem solid var(--color-11);
}

.infoText {
  padding-right: 1.6rem;
  overflow-y: auto;
  text-align: justify;
}

.resultContainer {
  position: relative;
  order: 11;
  margin: 1.6rem 0;
  width: 100%;
  @include flex-align(center, space-between);
  @include min(tablet){
    padding: 2.4rem;
  }
  padding: 0.8rem;
  padding-left: 1.6rem;
  color: #1B1B1C;
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 2.6rem;
  gap: 1rem;
  grid-column: 1/3;
  gap: 1.6rem;

  &:before {
    content: '';
    border-radius: 1.6rem;
    display: block;
    background-color: #fff;
    opacity: 0.6;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }

  > span {
    z-index: 2;
  }

  > span:last-child {
    flex-basis: 50%;
    background: #F4F4F4;
    border-radius: 1.6rem;
    font-weight: 700;
    font-size: 1.8rem;
    line-height: 2.6rem;
    @include min(tablet){
      padding: 1.6rem;
    }
    padding: 0.8rem;
    @include flex-align(center, center);
  }
  @include min(tablet) {
    flex-direction: row;
    gap: 0;
  }
}
