/* UI style calqué sur tes captures (mobile light) */
:root{
  color-scheme: light;
  --bg:#f2f3f6;
  --card:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --line:#e5e7eb;
  --shadow: 0 10px 30px rgba(0,0,0,.10);
  --radius:16px;
  --pill:#eef0f4;
  --accent:#111111; /* boutons noirs type "ACHETER" */
  --primary:#2563eb;
  --good:#16a34a;
  --bad:#dc2626;
  /* Fond global sans dépendance Internet */
  --hero-url: radial-gradient(1200px 700px at 20% 10%, rgba(255,255,255,.14), rgba(255,255,255,0) 55%),
              linear-gradient(180deg, rgba(0,0,0,.22), rgba(0,0,0,.62));
}

*{box-sizing:border-box}
html,body{height:100%}
body.tp-body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background: transparent;
}

/* Background image on ALL pages */
.tp-app__hero,
.tp-auth__hero{
  position:fixed;
  inset:0;
  background-image: var(--hero-url);
  background-size: cover;
  background-position: center;
  pointer-events: none;
}
.tp-app__overlay{
  position:fixed;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.20), rgba(0,0,0,.60));
  pointer-events: none;
}
.tp-auth__overlay{
  position:fixed;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.78));
  pointer-events: none;
}
.tp-shell{
  position:relative;
  z-index:2;
}

a{color:var(--primary);text-decoration:none}
a:hover{text-decoration:underline}

.tp-bg{display:none}

.container.tp-shell{
  max-width: 520px; /* mobile-first */
  margin: 0 auto;
  padding: 0 14px 88px; /* espace pour bottom-nav */
}

/* Layout responsive (tablette/desktop) */
@media (min-width: 720px){
  .container.tp-shell{
    max-width: 980px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .tp-bottomnav__inner{max-width: 980px}
}
@media (min-width: 1120px){
  .container.tp-shell{max-width: 1160px}
  .tp-bottomnav__inner{max-width: 1160px}
}

.tp-grid{display:grid; gap:12px}
.tp-grid--plans{grid-template-columns:1fr}
@media (min-width: 720px){
  .tp-grid--plans{grid-template-columns:repeat(2, minmax(0, 1fr))}
}
@media (min-width: 1120px){
  .tp-grid--plans{grid-template-columns:repeat(3, minmax(0, 1fr))}
}

.tp-grid--products{grid-template-columns:1fr}
@media (min-width: 720px){
  .tp-grid--products{grid-template-columns:1fr}
}
@media (min-width: 1120px){
  .tp-grid--products{grid-template-columns:1fr}
}

.tp-productCard{
  padding: 0;
  overflow: hidden;
}
.tp-productCard__img{
  height: 160px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.60);
}
.tp-body--app .tp-productCard__img{
  background: rgba(255,255,255,.55);
  border-bottom: 1px solid rgba(255,255,255,.22);
}
.tp-productCard__photo{
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px 16px;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,.10));
  /* Visible par défaut (évite les images "invisibles" si le chargement est lent) */
  opacity: 1;
  transform: translateY(0);
  transition: opacity .25s ease, transform .25s ease, filter .25s ease;
}
.tp-productCard__photo:hover{filter: drop-shadow(0 14px 20px rgba(0,0,0,.16))}
.tp-productCard__top{
  padding: 12px 14px 10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}
.tp-productCard__price{
  font-size: 20px;
  font-weight: 900;
  color: #2563eb;
}
.tp-productCard__buy{
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 800;
  background: #0b0b0b;
}
.tp-productCard__divider{
  height: 1px;
  background: rgba(17,24,39,.14);
  margin: 0 14px;
}
.tp-productCard__meta{
  padding: 10px 14px 12px;
  font-size: 13px;
  color: rgba(17,24,39,.70);
}
.tp-productCard__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 6px 0;
}
.tp-productCard__label{
  color: rgba(17,24,39,.55);
}
.tp-productCard__value{
  font-weight: 800;
  color: rgba(17,24,39,.80);
}
.tp-productCard__footer{
  padding: 12px 14px;
  text-align:center;
  font-weight: 800;
  background: rgba(255,255,255,.60);
  border-top: 1px solid rgba(17,24,39,.10);
}

/* Withdraw page (Retrait) */
.tp-withdrawTop{
  text-align:center;
  padding: 6px 0 8px;
}
.tp-withdrawTop__amount{
  font-size: 22px;
  font-weight: 900;
  color: rgba(17,24,39,.85);
}
.tp-withdrawTop__label{
  margin-top: 4px;
  color: rgba(17,24,39,.55);
  font-weight: 700;
}
.tp-withdrawCard{padding: 14px}
.tp-withdrawField{
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(10px);
}
.tp-withdrawField__prefix{
  font-weight: 900;
  color: rgba(17,24,39,.65);
  min-width: 44px;
}
.tp-withdrawField__input{
  border:0 !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  outline: none !important;
}
.tp-withdrawSelect{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(10px);
}
.tp-withdrawSelect__ico{opacity:.75}
.tp-withdrawSelect select{
  flex:1;
  border:0;
  background: transparent;
  outline:none;
  font-weight:700;
  color: rgba(17,24,39,.80);
  appearance:none;
}
.tp-withdrawSelect__chev{opacity:.55}
.tp-withdrawBtn{
  width:100%;
  padding: 14px 16px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 900;
  background: #0b0b0b;
}
.tp-withdrawRules{
  font-size:12px;
  margin:0;
  padding-left:18px;
  line-height:1.5;
}

.tp-grid--quickactions{
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:10px;
  text-align:center;
}
@media (max-width: 520px){
  .tp-grid--quickactions{grid-template-columns:repeat(2, minmax(0, 1fr))}
}
.tp-quickaction{
  color: inherit;
  text-decoration: none;
  display:block;
  padding: 8px 6px;
  border-radius: 14px;
}
.tp-quickaction:hover{
  background: rgba(17,24,39,.04);
  text-decoration:none;
}
.tp-qa__icon{
  width:36px;
  height:36px;
  margin: 0 auto 6px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  color:#111;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(10px);
}

/* Home model */
.tp-homeHero{
  padding:0;
  overflow:hidden;
  position:relative;
}
.tp-homeHero__img{
  height: 150px;
  background:
    radial-gradient(700px 240px at 15% 10%, rgba(59,130,246,.55), rgba(59,130,246,0) 55%),
    radial-gradient(520px 220px at 85% 60%, rgba(16,185,129,.45), rgba(16,185,129,0) 62%),
    linear-gradient(135deg, rgba(255,255,255,.20), rgba(255,255,255,.04));
}
.tp-homeHero__content{
  position:absolute;
  inset:0;
  padding: 14px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:6px;
  color:#fff;
  background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,.05));
}
.tp-homeHero__title{font-weight:900;font-size:18px}
.tp-homeHero__sub{font-size:12px;opacity:.9}
.tp-homeHero__btn{
  align-self:flex-end;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.28);
  border: 1px solid rgba(255,255,255,.25);
  color:#fff;
  font-weight:800;
  text-decoration:none;
  backdrop-filter: blur(10px);
}
.tp-homeActions{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
  text-align:center;
}
.tp-homeAction{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  text-decoration:none;
  color: inherit;
  padding: 10px 6px;
  border-radius: 14px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(10px);
}
.tp-homeAction__ico{
  width:38px;height:38px;border-radius:999px;
  display:grid;place-items:center;
  background: rgba(17,24,39,.10);
  color: rgba(17,24,39,.92);
  font-weight:900;
}
.tp-homeAction__ico svg{
  opacity: 1;
  stroke-width: 2.4;
}
.tp-homeAction span:last-child{font-size:11px;color: rgba(17,24,39,.60);font-weight:700}
.tp-homeMission{padding:0;overflow:hidden}
.tp-homeMission__img{
  height: 120px;
  background:
    radial-gradient(520px 220px at 25% 30%, rgba(245,158,11,.55), rgba(245,158,11,0) 62%),
    radial-gradient(420px 180px at 80% 70%, rgba(139,92,246,.45), rgba(139,92,246,0) 60%),
    linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.04));
}
.tp-homeMission__row{
  padding: 12px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.tp-homeMission__title{font-weight:900}
.tp-homeTicker{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
}
.tp-homeTicker__ico{opacity:.8}
.tp-homeTicker__text{font-size:12px;font-weight:800;color: rgba(17,24,39,.70)}
.tp-homeStats{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.tp-homeStats__col{display:flex;flex-direction:column;gap:12px}
.tp-homeStat{
  padding: 0;
  overflow:hidden;
  position:relative;
  min-height: 120px;
}
.tp-homeStat__img{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  filter: saturate(1.1);
}
.tp-homeStat__img--run{background-image:url('https://images.unsplash.com/photo-1521412644187-c49fa049e84d?auto=format&fit=crop&w=1200&q=70')}
.tp-homeStat__img--woman{background-image:url('https://images.unsplash.com/photo-1517836357463-d25dfeac3438?auto=format&fit=crop&w=1200&q=70')}
.tp-homeStat__img--watch{background-image:url('https://images.unsplash.com/photo-1523275335684-37898b6baf30?auto=format&fit=crop&w=1200&q=70')}
/* Stats sans Internet */
.tp-homeStat__img--run{
  background-image:
    radial-gradient(500px 280px at 20% 10%, rgba(59,130,246,.55), rgba(59,130,246,0) 60%),
    linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.05));
}
.tp-homeStat__img--woman{
  background-image:
    radial-gradient(520px 260px at 75% 30%, rgba(236,72,153,.45), rgba(236,72,153,0) 62%),
    linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.05));
}
.tp-homeStat__img--watch{
  background-image:
    radial-gradient(520px 260px at 30% 65%, rgba(16,185,129,.45), rgba(16,185,129,0) 62%),
    linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.05));
}
.tp-homeStat__value{
  position:relative;
  z-index:2;
  padding: 14px 14px 0;
  font-size: 20px;
  font-weight: 900;
  color:#fff;
  text-shadow: 0 6px 18px rgba(0,0,0,.35);
}
.tp-homeStat__label{
  position:relative;
  z-index:2;
  padding: 2px 14px 14px;
  color: rgba(255,255,255,.92);
  font-weight: 800;
  font-size: 12px;
}
.tp-homeStat:before{
  content:'';
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.20), rgba(0,0,0,.65));
  z-index:1;
}

/* Modal (tâche quotidienne) */
.tp-modal{display:none}
.tp-modal.is-open{
  display:block;
  position:fixed;
  inset:0;
  z-index:50;
}
.tp-modal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(17,24,39,.55);
  backdrop-filter: blur(2px);
}
.tp-modal__panel{
  position:relative;
  z-index:51;
  width: min(520px, calc(100vw - 28px));
  margin: 16vh auto 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 14px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:0;
  cursor:pointer;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  color:#fff;
  background: var(--accent);
}
.btn:hover{filter:brightness(1.05)}
.btn.secondary{
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--text);
}

.btn.whatsapp{
  background: #25D366;
  color:#073b1d;
  border: 1px solid rgba(255,255,255,.25);
}
.btn.whatsapp:hover{filter:brightness(1.03)}
.btn.btn--block{width:100%}
.btn .tp-ico{width:18px;height:18px}
.tp-stack{display:flex;flex-direction:column;gap:10px}

/* Profil / Dashboard menu */
.tp-profileTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.tp-profileTop__left{display:flex;align-items:center;gap:10px}
.tp-profileTop__plus{
  width:28px;height:28px;border-radius:999px;
  display:grid;place-items:center;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(255,255,255,.25);
  font-weight:900;
}
.tp-profileTop__lvl{
  min-width:56px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(168,85,247,.20);
  border: 1px solid rgba(168,85,247,.30);
  color: rgba(17,24,39,.85);
  font-weight:900;
  text-align:center;
}
.tp-profileTop__brand{font-weight:900; letter-spacing:.08em; color: rgba(17,24,39,.75)}
.tp-profileQuick{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  text-align:center;
}
.tp-profileQuick__item{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  text-decoration:none;
  color: inherit;
  padding: 10px 6px;
  border-radius: 14px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(10px);
}
.tp-profileQuick__ico{
  width:40px;height:40px;border-radius:999px;
  display:grid;place-items:center;
  background: rgba(17,24,39,.06);
  color: rgba(17,24,39,.80);
}
.tp-profileQuick__item span:last-child{font-size:12px;color: rgba(17,24,39,.60);font-weight:700}
.tp-accessGrid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px 10px;
  text-align:center;
}
@media (max-width: 520px){
  .tp-accessGrid{grid-template-columns: repeat(4, minmax(0,1fr))}
}
.tp-accessItem{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  text-decoration:none;
  color: inherit;
  padding: 8px 2px;
}
.tp-accessItem__ico{
  width:44px;height:44px;border-radius:999px;
  display:grid;place-items:center;
  background: rgba(17,24,39,.06);
  border: 1px solid rgba(17,24,39,.08);
  color: rgba(17,24,39,.75);
  font-weight:900;
}
.tp-accessItem span:last-child{
  font-size:11px;
  color: rgba(17,24,39,.60);
  font-weight:700;
}

/* Team / invitation page */
.tp-teamHero{
  padding: 0;
  overflow: hidden;
  background: rgba(255,255,255,.18);
}
.tp-teamHero__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
@media (max-width: 520px){
  .tp-teamHero__grid{grid-template-columns:1fr}
}
.tp-teamHero__box{
  padding: 16px 14px;
  border-right: 1px solid rgba(255,255,255,.18);
}
@media (max-width: 520px){
  .tp-teamHero__box{border-right:0; border-bottom: 1px solid rgba(255,255,255,.18)}
  .tp-teamHero__box:last-child{border-bottom:0}
}
.tp-teamHero__label{
  color: rgba(255,255,255,.92);
  font-weight: 700;
  font-size: 13px;
}
.tp-teamHero__value{
  margin-top: 8px;
  font-size: 28px;
  font-weight: 900;
  color:#fff;
  letter-spacing: .02em;
}
.tp-teamHero__link{
  margin-top: 8px;
  font-size: 11px;
  color: rgba(255,255,255,.92);
  word-break: break-all;
}
.tp-teamHero__btn{
  border-color: rgba(255,255,255,.40) !important;
  background: rgba(255,255,255,.18) !important;
  color: #fff !important;
}

.tp-teamLevels{display:flex;flex-direction:column;gap:10px}
.tp-teamLevel{
  border-radius: 16px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
}
.tp-teamLevel__badge{
  width: 46px;
  height: 22px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  font-weight: 900;
  font-size: 12px;
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.18);
}
.tp-teamLevel__grid{
  margin-top: 8px;
  display:grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 10px;
  align-items:center;
}
.tp-teamLevel__big{
  font-size: 34px;
  font-weight: 900;
  color:#fff;
}
.tp-teamLevel__meta{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  color: rgba(255,255,255,.90);
}
.tp-teamLevel__meta span{
  display:block;
  font-size: 12px;
  opacity: .9;
}
.tp-teamLevel__meta b{
  display:block;
  margin-top: 6px;
  font-size: 22px;
  font-weight: 900;
}
.tp-teamLevel__caption{
  margin-top: 8px;
  color: rgba(255,255,255,.88);
  font-size: 14px;
  font-weight: 800;
}
.tp-teamLevel--lv1{background: linear-gradient(90deg, rgba(245,158,11,.35), rgba(245,158,11,.18))}
.tp-teamLevel--lv2{background: linear-gradient(90deg, rgba(59,130,246,.35), rgba(59,130,246,.18))}
.tp-teamLevel--lv3{background: linear-gradient(90deg, rgba(168,85,247,.35), rgba(168,85,247,.18))}

/* Service client page */
.tp-back{
  width:34px;height:34px;border-radius:999px;
  display:grid;place-items:center;
  text-decoration:none;
  color:#111;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(10px);
}
.tp-support{padding:14px}
.tp-support__row{
  display:flex;
  align-items:center;
  gap:12px;
  padding: 12px;
  border-radius: 14px;
  text-decoration:none;
  color: inherit;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(10px);
}
.tp-support__row--wa{
  background: rgba(37,211,102,.18);
  border-color: rgba(37,211,102,.25);
}
.tp-support__ico{
  width:34px;height:34px;border-radius:999px;
  display:grid;place-items:center;
  background: rgba(59,130,246,.16);
  color:#1d4ed8;
}
.tp-support__ico--wa{
  background: rgba(37,211,102,.25);
  color:#0f5c2b;
}
.tp-support__text{font-weight:800}
.tp-support__phone{
  margin-left:auto;
  font-weight:900;
  color: rgba(17,24,39,.85);
  font-size: 12px;
}
.tp-support__chev{margin-left:auto; opacity:.6; font-size:18px}
.tp-support__stats{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  margin-top: 12px;
  text-align:center;
}
.tp-support__stat{
  padding:10px 6px;
  border-radius: 14px;
  text-decoration:none;
  color: inherit;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(10px);
}
.tp-support__stat:hover{filter: brightness(1.03)}
.tp-support__k{font-size:12px;color: rgba(17,24,39,.55)}
.tp-support__v{margin-top:6px;font-size:16px;font-weight:900;color: rgba(17,24,39,.85)}
.tp-support__img{
  margin-top: 12px;
  height: 220px;
  border-radius: 16px;
  background-image: url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1200&q=80');
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255,255,255,.25);
}
.tp-support__tips{
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.5;
}

.flash{
  padding: 10px 12px;
  border-radius: 12px;
  margin: 10px 0 14px;
  border: 1px solid var(--line);
  background: #fff;
}
.flash.ok{border-color: rgba(22,163,74,.35); background: rgba(22,163,74,.08)}
.flash.err{border-color: rgba(220,38,38,.35); background: rgba(220,38,38,.08)}

/* Alerts on auth background (visible on photo) */
.tp-body--auth .flash{
  color:#fff;
  border-color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
}
.tp-body--auth .flash.ok{
  border-color: rgba(22,163,74,.55);
  background: rgba(22,163,74,.22);
}
.tp-body--auth .flash.err{
  border-color: rgba(220,38,38,.60);
  background: rgba(220,38,38,.22);
}

.tp-pagehead{margin: 14px 0 12px}
.tp-kicker{
  margin:0 0 6px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tp-h1{margin:0 0 8px; font-size: 22px; font-weight:800}
.tp-h2{margin:0 0 10px; font-size: 18px; font-weight:800}
.tp-muted{color: var(--muted); margin:0}

.tp-card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 14px;
  box-shadow: var(--shadow);
}
.tp-body--app .tp-card--glass,
.tp-body--app .tp-card{
  background: rgba(255,255,255,.82);
  border-color: rgba(255,255,255,.25);
  backdrop-filter: blur(10px);
}
.tp-card--glass{box-shadow: var(--shadow)}

.tp-divider{height:1px;background:var(--line);margin:14px 0}

.tp-kpis{display:grid;grid-template-columns:repeat(2, minmax(0,1fr));gap:12px}
@media (max-width: 420px){.tp-kpis{grid-template-columns:1fr}}
.tp-kpi{
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}
.tp-body--app .tp-kpi{
  background: rgba(255,255,255,.82);
  border-color: rgba(255,255,255,.25);
  backdrop-filter: blur(10px);
}
.tp-kpi__label{color: var(--muted); font-size: 12px}
.tp-kpi__value{margin-top:6px;font-size: 22px;font-weight: 800}
.tp-kpi__unit{font-size: 12px; font-weight: 700; color: var(--muted); margin-left: 6px}
.tp-mono{font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace}

.tp-form label{display:block;margin:12px 0 8px;color: var(--muted)}
.tp-form input,.tp-form select{
  width:100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  outline: none;
}
.tp-form input:focus,.tp-form select:focus{
  border-color: rgba(37,99,235,.55);
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}
.tp-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}

.tp-list{display:flex;flex-direction:column;gap:10px}
.tp-list__item{
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}
.tp-body--app .tp-list__item{
  background: rgba(255,255,255,.82);
  border-color: rgba(255,255,255,.25);
  backdrop-filter: blur(10px);
}
.tp-list__title{font-weight: 800}
.tp-list__meta{margin-top:6px;color: var(--muted); font-size: 13px}

/* Auth layout: image plein écran + champs translucides (style vidéo) */
.tp-body--auth .tp-shell{max-width: 520px; padding-top: 0}
.tp-auth{
  min-height: 100vh;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding-bottom: 24px;
}
.tp-auth__content{
  position:relative;
  z-index:2;
  padding-top: 90px;
  text-align:center;
}
.tp-auth__title{
  font-size: 34px;
  font-weight: 500;
  color: #fff;
  margin: 0 0 18px;
}
.tp-auth__panel{position:relative; z-index:2}
.tp-auth__panel .tp-card{background: transparent; border:0; box-shadow:none; padding:0}
.tp-form.tp-form--auth input{
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
}
.tp-form.tp-form--auth input::placeholder{color: rgba(255,255,255,.85)}
.tp-auth__footerlink{display:block;text-align:right;color: rgba(255,255,255,.85); margin-top: 12px}

/* Téléphone avec préfixe +243 (style vidéo) */
.tp-phonefield{
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
}
.tp-phonefield__prefix{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:86px;
  padding: 12px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.35);
  color:#fff;
  font-weight:700;
}
.tp-phonefield__input{
  flex:1;
}

/* Bottom nav (Accueil/Produit/Équipe/Profil) */
.tp-bottomnav{
  position:fixed;
  left:0; right:0; bottom:0;
  background: rgba(255,255,255,.18);
  border-top: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(14px);
  padding: 10px 16px 14px;
  z-index: 100;
}
.tp-bottomnav__inner{
  max-width: 520px;
  margin: 0 auto;
  display:flex;
  justify-content: space-between;
}
.tp-tab{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  color: var(--muted);
  font-size: 12px;
}
.tp-tab--active{color: #fff; font-weight: 800}
.tp-body--app .tp-tab{color: rgba(255,255,255,.85)}
.tp-ico{width:22px;height:22px;display:grid;place-items:center}
.tp-ico svg{display:block}

/* compat anciennes classes */
.muted{color: var(--muted)}

