/* AppEarning.pk · app pages (enroll, login, course, lesson, pay, admin, legal, 404) in the landing page's dark, premium look.
   Loaded after style.css: re-maps its colour tokens and restyles the shared components. */
:root {
  --bg: #06070b; --bg2: #0b0d14; --card: rgba(255,255,255,.04); --line: rgba(255,255,255,.09); --line2: rgba(255,255,255,.15);
  --text: #f4f5f8; --soft: #b9bdca; --muted: #8a8fa0; --input: rgba(255,255,255,.05);
  --orange: #ff8a3d; --orange2: #ff5c1f; --o3: #ffb36b; --green: #34d399; --green2: #10b981; --red: #f87171;
  --grad: linear-gradient(100deg, #ffb36b 0%, #ff8a3d 40%, #ff5c1f 100%); --radius: 20px;
}
body { background: var(--bg); color: var(--text); overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: -30% -10% auto -10%; height: 900px; pointer-events: none; z-index: -1;
  background: radial-gradient(520px 420px at 78% 18%, rgba(255,92,31,.20), transparent 70%), radial-gradient(480px 380px at 12% 40%, rgba(139,92,246,.12), transparent 70%), radial-gradient(420px 360px at 60% 70%, rgba(16,185,129,.07), transparent 70%); filter: blur(30px); }
h1, h2, h3, h4 { font-family: "Plus Jakarta Sans", "Inter", sans-serif; letter-spacing: -.03em; color: var(--text); }
h1 { font-weight: 800; } h2 { font-weight: 800; }
.serif { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.gt { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { color: var(--o3); font-size: 12.5px; letter-spacing: .16em; display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 20px; height: 1px; background: currentColor; opacity: .7; }
.lead { color: var(--soft); }
.muted { color: var(--muted); }
a { color: inherit; }
p a, .small a, .card a:not(.btn) { color: var(--o3); text-underline-offset: 3px; }

/* nav */
.nav { background: rgba(6,7,11,.72); backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--line); }
.nav .wrap { height: 70px; }
.nav .links a { color: var(--soft); }
.nav .links a:hover { color: var(--text); }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo .wm { display: inline-flex; align-items: baseline; font-family: "Outfit", sans-serif; font-size: 24px; line-height: 1.2; letter-spacing: -.035em; color: #fff; white-space: nowrap; }
.logo .wm .app { font-weight: 300; } .logo .wm .earn { font-weight: 800; color: #FF7A2E; } .logo .wm .pk { font-weight: 400; color: #7d8293; margin-left: .03em; }
.logo .wm .i { position: relative; display: inline-block; }
.logo .wm .coin { position: absolute; left: 50%; top: -.04em; width: .42em; height: .42em; transform: translateX(-50%); filter: drop-shadow(0 0 .14em rgba(255,176,32,.55)); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.logo .wm .coin svg { width: 100%; height: 100%; display: block; }
.logo:hover .wm .coin { transform: translateX(-50%) translateY(-.08em) rotateY(180deg); }
.logo .tag { margin-left: 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--o3); border: 1px solid rgba(255,179,107,.35); padding: 3px 8px; border-radius: 999px; }

/* buttons */
.btn { border-radius: 14px; }
.btn-primary { background: var(--grad); color: #1a0a02; box-shadow: 0 12px 40px rgba(255,92,31,.32), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-primary:hover { background: var(--grad); filter: brightness(1.05); }
.btn-ghost { background: rgba(255,255,255,.06); color: var(--text); border: 1px solid var(--line2); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-wa { background: rgba(37,211,102,.12); color: #4ade80; border: 1px solid rgba(37,211,102,.32); }
.btn-green { background: linear-gradient(100deg, #34d399, #10b981); color: #03140d; }
.nav .links a.btn { color: #1a0a02; }

/* surfaces */
.card, .mission, .stat, .inc, .price-card { background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.02)); border: 1px solid var(--line); backdrop-filter: blur(10px); box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.card p { color: var(--soft); }
input, select, textarea { background: var(--input); border: 1px solid var(--line2); color: var(--text); }
input::placeholder { color: #6b7080; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(255,138,61,.55); border-color: transparent; background: rgba(255,255,255,.07); }
label { color: var(--soft); }
.tabs { background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.tabs button { color: var(--muted); }
.tabs button.on { background: rgba(255,255,255,.1); color: var(--text); box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.or { color: var(--muted); }
.msg.err { background: rgba(248,113,113,.12); color: #fca5a5; border: 1px solid rgba(248,113,113,.3); }
.msg.ok { background: rgba(52,211,153,.12); color: #6ee7b7; border: 1px solid rgba(52,211,153,.3); }
.icon { background: rgba(255,138,61,.14); } .icon.g { background: rgba(52,211,153,.14); }
.badge { background: rgba(52,211,153,.13); color: #6ee7b7; } .badge.o { background: rgba(255,138,61,.14); color: var(--o3); }
.ticks li::before { color: var(--green); }
.guar { background: rgba(255,138,61,.1); border: 1px solid rgba(255,138,61,.25); }
.guar .i { filter: saturate(.9); }
.price { background: linear-gradient(100deg, #fff, #ffd9b8); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* checkout */
.pay-opt { background: rgba(255,255,255,.035); border: 1px solid var(--line2); }
.pay-opt b { color: var(--text); }
.notice { background: rgba(255,179,107,.1) !important; border: 1px solid rgba(255,179,107,.3) !important; color: var(--soft); }
.notice b { color: var(--text); }

/* status pills */
.status.pending { background: rgba(251,191,36,.14); color: #fcd34d; }
.status.approved { background: rgba(52,211,153,.14); color: #6ee7b7; }
.status.new { background: rgba(255,255,255,.08); color: var(--soft); }
.status.rejected { background: rgba(248,113,113,.14); color: #fca5a5; }

/* course + lesson */
.mission .mnum { background: rgba(255,138,61,.14); color: var(--o3); }
.mission .mt { color: var(--text); }
.lessons li { border-top-color: var(--line); color: var(--soft); }
.lessons.app li a { color: var(--text); }
.lessons.app li a:hover, .side .lessons li.cur a { color: var(--o3); }
.progress-bar { background: rgba(255,255,255,.06); border-color: var(--line); }
.progress-bar div { background: linear-gradient(90deg, #10b981, #34d399); box-shadow: 0 0 16px rgba(52,211,153,.5); }
.dot { border-color: var(--line2); } .dot.done { background: var(--green2); border-color: var(--green2); color: #03140d; }
.player { border: 1px solid var(--line2); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.side h4 { color: var(--muted); }
.side::-webkit-scrollbar { width: 8px; } .side::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 8px; }

/* admin */
table.admin th, table.admin td { border-bottom-color: var(--line); }
table.admin th { color: var(--muted); }
#kpi .card b, #kpi .card .v { color: var(--text); }

/* footer */
footer { border-top: 1px solid var(--line); color: var(--muted); }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

/* legal pages */
.legal h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 8px; }
.legal h3 { margin-top: 30px; font-size: 21px; }
.legal p, .legal li { color: var(--soft); }
.legal .lead { color: var(--text); }

/* 404 */
.err-page .big { font-family: "Plus Jakarta Sans", sans-serif; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 10px 40px rgba(255,92,31,.35)); }
input[type=radio], input[type=checkbox] { accent-color: #ff8a3d; width: auto; }
@media (max-width: 600px) {
  .logo .wm { font-size: 21px; }
  .logo .tag { display: none; }
  .nav .links a[href="/admin"] { display: none; }
}

/* lesson nav: one row, equal buttons on phones */
.lnav { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 600px) { .lnav { display: grid; grid-template-columns: auto 1fr auto; width: 100%; } .lnav .btn { padding: 11px 12px; } }
/* admin list as cards on phones: Approve / Reject always visible */
@media (max-width: 700px) {
  #list table { min-width: 0; } #list thead { display: none; }
  #list table.admin, #list tbody, #list tr, #list td { display: block; width: 100%; }
  #list tr { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-bottom: 12px; background: rgba(255,255,255,.03); }
  #list td { border: 0; padding: 6px 0; }
  #list td.acts { display: flex; gap: 10px; } #list td.acts .btn { flex: 1; padding: 12px; }
}
/* bigger tap targets for small links */
footer a { display: inline-block; padding: 10px 0; }
.small a, p a { padding: 4px 0; display: inline-block; }

.nav .links a:not(.btn) { padding: 12px 0; } .logo { padding: 6px 0; }
#forgot { display: inline-block; padding: 8px 0; }
.copy { min-height: 34px; }

/* payment steps + WhatsApp screenshot button */
.paysteps, .shotsteps { margin: 8px 0 4px; padding-left: 22px; color: var(--soft); font-size: 15px; }
.paysteps li, .shotsteps li { margin: 6px 0; padding-left: 4px; }
.paysteps li::marker, .shotsteps li::marker { color: var(--o3); font-weight: 800; }
.shotsteps { text-align: left; max-width: 460px; margin: 22px auto 0; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px 16px 40px; }
.btn-wa-solid { background: #25d366; color: #04210f; font-size: 17px; padding: 16px 26px; box-shadow: 0 12px 34px rgba(37,211,102,.35); width: 100%; max-width: 420px; }
.btn-wa-solid:hover { background: #2be06f; }

/* ===== My course page (cx-*): clear progress, one "continue" card, missions that obviously open ===== */
.cx-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.cx-hello h1 { font-size: clamp(30px, 4.4vw, 40px); margin: 6px 0 6px; }
.cx-stats { display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.035); }
.cx-stats b { display: block; font-size: 15px; } .cx-stats .small { display: block; margin-top: 2px; }
.cx-ring { --p: 0; width: 58px; height: 58px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: radial-gradient(closest-side, #0d0f16 78%, transparent 80% 100%), conic-gradient(var(--green) calc(var(--p) * 1%), rgba(255,255,255,.09) 0); }
.cx-ring span { font-size: 14px; font-weight: 800; color: var(--text); }

.cx-next { margin-top: 26px; display: flex; align-items: center; gap: 18px; padding: 18px 20px; border-radius: 20px; text-decoration: none; color: var(--text);
  background: linear-gradient(120deg, rgba(255,138,61,.16), rgba(255,92,31,.06) 60%, rgba(255,255,255,.02)); border: 1px solid rgba(255,138,61,.35);
  box-shadow: 0 20px 60px rgba(0,0,0,.35); transition: border-color .15s, transform .15s; }
.cx-next:hover { border-color: rgba(255,138,61,.7); transform: translateY(-1px); }
.cx-play { width: 54px; height: 54px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--grad); box-shadow: 0 10px 30px rgba(255,92,31,.4); }
.cx-play svg { width: 22px; height: 22px; fill: #1a0a02; margin-left: 3px; }
.cx-next-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cx-next-t b { font-size: 19px; font-family: "Plus Jakarta Sans", "Inter", sans-serif; letter-spacing: -.02em; }
.cx-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--o3); }
.cx-next-btn { flex: none; pointer-events: none; }

.cx-bar { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 40px 0 14px; }
.cx-bar h2 { font-size: 24px; margin: 0 0 4px; } .cx-bar p { margin: 0; }
.cx-bar .btn { flex: none; }

.cx-m { border: 1px solid var(--line); border-radius: 18px; margin-bottom: 12px; overflow: hidden; background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); transition: border-color .15s; }
.cx-m:hover, .cx-m[open] { border-color: var(--line2); }
.cx-m.is-now { border-color: rgba(255,138,61,.35); }
.cx-m summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 18px 20px; user-select: none; }
.cx-m summary::-webkit-details-marker { display: none; }
.cx-m summary:hover { background: rgba(255,255,255,.025); }
.cx-m summary:focus-visible { outline: 2px solid rgba(255,138,61,.6); outline-offset: -2px; border-radius: 18px; }
.cx-badge { width: 46px; height: 46px; border-radius: 14px; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 16px; background: rgba(255,138,61,.14); color: var(--o3); }
.cx-badge svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cx-m.is-done .cx-badge { background: rgba(52,211,153,.16); color: var(--green); }
.cx-m.is-locked .cx-badge { background: rgba(255,255,255,.06); color: var(--muted); }
.cx-m-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cx-m-k { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cx-m-t b { font-size: 18px; font-family: "Plus Jakarta Sans", "Inter", sans-serif; letter-spacing: -.02em; }
.cx-m-meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13.5px; margin-top: 4px; flex-wrap: wrap; }
.cx-mini { width: 70px; height: 5px; border-radius: 9px; background: rgba(255,255,255,.08); overflow: hidden; display: inline-block; }
.cx-mini i { display: block; height: 100%; background: var(--green); border-radius: 9px; }
.cx-pill { flex: none; font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--soft); }
.cx-pill.p-done { background: rgba(52,211,153,.14); color: #6ee7b7; }
.cx-pill.p-now { background: rgba(255,138,61,.16); color: var(--o3); }
.cx-pill.p-locked { color: var(--muted); }
.cx-tog { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 14px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(255,255,255,.04); font-size: 13.5px; font-weight: 600; color: var(--text); }
.cx-m summary:hover .cx-tog { background: rgba(255,255,255,.09); }
.cx-tog svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.cx-m[open] .cx-tog svg { transform: rotate(180deg); }
.cx-tog .t-hide, .cx-m[open] .cx-tog .t-show { display: none; } .cx-m[open] .cx-tog .t-hide { display: inline; }

.cx-lessons { list-style: none; margin: 0; padding: 4px 12px 12px; border-top: 1px solid var(--line); }
.cx-lessons li a, .cx-li-row { display: flex; align-items: center; gap: 14px; padding: 12px 12px; border-radius: 12px; text-decoration: none; color: var(--text); min-height: 52px; }
.cx-lessons li a:hover { background: rgba(255,255,255,.05); }
.cx-li-ic { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; border: 1.5px solid var(--line2); color: var(--soft); }
.cx-li-ic svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.cx-li-ic svg .f { fill: currentColor; stroke: none; }
.cx-li-ic svg .f { transform: translateX(1px); }
.cx-lessons li a:hover .cx-li-ic { border-color: var(--orange); color: var(--orange); }
.is-done .cx-li-ic { background: var(--green2); border-color: var(--green2); color: #03140d; }
.is-next a { background: rgba(255,138,61,.09); box-shadow: inset 3px 0 0 var(--orange); }
.is-next .cx-li-ic { background: var(--grad); border-color: transparent; color: #1a0a02; }
.is-locked .cx-li-row { color: var(--muted); cursor: not-allowed; }
.is-locked .cx-li-ic { border-style: dashed; color: var(--muted); }
.cx-li-t { flex: 1; min-width: 0; font-size: 15.5px; line-height: 1.35; }
.cx-li-n { color: var(--muted); font-variant-numeric: tabular-nums; margin-right: 10px; font-weight: 600; }
.is-done .cx-li-t { color: var(--soft); }
.cx-li-d { flex: none; color: var(--muted); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.cx-tag { display: inline-block; margin-left: 10px; vertical-align: 2px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--grad); color: #1a0a02; }
.cx-tag.free { background: rgba(52,211,153,.16); color: #6ee7b7; }

.cx-res { margin: 0 12px 14px; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px dashed var(--line2); }
.cx-res-h { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.cx-res-l { display: flex; gap: 10px; flex-wrap: wrap; }
.cx-file { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(255,255,255,.04); color: var(--text) !important; text-decoration: none; font-size: 14.5px; font-weight: 600; }
.cx-file:hover { background: rgba(255,255,255,.08); border-color: rgba(255,138,61,.5); }
.cx-file svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.cx-file svg:first-child { color: var(--o3); } .cx-file svg:last-child { color: var(--muted); }

@media (max-width: 720px) {
  .cx-head { align-items: stretch; flex-direction: column; gap: 16px; }
  .cx-stats { width: 100%; }
  .cx-next { flex-wrap: wrap; padding: 16px; gap: 14px; }
  .cx-play { width: 46px; height: 46px; }
  .cx-next-t b { font-size: 17px; }
  .cx-next-btn { width: 100%; }
  .cx-bar { margin-top: 32px; }
  .cx-m summary { flex-wrap: wrap; gap: 12px 14px; padding: 16px; }
  .cx-m-t { flex: 1 1 calc(100% - 64px); }
  .cx-pill { order: 3; }
  .cx-tog { order: 4; margin-left: auto; }
  .cx-lessons { padding: 4px 6px 8px; }
  .cx-lessons li a, .cx-li-row { padding: 12px 10px; gap: 12px; }
  .cx-li-n { display: block; margin: 0 0 1px; font-size: 13px; }
  .cx-tag { margin-left: 0; margin-top: 4px; display: table; }
  .cx-res { margin: 0 6px 10px; }
  .cx-file { flex: 1 1 100%; }
  .cx-file span { flex: 1; }
}
.cx-prog { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }

/* payment method cards with the real JazzCash / Easypaisa logos */
.pay-box { gap: 12px; }
.pay-opt { display: flex; flex-direction: column; gap: 4px; transition: border-color .15s, background .15s; }
.pay-opt:hover { border-color: rgba(255,138,61,.5); }
.pay-top { display: flex; align-items: center; gap: 12px; }
.pay-top input[type=radio] { width: 18px; height: 18px; margin: 0; flex: none; }
.pay-logo { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 6px 12px; border-radius: 10px; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.pay-logo img { height: 100%; width: auto; max-width: 130px; object-fit: contain; display: block; }
.pay-opt b { margin-top: 8px; }
#google svg { flex: none; }

/* prices: own number font (Outfit, as in the logo) + diagonal strike that never hides a digit */
.price { font-family: "Outfit", "Inter", sans-serif; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: lining-nums tabular-nums; }
.was-i { font-family: "Outfit", "Inter", sans-serif; font-weight: 400; text-decoration: none; position: relative; display: inline-block; color: var(--muted); letter-spacing: .01em; }
.was-i::after { content: ""; position: absolute; left: -6%; right: -6%; top: 52%; height: 2px; border-radius: 2px; background: rgba(248,113,113,.9); transform: rotate(-12deg); pointer-events: none; }

/* ---------- checkout: shorter form + screenshot upload ---------- */
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .f2 { grid-template-columns: 1fr; } }
label .opt { font-weight: 500; color: var(--muted); font-size: 12.5px; margin-left: 6px; }
.shot-drop { display: flex; align-items: center; gap: 14px; margin: 0; padding: 14px 16px; border: 1.5px dashed rgba(255,255,255,.22); border-radius: 14px; background: rgba(255,255,255,.03); cursor: pointer; color: var(--text, #fff); transition: border-color .15s, background .15s; }
.shot-drop:hover { border-color: var(--o3, #ff8a3d); background: rgba(255,138,61,.06); }
.shot-drop.has { border-style: solid; border-color: rgba(34,197,94,.55); background: rgba(34,197,94,.06); }
.shot-drop input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.shot-drop:focus-within { outline: 2px solid var(--o3, #ff8a3d); outline-offset: 2px; }
.shot-ic { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(255,138,61,.14); color: var(--o3, #ff8a3d); }
.shot-t { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.shot-t b { font-size: 15px; }
.shot-drop img { width: 44px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); flex: none; }
.shot-thumb { display: block; max-width: 220px; max-height: 360px; border-radius: 10px; border: 1px solid var(--line); margin-top: 8px; }
.shot-thumb { cursor: zoom-in; } .shot-thumb.big { max-width: min(520px, 100%); max-height: none; cursor: zoom-out; }

/* checkout: one column, order summary above the submit button */
.co-one { max-width: 640px; margin: 0 auto; }
.co-sum { margin-top: 26px; padding: 18px; border: 1px solid rgba(255,138,61,.35); border-radius: 18px; background: linear-gradient(150deg, rgba(255,138,61,.12), rgba(255,255,255,.03) 60%); }
.co-sum-top { display: flex; align-items: center; gap: 14px; }
.co-sum-top > img { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--orange, #ea580c); flex: none; object-fit: cover; }
.co-sum-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.co-sum-k { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--o3, #ff8a3d); }
.co-sum-t b { font-size: 17px; }
.co-sum-p { display: flex; flex-direction: column; align-items: flex-end; flex: none; line-height: 1.1; gap: 2px; }
.co-sum-p .was-i { font-family: "Outfit", sans-serif; font-size: 15px; color: var(--muted); }
.co-sum-p .price { font-size: 32px; margin: 0; }
.co-save { font-size: 12px; font-weight: 700; color: #4ade80; background: rgba(34,197,94,.12); border-radius: 999px; padding: 3px 9px; margin-top: 4px; white-space: nowrap; }
.co-inc { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 14.5px; color: var(--soft, #ddd); }
.co-inc li::before { content: "✓"; color: #4ade80; font-weight: 800; margin-right: 8px; }
.co-guar { display: flex; gap: 12px; align-items: center; margin-top: 14px; padding: 11px 14px; border-radius: 12px; background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.28); font-size: 14px; }
.co-guar-i { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #4ade80; background: rgba(34,197,94,.16); }
.co-guar-t { display: flex; flex-direction: column; gap: 1px; }
.co-guar-t b { font-size: 14.5px; }
@media (max-width: 480px) {
  .co-sum { padding: 16px 14px; }
  .co-sum-top { flex-wrap: wrap; }
  .co-sum-top > img { width: 44px; height: 44px; }
  .co-sum-t { flex-basis: calc(100% - 60px); }
  .co-sum-p { flex-direction: row; align-items: baseline; gap: 10px; width: 100%; flex-wrap: wrap; padding-top: 10px; }
  .co-sum-p .price { font-size: 30px; order: -1; }
  .co-inc { grid-template-columns: 1fr; gap: 6px; }
}

/* course page: student WhatsApp group card */
.cx-group { margin-top: 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; border-color: rgba(34,197,94,.28); }
.cx-group-i { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; color: #4ade80; background: rgba(34,197,94,.14); }
.cx-group-t { flex: 1; min-width: 220px; }
.cx-group-t h3 { margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cx-group-t p { margin: 4px 0 0; }
.cx-soon { font-family: "Inter", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: #fbbf24; background: rgba(251,191,36,.12); border: 1px solid rgba(251,191,36,.3); border-radius: 999px; padding: 3px 10px; }

/* admin: search, refunded status, compact number tables on phones */
.adm-q { margin-top: 14px; max-width: 640px; }
.status.refunded { background: rgba(148,163,184,.16); color: #cbd5e1; }
#weeks table.admin td, #src table.admin td { font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  #weeks table.admin, #src table.admin { font-size: 13.5px; }
  #weeks table.admin th, #src table.admin th { font-size: 10.5px; letter-spacing: .02em; padding: 8px 4px; }
  #weeks table.admin td, #src table.admin td { padding: 8px 4px; }
}

/* ---------- loading placeholders (lesson + My course): shimmer until the real content arrives ---------- */
@keyframes sk-shine { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.sk-bar, .sk .sk-t, .sk .btn, .sk.cx-next .cx-play {
  background: linear-gradient(90deg, rgba(255,255,255,.05) 25%, rgba(255,255,255,.13) 37%, rgba(255,255,255,.05) 63%) !important;
  background-size: 400% 100% !important; animation: sk-shine 1.4s ease infinite; border-radius: 8px;
}
.sk .sk-t { color: transparent !important; -webkit-text-fill-color: transparent; user-select: none; }
.sk .btn, .sk.cx-next .cx-play { color: transparent !important; border-color: transparent !important; box-shadow: none !important; pointer-events: none; }
.sk .btn * , .sk.cx-next .cx-play * { visibility: hidden; }
.sk.cx-next { pointer-events: none; border-color: var(--line) !important; background: var(--card) !important; }
.sk.cx-stats .cx-ring { opacity: .35; }
.sk.cx-stats .cx-ring span { visibility: hidden; }
.sk-bar { display: block; height: 12px; }
.side.sk .sk-h { height: 11px; margin: 16px 0 10px; }
.side.sk .sk-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.side.sk .sk-dot { width: 18px; height: 18px; border-radius: 50%; flex: none; }
.side.sk .sk-row .sk-bar:not(.sk-dot) { height: 12px; }
.sk-m { display: flex; align-items: center; gap: 16px; padding: 20px !important; margin-top: 12px; }
.sk-m .sk-badge { width: 44px; height: 44px; border-radius: 14px; flex: none; }
.sk-m .sk-m-t { flex: 1; display: flex; flex-direction: column; gap: 9px; }
/* video loader over the player */
.player .vload { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  text-align: center; padding: 20px; background: radial-gradient(closest-side, rgba(0,0,0,.55), rgba(0,0,0,.25)); pointer-events: none; }
.player .vload b { font-size: 16px; font-weight: 700; color: #fff; }
.player .vload .vl-s { max-width: 360px; font-size: 14px; color: var(--soft); line-height: 1.5; }
.player .vload .btn { pointer-events: auto; margin-top: 4px; }
.spin { width: 44px; height: 44px; border-radius: 50%; border: 4px solid rgba(255,255,255,.14); border-top-color: var(--orange); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .sk-bar, .sk .sk-t, .sk .btn { animation: none; } .spin { animation-duration: 2.4s; } }
.player .vload { padding-bottom: 64px; }
@media (max-width: 600px) {
  .player .vload { gap: 6px; padding: 12px 16px 52px; }
  .player .vload .spin { width: 32px; height: 32px; border-width: 3px; }
  .player .vload b { font-size: 14px; }
  .player .vload .vl-s { font-size: 12.5px; max-width: 280px; }
}
.player.is-err video { visibility: hidden; }
.player.is-err .vload { padding-bottom: 20px; }
