.rk-qris-btn { margin-top: 20px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; padding: 10px 14px;
  background: #7C3AED; color: #fff !important; font-weight: 700; font-size: 14px; text-decoration: none;
  box-shadow: 0 8px 20px -8px rgba(124, 58, 237, .7); transition: background-color .2s ease, transform .15s ease; }
.rk-qris-btn:hover { background: #6D28D9; transform: translateY(-1px); }
.rk-qris-btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.rk-qris-btn + .rk-qris-manual { margin-top: 8px !important; }
.rk-qris-tag { font-size: 10px; font-weight: 800; letter-spacing: .04em; padding: 2px 6px; border-radius: 5px; background: #0F172A; color: #fff; }
.rk-qris-btn .rk-qris-tag { background: rgba(255, 255, 255, .22); }
.rk-qris-admin-link { margin: 14px 0 6px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; text-decoration: none;
  border: 1px solid rgba(124, 58, 237, .25); background: rgba(124, 58, 237, .07); color: inherit; transition: border-color .2s ease, transform .15s ease; }
.rk-qris-admin-link:hover { border-color: #7C3AED; transform: translateY(-1px); }
.rk-qris-admin-link b { display: block; font-size: 14px; }
.rk-qris-admin-link small { display: block; opacity: .7; font-size: 12px; }
.rk-qris-admin-link > span:last-child { margin-left: auto; font-weight: 800; color: #7C3AED; }

/* Invoice Pembayaran card (Langganan page) */
.rk-inv-card { margin-top: 24px; overflow: hidden; padding: 0; }
.rk-inv-head { padding: 24px 28px 18px; border-bottom: 1px solid var(--border); }
.rk-inv-head h3 { font-size: 18px; font-weight: 700; }
.rk-inv-head p { margin-top: 4px; font-size: 13px; color: var(--muted-foreground); }
.rk-inv-row { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto 130px 72px; align-items: center; gap: 16px;
  padding: 16px 28px; border-bottom: 1px solid var(--border); font-size: 15px; transition: background-color .15s ease; }
.rk-inv-row:last-child { border-bottom: 0; }
.rk-inv-row:hover { background: color-mix(in oklab, var(--muted) 70%, transparent); }
.rk-inv-plan { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rk-inv-amt { font-family: "JetBrains Mono Variable", ui-monospace, monospace; text-align: right; white-space: nowrap; }
.rk-inv-pill { justify-self: center; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 8px; white-space: nowrap; }
.rk-inv-pill.ok { color: #047857; background: rgba(16, 185, 129, .14); }
.rk-inv-pill.refund { color: #6d28d9; background: rgba(139, 92, 246, .14); }
.rk-inv-pill.bad { color: #be123c; background: rgba(244, 63, 94, .12); }
.rk-inv-pill.wait { color: #b45309; background: rgba(245, 158, 11, .14); }
html.dark .rk-inv-pill.ok { color: #6ee7b7; } html.dark .rk-inv-pill.refund { color: #c4b5fd; }
html.dark .rk-inv-pill.bad { color: #fda4af; } html.dark .rk-inv-pill.wait { color: #fcd34d; }
.rk-inv-link { justify-self: end; font-weight: 700; font-size: 14px; color: var(--primary); text-decoration: none; white-space: nowrap; transition: opacity .15s ease; }
.rk-inv-link:hover { opacity: .75; text-decoration: underline; }
.rk-inv-empty { padding: 22px 28px; font-size: 14px; color: var(--muted-foreground); }
@media (max-width: 640px) {
  .rk-inv-head { padding: 20px 18px 14px; }
  .rk-inv-row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 14px 18px; font-size: 14px; }
  .rk-inv-date { grid-column: 1; font-size: 12px; color: var(--muted-foreground); }
  .rk-inv-pill { grid-column: 2; grid-row: 1; justify-self: end; }
  .rk-inv-plan { grid-column: 1; }
  .rk-inv-amt { grid-column: 2; grid-row: 2; }
  .rk-inv-link { grid-column: 1 / -1; justify-self: start; }
}
