/* Billing manage / cancel — extends signup card tokens */
.billing-card .billing-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0 1rem;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.billing-card .billing-divider::before,
.billing-card .billing-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.billing-secondary {
  width: 100%;
  border: 1.5px solid var(--teal-800);
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  background: transparent;
  color: var(--teal-800);
  cursor: pointer;
}

.billing-secondary:disabled,
.signup-submit:disabled,
.billing-danger:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.billing-text {
  display: block;
  width: 100%;
  margin-top: 0.75rem;
  border: none;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.9rem;
  text-decoration: underline;
  cursor: pointer;
}

.billing-hint {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

.billing-meta {
  margin: 0 0 1.25rem;
  display: grid;
  gap: 0.75rem;
}

.billing-meta > div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.5rem;
  align-items: baseline;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
}

.billing-meta dt {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.billing-meta dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-deep);
  font-weight: 500;
}

.billing-danger {
  background: #9b1c1c !important;
}

.billing-danger:hover:not(:disabled) {
  background: #7f1d1d !important;
}

.billing-footer {
  margin: 1.75rem auto 0;
  width: min(100%, 28rem);
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
}

.billing-footer a {
  color: #fff;
}
