@import url(../fonts/IranSansXPro/style.css);
@font-face {
  font-family: damavand;
  font-style: normal;
  font-weight: 800;
  src: url("../fonts/DamavandExtraBold.woff") format("woff"),
    url("../fonts/DamavandExtraBold.woff2") format("woff2");
}
/*=========================== general =====================*/
*,
html {
  scroll-behavior: smooth !important;
}

body {
  background: #f6f6f6;
  overflow-x: hidden;
  font-family: "iranSansXPro";
}

* {
  direction: rtl;
}
p {
  margin: 0;
}
section {
  padding: 0;
}

ul {
  margin: 0;
  padding: 0;
}

.form-group {
  margin: 0;
  text-align: center;
}

.btn-check:focus + .btn,
.btn:focus {
  -webkit-box-shadow: none;
  box-shadow: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-transition: background-color 9999s ease-in-out 0s,
    color 9999s ease-in-out 0s;
  transition: background-color 9999s ease-in-out 0s, color 9999s ease-in-out 0s;
  color: #fff !important;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

input:-internal-autofill-selected {
  color: #fff !important;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

.result {
  text-align: center;
  text-align-last: center;
  color: green;
}

.success-submit {
  color: greenyellow;
  text-align: center;
}

.success {
  color: greenyellow;
}

#confirm-error {
  width: 100%;
}

.input_code.valid {
  color: #000;
  border: 1px solid #525252;
}

section,
.modal {
  direction: rtl;
}

.form-control:focus {
  color: #fff;
  background-color: transparent;
  border-color: transparent;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.row {
  margin: 0 auto;
}

.step1 .form-group :is(.place_moving) {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  pointer-events: none;
  color: #888888;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.step1 .form-group > .place_moving {
  right: 10px;
  translate: 0 -50%;
  padding: 4px 8px;
}

.step1 .form-group > input {
  height: 56px;
  width: 220px;
  padding-right: 16px;
  border: 2px solid #888888;
  border-radius: 8px;
  background: transparent;
  color: #f9f9f9;
}

.step1 .form-group > :is(input:focus, .has-value) {
  border-color: #8f44fd;
}

.step1 .form-group > :is(input:focus, .has-value) ~ .place_moving {
  background: transparent;
  color: #151515;
  translate: 0 -50px;
}

/*============== callToAction and it's hover ==================*/
.callToAction {
  background: #003169;
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  padding: 13px 0;
  border: none;
  transition: 0.7s;
  width: 100%;
}

.callToAction:hover {
  background: #003169;
  color: #fff;
}

.callToAction2 {
  background: #fff;
  border-radius: 8px;
  color: #003169;
  font-weight: 800;
  font-size: 16px;
  padding: 13px 0;
  border: 1px solid #003169;
  transition: 0.7s;
  width: 100%;
}

.callToAction2:hover {
  background: #fff;
  color: #003169;
}

/*================================ membership ================================*/
main {
  height: 100%;
}
#membership {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#membership .content {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  max-width: 90%;
}
#membership .content .right {
  display: flex;
  align-items: center;
  justify-content: center;
}

#membership .content .right .logo {
  max-width: 205px;
  margin: 0 0 64px;
  border-radius: 4px;
}
#membership .content .left {
  padding: 0;
}
#membership .content .left .main_img {
  width: 100%;
  border-radius: 4px;
}
#membership .title {
  color: #000000;
  font-weight: 800;
  font-size: 18px;
  line-height: 29px;
  text-align: right;
  text-align-last: right;
  margin: 0 auto 24px;
}
#membership .step2 .title {
  margin: 0 auto 8px;
  text-align: center;
  text-align-last: center;
}
#membership .step3 .title {
  font-family: "damavand";
  text-align: center;
  text-align-last: center;
  margin: 0 auto 18px;
}
/*  forms styles */
#subscribers {
  margin-bottom: 0;
  text-align: center;
}
#membership .form .form-group {
  width: 100%;
  position: relative;
  text-align: right;
  min-height: 80px;
}

#membership .form .form-group label.error {
  margin: 0;
  color: #d90429;
  font-size: 14px;
}

#membership .form .form-control {
  background: #f6f6f6;
  border-radius: 8px;
  border: 1px solid #c7d1db;
  height: 48px;
  width: 100%;
  color: #000 !important;
  padding: 0 10px;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}

#membership .form .form-control::placeholder {
  color: rgba(0, 0, 0, 0.43);
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
}
.step1 .callToAction {
  margin: 70px auto 0;
}

/* ============ form.step2 styles ============ */
.step2 {
  display: none;
  text-align: center;
}
.step2 .callToAction {
  margin: 70px auto 0;
}
.userInput {
  text-align: center;
  margin: 0 auto;
  direction: ltr;
}

.userInput input {
  width: 50px;
  height: 50px;
  background: #e9ecef;
  border: 1px solid #c7d1db;
  border-radius: 8px;
  color: #000;
  text-align: center;
  margin: 0 8px;
}

.userInput input::placeholder {
  color: rgba(0, 0, 0, 0.43);
}

.false_number {
  font-weight: 400;
  font-size: 16px;
  line-height: 18px;
  text-align: center;
  text-align-last: center;
  color: #000000;
  margin: 0 auto 24px;
}

#editMobile {
  font-weight: 400;
  font-size: 16px;
  line-height: 18px;
  color: #1e47b8;
  cursor: pointer;
  width: fit-content;
  margin: 16px auto 0;
  text-decoration: underline;
}

.again_box {
  margin: 24px auto 0;
}

#smsTimer {
  font-size: 16px;
  font-weight: 400;
  margin: 0 0 0 10px;
}

#sendAgain {
  color: #003169;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin: 0;
  display: none;
  align-items: center;
}

/* ============ form.step3 styles ============ */

#membership .step3 .callToAction {
  background: #bcbcbc;
  margin: 70px auto 0;
}
#membership .step3 .title {
  font-size: 28px;
  text-align: center;
  text-align-last: center;
}
#membership .form.step3 .form-control {
  color: #003169 !important;
  font-weight: 1000;
}
#membership .form.step3 .form-group {
  min-height: unset;
  margin-bottom: 10px;
}
.suggestion_box {
  margin-top: 70px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
}
.suggestions {
  background: #f8f9fb;
  border-radius: 8px;
  width: 137px;
  height: 48px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, 0.7);
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 12px;
  cursor: pointer;
}
.suggestions strong {
  font-size: 16px;
  color: #000;
  font-weight: 900;
  margin-left: 4px;
}
.price_box {
  position: relative;
}
.price_box::after {
  content: "تومان";
  position: absolute;
  left: 12px;
  top: 13px;
  font-size: 14px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.43);
}
.unit_box {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.unit_box .unit {
  font-size: 14px;
  font-weight: 400;
  color: #000;
}
.unit_box .unit span {
  margin: 0 2px;
}
.unit_box .unit.right {
  color: rgba(0, 0, 0, 0.27);
}

/* ============ information styles ============ */
.information {
  background: #ebeff3;
  padding: 0 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.information .info_line {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 12px;
}
.information .info_line:last-child {
  margin-bottom: 0;
}
.information .info_line .strong {
  font-weight: 600;
}
.information .caption {
  font-size: 16px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.7);
  text-align: justify;
  text-align-last: right;
}
.information hr {
  width: 100%;
  margin: 10px auto 23px;
}

/* ============ general styles ============ */
.form {
  width: 95%;
}
.step2,
.step3,
.step4,
#result,
.information {
  display: none;
}

#membership .form .form-control.error {
  border: 1px solid #d90429;
}
/* ============ result ============ */
#result {
  height: 100%;
  /* display: none; */
  align-items: center;
  justify-content: center;
}
#result .content {
  background: #fff;
  border-radius: 4px;
  text-align: center;
  padding: 70px 25px 50px;
  margin: 0 auto 10px;
  max-width: 430px;
}
#result .content img {
  margin: 0 auto 11px;
}
#result .content .title {
  font-family: "damavand";
  font-size: 32px;
  font-weight: 800;
  margin: 0 auto 2px;
  text-align: center;
  text-align-last: center;
}
#result .content.success_box .title {
  color: #0e824a;
}
#result .content.fail_box .title {
  color: #d60000;
}
#result .content .subtitle {
  font-size: 16px;
  font-weight: 400;
  margin: 0 auto 6px;
  text-align: center;
  text-align-last: center;
}
#result .content .caption {
  font-size: 16px;
  font-weight: 400;
  margin: 0 auto 40px;
  text-align: justify;
  text-align-last: center;
  color: rgba(0, 0, 0, 0.7);
}
#result .content.success_box .caption {
  font-size: 18px;
}
#result .content .callToAction {
  background: #003169;
  margin-bottom: 7px;
}

@media screen and (max-width: 768px) {
  .main,
  #membership {
    height: auto;
  }
  #membership .content {
    max-width: 100%;
    border-radius: 0;
    padding: 15px 0;
  }
  #membership .content .right {
    order: 1;
    margin-top: 30px;
  }
  #membership .content .right .form {
    text-align: center;
  }
  #membership .content .right .logo {
    max-width: 205px;
    margin: 0 auto 32px;
    border-radius: 0;
  }
  #membership .title {
    font-size: 16px;
    text-align: center;
    text-align-last: center;
    max-width: 90%;
  }
  .step1 .callToAction {
    margin: 50px auto 0;
  }
  .userInput input {
    margin: 0;
  }
  .step2 .callToAction {
    margin: 40px auto 0;
  }
  .information {
    padding: 20px;
  }
}
