.raf-code {
  background: #ffffff;
  border-radius: 2rem;
  padding: 3rem;
  box-shadow: 0 .625rem 1rem #f3f3f3;
  text-align: center;
  margin-bottom: 5rem;
}

.raf-code h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.raf-code input[type="text"] {
  font-size: 2rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  width: 100%;
  text-align: center;
  border: 0;
  border-radius: .5rem;
  background: #fafafa;
  border: 1px solid #f2f2f2;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.raf-code input[type="text"][readonly] {
  background: #09141f;
  color: #fff;
  border: 1px solid #09141f;
}

.woocommerce .aw-referrals-share-page .raf-code .button {
  max-width: 250px;
  display: inline-block;
  line-height: 2.25rem;
  font-size: 1.5rem;
  padding-left: 4.5rem;
  padding-right: 4.5rem;
  margin-left: .5rem;
  margin-right: .5rem;
}

.raf-instructions {
  padding: 3rem 2rem 2rem;
  border-radius: 2rem;
  background: #fafafa;
  margin-bottom: 5rem;
}

.raf-instructions h2 {
  text-align: center;
}

.raf-wrapper {
  display: flex;
  flex-direction: row;
}

.raf-wrapper>div {
  flex: 1;
  padding: 1rem;
}

.raf-instructions .raf-img-circled {
  width: 70px;
  height: 70px;
  background: #fdfdfd;
  padding: 16px;
  border-radius: 50%;
  box-shadow: 0 0 5px 5px rgba(0, 0, 0, .02);
  float: left;
  margin-right: 20px;
  margin-bottom: 50px;
}

.raf-instructions p {
  margin-bottom: 1rem;
  line-height: 1.5;
}

.raf-disclaimer {
  background: #e7edf4;
  font-size: .65rem;
  border-radius: .25rem;
  margin-left: 90px;
  padding: 5px 11px;
  line-height: 1.2;
}

.raf-disclaimer img {
  display: block;
  float: left;
  margin-right: 5px;
}

.raf-referral-history {
  background: #ffffff;
  border-radius: 2rem;
  box-shadow: 0 0 1rem #f3f3f3;
  text-align: center;
  margin-bottom: 5rem;
  overflow: hidden;
}

.raf-referral-history h2 {
  text-align: center;
  margin-top: 2rem;
}

.raf-referral-history-info {
  text-align: center;
}

.referrals-container .shop_table thead {
  display: table-header-group;
}

.aw-referrals-share-container .aw-referrals-share-buttons a.btn {
  border-radius: .5rem;
}

.raf-add-another-email {
  float: left;
}

.woocommerce .aw-referrals-share-page .button {
  background: #13aff0;
  color: #fff;
  border: 1px solid #13aff0;
  border-radius: .5rem;
}

.woocommerce .aw-referrals-share-page .button:hover,
.woocommerce .aw-referrals-share-page .button:focus,
.woocommerce .aw-referrals-share-page .button:active {
  background: #0b7cac;
  color: #fff;
  border: 1px solid #0b7cac;
}

.woocommerce .aw-referrals-share-page .button.hidden {
  display: none;
}

.aw-email-referral-form {
  width: 30%;
  margin: 0 auto 5rem;
}

.aw-email-referral-form .input-text {
  border-radius: .5rem;
}

.woocommerce .aw-referrals-share-page .button.button-outline {
  background: #fafafa;
  color: #09141f;
  border: 1px solid #09141f;
}

.woocommerce .aw-referrals-share-page .button.button-outline:hover,
.woocommerce .aw-referrals-share-page .button.button-outline:active,
.woocommerce .aw-referrals-share-page .button.button-outline:focus {
  background: #09141f;
  color: #fafafa;
  border: 1px solid #09141f;
}

.woocommerce .aw-referrals-share-page .button.copied,
.woocommerce .aw-referrals-share-page .button.saved {
  background: #3ba73b !important;
  color: #fafafa !important;
  border: 1px solid #3ba73b !important;
}

.woocommerce .aw-referrals-share-page .button.copy-error {
  background: #cd4343 !important;
  color: #fafafa !important;
  border: 1px solid #cd4343 !important;
}

.raf-error {
  color: #cd4343;
  font-size: 1.25rem;
  margin-top: 1rem;
}

.aw-email-referral-form .btn-success {
  float: right;
}

@media (max-width: 767px) {
  .aw-email-referral-form {
    width: 100%;
  }

  .raf-wrapper {
    flex-direction: column;
  }
}