/* RAJ PREMIUM PANEL - v14 final refinements
   1) Purchase result card: opens on the same page with a loader inside, then the content fades in.
   2) Professional notices / toasts.
   3) Detail rows: label left, value right, one straight line, equal spacing. */

/* ---------- 1. in-page purchase card ---------- */
html body .sx-mo .sx-box.sx-loading{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0}
html body .sx-mo .sx-spin{width:58px;height:58px;margin:4px auto 20px;border-radius:50%;border:4px solid rgba(99,179,237,.16);border-top-color:#38bdf8;border-right-color:#818cf8;animation:rajSpin .8s linear infinite;flex:none}
html body .sx-mo .sx-loading .sx-h{font-size:19px}
html body .sx-mo .sx-loading .sx-p{margin:10px 0 16px;font-size:13.5px}
html body .sx-mo .sx-skel{width:100%;display:flex;flex-direction:column;gap:9px;padding:14px;border-radius:14px;background:rgba(30,33,80,.55);border:1px dashed rgba(139,142,220,.3)}
html body .sx-mo .sx-skel i{display:block;height:12px;border-radius:7px;background:linear-gradient(90deg,rgba(255,255,255,.05) 0%,rgba(255,255,255,.13) 50%,rgba(255,255,255,.05) 100%);background-size:220% 100%;animation:rajShimmer 1.2s ease-in-out infinite}
html body .sx-mo .sx-skel i:nth-child(2){width:78%;margin:0 auto}
html body .sx-mo .sx-skel i:nth-child(3){width:56%;margin:0 auto}
html body .sx-mo .sx-loading .sx-ds{margin-top:14px}
html body .sx-mo .sx-box.sx-in{animation:rajCardIn .32s cubic-bezier(.2,.9,.3,1) both}
html body .sx-mo .sx-ok.sx-bad{background:#ef4444;color:#fff}
html body .sx-mo .sx-msg{color:#cbd5e1;font-size:14px;word-break:break-word}
@keyframes rajSpin{to{transform:rotate(360deg)}}
@keyframes rajShimmer{0%{background-position:120% 0}100%{background-position:-120% 0}}
@keyframes rajCardIn{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){html body .sx-mo .sx-spin{animation-duration:1.6s}html body .sx-mo .sx-skel i,html body .sx-mo .sx-box.sx-in{animation:none}}

/* ---------- 3. detail rows (admin lists: orders / deposits / transactions) ---------- */
html body .rw .unw{display:flex;align-items:center;gap:8px;min-width:0;flex:1}
html body .rw .unw .un{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body .rw .unw .bd{flex:none;font-size:9.5px;padding:2px 8px}
html body .rw .kvl{margin-top:10px;border-top:1px solid rgba(148,163,184,.12);padding-top:6px;display:flex;flex-direction:column}
html body .rw .kv{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:28px;padding:4px 0;border-bottom:1px dashed rgba(148,163,184,.10);font-size:12px;line-height:1.3}
html body .rw .kv:last-child{border-bottom:0}
html body .rw .kv>span{flex:0 0 92px;color:var(--mut,#94a3b8);font-size:10.5px;font-weight:700;letter-spacing:.7px;text-transform:uppercase;white-space:nowrap}
html body .rw .kv>b{flex:1;min-width:0;text-align:right;color:var(--txt,#e5e7eb);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
html body .rw .kv>span,html body .rw .kv>b{font-family:inherit!important}

/* ---------- 2. professional notices & toasts ---------- */
html body #toast.toast,html body .tst{
  background:rgba(15,23,42,.96)!important;color:#e2e8f0!important;border:1px solid rgba(148,163,184,.22)!important;border-left:3px solid #38bdf8!important;
  border-radius:14px!important;padding:11px 16px!important;font-size:13px!important;font-weight:600!important;letter-spacing:.1px!important;line-height:1.4!important;
  text-transform:none!important;text-align:left!important;max-width:calc(100% - 32px)!important;width:max-content!important;
  box-shadow:0 14px 34px -10px rgba(0,0,0,.75)!important;bottom:calc(env(safe-area-inset-bottom,0px) + 24px)!important}
html body .al,html body .ferr,html body .currency-flash,html body .bn-paid-notice:not(.is-hidden),html body .bn-proof-alert{
  position:relative!important;display:block;padding:11px 14px 11px 40px!important;border-radius:12px!important;font-size:13px!important;font-weight:500!important;
  line-height:1.5!important;letter-spacing:.1px!important;text-transform:none!important;text-align:left!important;box-shadow:none!important;border-width:1px!important;border-style:solid!important;border-left-width:3px!important}
html body .al::before,html body .ferr::before,html body .currency-flash::before,html body .bn-paid-notice:not(.is-hidden)::before,html body .bn-proof-alert::before{
  content:"";position:absolute;left:13px;top:13px;width:16px;height:16px;border-radius:50%;background:currentColor;
  -webkit-mask:var(--raj-ni) center/16px 16px no-repeat;mask:var(--raj-ni) center/16px 16px no-repeat}
html body .al.ok,html body .currency-flash,html body .bn-paid-notice.success,html body .bn-proof-alert.success{
  --raj-ni:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.2-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7z'/%3E%3C/svg%3E");
  background:rgba(16,185,129,.08)!important;border-color:rgba(52,211,153,.35)!important;border-left-color:#10b981!important;color:#bbf7d0!important}
html body .al.er,html body .ferr,html body .bn-paid-notice.error,html body .bn-proof-alert.error{
  --raj-ni:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E");
  background:rgba(239,68,68,.08)!important;border-color:rgba(248,113,113,.35)!important;border-left-color:#ef4444!important;color:#fecaca!important}

/* admin product add/edit: small helper/status lines are plain text, never boxed cards */
html body .pcb .mini2,html body .raj-blk .mini2,html body .raj-sec .mini2,html body .raj-more .mini2,html body .raj-plan .mini2{border:0!important;background:none!important;box-shadow:none!important;padding:0!important;border-radius:0!important;animation:none!important}
