/* Qmart phone verification (OTP) modal. These are the rules hmmart's iit_core ships (iit-otp-*), kept as they are; the Qmart look is layered on top at the end. */
.iit-otp-btn {
  width: 100%;
  color: #212121;
  border-color: #e6e6e6;
  background: #e6e6e6;
  cursor: pointer;
  height: 48px;
  padding: 15px 28px;
  line-height: 1;
  font-family: inherit;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.iit-otp-btn .iit-otp-btn-icon {
  pointer-events: none;
  margin-right: 8px;
}

.iit-otp-btn .iit-otp-btn-icon svg {
  width: 18px;
  height: 18px;
}

.iit-otp-btn .iit-otp-btn-text {
  pointer-events: none;
}

.iit-otp-modal {
  max-width: 410px;
  width: 100%;
  padding: 24px 25px 20px;
  border-radius: 12px;
  -webkit-box-shadow: none;
  box-shadow: none;
}

@media screen and (max-width: 414px) {
  .iit-otp-modal {
    max-width: 340px;
    padding: 20px 20px 10px;
  }
}

.iit-otp-modal a.close-modal {
  display: none;
}

.iit-otp-modal-title {
  color: #212121;
  margin: 0 0 16px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
}

.iit-otp-phone-wrapper .iti input.iit-otp-phone-input,
.iit-otp-simple-input {
  color: #212121;
  border: 1px solid #ccc;
  border-radius: 6px;
  min-height: 44px;
  font-size: 15px;
  box-shadow: none;
  font-weight: 400;
  -webkit-transition: border-color 0.2s ease;
  -o-transition: border-color 0.2s ease;
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
  margin-right: -1px;
}

.iit-otp-phone-wrapper .iti input.iit-otp-phone-input:focus,
.iit-otp-simple-input:focus {
  outline: 0;
  color: #212121;
  border-color: #212121;
  -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
}

.iit-otp-phone-wrapper
  .iti
  input.iit-otp-phone-input::-webkit-input-placeholder,
.iit-otp-simple-input::-webkit-input-placeholder {
  color: #a2a2a2;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

.iit-otp-phone-wrapper .iti input.iit-otp-phone-input::-moz-placeholder,
.iit-otp-simple-input::-moz-placeholder {
  color: #a2a2a2;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

.iit-otp-phone-wrapper .iti input.iit-otp-phone-input:-ms-input-placeholder,
.iit-otp-simple-input:-ms-input-placeholder {
  color: #a2a2a2;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

.iit-otp-phone-wrapper .iti input.iit-otp-phone-input::-ms-input-placeholder,
.iit-otp-simple-input::-ms-input-placeholder {
  color: #a2a2a2;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

.iit-otp-phone-wrapper .iti input.iit-otp-phone-input::placeholder,
.iit-otp-simple-input::placeholder {
  color: #a2a2a2;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

.iit-otp-modal ul.iti__country-list:not(.wp-block-gallery) {
  margin: 1px 0 0;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

@media screen and (min-width: 320px) {
  .iit-otp-modal ul.iti__country-list:not(.wp-block-gallery) {
    width: 280px;
    white-space: normal;
  }
}

@media screen and (min-width: 360px) {
  .iit-otp-modal ul.iti__country-list:not(.wp-block-gallery) {
    width: 300px;
  }
}

@media screen and (min-width: 440px) {
  .iit-otp-modal ul.iti__country-list:not(.wp-block-gallery) {
    width: 360px;
  }
}

.iit-otp-modal li.iti__country {
  margin: 0;
  font-size: 14px;
}

.iit-otp-modal .iti__country-name,
.iit-otp-modal .iti__flag-box {
  margin-right: 8px;
}

.iit-otp-modal .iti__divider {
  margin-top: 0;
  border-color: #e0e0e0;
}

.iit-otp-modal .iit-otp-recaptcha-container {
  margin: 10px 0;
}

.iit-otp-modal .iit-otp-recaptcha-container .grecaptcha-badge {
  z-index: 1;
}

.iit-otp-modal .iit-otp-phone-input,
.iit-otp-modal .iti,
.iit-otp-modal .iti__country-list {
  width: 100%;
}

.iit-otp-modal .innerit-otp-phone-button,
.iit-otp-verify-section .code-submit {
  cursor: pointer;
  height: 48px;
  padding: 15px 28px;
  color: #fff;
  line-height: 1;
  font-weight: 400;
  font-size: 15px;
  border: 1px solid #212121;
  border-radius: 6px;
  background: #212121;
  margin-top: 5px;
  transition: all 0.2s ease;
}

.iit-otp-modal .innerit-otp-phone-button:focus,
.iit-otp-modal .innerit-otp-phone-button:hover,
.iit-otp-verify-section .code-submit:focus,
.iit-otp-verify-section .code-submit:hover {
  outline: 0;
}

.iit-otp-modal .innerit-otp-phone-button span {
  pointer-events: none;
}

.iit-otp-verify-button span {
  pointer-events: none;
}

.iit-otp-modal .innerit-otp-phone-button .iit-otp-mini-loader span {
  width: 8px;
  height: 8px;
}

.iit-otp-error:empty {
  display: none;
}

.iit-otp-code-wrapper .iit-otp-form-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.iit-otp-code-wrapper .letter {
  height: 54px;
  text-align: center;
  -ms-flex-preferred-size: calc(100% / 6);
  flex-basis: calc(100% / 6);
  max-width: calc((100% / 6) - 8px);
  outline-style: none;
  padding: 5px 0;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid #e6e6e6;
  background-color: #e6e6e6;
  box-shadow: none;
}

@media only screen and (max-width: 414px) {
  .iit-otp-code-wrapper .letter {
    height: 52px;
  }
}

.iit-otp-code-wrapper .letter:focus {
  border-color: #212121;
  background-color: #fff;
}

.iit-otp-code-wrapper .letter::-webkit-input-placeholder {
  font-size: 24px;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

.iit-otp-code-wrapper .letter::-moz-placeholder {
  font-size: 24px;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

.iit-otp-code-wrapper .letter:-ms-input-placeholder {
  font-size: 24px;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

.iit-otp-code-wrapper .letter::-ms-input-placeholder {
  font-size: 24px;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

.iit-otp-code-wrapper .letter::placeholder {
  font-size: 24px;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

.iit-otp-code-wrapper
  .letter:focus
  + input
  + input
  + input
  + input
  + input::-webkit-input-placeholder,
.iit-otp-code-wrapper
  .letter:focus
  + input
  + input
  + input
  + input::-webkit-input-placeholder,
.iit-otp-code-wrapper
  .letter:focus
  + input
  + input
  + input::-webkit-input-placeholder,
.iit-otp-code-wrapper .letter:focus + input + input::-webkit-input-placeholder,
.iit-otp-code-wrapper .letter:focus + input::-webkit-input-placeholder,
.iit-otp-code-wrapper .letter:focus::-webkit-input-placeholder {
  opacity: 0;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

.iit-otp-code-wrapper
  .letter:focus
  + input
  + input
  + input
  + input
  + input::-moz-placeholder,
.iit-otp-code-wrapper
  .letter:focus
  + input
  + input
  + input
  + input::-moz-placeholder,
.iit-otp-code-wrapper .letter:focus + input + input + input::-moz-placeholder,
.iit-otp-code-wrapper .letter:focus + input + input::-moz-placeholder,
.iit-otp-code-wrapper .letter:focus + input::-moz-placeholder,
.iit-otp-code-wrapper .letter:focus::-moz-placeholder {
  opacity: 0;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

.iit-otp-code-wrapper
  .letter:focus
  + input
  + input
  + input
  + input
  + input:-ms-input-placeholder,
.iit-otp-code-wrapper
  .letter:focus
  + input
  + input
  + input
  + input:-ms-input-placeholder,
.iit-otp-code-wrapper
  .letter:focus
  + input
  + input
  + input:-ms-input-placeholder,
.iit-otp-code-wrapper .letter:focus + input + input:-ms-input-placeholder,
.iit-otp-code-wrapper .letter:focus + input:-ms-input-placeholder,
.iit-otp-code-wrapper .letter:focus:-ms-input-placeholder {
  opacity: 0;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

.iit-otp-code-wrapper
  .letter:focus
  + input
  + input
  + input
  + input
  + input::-ms-input-placeholder,
.iit-otp-code-wrapper
  .letter:focus
  + input
  + input
  + input
  + input::-ms-input-placeholder,
.iit-otp-code-wrapper
  .letter:focus
  + input
  + input
  + input::-ms-input-placeholder,
.iit-otp-code-wrapper .letter:focus + input + input::-ms-input-placeholder,
.iit-otp-code-wrapper .letter:focus + input::-ms-input-placeholder,
.iit-otp-code-wrapper .letter:focus::-ms-input-placeholder {
  opacity: 0;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

.iit-otp-code-wrapper
  .letter:focus
  + input
  + input
  + input
  + input
  + input::placeholder,
.iit-otp-code-wrapper
  .letter:focus
  + input
  + input
  + input
  + input::placeholder,
.iit-otp-code-wrapper .letter:focus + input + input + input::placeholder,
.iit-otp-code-wrapper .letter:focus + input + input::placeholder,
.iit-otp-code-wrapper .letter:focus + input::placeholder,
.iit-otp-code-wrapper .letter:focus::placeholder {
  opacity: 0;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

.iit-otp-verify-section {
  margin-top: 12px;
}

.iit-otp-close-modal {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 16px;
  height: 16px;
  z-index: 9999;
}

.iit-otp-close-modal svg {
  fill: #ffffff;
  width: 16px;
  height: 16px;
}

.iit-otp-error-feedback {
  color: red;
  font-size: 14px;
  margin-top: 5px;
}

.iit-otp-modal-error.iit-otp-error-feedback {
  margin-top: 10px;
}

.iit-otp-modal .iit-otp-success-feedback {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
  background: #fff;
  display: none;
}

.iit-otp-modal .iit-otp-success-feedback.iit-otp-success {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.iit-otp-modal .iit-otp-success-feedback h3 {
  color: #212121;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  margin: 15px 0 0;
}

.iit-otp-mini-loader {
  width: 70px;
  display: none;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin: 0 auto;
}

.iit-otp-btn.has-spinner .iit-otp-mini-loader {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.iit-otp-btn .iit-otp-mini-loader .iit-otp-btn-text {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
}

.iit-otp-btn.has-spinner .iit-otp-btn-text {
  display: none;
}

.iit-otp-btn .iit-otp-mini-loader span {
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 100%;
  margin: 0 3px;
  -webkit-animation: otppulse 1s infinite ease-in-out both;
  animation: otppulse 1s infinite ease-in-out both;
}

.iit-otp-btn .iit-otp-mini-loader span.dot2 {
  -webkit-animation-delay: 0.1s;
  animation-delay: 0.1s;
}

.iit-otp-btn .iit-otp-mini-loader span.dot3 {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}

@-webkit-keyframes otppulse {
  0%,
  100%,
  80% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  40% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes otppulse {
  0%,
  100%,
  80% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  40% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

.iit-success-check-icon {
  margin: 0 auto;
  width: 80px;
  height: 80px;
  position: relative;
  border-radius: 50%;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  border: 4px solid #4caf50;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.iit-success-check-icon::before {
  top: -2px;
  left: -2px;
  width: 30px;
  -webkit-transform-origin: 100% 50%;
  -ms-transform-origin: 100% 50%;
  transform-origin: 100% 50%;
  border-radius: 100px 0 0 100px;
}

.iit-success-check-icon::after {
  top: 0;
  left: 30px;
  width: 60px;
  -webkit-transform-origin: 0 50%;
  -ms-transform-origin: 0 50%;
  transform-origin: 0 50%;
  border-radius: 0 100px 100px 0;
  -webkit-animation: rotate-circle 4.25s ease-in;
  animation: rotate-circle 4.25s ease-in;
}

.iit-success-check-icon::after,
.iit-success-check-icon::before {
  content: "";
  height: 100px;
  position: absolute;
  background: #fff;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.iit-success-check-icon .icon-line {
  height: 5px;
  background-color: #4caf50;
  display: block;
  border-radius: 2px;
  position: absolute;
  z-index: 10;
}

.iit-success-check-icon .icon-line.line-tip {
  top: 46px;
  left: 14px;
  width: 25px;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-animation: icon-line-tip 0.75s;
  animation: icon-line-tip 0.75s;
}

.iit-success-check-icon .icon-line.line-long {
  top: 38px;
  right: 8px;
  width: 47px;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation: icon-line-long 0.75s;
  animation: icon-line-long 0.75s;
}

.iit-success-check-icon .icon-circle {
  top: -4px;
  left: -4px;
  z-index: 10;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  position: absolute;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  border: 4px solid rgba(76, 175, 80, 0.5);
}

.iit-success-check-icon .icon-fix {
  top: 8px;
  width: 5px;
  left: 26px;
  z-index: 1;
  height: 85px;
  position: absolute;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  background-color: #fff;
}

.iit-hide {
  display: none;
}

.iit-hide-force {
  display: none !important;
}

.iit-show {
  display: block;
}

.iit-show-force {
  display: block !important;
}
.iit-otp-modal {
  position: relative;
  z-index: 2;
}

.blocker {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  z-index: 99999;
  padding: 0;
  box-sizing: border-box;
  background-color: #000;
  background-color: rgba(0, 0, 0, 0.75);
  text-align: center;
}

.blocker:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -0.05em;
}

.otpmodal {
  display: none;
  vertical-align: middle;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: 90%;
  background: #fff;
  padding: 15px 30px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -o-border-radius: 8px;
  -ms-border-radius: 8px;
  border-radius: 8px;
  -webkit-box-shadow: 0 0 10px #000;
  -moz-box-shadow: 0 0 10px #000;
  -o-box-shadow: 0 0 10px #000;
  -ms-box-shadow: 0 0 10px #000;
  box-shadow: 0 0 10px #000;
  text-align: left;
}

.iit-otp-holder {
  display: none;
}

.iit-ec-show {
  display: inline-block;
  opacity: 1;
}

.iit-inlineblc {
  display: inline-block !important;
}

.otpseparator {
  width: 5rem;
  margin: 0 auto;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 300;
  color: #222;
  letter-spacing: 1px;
  display: grid;
  grid-template-columns: 1fr max-content 1fr;
  grid-template-rows: 0.5rem 0;
  grid-gap: 0.2rem;
  align-items: center;
  font-size: 1.5rem;
}

.otpseparator:after,
.otpseparator:before {
  content: " ";
  display: block;
  border-bottom: 1px solid #c50000;
  border-top: 1px solid #c50000;
  height: 5px;
  background-color: #f8f8f8;
}

.iit-otp-code-back-btn {
  position: absolute;
  top: 0;
  font-size: 2rem;
  right: 2rem;
}

.iit-core-wi-30 {
  width: 30%;
}

.iit-core-wi-100 {
  width: 100%;
}

.iit-otp-retry {
    font-size: 0.8rem;
    text-align: center;
}
/* ---------- Qmart look (brand colours, the Bangladesh flag, dark mode) ---------- */
.iit-otp-holder .iit-otp-modal{background:var(--card);color:var(--ink);font-family:inherit;border-radius:20px;box-shadow:var(--shadow-lg)}
.iit-otp-modal-title,.iit-otp-modal .iit-otp-success-feedback h3{color:var(--ink);font-weight:800;letter-spacing:-.02em}
.iit-otp-modal .iit-otp-success-feedback{background:var(--card)}
.iit-otp-phone-wrapper .iti{position:relative;display:block;margin-bottom:12px}
.iit-otp-phone-wrapper .iti__flag-container{position:absolute;top:0;bottom:0;left:0;display:flex;align-items:center;padding-left:12px;pointer-events:none}
.iit-otp-phone-wrapper .iti__selected-flag{display:flex;align-items:center;gap:7px}
.iit-otp-phone-wrapper .iti__selected-flag:after{content:"+880";font-size:14px;font-weight:700;color:var(--ink-2)}
.iit-otp-phone-wrapper .iti__flag{width:22px;height:15px;border-radius:3px;background:#006a4e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 15'%3E%3Ccircle cx='9.6' cy='7.5' r='4.2' fill='%23f42a41'/%3E%3C/svg%3E") center/100% 100% no-repeat}
.iit-otp-phone-wrapper .iti__arrow{display:none}
.iit-otp-phone-wrapper .iti input.iit-otp-phone-input,.iit-otp-simple-input{width:100%;height:48px;padding:0 15px;border:1.5px solid var(--line);border-radius:11px;background:var(--card);color:var(--ink);font-family:inherit;font-weight:600;outline:0;margin:0}
.iit-otp-phone-wrapper .iti input.iit-otp-phone-input{padding-left:92px}
.iit-otp-phone-wrapper .iti input.iit-otp-phone-input:focus,.iit-otp-simple-input:focus{border-color:var(--brand);box-shadow:0 0 0 4px rgba(11,122,59,.12)}
.iit-otp-modal .innerit-otp-phone-button,.iit-otp-verify-section .code-submit{background:var(--brand);border-color:var(--brand);color:#fff;height:50px;border-radius:12px;font-weight:700;font-family:inherit;margin-top:6px;width:100%;display:flex;align-items:center;justify-content:center}
.iit-otp-modal .innerit-otp-phone-button:hover,.iit-otp-modal .innerit-otp-phone-button:focus,.iit-otp-verify-section .code-submit:hover,.iit-otp-verify-section .code-submit:focus{background:var(--brand-d);border-color:var(--brand-d)}
.iit-otp-modal .innerit-otp-phone-button span,.iit-otp-verify-button span{color:#fff}
.iit-otp-code-wrapper .letter{border:1.5px solid var(--line);background:var(--brand-50);color:var(--ink);border-radius:11px}
.iit-otp-code-wrapper .letter:focus{border-color:var(--brand);background:var(--card)}
.iit-otp-btn.has-spinner .iit-otp-mini-loader{display:flex}
.iit-otp-btn .iit-otp-mini-loader span{background:#fff}
.iit-otp-error-feedback{color:var(--sale);font-weight:600;text-align:center}
.iit-otp-error-feedback ddce,.iit-otp-error-feedback ddcs{display:block}
.iit-otp-error-feedback ddcs{color:var(--brand)}
.iit-otp-holder .iit-otp-close-modal{background:rgba(0,0,0,.35);border-radius:50%;width:36px;height:36px;display:grid;place-items:center}
.iit-otp-holder .iit-otp-close-modal svg{width:14px;height:14px}
.iit-otp-phone-wrapper,.iit-otp-code-wrapper,.iit-otp-name-wrapper{text-align:left}
html.overflow-hidden{overflow:hidden}
:root[data-theme=dark] .iit-otp-code-wrapper .letter{background:rgba(255,255,255,.05)}
.iit-otp-modal .iit-hide{display:none}

/* "Or / Continue with Phone" inside the account panel */
.otpseparator{width:6rem;font-size:1rem;font-weight:700;color:var(--muted);margin:1.1rem auto}
.otpseparator:after,.otpseparator:before{border-color:var(--line);background:transparent;height:1px;border-width:1px 0 0}
.inneritshop-fire-auth-wrapper .iit-otp-phone-button-toggle{background:transparent;color:var(--brand);border:1.5px solid var(--brand);border-radius:11px;height:46px;font-weight:700;transition:.18s}
.inneritshop-fire-auth-wrapper .iit-otp-phone-button-toggle:hover{background:var(--brand);color:#fff}
