@import 'moda-themes/themes';

.AccountRewardsPage {
  &__account-rewards-page {
    font-family: font-family('serif');
    color: color('black');
    font-size: 22px;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  &__rewarding-great-taste-text-container {
    width: 90vw;
    margin: 0 auto;
    margin-bottom: 125px;

    @include breakpoint('md') {
      width: 720px;
    }
  }
  &__rewarding-great-taste-text-container h3{
    text-align: center;
    margin: 0 auto;
    margin-top: 32px;
    margin-bottom: 48px;
    @include breakpoint('md') {
      width: 600px;
    }
}

  &__rewarding-great-taste-text-container h6 {
    font-family: font-family('sans');
    font-size: 16px;
    line-height: 1.13;
  }

  &__rewarding-great-taste h6 {
    margin: space(7) 0;
    @include breakpoint('md') {
      margin: 60px 0 70px 0;
    }
  }

  &__rewarding-great-taste .rewarding {
    font-family: font-family('serif');
    font-size: 48px;
    line-height: 1;
    @include breakpoint('xs') {
      font-size: 60px;
      line-height: 1.03;
    }
    @include breakpoint('md') {
      margin: 20px 0;
      font-size: 90px;
      line-height: 1.06;
    }
  }
  &__rewarding-great-taste .exceptional {
    font-family: font-family('sans');
    font-size: 48px;
    line-height: 1;
    @include breakpoint('xs') {
      font-size: 60px;
      line-height: 1.03;
    }
    @include breakpoint('md') {
      margin: 20px 0;
      font-size: 90px;
      line-height: 1.06;
    }
  }

  &__rewarding-great-taste .members {
      margin: 0.5em 0;
      font-size: 24px;
      line-height: 1.34;
    @include breakpoint('md') {
      margin-top: 12px;
      margin-bottom: 50px;
      font-size: 24px;
      line-height: 1.54;
    }
  }

  &__rewarding-great-taste-text-container h5 {
    margin: 3em 2em 1.5em 2em;

    @include breakpoint('md') {
      padding-bottom: 50px;
      margin: 0 auto;
      width: 250px;
    }
  }

  &__join-now {
    margin: 0 auto;
  }

  &__to-start {
    font-family: font-family('sans');
    font-size: 12px;
    line-height: 1.17;
    @include breakpoint('md') {
      margin: 50px 0  25px 0;
    }
    &.red {
      color: color('code-red');
      .mo-display-link {
        color: color('code-red');
      }
    }
  }

  &__rewarding-great-taste-text-container form {
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    label {
      width: auto !important;
      margin-right: 5px !important;
    }
    .mo-display-checkbox {
      height: 35px;
      width: 140px;
      label {
        padding-right: 0px !important;
        margin-right: 0px !important;
      }
      .container {
        margin-left: 22px !important;
        padding-left: 12px !important;
        margin-bottom: 6px !important;
      }
      .checkmark {
        margin: 4px 4px 0 0 !important;
        transform: none;
        &:after {
          left: 4px !important;
          top: 1px !important;
        }
      }
    }

    .mo-display-button {
      height: 56px;
      width: 100%;
      border: 1px solid #1e1e1e;
      background: transparent;
      color: color('black') !important;
      margin: 1.5em 0 0 0;
      @include breakpoint('md') {
        margin-top: 50px;
        width: 281px;
      }
      input {
        font-size: 14px;
        color: color('black') !important;
        &:focus {
          -webkit-appearance: unset;
          outline: 0;
        }
      }
      &:active {
        outline: 2px black solid;
        outline-offset: 1px;
      }
    }
    .mo-display-link {
      margin: 6px 4px 4px 0;
    }
  }

  .rewards-sign-up {
    box-sizing: border-box;
    background: transparent;
    color: color('black');
    height: 56px;
    width: 281px;
    border: 1px solid color('black');
  }

  &__how-it-works,
  &__what-youll-enjoy {
    display: block;
    width: 90%;
    margin: 0 auto;
    padding: space(3) 0;
    border-bottom: 1px solid color('cement');
    text-align: center;
    font-size: 60px;
    line-height: 0.92;
    &.hide-border {
      border-bottom: none;
    }
    @include breakpoint('md') {
    padding: space(6) 0;
    }
  }

  &__what-youll-enjoy-header {
    font-size: 36px;
    margin: 0.5em 0;
    @include breakpoint('md') {
      margin-bottom: 28px
    }
  }


  &__first,
  &__second {
    display: flex;
    flex-basis: auto;
    justify-content: space-between;
    text-align: center;
    flex-direction: column;

    @include breakpoint('md') {
      flex-direction: row;
    }
  }

  &__join, &__shop, &__redeem, &__points, &__exclusive, &__inside {
    @include breakpoint('md') {
      width: 30%;
    }
  }

  &__join h2 {
    flex: 1;
  }

  &__how-it-works h6 {
    font-family: font-family('sans');
    width: 90vw;
    display: block;
    text-align: left;
    font-size: 12px;
    color: color('elephant');
    margin-top: 30px;

    @include breakpoint('md') {
      width: 660px;
    }
  }
  &__how-it-works a {
    font-family: font-family('sans') !important;
    color: color('elephant') !important;
  }

  &__join-our-list {
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    @include breakpoint('md') {
      flex-direction: row;
    }
  }

  &__join-our-list-text,
  &__join-our-list-form {
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    @include breakpoint('md') {
      width: 50%;
      padding: 80px 0;
    }
  }

  &__join-our-list-text-div {
    margin: 48px 0 16px 0;
    font-size: 20px;
    @include breakpoint('md') {
      font-size: 24px;
      margin: 10px 0 16px 0;
    }
  }

  &__join-our-list-form {
    form {
      margin-bottom: 12px;
      @include breakpoint('md') {
        margin-bottom: 50px;
      }
    }
    .email-signup-form.email-signup {
      &[data-color-red="true"] {
        margin-top: -34px;
      }
    }
    .mo-display-input__radio-button {
      width: 130px;
      display: inline-block;
      margin-right: 5px;
      @include breakpoint('xs') {
        margin-right: 30px;
      }
    }
    .email_signup {
        max-width: 600px;
      .newsletter-email-input {
        font-size: 14px !important;
        height: 55px !important;
        width: 100% !important;
        background-color: color('light-grey') !important;
        border: none;
        padding-left: 20px !important;
      }
      .newsletter-icon {
        margin-left: -30px;

      }
    }

    .overlay-message {
      top: 45px !important;
      left: 20px;
      padding: 0;
      width: calc(100% - 60px);
      background-color: color('light-grey') !important;
      position: relative;
      font-size: 14px !important;
    }
    .newsletter-error-div {
      top: 40px !important;
    }
  }
  &__join-our-list-opt {
    font-size: 12px;
    font-family: font-family('sans') !important;
    margin: 10px 0 48px 0;
    @include breakpoint('md') {
      margin: 10px 0;
    }
  }

}
