/* MKS Shop – ưu đãi giới thiệu: ô "Ai giới thiệu bạn?" ở trang thanh toán, khối giới thiệu ở trang cảm ơn, thẻ "Tháng này" của CTV. */

/* Trang thanh toán */
.mks-ref-row { margin-bottom: 4px !important; }
.mks-ref-hint {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted, #5d6478);
}

/* Trang cảm ơn (dùng chung khung .mks-affp với trang sản phẩm; mẫu trang cảm ơn cũ có CSS h2 riêng nên phải ghi đè) */
.mks-refty { margin: 32px 0; text-transform: none; }
.mks-refty h2.mks-affp-title,
.mks-thank-you-page .mks-plugins-output .mks-refty h2.mks-affp-title {
  margin: 0 0 6px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  text-transform: none;
}
.mks-refty-alt { margin: 14px 0 0; font-size: 16px; line-height: 1.6; color: #c9cddc; }
.mks-refty-alt strong { color: #fff; letter-spacing: .02em; }
.mks-refty .mks-affp-more { margin-top: 14px; }

/* Trang Cộng tác viên: tiến độ trong tháng */
.mks-ref-progress .mks-aff-big strong { color: var(--red, #d4203f); font-size: 1.2em; }
.mks-ref-next {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm, 12px);
  background: var(--red-soft, #fdf0f2);
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink, #1d2130);
}
.mks-ref-steps tr.is-on td { background: var(--red-soft, #fdf0f2); font-weight: 700; }
.mks-ref-steps tr.is-on td:first-child { box-shadow: inset 4px 0 0 var(--red, #d4203f); }
.mks-aff-hint { margin: -6px 0 16px; font-size: 15px; }
