/**!
 * @package   CIX Telecom
 * @filename  wizard.css
 * @version   1.0
 * @autor     Díaz Urbaneja Víctor Eduardo Diex <diazvictor@tutamail.com>
 * @date      29.04.2024 04:31:33 -04
 */

.wizard .wizard-steps [data-step] {
  display: none
}

#form-pay {
  display: block;
}

#form-pay #cixpay {
  display: block;
  max-width: 18rem;
  width: 100%;
  margin: 0 auto;
}

#choose_method {
  display: none;
  min-height: calc(30rem + 90px);
}

#choose_method.active {
  display: flex;
  animation: fadeIn 1s;
}

#payment_process {
  display: none
}

#payment_process.active {
  display: flex;
  animation: fadeIn 1s;
}

.box-content {
  display: flex;
  max-width: 30rem;
  margin: 0 auto;
  min-height: 30rem;
  flex-flow: column;
  justify-content: center;
}

.box-content h1 {
  text-align: center;
  margin-bottom: 3rem;
}

#biopay .wizard-steps [data-step="form"] .box-content,
#mobile-payment .wizard-steps [data-step="form"] .box-content {
  gap: 1rem;
}

#biopay .wizard-steps [data-step="form"] .box-content .select-field,
#mobile-payment .wizard-steps [data-step="form"] .box-content .select-field {
  height: 44px
}

#biopay .wizard-steps [data-step="form"] .box-content .input-field,
#mobile-payment .wizard-steps [data-step="form"] .box-content .input-field {
  height: 44px
}

#biopay .wizard-steps [data-step="form"] .box-content .input-field:invalid,
#mobile-payment .wizard-steps [data-step="form"] .box-content .input-field:invalid {
  border-color: red
}

#biopay .wizard-steps [data-step="form"] .box-content .row:not(.not-group),
#mobile-payment .wizard-steps [data-step="form"] .box-content .row:not(.not-group) {
  grid-auto-flow: column;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
}

#biopay .wizard-steps [data-step="verify_information"] .box-content .row {
  grid-auto-flow: column;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
}

#biopay .wizard-steps [data-step="verify_information"] .box-content .row label {
  text-align: center
}

#biopay .wizard-steps [data-step="verify_information"] .box-content .row input {
  max-width: 224px;
}

#payment_process .box-content .row img {
  display: block;
  width: 5rem;
  margin: 0 auto 10px auto;
}

#payment_process .box-content .row h1 {
  padding-bottom: 1rem;
  border-bottom: 1px solid #D0D0E8;
  margin-bottom: 1rem;
}

#payment_process .box-content .row p {
  max-width: 21rem;
  margin: 0 auto 1rem auto;
  text-align: center;
}

#payment_process .box-content .data-info span {
  color: #6F6F6F;
}

#payment_process .box-content .row-2 .t-right {
  text-align: right;
  font-weight: 600;
}

#payment_process .box-content > h1 {
  font-family: "Open Sans";
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0
}

#biopay, #mobile-payment {display: none}
#biopay.active, #mobile-payment.active {display: block}

.wizard .wizard-steps [data-step].active {
  display: block;
  animation: fadeIn 1s;
}

.wizard .wizard-buttons {
  display: flex;
  justify-content: end;
  gap: 15px;
  padding-top: 40px;
}

.wizard .wizard-buttons button:disabled {
  background: #A7A7AA;
  color: #212529;
  opacity: .6;
  cursor: default;
}

.methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 14rem));
  justify-content: center;
  grid-gap: 1rem;
}

.methods .method {
  background: transparent;
  border: 1px solid transparent;
  justify-self: inherit !important;
  display: flex;
  flex-flow: column;
  align-items: center;
  gap: 10px;
  padding: 20px 10px;
  border-radius: 8px;
  box-shadow: 0px 2px 4px #D0D0E8;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  color: #212529
}

.methods .method:hover {
  cursor: pointer;
}

.methods .method:disabled {
  background: #DDDDE1;
  color: #212529;
  opacity: .6;
  cursor: default;
}

.methods .method.active {
  border: 1px solid #E63C1F;
}

.choose_account_type, .choose_authentication_method {
  display: grid;
  grid-template-columns: repeat(2, minmax(7rem, 10rem));
  grid-gap: 1rem;
  justify-content: center;
}

.choose_authentication_method {
	grid-template-columns: repeat(1, minmax(7rem, 10rem)) !important;
}

.choose_account_type .item, .choose_authentication_method .item {
  background: transparent;
  border: 1px solid transparent;
  justify-self: inherit !important;
  display: flex;
  flex-flow: column;
  align-items: center;
  gap: 10px;
  padding: 20px 10px;
  border-radius: 8px;
  box-shadow: 0px 2px 4px #D0D0E8;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  color: #212529
}

.choose_authentication_method .item:nth-child(3) {
  display: none
}

.choose_account_type .item, .choose_authentication_method .item {
  display: flex;
  justify-content: center;
}

.choose_account_type .item img, .choose_authentication_method .item img {
  pointer-events: none;
  width: 4rem;
  height: auto
}

.choose_account_type .item:hover, .choose_authentication_method .item:hover {
  cursor: pointer;
}

.choose_account_type .item.active {
  border: 1px solid #E63C1F;
}

.choose_account_type .item.active, .choose_authentication_method .item.active {
  border: 1px solid #E63C1F;
}

#form-pay .select-field {
  padding: 10px 31px 10px 10px
}

#form-pay .input-field:disabled {
  background: #DDDDE1;
  color: #212529;
  opacity: .6;
  cursor: default;
}

#form-pay #phone, #form-pay #email {
  max-width: 224px;
  margin: 0 auto;
}

#form-pay .row.group {
  display: flex;
  grid-gap: 0;
  justify-content: center;
}

#mobile-payment #choose_bank {
  max-width: 224px;
  margin: 0 auto;
}

#mobile-payment .info-bank {display: none}
#mobile-payment .info-bank.active {display: block}

#form-pay .row.group .select-field {
  max-width: 4rem;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
}

#form-pay .row.group .select-field + .input-field {
  max-width: 10rem;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.bankPreview .tingle-modal-box__content {
  padding: 0;
}

.bankPreview .tingle-modal-box__content img {
  display: block;
  width: 80vw;
  margin: 0;
}

.tingle-modal-box {
  width: auto !important
}

.tingle-modal-box__content {
  padding: 1rem;
}

.tingle-modal-box__content img {
  display: block;
  width: 5rem;
  margin: 0 auto 10px auto;
}

.tingle-modal-box__content h1 {
  font-size: 1.5rem;
  color: #6F6F6F;
  text-align: center;
  margin: 0;
}

.tingle-modal-box__content p {
  color: #6F6F6F;
  text-align: center;
}

.loading {
  width: 5rem;
  display: block;
}

@media (max-width: 540px) {
  .tingle-modal {
    display: flex !important;
  }
  .tingle-modal-box {
    border-radius: 4px;
  }
}

@media screen and (max-width: 425px) {
  #form-pay #cixpay {
    margin-bottom: 40px
  }
  #form-pay .input-field#phone { display: none }
  #form-pay .input-field#phone.active { display: block }
  .wizard .wizard-buttons {
    justify-content: center
  }
  #biopay .wizard-steps [data-step="form"] .box-content,
  #mobile-payment .wizard-steps [data-step="form"] .box-content {
    grid-gap: 1.5rem
  }
  #biopay .wizard-steps [data-step="form"] .box-content .row:not(.not-group),
  #mobile-payment .wizard-steps [data-step="form"] .box-content .row:not(.not-group),
  #biopay .wizard-steps [data-step="verify_information"] .box-content .row:not(.not-group) {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
  }
  #form-pay .row.group {
    display: grid;
    grid-template-columns: auto 1fr !important;
    margin: 0 auto;
  }
  #biopay .wizard-steps [data-step="form"] .box-content .row label,
  #mobile-payment .wizard-steps [data-step="form"] .box-content .row label {
    text-align: center
  }
  #biopay .wizard-steps [data-step="form"] label,
  #mobile-payment .wizard-steps [data-step="form"] label {
    text-align: center;
  }
  #biopay .wizard-steps [data-step="form"] .box-content .select-field,
  #mobile-payment .wizard-steps [data-step="form"] .box-content .select-field,
  #mobile-payment .wizard-steps [data-step="form"] .box-content #code {
    max-width: 224px;
    margin: 0 auto;
  }
  #mobile-payment .wizard-steps [data-step="form"] .box-content a {
    text-align: center
  }
  #biopay .wizard-steps [data-step="verify_information"] .box-content .row input {
    max-width: 224px;
    margin: 0 auto;
  }
  .choose_account_type .item, .choose_authentication_method .item {
    font-size: 14px;
  }
  .choose_account_type .item img, .choose_authentication_method .item img {
    width: 3rem;
    height: auto
  }
  #payment_process .box-content .row img {
    display: block;
    width: 4rem;
  }
  #payment_process .box-content h1 {
    font-size: 1rem;
  }
  #payment_process .box-content .row p {
    font-size: 14px;
  }
  #payment_process .box-content .row-2 {
    grid-gap: 5px;
  }
  #payment_process .box-content .row-2 + .row-2 { margin-top: 1rem }
  #payment_process .box-content .row-2 span {
    text-align: center !important;
    font-size: 14px;
  }
  .bankPreview .tingle-modal-box__content img {
    width: 90vw;
  }
}

@keyframes fadeIn {
  from { opacity: 0 }
  to { opacity: 1 }
}

@keyframes fadeOut {
  from { opacity: 1 }
  to { opacity: 0; }
}
