/* TEXTORASIGN CHECKOUT AUTH FAMILY V3 */

body.checkout-v3 {
  font-family: "Instrument Sans", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.co-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 35, 64, .42);
  backdrop-filter: blur(7px);
}

.co-modal.show {
  display: flex;
}

body.co-modal-open {
  overflow: hidden;
}

.co-claim-card {
  width: min(100%, 570px);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  scrollbar-width: none;
  border: 1px solid rgba(204, 214, 226, .96);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(15, 35, 64, .22), 0 4px 15px rgba(15, 35, 64, .08);
}

.co-claim-card::-webkit-scrollbar {
  display: none;
}

.co-claim-inner {
  padding: 27px 32px 31px;
}

.co-claim-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 17px;
  border-bottom: 1px solid #e5eaf1;
}

.co-claim-brand-name.tx-full-brand-lockup {
  min-height: 34px !important;
  padding: 4px 9px 4px 5px;
  border: 1px solid #d7dfe9;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(15, 35, 64, .07);
}

.co-claim-brand-name.tx-full-brand-lockup .tx-full-brand-logo {
  height: 28px !important;
  max-width: 135px !important;
}

.co-paid-badge {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 9px;
  border: 1px solid #b8dfd1;
  border-radius: 999px;
  background: #f1fbf7;
  color: #0f7a52;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .02em;
  white-space: nowrap;
}

.co-claim-step {
  display: none;
}

.co-claim-step.show {
  display: block;
}

.co-claim-icon,
.otp-icon,
.co-claim-success-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin: 0 auto 15px;
  border: 1px solid #d9e2ee;
  border-radius: 13px;
  background: #f7faff;
  color: #145fe7;
  box-shadow: 0 7px 18px rgba(20, 95, 231, .08);
}

.co-claim-icon svg,
.otp-icon svg {
  width: 22px;
  height: 22px;
}

.co-claim-success-icon {
  border-color: #b8dfd1;
  background: #f1fbf7;
  color: #0f7a52;
  font-size: 20px;
  font-weight: 700;
}

.co-claim-step h2 {
  margin: 0;
  color: #10233d;
  text-align: center;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 620;
  letter-spacing: -.035em;
}

.co-claim-description,
.otp-description {
  max-width: 440px;
  margin: 8px auto 20px;
  color: #53637a;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
}

.co-claim-description strong,
.otp-description strong {
  color: #10233d;
  font-weight: 620;
}

.co-locked-email {
  margin-bottom: 17px;
  padding: 10px 12px;
  border: 1px solid #dfe5ed;
  border-radius: 8px;
  background: #f9fbfe;
}

.co-locked-email span,
.co-locked-email strong {
  display: block;
}

.co-locked-email span {
  margin-bottom: 3px;
  color: #7f8da1;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.co-locked-email strong {
  overflow: hidden;
  color: #10233d;
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.co-claim-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.co-claim-field {
  margin-top: 13px;
}

.co-claim-field label {
  display: block;
  margin-bottom: 6px;
  color: #172940;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 590;
}

.co-claim-field input {
  width: 100%;
  min-height: 47px;
  padding: 0 12px;
  border: 1px solid #d7dfe9;
  border-radius: 8px;
  outline: 0;
  background: #fff;
  color: #10233d;
  font-size: 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.co-claim-field input:focus {
  border-color: #145fe7;
  box-shadow: 0 0 0 3px rgba(20, 95, 231, .15);
}

.co-claim-field input::placeholder {
  color: #93a0b2;
}

.co-password-wrap {
  position: relative;
}

.co-password-wrap input {
  padding-right: 58px;
}

.co-password-toggle {
  position: absolute;
  top: 50%;
  right: 11px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #617087;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}

.co-claim-terms {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 17px;
  color: #314158;
  font-size: 12px;
  line-height: 1.45;
}

.co-claim-terms input {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin: 0;
  accent-color: #145fe7;
}

.co-claim-terms a {
  color: #145fe7;
}

.co-claim-error,
.form-error.otp-error {
  min-height: 0;
  margin-top: 10px;
  color: #bd2c42;
  font-size: 12px;
  line-height: 1.4;
}

.co-modal .tx-btn {
  min-height: 48px;
  margin-top: 17px;
  border-color: #145fe7;
  border-radius: 7px;
  background: #145fe7;
  color: #fff;
  box-shadow: 0 7px 16px rgba(20, 95, 231, .18);
}

.co-modal .tx-btn:hover {
  background: #0f50ca;
  box-shadow: 0 9px 19px rgba(20, 95, 231, .22);
}

.otp-inputs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  max-width: 390px;
  margin: 0 auto;
}

.otp-input {
  width: 100%;
  min-width: 0;
  height: 54px;
  padding: 0;
  border: 1px solid #d7dfe9;
  border-radius: 8px;
  outline: 0;
  background: #fff;
  color: #10233d;
  text-align: center;
  font-size: 22px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.otp-input:focus,
.otp-input.filled {
  border-color: #145fe7;
  background: #f9fbff;
  box-shadow: 0 0 0 3px rgba(20, 95, 231, .12);
}

.otp-actions {
  max-width: 390px;
  margin: 0 auto;
}

.otp-resend {
  margin-top: 15px;
  color: #647389;
  text-align: center;
  font-size: 12.5px;
}

.otp-resend-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: #145fe7;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.otp-resend-button:disabled {
  color: #8794a6;
  cursor: wait;
}

@media (max-width: 620px) {
  .co-modal {
    padding: 9px;
  }

  .co-claim-card {
    max-height: calc(100dvh - 18px);
    border-radius: 12px;
  }

  .co-claim-inner {
    padding: 18px 16px 21px;
  }

  .co-claim-brand {
    margin-bottom: 14px;
    padding-bottom: 13px;
  }

  .co-paid-badge {
    font-size: 9px;
  }

  .co-claim-icon,
  .otp-icon,
  .co-claim-success-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
  }

  .co-claim-step h2 {
    font-size: 23px;
  }

  .co-claim-description,
  .otp-description {
    margin-top: 5px;
    margin-bottom: 13px;
    font-size: 12px;
  }

  .co-claim-grid {
    gap: 8px;
  }

  .co-claim-field {
    margin-top: 9px;
  }

  .co-claim-field input {
    min-height: 43px;
    font-size: 13px;
  }

  .otp-inputs {
    gap: 5px;
  }

  .otp-input {
    height: 48px;
    font-size: 19px;
  }
}

@media (max-width: 390px) {
  .co-claim-grid {
    grid-template-columns: 1fr;
  }

  .co-claim-brand-name.tx-full-brand-lockup .tx-full-brand-logo {
    height: 25px !important;
    max-width: 120px !important;
  }

  .co-paid-badge {
    padding: 0 7px;
  }
}
