/* Shared customer pages; tokens, header, navigation and buttons come from home.css. */
body.rsh-customer {
  --rsc-surface: linear-gradient(145deg, #162443f5, #0e1933fa 70%);
  --rsc-border: rgba(133, 159, 235, .25);
  background: radial-gradient(ellipse at 82% 0, #24317570, transparent 45%), radial-gradient(ellipse at 5% 45%, #402a7630, transparent 42%), var(--rsh-bg);
}
.rsc-main { padding-top: 28px; padding-bottom: 12px; min-height: calc(100vh - 290px); }
.rsc-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; color: var(--rsh-muted); font-size: 12px; }
.rsc-breadcrumb .rsh-icon { width: 15px; height: 15px; flex-basis: 15px; }
.rsc-breadcrumb a:hover { color: #c0b3ff; }
.rsc-breadcrumb [aria-current] { color: #e5ecff; }
.rsc-heading { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 28px; }
.rsc-heading > div { min-width: 0; }
.rsc-heading-icon, .rsc-empty-icon { display: grid; place-items: center; flex: 0 0 64px; width: 64px; height: 64px; border: 1px solid #8887ee6b; border-radius: 20px; background: linear-gradient(140deg, #4b52b270, #2d235e); color: #c5bdff; box-shadow: inset 0 1px 0 #d0d3ff20, 0 10px 38px #5650b525; }
.rsc-heading-icon .rsh-icon { width: 30px; height: 30px; }
.rsc-kicker { display: block; margin-bottom: 7px; color: #b8adff; font-size: 10px; line-height: 1.5; font-weight: 750; letter-spacing: 1.6px; }
.rsc-heading h1 { margin: 0 0 9px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.17; letter-spacing: -1.1px; overflow-wrap: anywhere; }
.rsc-heading p { max-width: 650px; margin: 0; color: #b8c6e2; font-size: 14px; line-height: 1.75; }
.rsc-panel { min-width: 0; border: 1px solid var(--rsc-border); border-radius: var(--rsh-radius); background: var(--rsc-surface); box-shadow: inset 0 1px 0 #c2ceff10, 0 18px 52px #02071933; }
.rsc-panel-head { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 15px; padding: 25px 26px; border-bottom: 1px solid var(--rsh-line); }
.rsc-panel-head > div { min-width: 0; }
.rsc-panel-head h2 { margin: 0; font-size: 20px; line-height: 1.35; letter-spacing: -.4px; }
.rsc-search-card { padding: 28px; margin-bottom: 24px; }
.rsc-search-intro { display: flex; align-items: center; gap: 11px; margin-bottom: 20px; }
.rsc-search-intro .rsh-icon { color: #ada6ff; }
.rsc-search-intro h2 { margin: 0; font-size: 18px; }
.rsc-search-form { display: flex; align-items: flex-end; gap: 12px; }
.rsc-field { flex: 1; min-width: 0; }
.rsc-field label { display: block; margin-bottom: 9px; color: #e0e7ff; font-size: 13px; font-weight: 650; }
body.rsh-customer .rsc-field input { width: 100%; min-width: 0; min-height: 52px; padding: 13px 16px; border: 1px solid #4b6192; border-radius: 13px; background: #080f25; color: var(--rsh-text); box-shadow: inset 0 2px 7px #00081840; font-size: 16px; }
.rsc-field input::placeholder { color: #98aacb; }
.rsc-field input:focus { border-color: #9893f4; }
.rsc-search-form .rsh-button { min-height: 52px; flex-shrink: 0; }
.rsc-hint { margin: 12px 0 0; color: var(--rsh-muted); font-size: 12px; overflow-wrap: anywhere; }
.rsc-loading { margin: 14px 0 0; color: #c4baff; font-size: 13px; }
.rsc-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; gap: 22px; }
.rsc-result-actions, .rsc-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; }
.rsc-result-actions { margin-top: 20px; }
.rsc-badge { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 8px 11px; border: 1px solid #7488d077; border-radius: 10px; background: #283b6633; color: #c7d9ff; font-size: 12px; font-weight: 700; line-height: 1.5; }
.rsc-badge > span { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: currentColor; }
.rsc-badge[data-status="pending"] { color: #ffe1a1; background: #6e551630; border-color: #c39d4c70; }
.rsc-badge[data-status="paid"], .rsc-badge[data-status="processing"] { color: #bcd7ff; background: #294c8a40; border-color: #6194e780; }
.rsc-badge[data-status="success"] { color: #a0eccd; background: #1d655438; border-color: #57b39875; }
.rsc-badge[data-status="failed"], .rsc-badge[data-status="expired"] { color: #ffbfd2; background: #6e294c38; border-color: #cc779c75; }
.rsc-invoice-code { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 22px 26px; }
.rsc-invoice-code > div { min-width: 0; }
.rsc-invoice-code span, .rsc-order-game > div > span { display: block; margin-bottom: 5px; color: var(--rsh-muted); font-size: 12px; }
.rsc-invoice-code strong { display: block; font-size: 18px; letter-spacing: .3px; overflow-wrap: anywhere; }
.rsc-icon-button { display: inline-grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #4b5c87; border-radius: 12px; background: #1b2b4d; color: #d0ceff; }
.rsc-order-game { display: flex; align-items: center; gap: 15px; margin: 0 26px 23px; padding: 18px; border: 1px solid #596dbb45; border-radius: 15px; background: linear-gradient(110deg, #24386680, #29214b50); }
.rsc-order-game > div { min-width: 0; }
.rsc-game-art { display: grid; place-items: center; flex: 0 0 60px; width: 60px; height: 60px; overflow: hidden; border: 1px solid #8181dd80; border-radius: 15px; background: #31325e; color: #ddd8ff; font-size: 19px; font-weight: 800; }
.rsc-game-art img { width: 100%; height: 100%; object-fit: cover; }
.rsc-order-game h3 { margin: 0 0 3px; font-size: 17px; line-height: 1.4; overflow-wrap: anywhere; }
.rsc-order-game p { margin: 0; color: #bac9e6; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.rsc-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 25px; margin: 0; padding: 0 26px 26px; }
.rsc-details > div { min-width: 0; }
.rsc-details dt { margin-bottom: 5px; color: var(--rsh-muted); font-size: 12px; }
.rsc-details dd { margin: 0; color: #eef3ff; font-size: 14px; font-weight: 650; line-height: 1.6; overflow-wrap: anywhere; }
.rsc-status-note { display: flex; align-items: flex-start; gap: 11px; margin: 0 26px 18px; padding: 16px; border: 1px solid #697bcc55; border-radius: 13px; background: #20345b50; color: #c7d6f1; }
.rsc-status-note > .rsh-icon { color: #aaa9ff; margin-top: 2px; }
.rsc-status-note p { margin: 0; font-size: 13px; line-height: 1.75; overflow-wrap: anywhere; }
.rsc-status-note[data-status="success"] { border-color: #548d815c; background: #193d373b; }
.rsc-status-note[data-status="failed"], .rsc-status-note[data-status="expired"] { border-color: #a1638270; background: #48213e45; }
.rsc-private-note { padding: 0 26px 24px; margin: 0; color: #9daccc; font-size: 11px; line-height: 1.8; }
.rsc-side-card { padding: 25px; }
.rsc-side-card h2 { margin: 0 0 18px; font-size: 19px; }
.rsc-side-card p { color: #b5c4df; font-size: 13px; line-height: 1.8; }
.rsc-price-list { display: grid; gap: 15px; margin: 0 0 20px; }
.rsc-price-list > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.rsc-price-list dt { color: #b3c3df; font-size: 13px; }
.rsc-price-list dd { margin: 0; text-align: right; font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.rsc-total { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 10px; padding-top: 18px; margin-bottom: 20px; border-top: 1px solid var(--rsh-line); color: #ccd7ef; font-size: 13px; }
.rsc-total strong { font-size: 25px; line-height: 1.25; color: #d8d0ff; letter-spacing: -.6px; overflow-wrap: anywhere; }
.rsc-side-card .rsh-button { width: 100%; margin-top: 10px; }
.rsc-payment-number { padding: 12px; max-height: 160px; overflow-y: auto; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; border: 1px solid #4a5e86; border-radius: 10px; background: #0a1429; color: #d1ddf6; font-size: 12px; }
.rsc-copy-status { margin: 12px 0 0; color: #c2b8ff; font-size: 12px; }
.rsc-empty { position: relative; display: flex; align-items: center; flex-direction: column; padding: 50px 25px; overflow: hidden; text-align: center; }
.rsc-empty::before { content: ""; position: absolute; pointer-events: none; width: 360px; height: 360px; top: -185px; border-radius: 50%; background: #655af522; filter: blur(40px); }
.rsc-empty > * { position: relative; }
.rsc-empty-icon { flex-basis: 80px; width: 80px; height: 80px; margin-bottom: 25px; border-radius: 25px; }
.rsc-empty-icon .rsh-icon { width: 36px; height: 36px; }
.rsc-empty h2 { margin: 0 0 13px; font-size: clamp(23px, 3vw, 30px); line-height: 1.25; letter-spacing: -.6px; overflow-wrap: anywhere; }
.rsc-empty p { max-width: 470px; margin: 0 0 27px; color: #b6c5e1; font-size: 14px; line-height: 1.85; }
.rsc-empty .rsc-actions { justify-content: center; }
.rsc-empty-error { border-color: #ab708d66; }
.rsc-review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rsc-review { display: flex; flex-direction: column; padding: 25px; }
.rsc-review-top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.rsc-review-avatar { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #8784d070; border-radius: 14px; background: #353466; color: #d4ccff; font-weight: 800; }
.rsc-review-top > div { min-width: 0; }
.rsc-review-top strong { display: block; font-size: 13px; overflow-wrap: anywhere; }
.rsc-review-top time { color: #9eadcb; font-size: 11px; }
.rsc-review .rsc-quote { color: #a998ff; margin-bottom: 12px; }
.rsc-review-text { flex: 1; margin: 0 0 22px; color: #dce6fb; font-size: 14px; line-height: 1.9; white-space: pre-line; overflow-wrap: anywhere; }
.rsc-review-meta { display: grid; gap: 4px; padding-top: 16px; border-top: 1px solid var(--rsh-line); color: #a9bada; font-size: 12px; overflow-wrap: anywhere; }
.rsc-review-meta strong { color: #c6baff; font-weight: 650; }
.rsc-bottom-note { margin: 23px 0 0; color: var(--rsh-muted); font-size: 12px; line-height: 1.8; }
.rsc-bottom-note a { color: #c8bcff; }
@media (max-width: 1023px) {
  .rsc-layout { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; }
  .rsc-review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 767px) {
  .rsc-main { padding-top: 19px; }
  .rsc-breadcrumb { margin-bottom: 22px; }
  .rsc-heading { gap: 13px; margin-bottom: 23px; }
  .rsc-heading-icon { flex-basis: 48px; width: 48px; height: 48px; border-radius: 15px; }
  .rsc-heading-icon .rsh-icon { width: 24px; height: 24px; }
  .rsc-heading h1 { font-size: 28px; }
  .rsc-heading p { font-size: 13px; }
  .rsc-layout, .rsc-review-grid { grid-template-columns: minmax(0, 1fr); }
  .rsc-search-card, .rsc-side-card, .rsc-review { padding: 20px; }
  .rsc-search-form { flex-direction: column; align-items: stretch; gap: 15px; }
  .rsc-panel-head { padding: 20px; }
  .rsc-invoice-code { padding: 20px; }
  .rsc-invoice-code strong { font-size: 16px; }
  .rsc-order-game { margin-inline: 20px; padding: 14px; gap: 12px; }
  .rsc-game-art { flex-basis: 48px; width: 48px; height: 48px; border-radius: 12px; font-size: 16px; }
  .rsc-order-game h3 { font-size: 16px; }
  .rsc-details { padding: 0 20px 22px; gap: 19px 16px; }
  .rsc-details dd { font-size: 13px; }
  .rsc-status-note { margin-inline: 20px; padding: 13px; }
  .rsc-private-note { padding: 0 20px 20px; }
  .rsc-empty { padding: 37px 20px; }
  .rsc-empty p { font-size: 13px; }
  .rsc-actions { width: 100%; }
  .rsc-actions .rsh-button, .rsc-result-actions .rsh-button { flex: 1; }
}
@media (max-width: 359px) {
  .rsc-heading h1 { font-size: 25px; }
  .rsc-heading-icon { display: none; }
  .rsc-search-card, .rsc-side-card, .rsc-review { padding: 17px; }
  .rsc-details { grid-template-columns: minmax(0, 1fr); }
  .rsc-actions, .rsc-result-actions { flex-direction: column; align-items: stretch; }
  .rsc-empty { padding-inline: 17px; }
}
.rsc-status-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.rsc-status-feedback { font-size: 13px; color: #adb8d2; overflow-wrap: anywhere; }
.rsc-qris { width: 272px; max-width: 100%; padding: 16px; background: #fff; border-radius: 12px; margin: 20px auto; box-sizing: border-box; }
.rsc-qris[hidden] { display: none; }
.rsc-qris canvas, .rsc-qris img { width: 240px; max-width: 100%; height: auto; image-rendering: pixelated; }
.rsc-qris-note { font-size: 12px; }
.rsc-qris-payload { margin: 16px 0; }
.rsc-qris-payload summary { cursor: pointer; padding: 12px 0; }
.rsc-qris-payload textarea { width: 100%; font-size: 16px; color: #e7ecff; background: #070e22; border: 1px solid #354464; border-radius: 10px; padding: 12px; resize: vertical; }
.rsc-test-notice { color: #ffe7a1; border: 1px solid #897a47; border-radius: 10px; padding: 12px; }
