/* پرداخت اقساطی */

.td-buy-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

.td-btn-installment {
  background: transparent !important;
  border: 1px solid currentColor;
  opacity: 0.95;
}

.td-inst-hint {
  margin: 0;
  font-size: 12px;
  opacity: 0.75;
  line-height: 1.5;
}

.td-inst-progress-block {
  margin-top: 8px;
  width: 100%;
}

.td-inst-progress-bar {
  height: 6px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 6px;
}

.td-inst-progress-bar span {
  display: block;
  height: 100%;
  background: #2f6fed;
  border-radius: 999px;
}

.td-inst-payment-list {
  list-style: none;
  margin: 6px 0 8px;
  padding: 0;
  font-size: 12px;
}

.td-inst-payment-list li {
  padding: 2px 0;
  opacity: 0.85;
}

.td-inst-payment-list li.is-paid {
  color: #1a7f37;
}

.td-inst-payment-list li.is-pending {
  color: #8a6d3b;
}

.td-pay-next-installment {
  display: inline-block;
  margin-top: 6px;
  padding: 8px 14px;
  border: 0;
  border-radius: 6px;
  background: #2f6fed;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
}

.td-pay-next-installment:disabled {
  opacity: 0.6;
  cursor: wait;
}

.license-type-badge.is-installment {
  background: #eef4ff;
  color: #2f6fed;
}
