.reference-plans.cb-service-plans {
    padding-top: 8px;
}
.reference-plans .cb-service-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 780px;
    margin-inline: auto;
}
.cb-service-plan-grid .plan-card .plan-icon {
    margin-bottom: 18px;
}
.cb-service-plan-grid .plan-price strong.quote-price {
    font-size: 23px;
}
.cb-service-condition {
    color: #58677c;
    font-size: 14px;
    max-width: 780px;
    margin: 20px auto 0;
}
.cb-payment-card .portal-card-intro {
    margin-bottom: 18px;
    overflow-wrap: anywhere;
}
.cb-payment-badge {
    display: inline-block;
    border-radius: 999px;
    border: 1px solid #4d6c92;
    color: #c0d9ff;
    padding: 5px 10px;
    font-size: 12px;
    margin: 0 0 8px;
}
.cb-payment-details {
    margin: 0 0 24px;
}
.cb-payment-details > div,
.cb-payment-history li {
    display: flex;
    gap: 14px;
    justify-content: space-between;
    align-items: baseline;
    padding: 11px 0;
    border-bottom: 1px solid var(--portal-line);
}
.cb-payment-details dt,
.cb-payment-history small {
    color: var(--portal-muted);
}
.cb-payment-details dd,
.cb-payment-history li > div:last-child {
    margin: 0;
    text-align: right;
}
.cb-payment-details .cb-due {
    color: #ffb0a7;
    font-weight: 650;
}
.cb-payment-amount {
    font-size: clamp(18px, 5vw, 23px);
    font-weight: 700;
}
.cb-payment-select {
    margin-bottom: 20px;
}
.cb-payment-select > div {
    display: flex;
    gap: 8px;
    align-items: center;
}
.cb-payment-select select {
    min-width: 0;
    flex: 1;
}
.cb-payment-select .portal-secondary {
    width: auto;
    padding: 9px 15px;
    margin: 0;
}
.cb-payment-notice {
    color: #b9cde5;
    font-size: 14px;
    line-height: 1.5;
    margin: 14px 0;
}
.cb-payment-history {
    padding-top: 15px;
}
.cb-payment-history h2 {
    font-size: 20px;
}
.cb-payment-history ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.cb-payment-history li small {
    display: block;
    margin-top: 4px;
    overflow-wrap: anywhere;
}
@media (max-width: 650px) {
    .reference-plans .cb-service-plan-grid {
        grid-template-columns: 1fr;
    }
}

.cb-payment-result { padding: 12px; border-radius: 8px; background: #1a2c43; }
.cb-payment-result p { margin: 4px 0 0; }
.cb-payment-result a { color: #c1d9ff; }
/* Consulta pública por NIT/CC: estilos confinados a la página de pagos. */
.cbpr-lookup{display:grid;gap:11px;margin-top:18px}.cbpr-lookup label{font-size:13px;font-weight:700;color:#273754}.cbpr-lookup input,.cbpr-lookup select{width:100%;height:48px;border:1px solid #cdd6e5;border-radius:12px;padding:0 14px;background:#fff;color:#17243b;font:inherit}.cbpr-lookup input:focus,.cbpr-lookup select:focus{outline:2px solid #4874ce;outline-offset:1px}.cbpr-lookup .portal-submit{margin-top:8px}.cbpr-benefits{display:flex;flex-wrap:wrap;gap:12px;margin:19px 0 24px;color:#d8e5f9;font-size:14px}.cbpr-assist{font-size:13px;line-height:1.6;color:#63728a;margin:16px 0 0}.cbpr-assist a{text-decoration:underline;color:#1e4675}.cbpr-other{margin-top:18px}.cbpr-warning{border-color:#e8ab7f}

/* CTA secundario de la consulta de factura: legible sobre el fondo oscuro. */
.cbpr-other { margin-top: 16px; }
.cbpr-other .portal-secondary {
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 52px;
  padding: 13px 18px;
  margin: 0;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.09);
  color: #f5f8ff;
  font-size: 14px;
  font-weight: 650;
  text-align: center;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.cbpr-other .portal-secondary:hover,
.cbpr-other .portal-secondary:focus-visible {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.36);
  color: #fff;
}
.cbpr-other .portal-secondary:active { transform: translateY(1px); }
