main {
  display: flex;
  flex-direction: column;

  .head {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 50px 0;
  }

  .title {
    color: #FFF;
    text-align: center;
    font-size: 22.593px;
    font-style: normal;
    font-weight: 700;
    line-height: 31.63px; /* 140% */
    letter-spacing: 0.565px;
    margin-bottom: 20px;
  }

  &.two, &.three, &.four {
    .title {
      font-size: 20px;
      font-style: normal;
      font-weight: 700;
      line-height: 28px; /* 140% */
      letter-spacing: 0.5px;
      padding: 70px 0 30px;
      border-bottom: 1px solid rgba($c-white, .2);
    }
  }

  .description {
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 22.593px; /* 141.204% */
    text-wrap: balance;
    margin-bottom: 20px;
  }

  .subDescription {
    color: #FFF;
    text-wrap: balance;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 22.593px; /* 141.204% */
    margin-bottom: auto;
  }

  .unsubscribe {
    border-radius: 200px;
    border: 1px solid $c-red;
    color: $c-white;
    text-align: center;
    padding: 12px;
    background: none;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px; /* 160% */
    margin-bottom: 40px !important;
    text-decoration: none;
  }

  &.three {
    .unsubscribe {
      padding: 12px 52px;
      width: max-content;
      margin: 0 auto;
    }
  }

  .form {
    padding: 45px 10px;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .buttons {
    padding-top: 10px;
    margin-top: auto;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    gap: 20px;

    .close {
      color: $c-red;
      background: none;
      border: none;
      text-align: center;
      font-size: 15px;
      font-style: normal;
      font-weight: 500;
      line-height: 28.975px; /* 193.164% */
      padding: 0 15px;
    }

    .next {
      color: $c-white;
      text-align: center;
      font-size: 15px;
      font-style: normal;
      font-weight: 500;
      line-height: 20.386px; /* 135.905% */
      border-radius: 84.941px;
      border: 1px solid $c-red;
      background: none;
      max-width: 60%;
      width: 100%;
      padding: 10px;

      &:disabled {
        opacity: .3;
      }
    }
  }

  .inputPhone {
    max-width: 280px;
    width: 100%;
    margin: 0 auto;

    input {
      width: 100%;
      color: $c-white;
      background: none;
      border: 1px solid $c-white;
      border-radius: 12px;
      padding: 12px 20px;
      font-size: 15px;
      font-style: normal;
      font-weight: 400;
      line-height: 24px; /* 160% */
      outline: none;
    }
  }

  .inputCode {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 280px;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 25px;

    input {
      max-width: 50px;
      width: 100%;
      border-radius: 12px;
      max-height: 50px;
      height: 50px;
      text-align: center;
      font-size: 15px;
      font-style: normal;
      font-weight: 400;
      line-height: 24px;
      outline: none;
      border: 1px solid transparent;
    }

    &.error {
      input {
        border: 1px solid #FB404E;
        background: #FFE0E3;
      }
    }
  }

  &.four {
    .description {
      max-width: 280px;
      margin: 0 auto;
      text-align: center;
      text-wrap: balance;
      font-size: 14px;
      font-style: normal;
      font-weight: 400;
      line-height: 24px;
      margin-bottom: 36px;
    }

    .refresh {
      font-size: 15px;
      font-style: normal;
      font-weight: 400;
      line-height: 24px;
      text-align: center;
      width: 100%;
      background: none;
      border: none;
      color: $c-white;
    }
  }
}

.radio {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  width: 100%;


  input {
    position: absolute;
    opacity: 0;

    &:checked ~ span {
      &:before {
        display: block;
      }
    }
  }

  span {
    border: 1px solid $c-red;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    position: relative;

    &:before {
      display: none;
      content: '';
      position: absolute;
      border-radius: inherit;
      width: 15px;
      height: 15px;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: $c-red;
    }
  }

  p {
    color: $c-white;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px; /* 160% */
  }
}