/* Trust Certificate — оплата картой 2026 */

.tc-pay-page {
  min-height: 100vh;
}

.tc-pay {
  min-height: 100vh;
  padding: 32px 20px 56px;
}

body.tc-pay-page:has(.tc-nav) .tc-pay {
  padding-top: calc(var(--nav-h, 76px) + 24px);
}

.tc-pay__inner {
  width: min(1040px, 100%);
  margin: 0 auto;
}

.tc-pay__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.tc-pay__toolbar .tc-pay__back {
  margin-bottom: 0;
}

.tc-pay__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tc-pay__back:hover {
  color: #cbd5e1;
}

.tc-pay__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: start;
}

/* ── Левая колонка ── */
.tc-pay__order {
  margin-bottom: 24px;
}

.tc-pay__eyebrow {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.tc-pay__sum {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, #e2e8f0, #6366f1 55%, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tc-pay__ref {
  margin: 10px 0 0;
  font-size: 0.78rem;
  color: #64748b;
}

.tc-pay__ref code {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.8rem;
  color: #94a3b8;
}

/* ── Живая карта (fintech + flip) ── */
.tc-card-scene {
  perspective: 1400px;
  width: 100%;
  max-width: 440px;
}

.tc-card-v {
  position: relative;
  width: 100%;
  aspect-ratio: 1.586;
}

.tc-card-v__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.34, 1.15, 0.48, 1);
}

.tc-card-v.is-flipped .tc-card-v__inner {
  transform: rotateY(180deg);
}

.tc-card-v.is-tilt:not(.is-flipped) .tc-card-v__inner {
  transform: rotateY(-10deg) rotateX(8deg) translateZ(12px);
}

.tc-card-v__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 24px;
  overflow: hidden;
  padding: 30px 30px 28px;
  background: #0c1020;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.tc-card-v__face--back {
  transform: rotateY(180deg);
}

.tc-card-v.is-visa .tc-card-v__face {
  background: linear-gradient(145deg, #071229 0%, #0f2d6e 42%, #123d8f 100%);
}

.tc-card-v.is-mastercard .tc-card-v__face {
  background: linear-gradient(145deg, #120818 0%, #3a0a20 38%, #1a1030 100%);
}

.tc-card-v.is-mir .tc-card-v__face {
  background: linear-gradient(145deg, #041a14 0%, #0a3d2e 42%, #0d5240 100%);
}

.tc-card-v.is-default .tc-card-v__face {
  background: linear-gradient(145deg, #0a0f1f 0%, #1a1545 45%, #1e1b4b 100%);
}

.tc-card-v__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(99, 102, 241, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(139, 92, 246, 0.25), transparent 50%),
    radial-gradient(ellipse 40% 40% at 70% 10%, rgba(59, 130, 246, 0.2), transparent 45%);
  pointer-events: none;
}

.tc-card-v__grid {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 20%, transparent 75%);
}

.tc-card-v__aurora {
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 200deg at 50% 50%, transparent, rgba(99, 102, 241, 0.15), transparent, rgba(52, 211, 153, 0.1), transparent);
  animation: tc-card-aurora 8s linear infinite;
  pointer-events: none;
}

@keyframes tc-card-aurora {
  to { transform: rotate(360deg); }
}

.tc-card-v__glass {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, transparent 40%, rgba(255, 255, 255, 0.04) 100%);
  pointer-events: none;
}

.tc-card-v__shine {
  position: absolute;
  inset: -60% -40%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.18) 48%,
    rgba(255, 255, 255, 0.05) 52%,
    transparent 60%
  );
  animation: tc-card-shine 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes tc-card-shine {
  0%, 100% { transform: translateX(-35%) rotate(15deg); opacity: 0.4; }
  50% { transform: translateX(35%) rotate(15deg); opacity: 1; }
}

.tc-card-v__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  gap: 12px;
}

.tc-card-v__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tc-card-v__logo--sm .tc-card-v__logo-mark {
  width: 28px;
  height: 28px;
}

.tc-card-v__logo-mark {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.45));
}

.tc-card-v__logo-text {
  font-family: var(--font, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.tc-card-v__logo-text strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #f8fafc;
}

.tc-card-v__brand {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  opacity: 0.95;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.tc-card-v__number {
  position: relative;
  z-index: 2;
  margin: 34px 0 0;
  font-family: 'JetBrains Mono', ui-monospace, 'Cascadia Code', monospace;
  font-size: clamp(1.05rem, 2.8vw, 1.55rem);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.14em;
  line-height: 1.25;
  color: rgba(248, 250, 252, 0.96);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.28);
  white-space: nowrap;
  transform-origin: left center;
  transition: transform 0.2s ease, letter-spacing 0.2s ease;
}

.tc-card-v__number.is-len-0,
.tc-card-v__number.is-len-1,
.tc-card-v__number.is-len-2,
.tc-card-v__number.is-len-3,
.tc-card-v__number.is-len-4 {
  font-size: clamp(1.15rem, 3vw, 1.7rem);
  letter-spacing: 0.2em;
}

.tc-card-v__number.is-len-5,
.tc-card-v__number.is-len-6,
.tc-card-v__number.is-len-7,
.tc-card-v__number.is-len-8 {
  font-size: clamp(1.08rem, 2.9vw, 1.58rem);
  letter-spacing: 0.17em;
}

.tc-card-v__number.is-len-9,
.tc-card-v__number.is-len-10,
.tc-card-v__number.is-len-11,
.tc-card-v__number.is-len-12 {
  font-size: clamp(1rem, 2.6vw, 1.42rem);
  letter-spacing: 0.13em;
}

.tc-card-v__number.is-len-13,
.tc-card-v__number.is-len-14,
.tc-card-v__number.is-len-15,
.tc-card-v__number.is-len-16 {
  font-size: clamp(0.92rem, 2.4vw, 1.28rem);
  letter-spacing: 0.09em;
}

.tc-card-v__foot {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
  gap: 20px;
}

.tc-card-v__label {
  display: block;
  font-family: var(--font, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 5px;
}

.tc-card-v__value {
  display: block;
  font-family: 'JetBrains Mono', ui-monospace, 'Cascadia Code', monospace;
  font-size: clamp(0.78rem, 2.1vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.94);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

/* Обратная сторона */
.tc-card-v__stripe {
  position: absolute;
  top: 36px;
  left: 0;
  right: 0;
  height: 52px;
  background: linear-gradient(180deg, #1a1f2e 0%, #0a0d14 100%);
  z-index: 1;
}

.tc-card-v__back-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding-top: 100px;
}

.tc-card-v__cvv-panel {
  align-self: flex-end;
  width: min(72%, 220px);
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.tc-card-v__cvv-panel .tc-card-v__label {
  color: #64748b;
  margin-bottom: 4px;
}

.tc-card-v__cvv {
  display: block;
  font-family: var(--font, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.35em;
  color: #0f172a;
  min-height: 1.2em;
}

.tc-card-v__back-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
}

/* Финтех-копирайт */
.tc-pay__facts {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tc-pay__fact {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.tc-pay__fact-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.12);
  color: #818cf8;
}

.tc-pay__fact-icon--mint {
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
}

.tc-pay__fact strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 4px;
}

.tc-pay__fact p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #64748b;
}

.tc-pay__fact p strong {
  display: inline;
  font-size: inherit;
  color: #34d399;
}

/* ── Правая колонка — форма ── */
.tc-pay__main {
  padding: 28px 28px 24px;
  background: #0a0f1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.tc-pay__form-head {
  margin-bottom: 24px;
}

.tc-pay__mobile-sum {
  display: none;
  margin: 0 0 6px;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #e2e8f0, #6366f1 55%, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tc-pay__form-title {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f1f5f9;
}

.tc-pay__form-lead {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #64748b;
}

.tc-pay__field {
  margin-bottom: 16px;
}

.tc-pay__label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #94a3b8;
}

.tc-pay__req {
  color: #f87171;
}

.tc-pay__input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  font-family: inherit;
  font-size: 1rem;
  color: #f1f5f9;
  background: #050810;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tc-pay__input::placeholder {
  color: #475569;
}

.tc-pay__input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.tc-pay__input.is-error {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.12);
}

.tc-pay__input-wrap {
  position: relative;
}

.tc-pay__input-wrap .tc-pay__input {
  padding-right: 52px;
}

.tc-pay__input-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  pointer-events: none;
}

.tc-pay__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tc-pay__brands {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tc-3ds__scheme img {
  display: block;
  width: auto;
  height: 12px;
  max-height: 16px;
  object-fit: contain;
}

.tc-pay__brands img {
  display: block;
  width: auto;
  height: 18px;
  max-height: 22px;
  flex: 0 0 auto;
  object-fit: contain;
  opacity: 0.75;
}

.tc-pay__field-error {
  display: block;
  margin-top: 6px;
  min-height: 1.1em;
  font-size: 0.75rem;
  color: #f87171;
}

.tc-pay__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  margin-top: 8px;
  padding: 0 20px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #3b82f6 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.tc-pay__submit:hover:not(:disabled) {
  opacity: 0.92;
}

.tc-pay__submit:active:not(:disabled) {
  transform: scale(0.98);
}

.tc-pay__submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.tc-pay__submit-price {
  opacity: 0.88;
  font-weight: 600;
}

.tc-pay__legal {
  margin: 14px 0 0;
  font-size: 0.72rem;
  line-height: 1.5;
  color: #475569;
  text-align: center;
}

/* ── Мобайл: форма сразу после «Купить» ── */
@media (max-width: 860px) {
  .tc-pay {
    padding: 16px 16px 32px;
  }

  .tc-pay__back {
    margin-bottom: 16px;
  }

  .tc-pay__layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .tc-pay__main {
    order: -1;
  }

  .tc-pay__aside {
    order: 0;
  }

  .tc-pay__facts {
    display: none;
  }

  .tc-pay__order {
    display: none;
  }

  .tc-pay__mobile-sum {
    display: block;
  }

  .tc-pay__form-head {
    margin-bottom: 18px;
  }

  .tc-pay__form-title {
    font-size: 1.2rem;
  }

  .tc-pay__main {
    padding: 20px 18px 18px;
  }

  .tc-card-scene {
    max-width: 100%;
    margin: 0;
  }

  .tc-pay__input {
    font-size: 16px;
    height: 50px;
  }

  .tc-pay__row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .tc-pay__main {
    padding: 18px 16px 16px;
  }

  .tc-pay__submit {
    position: sticky;
    bottom: 12px;
    z-index: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tc-card-v__shine,
  .tc-card-v__aurora {
    animation: none;
  }

  .tc-card-v__inner {
    transition-duration: 0.2s;
  }

  .tc-card-v.is-tilt:not(.is-flipped) .tc-card-v__inner {
    transform: none;
  }
}

/* ── Модалки 3-D Secure / успех ── */
.tc-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.tc-modal[hidden] {
  display: none;
}

.tc-modal.is-open {
  display: flex;
}

.tc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 16, 0.82);
  backdrop-filter: blur(8px);
}

.tc-modal__panel {
  position: relative;
  z-index: 1;
  width: min(400px, 100%);
  padding: 28px 24px 22px;
  background: #0a0f1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.55);
  text-align: center;
}

.tc-modal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  font-size: 1.4rem;
  font-weight: 800;
}

.tc-modal__icon--mint {
  background: rgba(52, 211, 153, 0.15);
  color: #34d399;
}

.tc-modal__title {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #f1f5f9;
}

.tc-modal__text {
  margin: 0 0 18px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #94a3b8;
}

.tc-modal__text strong {
  color: #e2e8f0;
}

.tc-modal__label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #94a3b8;
  text-align: left;
}

.tc-modal__code-input {
  width: 100%;
  height: 56px;
  margin-bottom: 8px;
  padding: 0 16px;
  font-family: var(--font, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.35em;
  text-align: center;
  color: #f8fafc;
  background: #050810;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  outline: none;
}

.tc-modal__code-input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.tc-modal__error {
  display: block;
  min-height: 1.2em;
  margin-bottom: 10px;
  font-size: 0.78rem;
  color: #f87171;
  text-align: left;
}

.tc-modal__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  margin-top: 6px;
  padding: 0 20px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #6366f1, #8b5cf6, #3b82f6);
  border: none;
  border-radius: 12px;
  cursor: pointer;
}

.tc-modal__cancel {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  background: none;
  border: none;
  cursor: pointer;
}

.tc-modal__cert-code {
  margin: 0 0 18px;
  padding: 14px 16px;
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #34d399;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: 10px;
}

body.tc-modal-open {
  overflow: hidden;
}

/* ── 3-D Secure: официальное окно банка ── */
.tc-modal--3ds .tc-modal__backdrop {
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
}

.tc-3ds {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.18);
  overflow: hidden;
  color: #1e293b;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.tc-3ds.is-shake {
  animation: tc-3ds-shake 0.45s ease;
}

@keyframes tc-3ds-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.tc-3ds__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e2e8f0;
}

.tc-3ds__secure {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
}

.tc-3ds__secure svg {
  color: #2563eb;
  flex-shrink: 0;
}

.tc-3ds__scheme {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.9;
}

.tc-3ds__body {
  padding: 20px 18px 16px;
}

.tc-3ds__title {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.tc-3ds__meta {
  margin: 0 0 14px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
}

.tc-3ds__meta-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  line-height: 1.45;
}

.tc-3ds__meta-row + .tc-3ds__meta-row {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid #e2e8f0;
}

.tc-3ds__meta-row dt {
  margin: 0;
  color: #64748b;
  font-weight: 500;
}

.tc-3ds__meta-row dd {
  margin: 0;
  font-weight: 600;
  color: #0f172a;
  text-align: right;
}

.tc-3ds__lead {
  margin: 0 0 14px;
  font-size: 0.84rem;
  line-height: 1.55;
  color: #475569;
}

.tc-3ds__label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
}

.tc-3ds__input {
  width: 100%;
  height: 44px;
  margin-bottom: 8px;
  padding: 0 12px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: #0f172a;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  outline: none;
}

.tc-3ds__input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.tc-3ds__input.is-error {
  border-color: #dc2626;
  background: #fef2f2;
}

.tc-3ds__error {
  margin: 0 0 10px;
  padding: 10px 12px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 4px;
}

.tc-3ds__error[hidden] {
  display: none;
}

.tc-3ds__submit {
  display: block;
  width: 100%;
  height: 42px;
  margin-top: 4px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: #2563eb;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.tc-3ds__submit:hover {
  background: #1d4ed8;
}

.tc-3ds__cancel {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 8px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  color: #64748b;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tc-3ds__hint {
  margin: 14px 0 0;
  font-size: 0.74rem;
  line-height: 1.5;
  color: #94a3b8;
}

.tc-3ds__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  font-size: 0.7rem;
  font-weight: 500;
  color: #94a3b8;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.tc-3ds__timer {
  font-variant-numeric: tabular-nums;
  color: #64748b;
}
