/* Espace client FauxDashboard (connexion, inscription, mes boutiques) */
:root { --bg: #0a0a0a; --card: #121212; --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14); --muted: #a3a3a3; --dim: #737373; --neon: #36e2a0; --green: #008060; --lime: #95bf47; --red: #ff6b6b; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: #fff; font: 400 15px/1.55 Inter, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: Manrope, Inter, sans-serif; margin: 0; letter-spacing: -.01em; }
button { font: inherit; }
.glow { position: fixed; inset: -20% -10% auto; height: 70vh; pointer-events: none; z-index: 0;
  background: radial-gradient(40% 50% at 25% 30%, rgba(0,128,96,.35), transparent 70%), radial-gradient(35% 45% at 80% 20%, rgba(19,172,240,.18), transparent 70%); filter: blur(10px); }

.top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1120px; margin: 0 auto; padding: 20px 20px; }
.logo { display: flex; align-items: center; gap: 10px; font: 800 18px/1 Manrope, Inter, sans-serif; }
.logo i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(150deg, #36e2a0, #008060); box-shadow: 0 6px 20px -6px rgba(54,226,160,.7); }
.logo i svg { width: 20px; height: 20px; }
.top-r { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.pill { padding: 5px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--neon); background: rgba(54,226,160,.1); box-shadow: inset 0 0 0 1px rgba(54,226,160,.35); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; border-radius: 12px; padding: 12px 18px; font-weight: 600; font-size: 14.5px; color: #fff; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px var(--line-2); transition: background .15s, transform .15s; }
.btn:hover { background: rgba(255,255,255,.12); }
.btn:active { transform: scale(.98); }
.btn-green { background: linear-gradient(180deg, #2fd497, #14a575); color: #03140d; box-shadow: 0 8px 24px -10px rgba(54,226,160,.8), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-green:hover { background: linear-gradient(180deg, #45e4a8, #19b682); }
.btn-sm { padding: 8px 12px; font-size: 13px; border-radius: 10px; }
.btn-danger { color: #ffb4b4; }
.btn-danger:hover { background: rgba(255,107,107,.12); }
.btn[disabled] { opacity: .55; cursor: default; }

/* formulaires d'accès */
.auth-wrap { position: relative; z-index: 1; min-height: calc(100vh - 80px); display: grid; place-items: center; padding: 20px 16px 60px; }
.auth { width: min(460px, 100%); }
.auth h1 { font-size: 32px; text-align: center; }
.auth .lead { text-align: center; color: var(--muted); margin: 8px 0 24px; }
.card { background: linear-gradient(180deg, rgba(22,22,22,.94), rgba(14,14,14,.94)); border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line); padding: 28px; }
.form { display: flex; flex-direction: column; gap: 15px; }
.field { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; font-weight: 600; color: #e5e5e5; }
.field input, .field select { font: inherit; font-weight: 400; font-size: 15px; color: #fff; background: #0b0b0b; border: 0; border-radius: 12px; padding: 12px 14px; box-shadow: inset 0 0 0 1px var(--line-2); width: 100%; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #aaa 50%), linear-gradient(135deg, #aaa 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus, .field select:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--neon), 0 0 0 4px rgba(54,226,160,.15); }
.field small { font-weight: 400; color: var(--dim); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: #cfcfcf; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 1px; accent-color: #22c98a; flex: none; }
.check a, .link { color: var(--neon); text-decoration: underline; text-underline-offset: 3px; }
.form .btn { width: 100%; padding: 14px; }
.alt { text-align: center; font-size: 14px; color: var(--muted); margin-top: 18px; }
.alt a { color: var(--neon); font-weight: 600; }
.msg { display: none; padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.msg.show { display: block; }
.msg.err { background: rgba(255,107,107,.1); box-shadow: inset 0 0 0 1px rgba(255,107,107,.4); color: #ffd4d4; }
.msg.ok { background: rgba(54,226,160,.1); box-shadow: inset 0 0 0 1px rgba(54,226,160,.4); color: #d1fae5; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: flex; flex-direction: column; gap: 2px; padding: 11px 10px; border-radius: 12px; background: #0b0b0b; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13.5px; font-weight: 600; text-align: center; height: 100%; }
.seg small { color: var(--muted); font-weight: 400; font-size: 11.5px; }
.seg input:checked + span { background: rgba(54,226,160,.08); box-shadow: inset 0 0 0 1.5px var(--neon); }
.seg input:focus-visible + span { outline: 2px solid var(--neon); outline-offset: 2px; }

/* mes boutiques */
.main { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; padding: 20px 20px 80px; }
.hello { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 26px 0 26px; }
.hello h1 { font-size: clamp(28px, 4vw, 40px); }
.hello p { color: var(--muted); margin: 6px 0 0; }
.shops { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.shop { position: relative; display: flex; flex-direction: column; gap: 16px; }
.shop-h { display: flex; align-items: center; gap: 12px; }
.shop-av { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font: 800 16px/1 Manrope, Inter, sans-serif; background: linear-gradient(150deg, #1d7a4e, #0b3a27); box-shadow: inset 0 0 0 1px rgba(54,226,160,.35); flex: none; }
.shop-h h3 { font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-h small { color: var(--dim); font-size: 12.5px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpi { padding: 12px; border-radius: 14px; background: #0b0b0b; box-shadow: inset 0 0 0 1px var(--line); }
.kpi small { display: block; color: var(--dim); font-size: 11.5px; }
.kpi b { font: 800 18px/1.3 Manrope, Inter, sans-serif; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13.5px; color: #d4d4d4; }
.toggle small { display: block; color: var(--dim); font-size: 12px; }
.sw { position: relative; width: 44px; height: 26px; flex: none; }
.sw input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.sw i { position: absolute; inset: 0; border-radius: 999px; background: #2a2a2a; transition: background .2s; }
.sw i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.sw input:checked + i { background: #22c98a; }
.sw input:checked + i::after { transform: translateX(18px); }
.sw input:focus-visible + i { outline: 2px solid var(--neon); outline-offset: 2px; }
.acts { display: flex; gap: 8px; flex-wrap: wrap; }
.acts .btn-green { flex: 1; }
.more { display: flex; gap: 6px; justify-content: flex-end; border-top: 1px solid var(--line); padding-top: 12px; margin-top: -2px; }
.new { border: 1.5px dashed rgba(255,255,255,.16); background: transparent; box-shadow: none; justify-content: center; }
.new h3 { font-size: 18px; }
.new p { color: var(--muted); font-size: 14px; margin: 0; }
.limit { color: var(--dim); font-size: 13px; }

.phone { margin-top: 26px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; align-items: center; }
.phone h2 { font-size: 24px; }
.phone ol { margin: 14px 0 0; padding-left: 20px; color: #d4d4d4; display: flex; flex-direction: column; gap: 6px; }
.phone code { color: var(--neon); font-family: inherit; font-weight: 600; word-break: break-all; }
.phone-side { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.phone-side p { margin: 0; color: var(--muted); font-size: 14px; }

.dlg { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); padding: 16px; }
.dlg[hidden] { display: none; }
.dlg .card { width: min(440px, 100%); }
.dlg h2 { font-size: 21px; margin-bottom: 6px; }
.dlg p { color: var(--muted); margin: 0 0 16px; font-size: 14.5px; }
.dlg .acts { justify-content: flex-end; margin-top: 6px; }
.dlg .acts .btn { flex: none; width: auto; padding: 11px 16px; }

.foot { text-align: center; color: var(--dim); font-size: 12.5px; padding: 30px 16px; position: relative; z-index: 1; }
.foot a { color: var(--muted); }

@media (max-width: 760px) {
  .phone { grid-template-columns: 1fr; }
  .shops { grid-template-columns: 1fr; }
  .top-r .who { display: none; }
}
@media (max-width: 480px) {
  .card { padding: 20px; }
  .row2 { grid-template-columns: 1fr; }
  .kpi b { font-size: 16px; }
}
.field[hidden] { display: none !important; }
