/* Модалка выбора тарифа Про */
.tpp-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.tpp-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.6);
}
.tpp-modal__box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 16px;
  padding: 22px 24px 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  font-family: inherit;
}
.tpp-modal__close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: #9ca3af;
  cursor: pointer;
}
.tpp-modal__close:hover { color: #4b5563; }
.tpp-modal__title {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}
.tpp-modal__hint {
  margin: 0 0 16px;
  font-size: 14px;
  color: #6b7280;
}
.tpp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 12px;
  margin-top: 6px;
}
.tpp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 14px 10px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s;
  font-family: inherit;
}
.tpp-card:hover { border-color: #c7d2fe; }
.tpp-card.is-active {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: inset 0 0 0 1px #2563eb;
}
.tpp-card__badge {
  position: absolute;
  top: -9px;
  right: -6px;
  background: #16a34a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
}
.tpp-card__term {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}
.tpp-card__price {
  font-size: 20px;
  font-weight: 800;
  color: #111827;
}
.tpp-card__monthly {
  font-size: 12px;
  color: #6b7280;
}
.tpp-pay {
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 12px 16px;
  border: none;
  border-radius: 10px;
  background: #2563eb;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
  font-family: inherit;
}
.tpp-pay:hover { background: #1d4ed8; }
.tpp-pay:disabled { opacity: .7; cursor: default; }
.tpp-error {
  margin-top: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
}
.tpp-modal__note {
  margin: 12px 0 0;
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.4;
}
