/* CASH TI MACHANN — Demo. Fon blan, wouj/nwa mak la, ekran senp. */
/* PALÈT OFISYÈL CASH TI MACHANN — valè EGZAK echantiyone depi fichye logo ofisyèl la (31 okt. 2026):
   wouj prensipal #ED0000 (pik logo a #FA0000 · lonbraj fon #A70101/#AD0000) + NWA PI #0A0A0A + BLAN.
   (Pa konfonn ak wouj NALA a — mak separe.) Sous inik koulè pou TOUT sifas yo (app, splash, APK). */
:root { --wouj: #ED0000; --wouj-pik: #FA0000; --wouj-mwayen: #D10F0E; --wouj-fonse: #A70101;
  --grad-wouj: linear-gradient(135deg, #FB2A2A, #AD0000);
  --nwa: #0A0A0A; --gri: #666; --liy: #e5e5e5; --fon: #fff; --wouj-pal: #FDECEA; }
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Segoe UI', Arial, sans-serif; background: var(--fon); color: var(--nwa); }
header.app { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 2px solid var(--wouj); }
header.app img { height: 44px; }
header.app .tit { font-weight: 800; font-size: 18px; }
header.app .tit span { color: var(--wouj); }
header.app .dekonn { margin-left: auto; }
header.app .lang-slot { margin-left: auto; }
header.app .lang-slot + .dekonn { margin-left: 0; }
header.app .login-slot { margin-left: 2px; }
.login-box { position: relative; }
header.app .login-btn { padding: 8px 13px; font-size: 13.5px; border-radius: 9px; display: inline-flex; align-items: center; gap: 6px; }
.login-caret { font-size: .78em; line-height: 1; }
.login-menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--liy); border-radius: 14px; box-shadow: 0 18px 38px rgba(10,10,10,.18); min-width: 230px; max-width: 86vw; padding: 6px; z-index: 200; display: flex; flex-direction: column; gap: 2px; }
.login-menu[hidden] { display: none; }
.login-menu a { color: var(--nwa); border-radius: 9px; padding: 11px 13px; font-size: 14.5px; font-weight: 700; white-space: nowrap; text-decoration: none; }
.login-menu a:hover { background: var(--wouj-pal); color: var(--wouj-fonse); }
select.lang-chwazi { width: auto; margin: 0; padding: 8px 10px; font-size: 14px; font-weight: 600; }
main { max-width: 980px; margin: 0 auto; padding: 16px; }
.kare { border: 1px solid var(--liy); border-radius: 12px; padding: 16px; margin-bottom: 14px; background: #fff; }
.balans { font-size: 26px; font-weight: 800; }
.balans small { font-size: 13px; color: var(--gri); font-weight: 400; }
.tuil-yo { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.tuil { border: 1px solid var(--liy); border-top: 4px solid var(--wouj); border-radius: 10px; padding: 14px 10px; text-align: center; cursor: pointer; background: #fff; font-weight: 600; }
.tuil:hover { background: #fdf2f4; }
.tuil.off { opacity: .45; cursor: default; }
.tuil .sou { display: block; font-size: 11px; color: var(--gri); font-weight: 400; margin-top: 4px; }
button { background: var(--wouj); color: #fff; border: 0; border-radius: 8px; padding: 10px 16px; font-weight: 700; cursor: pointer; font-size: 15px; }
button.sekonde { background: #fff; color: var(--nwa); border: 1px solid var(--nwa); }
button:disabled { opacity: .5; cursor: default; }
input, select, textarea { width: 100%; padding: 10px; border: 1px solid #bbb; border-radius: 8px; font-size: 15px; margin: 4px 0 12px; }
label { font-weight: 600; font-size: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { border-bottom: 1px solid var(--liy); padding: 8px 6px; text-align: left; }
th { background: #fafafa; }
.badj { background: var(--wouj); color: #fff; border-radius: 999px; padding: 1px 8px; font-size: 12px; font-weight: 700; }
.mesaj { border-radius: 8px; padding: 10px 12px; margin: 10px 0; font-size: 14px; }
.mesaj.ok { background: #e8f7ee; border: 1px solid #2e7d32; }
.mesaj.ere { background: #fdecec; border: 1px solid var(--wouj); }
.mesaj.annatant { background: #fff6e0; border: 1px solid #b8860b; }
nav.bare { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
nav.bare button { background: #fff; color: var(--nwa); border: 1px solid var(--liy); font-weight: 600; }
nav.bare button.aktif { background: var(--nwa); color: #fff; }
.kache { display: none; }
.resi { border: 2px dashed var(--nwa); border-radius: 10px; padding: 14px; font-size: 14px; }
.resi .ref { font-weight: 800; font-size: 16px; }
.kod-gran { font-size: 22px; font-weight: 800; letter-spacing: 4px; text-align: center; padding: 10px; }
.gri { color: var(--gri); font-size: 13px; }
.wouj { color: var(--wouj); }
a { color: var(--wouj); }
footer { text-align: center; color: var(--gri); font-size: 12px; padding: 18px; }

/* ===== APP MOBIL — modèl akèy MonCash/NatCash, koulè CTM, mezi NÒMAL mobil (31 okt. pwodiksyon) ===== */
body.app-mobil main { max-width: 560px; padding-bottom: 96px; }
.app-tet { display: flex; align-items: center; gap: 10px; padding: 4px 2px 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-wouj); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; flex: none; }
.app-tet .kiyes { flex: 1; min-width: 0; }
.app-tet .non { font-weight: 700; font-size: 16px; color: var(--wouj); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-tet .tel { font-size: 13px; color: var(--gri); }
.ikon-btn { position: relative; background: #fff; border: 1px solid var(--liy); color: var(--nwa); width: 40px; height: 40px; border-radius: 50%; padding: 0; display: flex; align-items: center; justify-content: center; flex: none; }
.ikon-btn svg { width: 20px; height: 20px; }
.ikon-btn .badj { position: absolute; top: -4px; right: -4px; font-size: 11px; padding: 0 5px; }
.kat-balans { background: var(--grad-wouj); color: #fff; border-radius: 16px; padding: 16px; margin-bottom: 14px; box-shadow: 0 6px 18px rgba(167,1,1,.25); }
.kat-balans .etikèt { font-size: 13px; opacity: .9; display: flex; align-items: center; gap: 8px; }
.kat-balans .montan { font-size: 26px; font-weight: 800; margin: 4px 0 2px; }
.kat-balans .montan small { font-size: 13px; font-weight: 600; opacity: .85; }
.kat-balans .je { background: none; border: 0; padding: 2px; color: #fff; display: inline-flex; }
.kat-balans .je svg { width: 18px; height: 18px; }
.kat-balans .id-liy { font-size: 12px; opacity: .85; margin-bottom: 12px; }
.kat-balans .aksyon { display: flex; gap: 10px; }
.kat-balans .aksyon button { flex: 1; padding: 10px; font-size: 15px; }
.kat-balans .btn-depo { background: #fff; color: var(--wouj-fonse); }
.kat-balans .btn-retre { background: transparent; color: #fff; border: 1.5px solid #fff; }
.aksyon-vit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.seksyon-tit { font-size: 16px; font-weight: 800; margin: 14px 0 10px; }
.griy-eksplore { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 6px; margin-bottom: 8px; }
.tuil-app { background: none; border: 0; color: var(--nwa); padding: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.tuil-app .ikòn { width: 52px; height: 52px; border-radius: 50%; background: var(--wouj-pal); color: var(--wouj-fonse); display: flex; align-items: center; justify-content: center; }
.tuil-app .ikòn svg { width: 24px; height: 24px; }
.tuil-app:active .ikòn { background: #fbd9d6; }
.karousel { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-bottom: 6px; }
.kat-promo { flex: 0 0 82%; scroll-snap-align: start; border-radius: 14px; padding: 14px; color: #fff; min-height: 96px; }
.kat-promo.nwa { background: var(--nwa); }
.kat-promo.wouj { background: var(--grad-wouj); }
.kat-promo .t { font-weight: 800; font-size: 15px; margin-bottom: 4px; }
.kat-promo .k { font-size: 13px; opacity: .92; }
.ba-anba { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--liy); display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); z-index: 50; max-width: 560px; margin: 0 auto; }
.ba-anba button { background: none; border: 0; color: var(--gri); font-size: 11px; font-weight: 600; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 0; }
.ba-anba button svg { width: 22px; height: 22px; }
.ba-anba button.aktif { color: var(--wouj); }
.ba-anba .eskane { margin-top: -18px; }
.ba-anba .eskane .ikòn { width: 52px; height: 52px; border-radius: 50%; background: var(--grad-wouj); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(167,1,1,.35); border: 3px solid #fff; }
.ba-anba .eskane svg { width: 26px; height: 26px; }
.pwofil-id { font-size: 20px; font-weight: 800; letter-spacing: 1px; }
.promo-kod { font-size: 18px; font-weight: 800; color: var(--wouj-fonse); letter-spacing: 1px; }
.splash { position: fixed; inset: 0; background: #fff; z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.splash img { width: 120px; height: 120px; border-radius: 26px; }
.splash .non { font-weight: 800; font-size: 20px; }
.splash .non span { color: var(--wouj); }
@media (min-width: 700px) { .ba-anba { border-left: 1px solid var(--liy); border-right: 1px solid var(--liy); } }
@media (max-width: 560px) {
  header.app { flex-wrap: wrap; row-gap: 6px; padding: 8px 10px; }
  header.app img { height: 36px; }
  header.app .tit { font-size: 16px; }
  header.app .dekonn button { padding: 8px 10px; font-size: 13px; }
  select.lang-chwazi { padding: 6px 8px; font-size: 13px; }
  h2 { font-size: 19px; }
}

/* ===== WONN KONEKSYON + AGRANDISMAN (31 okt. 2026) ===== */
/* Je modpas (UI sèlman) */
.chan-je { position: relative; }
.chan-je input { width: 100%; padding-right: 44px; }
.je-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 6px; color: var(--gri); display: inline-flex; cursor: pointer; }
.je-btn svg { width: 20px; height: 20px; }
/* Telefòn: selektè peyi + prefik FIKS */
.tel-ranje { display: flex; gap: 8px; align-items: stretch; }
.tel-ranje .peyi-sel { flex: 0 0 42%; max-width: 210px; }
.tel-prefiks { display: inline-flex; align-items: center; padding: 0 10px; background: #f4f4f4; border: 1px solid var(--liy); border-radius: 8px; font-weight: 700; white-space: nowrap; }
.tel-ranje input { flex: 1; }
/* Fas kat vityèl la (logo ofisyèl + gradyan mak la) */
.kat-figi { background: var(--grad-wouj); color: #fff; border-radius: 18px; padding: 18px; aspect-ratio: 1.586; max-width: 430px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 10px 24px rgba(167,1,1,.3); margin-bottom: 12px; }
.kat-figi-tet { display: flex; justify-content: space-between; align-items: flex-start; }
.kat-figi-logo { width: 21%; min-width: 72px; max-width: 96px; height: auto; display: block; }
.kat-figi-chip { display: flex; align-items: center; gap: 18px; margin-top: 8px; }
.kat-figi-chip svg:first-child { width: 48px; height: 36px; flex: 0 0 48px; }
.kat-figi-chip svg:last-child { width: 29px; height: 29px; }
.kat-figi-tip { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; opacity: .95; padding-top: 6px; }
.kat-figi-pan { font-size: 21px; letter-spacing: 3px; font-weight: 700; }
.kat-figi-anba { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.kat-figi-anba small { display: block; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; opacity: .85; }
.kat-figi-anba b { font-size: 14px; }
/* Fas kat KADO a (menm prezantasyon) */
.kado-figi { background: var(--grad-wouj); color: #fff; border-radius: 16px; padding: 16px; max-width: 430px; box-shadow: 0 8px 20px rgba(167,1,1,.28); margin: 10px 0; }
.kado-figi .logo-direk { width: 21%; min-width: 68px; max-width: 92px; height: auto; display: block; }
.kado-figi .kod { font-size: 20px; letter-spacing: 2px; font-weight: 800; margin: 12px 0 4px; }
.kado-figi .montan { font-size: 24px; font-weight: 800; }
.kado-figi .mesaj { font-style: italic; opacity: .95; margin-top: 6px; }
/* Liy pwofil (Mon Profil reòganize) */
.pf-limit { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.pf-limit .kat-mini { background: #fff; border: 1px solid var(--liy); border-top: 4px solid var(--wouj); border-radius: 12px; padding: 12px; }
.pf-limit .kat-mini .val { font-size: 19px; font-weight: 800; }
.pf-limit .kat-mini .etik { font-size: 12px; color: var(--gri); }
.pf-liy { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: #fff; border: 1px solid var(--liy); border-radius: 12px; padding: 13px 14px; margin-bottom: 8px; font-size: 15px; cursor: pointer; color: var(--nwa); }
.pf-liy .ik { width: 34px; height: 34px; border-radius: 50%; background: var(--wouj-pal); color: var(--wouj-fonse); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 34px; }
.pf-liy .ik svg { width: 18px; height: 18px; }
.pf-liy .fl { margin-left: auto; color: var(--gri); }
.pf-liy .badj { margin-left: auto; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 20px; }
.pf-liy .badj { max-width: 58%; overflow-wrap: anywhere; text-align: right; }
.pf-liy .badj.ok { background: #e6f6ec; color: #137333; }
.pf-liy .badj.ann { background: #fdf3e0; color: #9a6a00; }
.pf-dekonekte { width: 100%; background: var(--wouj); color: #fff; border: 0; border-radius: 12px; padding: 14px; font-size: 16px; font-weight: 700; cursor: pointer; margin-top: 6px; }
/* Istorik: onglet + liy */
.ist-ongle { display: flex; gap: 8px; margin: 10px 0 12px; }
.ist-ongle button { flex: 1; padding: 9px; border-radius: 20px; border: 1px solid var(--liy); background: #fff; font-weight: 600; cursor: pointer; color: var(--nwa); }
.ist-ongle button.aktif { background: var(--wouj); border-color: var(--wouj); color: #fff; }
.ist-liy { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: #fff; border: 1px solid var(--liy); border-radius: 12px; padding: 11px 13px; margin-bottom: 8px; cursor: pointer; color: var(--nwa); }
.ist-liy .ik { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 38px; }
.ist-liy .ik.kre { background: #e6f6ec; color: #137333; }
.ist-liy .ik.deb { background: var(--wouj-pal); color: var(--wouj-fonse); }
.ist-liy .ik svg { width: 19px; height: 19px; }
.ist-liy .ko { flex: 1; min-width: 0; }
.ist-liy .non { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ist-liy .eta { font-size: 12px; }
.ist-liy .eta.sikse { color: #137333; } .ist-liy .eta.echek { color: var(--wouj-fonse); } .ist-liy .eta.annatant { color: #9a6a00; }
.ist-liy .dwat { text-align: right; }
.ist-liy .montan { font-weight: 700; font-size: 14px; }
.ist-liy .dat { font-size: 12px; color: var(--gri); }
/* Liy metòd depo / retrè */
.metod-liy { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: #fff; border: 1px solid var(--liy); border-radius: 12px; padding: 14px; margin-bottom: 10px; font-size: 16px; font-weight: 600; cursor: pointer; color: var(--nwa); }
.metod-liy .ik { width: 40px; height: 40px; border-radius: 12px; background: var(--wouj-pal); color: var(--wouj-fonse); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 40px; }
.metod-liy .ik svg { width: 21px; height: 21px; }
.metod-liy .fl { margin-left: auto; color: var(--gri); font-weight: 400; }
/* Logo mak ekstèn yo (MonCash / NatCash) nan plas ikòn jenerik la — lòd PDG a 31 okt. 21:59 */
.metod-liy .ik-logo { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; height: 40px; }
.metod-liy .ik-logo img { height: 32px; width: auto; display: block; }
.metod-liy .ik-logo img.nc { border-radius: 6px; }
/* Banyè Demander de l'argent (gradyan CTM) + pwogresyon 2 etap */
.demany-banye { background: var(--grad-wouj); color: #fff; border-radius: 16px; padding: 16px; margin: 12px 0; box-shadow: 0 6px 18px rgba(167,1,1,.25); }
.demany-banye h3 { margin: 0 0 6px; font-size: 17px; }
.demany-banye p { margin: 0 0 12px; font-size: 13px; opacity: .92; }
.demany-banye button { background: #fff; color: var(--wouj-fonse); border: 0; font-weight: 700; }
.pwogre { display: flex; gap: 6px; margin: 6px 0 14px; }
.pwogre span { flex: 1; height: 5px; border-radius: 3px; background: #eee; }
.pwogre span.aktif { background: var(--wouj); }
.resan-liy { display: flex; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid var(--liy); cursor: pointer; width: 100%; background: none; border-top: 0; border-left: 0; border-right: 0; text-align: left; font-size: 15px; color: var(--nwa); }
.resan-liy .avat { width: 36px; height: 36px; border-radius: 50%; background: var(--wouj-pal); color: var(--wouj-fonse); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 36px; }
/* Dashboard SA PREMIUM (20:51) — kouch vizyèl sèlman */
body.admin-premium nav.bare#nav-admin { position: fixed; left: 0; top: 0; bottom: 0; width: 248px; background: var(--nwa); color: #fff; display: flex; flex-direction: column; gap: 4px; padding: 76px 12px 16px; overflow-y: auto; z-index: 40; border: 0; }
body.admin-premium nav.bare#nav-admin::before { content: ''; position: absolute; top: 10px; left: 16px; width: 116px; height: 56px; background: url('/brand/logo-transparan.png') left center/contain no-repeat; }
body.admin-premium nav.bare#nav-admin button { background: none; border: 0; border-left: 3px solid transparent; color: #e8e8e8; text-align: left; padding: 10px 12px; border-radius: 0 10px 10px 0; font-size: 14px; cursor: pointer; width: 100%; }
body.admin-premium nav.bare#nav-admin button:hover { background: #1d1d1d; }
body.admin-premium nav.bare#nav-admin button.aktif { background: #1d1d1d; border-left-color: var(--wouj); color: #fff; font-weight: 700; }
body.admin-premium header.app, body.admin-premium main { margin-left: 248px; }
body.admin-premium main { background: #fafafa; min-height: 100vh; padding: 18px 22px 40px; }
body.admin-premium #paj-tablo .tuil { background: var(--grad-wouj); color: #fff; border: 0; box-shadow: 0 8px 20px rgba(167,1,1,.25); cursor: pointer; }
body.admin-premium #paj-tablo .tuil .sou { color: #fff; }
body.admin-premium #paj-tablo .tuil .sou { opacity: .95; }
body.admin-premium .kat { box-shadow: 0 2px 10px rgba(0,0,0,.06); border-radius: 14px; }
body.admin-premium th { background: var(--nwa); color: #fff; }
@media (max-width: 900px) {
  body.admin-premium nav.bare#nav-admin { position: static; width: auto; flex-direction: row; flex-wrap: wrap; padding: 66px 10px 10px; }
  body.admin-premium header.app, body.admin-premium main { margin-left: 0; }
  .pf-limit { grid-template-columns: 1fr 1fr; }
  .kat-figi-pan { font-size: 17px; letter-spacing: 2px; }
}

/* ===== WONN DESIGN ANTRE (31 okt. 22:05–22:12) — referans foto-279→284 (CSH Direk), koulè CTM =====
   Stil la: fon blan · bann dyagonal awondi + pwen an wouj/nwa mak la · tit koulè mak la ·
   chan pwòp ak ti ikòn · gwo bouton wouj · ba pwogresyon segmante. Fini a rete pi pwofesyonèl
   pase referans la: espas regilye, tranzisyon pwòp, konsantre sou yon sèl aksyon pa ekran.
   Tout selektè yo NOUVO (prefiks byenvini-/wiz-/etap-/chan-ik/gid-/intro-) — zewo kolizyon. */
.ctm-auth2 .kare { border-radius: 16px; border-color: #ececec; box-shadow: 0 2px 14px rgba(10,10,10,.04); padding: 20px; }
.ctm-auth2 label { display: block; margin: 14px 0 6px; font-size: 13.5px; color: #333; }
.ctm-auth2 input, .ctm-auth2 select, .ctm-auth2 textarea { margin: 0 0 4px; padding: 12px; border-radius: 10px; border-color: #d9d9d9; transition: border-color .15s, box-shadow .15s; }
.ctm-auth2 input:focus, .ctm-auth2 select:focus, .ctm-auth2 textarea:focus { outline: none; border-color: var(--wouj); box-shadow: 0 0 0 3px rgba(237,0,0,.13); }
.btn-gran { width: 100%; padding: 15px 18px; font-size: 16.5px; font-weight: 800; border-radius: 14px; margin-top: 18px; box-shadow: 0 8px 20px rgba(167,1,1,.22); transition: transform .12s, box-shadow .12s, background .15s, opacity .15s; }
.btn-gran:active { transform: scale(.985); }
.btn-gran:disabled { background: #cfcfcf; color: #f5f5f5; box-shadow: none; cursor: not-allowed; }
.tit-wouj { color: var(--wouj); font-size: 25px; font-weight: 800; margin: 4px 0 6px; letter-spacing: -.2px; }
.sou-tit { color: var(--gri); font-size: 14px; margin: 0 0 6px; line-height: 1.45; }
/* Chan ak ti ikòn */
.chan-ik { position: relative; }
.chan-ik > svg { position: absolute; left: 12px; top: 13px; width: 19px; height: 19px; color: #9a9a9a; pointer-events: none; }
.chan-ik > input, .chan-ik > select { padding-left: 40px; }
/* Je a (montre/kache modpas): TOUJOU santre vètikalman nan chan an — règ debaz .je-btn la (top:50% + translateY) gouvène tout kote, san eksepsyon (lòd PDG a 1 nov.: je a nan MITAN chan an). */
/* Bann mak anba ekran koneksyon kliyan an (lòd PDG a 1 nov.): logo a, vizyèl pwomo a, epi fas kat vityèl la — prezantasyon sèlman, zewo done kont. */
.mak-band { text-align: center; padding: 18px 4px 6px; }
.mak-band-logo { width: 148px; max-width: 55%; height: auto; display: block; margin: 0 auto; }
.mak-band-eslogan { font-weight: 800; font-size: 16px; color: var(--nwa); margin: 8px 0 14px; }
.mak-band-eslogan span { color: var(--wouj); }
.mak-band-promo { width: 100%; height: auto; display: block; border-radius: 16px; box-shadow: 0 8px 22px rgba(10,10,10,.18); margin-bottom: 16px; }
.mak-band .kat-figi { margin: 0 auto; text-align: left; }
/* Antre / Byenvini */
.byenvini { position: relative; overflow: hidden; border-radius: 20px; background: #fff; padding: 30px 22px 30px; text-align: center; }
.byenvini::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 12px; height: 5px; border-radius: 99px; background: linear-gradient(90deg, var(--wouj), var(--wouj-pal) 55%, var(--nwa)); opacity: .85; }
.byenvini .deko { position: absolute; border-radius: 999px; transform: rotate(-38deg); pointer-events: none; }
.byenvini .py { position: absolute; border-radius: 50%; pointer-events: none; }
.byenvini .rel { position: relative; z-index: 1; }
.byenvini .tuil-logo { width: 148px; height: 148px; margin: 26px auto 20px; background: #fff; border-radius: 34px; box-shadow: 0 18px 42px rgba(10,10,10,.14), 0 3px 10px rgba(10,10,10,.07); display: flex; align-items: center; justify-content: center; }
.byenvini .tuil-logo img { max-width: 118px; max-height: 118px; display: block; }
.byenvini .mak-non { font-size: 27px; font-weight: 800; letter-spacing: -.3px; margin: 0; }
.byenvini .mak-non span { color: var(--wouj); }
.byenvini .eslogan { color: var(--gri); font-size: 14.5px; margin: 7px 0 4px; }
.byenvini .lang-ranje { display: flex; justify-content: center; margin-bottom: 4px; }
.byenvini .lang-ranje select { width: auto; margin: 0; padding: 7px 30px 7px 12px; border-radius: 999px; border: 1px solid var(--liy); font-size: 13.5px; font-weight: 600; background: #fff; }
.byenvini .pa-kont { margin: 16px 0 2px; font-size: 14.5px; color: #333; }
.byenvini .pa-kont a { font-weight: 800; }
.byenvini .dya-lyen { display: inline-block; margin-top: 14px; font-size: 13.5px; font-weight: 600; }
.byenvini .reprann-bwat { position: relative; z-index: 1; margin-top: 18px; border: 1px dashed var(--wouj); background: #fff7f6; border-radius: 14px; padding: 13px 14px; text-align: left; }
.byenvini .reprann-bwat b { font-size: 14.5px; }
.byenvini .reprann-bwat p { margin: 3px 0 10px; font-size: 13px; color: var(--gri); }
.byenvini .reprann-bwat .ranje { display: flex; gap: 8px; }
.byenvini .reprann-bwat button { flex: 1; padding: 10px; font-size: 14px; }
/* Intro (3 tuil prezantasyon — premye lansman sèlman) */
.intro-tu { text-align: center; padding: 16px 6px 4px; }
.intro-tu .intro-ik { width: 84px; height: 84px; margin: 10px auto 16px; border-radius: 50%; background: var(--wouj-pal); color: var(--wouj-fonse); display: flex; align-items: center; justify-content: center; }
.intro-tu .intro-ik svg { width: 38px; height: 38px; }
.intro-tu h3 { font-size: 19px; margin: 0 0 8px; }
.intro-tu p { color: var(--gri); font-size: 14px; line-height: 1.5; margin: 0 auto 6px; max-width: 300px; }
.intro-pwen { display: flex; gap: 7px; justify-content: center; margin: 16px 0 2px; }
.intro-pwen span { width: 8px; height: 8px; border-radius: 50%; background: #e3e3e3; transition: all .2s; }
.intro-pwen span.aktif { width: 24px; border-radius: 99px; background: var(--wouj); }
/* Wizard enskripsyon an */
.wiz-tet { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.wiz-retou { background: none; border: 0; color: var(--nwa); width: 38px; height: 38px; border-radius: 50%; padding: 0; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.wiz-retou:hover { background: #f5f5f5; }
.wiz-retou svg { width: 21px; height: 21px; }
.wiz-etap-etik { font-size: 12.5px; color: var(--gri); font-weight: 600; }
.wiz-ba { display: flex; gap: 5px; margin: 8px 0 18px; }
.wiz-ba span { flex: 1; height: 6px; border-radius: 99px; background: #ececec; transition: background .3s; }
.wiz-ba span.plen { background: var(--grad-wouj); }
.etap-anim { animation: etapAntre .3s ease both; }
@keyframes etapAntre { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.seg-chwa { display: flex; background: #f3f3f3; border-radius: 12px; padding: 4px; gap: 4px; margin: 4px 0 6px; }
.seg-chwa button { flex: 1; background: transparent; color: #555; border: 0; border-radius: 9px; padding: 10px 6px; font-size: 14px; font-weight: 700; cursor: pointer; box-shadow: none; }
.seg-chwa button.aktif { background: #fff; color: var(--wouj-fonse); box-shadow: 0 2px 8px rgba(10,10,10,.10); }
.kond-ranje { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 14px; line-height: 1.5; }
.kond-ranje input[type="checkbox"] { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--wouj); }
.kond-ranje a { font-weight: 700; }
/* Gid foto + kontwòl kalite */
.gid-foto { position: relative; border: 2px dashed #d5d5d5; border-radius: 18px; background: #fafafa; min-height: 168px; display: flex; align-items: center; justify-content: center; overflow: hidden; margin: 6px 0 10px; }
.gid-foto .gid-oval { width: 118px; height: 148px; border: 2px solid rgba(237,0,0,.45); border-radius: 50%; }
.gid-foto .gid-rekt { width: 76%; height: 118px; border: 2px solid rgba(237,0,0,.45); border-radius: 12px; }
.gid-foto img.prev { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gid-foto .gid-ouvri { position: absolute; inset: auto 12px 12px auto; background: var(--nwa); color: #fff; border: 0; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700; cursor: pointer; box-shadow: none; }
.kalite { font-size: 13.5px; border-radius: 10px; padding: 9px 12px; margin: 4px 0 6px; display: none; }
.kalite.ok { display: block; background: #e8f7ee; border: 1px solid #2e7d32; }
.kalite.ata { display: block; background: #fff6e0; border: 1px solid #b8860b; }
.imel-gri { background: #f2f2f2 !important; color: #555; font-weight: 600; }
.kont-fini { text-align: center; padding: 10px 4px 2px; }
.kont-fini .kont-ik { width: 76px; height: 76px; margin: 8px auto 14px; border-radius: 50%; background: #e8f7ee; color: #2e7d32; display: flex; align-items: center; justify-content: center; }
.kont-fini .kont-ik svg { width: 38px; height: 38px; }
/* Mak Visa/Mastercard kòt a kòt sou liy kat depo a (Detay 7) */
.metod-liy .ik-logo.duo { gap: 6px; }
.metod-liy .ik-logo.duo img { height: 15px; }
/* Banyè verifikasyon imèl an reta (anndan app la) */
.imel-banye .ranje { display: flex; gap: 8px; margin-top: 8px; }
.imel-banye .ranje input { flex: 1; }
.imel-banye .ranje button { flex: none; }

/* ===== WONN DASHBOARD ADMIN + KONEKSYON SA (1 nov.) — modèl NALA, koulè CTM =====
   Antèt premium (logo nan tuil li) · ekran koneksyon divize: panèl fonse ak revèy vivan
   + kat koneksyon an · akèy admin: rezime aktivite jounen an + tuiles modil yo, chak
   nan pwòp koulè pa l, sou fon blan. Prefiks NOUVO: tet-logo / sa- / dash- (zewo kolizyon). */
/* Antèt premium: logo a nan pwòp tuil blan li, dirèk (transparan, zewo fon dèyè logo a) */
header.app .tet-logo { background: #fff; border: 1px solid var(--liy); border-radius: 14px; padding: 5px 12px; box-shadow: 0 4px 14px rgba(10,10,10,.08); display: inline-flex; align-items: center; flex: none; }
header.app .tet-logo img { height: 40px; display: block; }
header.app .tet-wol { color: var(--wouj); font-weight: 700; font-size: 13px; }
/* Anvan koneksyon an: zewo maj lateral ba a (panèl divize a pran tout lajè a) */
body.admin-premium:has(#ekran-auth:not(.kache)) header.app,
body.admin-premium:has(#ekran-auth:not(.kache)) main { margin-left: 0; }
/* WONN EKRAN PLEN (1 nov.): konpozisyon koneksyon an pran TOUT ekran an (100vw × 100vh) —
   body a vin yon kolòn fleks wotè viewport la: antèt mens lan (selektè lang la) anlè,
   konpozisyon an ranpli tout rès la, zewo espas vid mòde, zewo woulman paj. */
body.admin-premium:has(#ekran-auth:not(.kache)) { height: 100vh; height: 100dvh; display: flex; flex-direction: column; }
body.admin-premium:has(#ekran-auth:not(.kache)) main { margin: 0; max-width: none !important; width: 100%; flex: 1 1 auto; min-height: 0; padding: 0; display: flex; }
body.admin-premium:has(#ekran-auth:not(.kache)) footer { display: none; }
body.admin-premium:has(#ekran-auth:not(.kache)) #ekran-auth { flex: 1 1 auto; min-height: 0; min-width: 0; width: 100%; display: flex; }
/* Ekran koneksyon divize a — PLEN EKRAN: panèl mak la wotè nèt, zòn fòmilè a rès lajè a */
.sa-konek { display: grid; grid-template-columns: minmax(400px, 38%) 1fr; overflow: hidden; background: #fff; width: 100%; height: 100%; flex: 1 1 auto; }
/* PANÈL NWA + MEDAYON OVAL BLAN (desizyon PDG a, 1 nov. 08:52): panèl la rete NWA
   (#0A0A0A — pati nwa mak la pa retire); logo a chita sou yon fon BLAN OVAL (medayon
   elipse ki swiv fòm oval logo a, PA yon kare blan) — konsa « Cash » (nwa) ak
   « Ti Machann » (wouj) lizib 100 % sou nwa a. Bann dyagonal wouj la rete kòm aksan;
   non an rete sou nwa a (Cash an blan, Ti Machann an wouj); lè+dat an blan, lizib. */
.sa-pan { background: var(--nwa); color: #fff; padding: 52px 48px 40px; display: flex; flex-direction: column; align-items: flex-start; position: relative; overflow: hidden; border-right: 1px solid var(--liy); }
/* Bann dyagonal prim (menm langaj ak ekran antre apwouve yo) */
.sa-pan::before { content: ""; position: absolute; top: -70px; right: -130px; width: 300px; height: 130px; background: linear-gradient(135deg, var(--wouj) 0%, var(--wouj-fonse) 100%); transform: rotate(24deg); border-radius: 0 0 0 26px; opacity: .92; }
.sa-pan::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--wouj), var(--wouj-pal) 60%, var(--nwa)); }
.sa-pan > * { position: relative; z-index: 1; }
/* Logo a sou MEDAYON BLAN OVAL la: elipse (border-radius 50 %) ki swiv rapò oval
   logo a (~1.56), padding kalkile pou espas respire a egal toutotou travay atistik
   la (logo a 240×160, zòn atistik la ~225×144 anndan PNG a) — zewo kare, zewo pati
   k ap disparèt. Lonbraj lejè a leve medayon an sou fon nwa a. */
.sa-pan .pan-logo { display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 50%; padding: 20px 36px; margin-bottom: 26px; box-shadow: 0 10px 28px rgba(0,0,0,.35); }
.sa-pan .pan-logo img { width: 240px; max-width: 100%; height: auto; display: block; }
.sa-pan .pan-non { font-size: 32px; font-weight: 800; letter-spacing: -.2px; margin: 0; }
.sa-pan .pan-non span { color: var(--wouj); }
.sa-pan .pan-eslogan { color: #d9d9d9; font-size: 16px; margin: 9px 0 5px; }
.sa-pan .pan-wol { color: #b5b5b5; font-size: 13.5px; font-weight: 600; margin: 0; }
.sa-pan .pan-le { margin-top: auto; padding-top: 34px; }
.sa-pan .pan-ure { font-size: 44px; font-weight: 800; letter-spacing: 1.5px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.sa-pan .pan-dat { color: #cccccc; font-size: 16px; margin-top: 3px; }
.sa-pan .pan-dat::first-letter { text-transform: uppercase; }
/* Zòn fòmilè a: kat la santre nan tout wotè/lajè ki rete a, woulman entèn si l depase */
.sa-kat { padding: 40px 48px; display: flex; overflow-y: auto; min-height: 0; }
.sa-kat .kare { border: 0; box-shadow: none; margin: auto; padding: 0; width: 100%; max-width: 560px; }
.sa-kat h2 { margin-top: 2px; font-size: 26px; }
/* Selektè metòd koneksyon an (telefòn+PIN / imèl+modpas): 2 bouton, youn aktif */
.metod-sel { display: flex; gap: 8px; margin: 4px 0 18px; }
.metod-btn { flex: 1; background: #fff; color: var(--nwa); border: 1px solid var(--nwa); border-radius: 8px; padding: 10px 16px; font-weight: 700; cursor: pointer; font-size: 15px; }
.metod-btn.aktif { background: var(--nwa); color: #fff; }
@media (max-width: 820px) {
  /* Mobil: panèl la an lè (wotè oto), fòmilè a ranpli rès ekran an anba l */
  .sa-konek { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .sa-pan { padding: 24px 22px 20px; border-right: 0; border-bottom: 1px solid var(--liy); }
  .sa-pan .pan-logo { margin-bottom: 14px; padding: 14px 24px; }
  .sa-pan .pan-logo img { width: 150px; }
  .sa-pan .pan-non { font-size: 24px; }
  .sa-pan .pan-le { padding-top: 18px; }
  .sa-pan .pan-ure { font-size: 28px; }
  .sa-kat { padding: 22px 18px 14px; }
  .sa-kat h2 { font-size: 22px; }
}
/* KONEKSYON APP AJAN / MACHANN — FINI PREMIUM (lòd PDG a 1 nov.): menm langaj ak
   ekran koneksyon premium yo — panèl NWA a (#0A0A0A) ak MEDAYON BLAN OVAL la,
   bann dyagonal wouj la, tit wouj, chan ak ikòn, gwo bouton — adapte pou fòma
   app mobil la. Mak CTM sèlman: wouj #ED0000 · nwa #0A0A0A. */
.auth-prem { padding: 0; overflow: hidden; border-radius: 18px; }
.auth-prem .auth-tet { background: var(--nwa); color: #fff; padding: 26px 22px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; overflow: hidden; }
.auth-prem .auth-tet::before { content: ""; position: absolute; top: -64px; right: -110px; width: 250px; height: 110px; background: linear-gradient(135deg, var(--wouj) 0%, var(--wouj-fonse) 100%); transform: rotate(24deg); border-radius: 0 0 0 24px; opacity: .92; }
.auth-prem .auth-tet::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--wouj), var(--wouj-pal) 60%, var(--nwa)); }
.auth-prem .auth-tet > * { position: relative; z-index: 1; }
.auth-prem .auth-medayon { display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 50%; padding: 12px 24px; margin-bottom: 12px; box-shadow: 0 8px 22px rgba(0,0,0,.35); }
.auth-prem .auth-medayon img { width: 132px; max-width: 100%; height: auto; display: block; }
.auth-prem .auth-non { font-size: 21px; font-weight: 800; letter-spacing: -.2px; margin: 0; }
.auth-prem .auth-non span { color: var(--wouj); }
.auth-prem .auth-wol { color: #b5b5b5; font-size: 13px; font-weight: 600; margin-top: 2px; }
.auth-prem .auth-ko { padding: 20px 22px 22px; }
.auth-prem .auth-ko h2 { margin-top: 0; }
/* Badj eta anprent lan deyò .pf-liy (kat aktivasyon app ajan/machann yo): menm koulè ak .pf-liy yo */
.badj.ok { background: #e6f6ec; color: #137333; }
.badj.ann { background: #fdf3e0; color: #9a6a00; }
/* Dashboard: sou-tit seksyon yo */
.dash-soutit { font-size: 16px; font-weight: 800; margin: 16px 0 10px; }
.dash-soutit:first-of-type { margin-top: 4px; }
/* Rezime aktivite jounen an: ti kat estatistik lizib, chak klikab → seksyon li */
.dash-rezime { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 10px; }
.dash-stat { background: #fff; border: 1px solid var(--liy); border-left: 4px solid var(--wouj); border-radius: 12px; padding: 11px 14px; cursor: pointer; text-align: left; width: 100%; font: inherit; color: var(--nwa); }
.dash-stat:hover { background: #fdf2f4; }
.dash-stat .val { font-size: 22px; font-weight: 800; display: block; line-height: 1.15; }
.dash-stat .etik { font-size: 13px; color: #333; font-weight: 600; display: block; }
.dash-stat .sou { font-size: 12px; color: var(--gri); display: block; margin-top: 2px; }
.dash-stat.k-nwa { border-left-color: var(--nwa); }
.dash-stat.k-vet { border-left-color: #2e7d32; }
.dash-stat.k-oranj { border-left-color: #ef6c00; }
.dash-stat.k-ble { border-left-color: #1565c0; }
.dash-stat.k-mov { border-left-color: #6a1b9a; }
/* Total yo: liy tèks lizib */
.dash-total { margin-top: 12px; }
.dash-total p { margin: 3px 0; font-size: 14px; }
/* Tuiles modil yo: chak modil nan pwòp ti kare koulè pa l, apa, ak ikòn SVG */
.dash-modil { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 12px; }
.tuil-mod { border: 0; border-radius: 14px; padding: 16px 10px 14px; color: #fff; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 14.5px; line-height: 1.25; text-align: center; box-shadow: 0 4px 12px rgba(10,10,10,.13); width: 100%; min-height: 104px; }
.tuil-mod svg { width: 27px; height: 27px; flex: none; }
.tuil-mod:active { transform: scale(.98); }
.tuil-mod .badj { background: #fff; color: var(--nwa); border-radius: 999px; padding: 1px 9px; font-size: 12.5px; font-weight: 800; }

/* FRÈ TOUT SÈVIS (S6): blòk pa sèvis nan seksyon an */
.fre-blok { border-top: 1px solid #e7e2e2; padding: 12px 0 4px; }
.fre-blok h3 { margin: 0 0 4px; font-size: 15px; }

/* NIVO AJAN (1 nov. 2026): badj metal yo — non + koulè metal la, zewo emoji */
.nivo-badj { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 2px 10px 2px 4px;
  font-size: 12.5px; font-weight: 800; color: #fff; white-space: nowrap; vertical-align: middle; }
.nivo-badj svg { display: block; }
.nivo-bronze { background: #a97142; }
.nivo-argent { background: #7d838a; }
.nivo-or { background: #b8860b; }
.nivo-platine { background: #5b7a99; }
.nivo-pwogre { height: 8px; border-radius: 99px; background: #eee; overflow: hidden; margin: 6px 0; max-width: 340px; }
.nivo-pwogre > div { height: 100%; background: var(--wouj); border-radius: 99px; }
.nivo-sel { max-width: 130px; display: inline-block; }

/* OTOCONPLETE ADRÈS (1 nov. 2026): sijesyon vil · depatman anba chan an depi 2 lèt */
.otok { position: relative; }
.otok input { margin-bottom: 12px; }
.otok-lis { position: absolute; left: 0; right: 0; top: calc(100% - 8px); z-index: 80; background: #fff;
  border: 1px solid #ddd; border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.16);
  max-height: 232px; overflow-y: auto; padding: 4px; }
.otok-lis.kache { display: none; }
.otok-atik { display: block; width: 100%; text-align: left; background: #fff; border: 0; border-radius: 8px;
  padding: 10px 12px; font-size: 14.5px; font-weight: 600; color: #1c1c1e; cursor: pointer; font-family: inherit; }
.otok-atik:hover, .otok-atik:active { background: #fdf0f0; }
.otok-sou { color: #8a8a8e; font-weight: 600; }
