.container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.email-substrate {
  display: grid;
  grid-template-columns: 1fr 36px;
  align-content: center;
  position: absolute;
  max-width: calc(100% + 9px);
  top: -18px;
  right: -26px;
  height: 46px;
}

.title {
  font-size: 28px;
  line-height: 125%;
  margin-top: 44px;
  color: #2c2c2c;
  font-weight: 500;
}

.prices-container {
  justify-content: center;
  gap: 10px;
  width: fit-content;
  margin: 0 auto;
}

.price-item {
  border: solid #2c2c2c 1px;
  width: 70px;
  height: 65px;
  font-size: 20px;
  font-weight: 500;

  &:last-child::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 20px;
    background-color: #224e90;
    bottom: -30px;
    left: 50%;
  }

  &.price-item-active {
    border: solid #224e90 3px !important;
    background-color: transparent;
    color: #224e90;
  }

  &.price-item-disabled {
    color: #fb6c6c;
    border-color: #fb6c6c;
  }
}

:global(.dark-theme) .price-item {
  border: solid #f7f7f7 1px;

  &.price-item-active {
    border: solid #4f8de5 3px !important;
    color: #4f8de5;
  }

  &.price-item-disabled {
    color: #fb6c6c;
    border-color: #fb6c6c;
  }
}

.price-container {
  position: relative;
  width: 100%;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.auxiliary-text {
  font-size: 15px;
  line-height: 125%;
  font-weight: 600;
  color: #0244a5;
  width: 100%;
  text-align: center;
}

:global(.dark-theme) .auxiliary-text {
  color: #4f8de5;
}

.cursor {
  position: absolute;
  width: 2px;
  height: 20px;
  background-color: #224e90;
  top: 71px;
  right: 34px;
}

.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.button {
  margin-top: 20px;
  transition: background 0.2s ease, color 0.2s ease;

  &:not(.button-v1):disabled {
    border: solid #224e90 1px;
    background: none;
    color: #120d0d;
    opacity: 1;
  }

  &.button-v1 {
    position: sticky;
    bottom: calc(0dvh + 16px);

    &.button-v1-disabled {
      opacity: 0.85;
    }
  }
}

:global(.dark-theme) {
  .button:not(.button-v1):disabled {
    border: solid #4f8de5 1px;
    background: none;
    color: #f7f7f7;
  }
}

.text {
  white-space: pre-wrap;
  margin-top: 40px;
  margin-bottom: 6px;
}
