/* FoodAcces — application client (PWA) 1.4.32. Variables : --primary, --bg, --text, --surface, --surface-2, --line, --muted. */
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{min-height:100%;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,"Inter",Arial,sans-serif;-webkit-font-smoothing:antialiased}
body{min-height:100vh;min-height:100dvh}
button,a{font:inherit}button{cursor:pointer}
button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
svg{width:22px;height:22px}
.fc-top{position:sticky;top:0;z-index:20;padding:calc(10px + env(safe-area-inset-top)) 14px 10px;background:color-mix(in srgb,var(--bg) 84%,transparent);backdrop-filter:saturate(160%) blur(18px);-webkit-backdrop-filter:saturate(160%) blur(18px);border-bottom:1px solid var(--line)}
.fc-top__in{max-width:720px;margin:auto;display:flex;align-items:center;gap:12px}
.fc-logo{width:42px;height:42px;flex:0 0 42px;border-radius:13px;display:grid;place-items:center;overflow:hidden;background:var(--logo-bg);box-shadow:inset 0 0 0 1px var(--line)}
.fc-logo img{width:86%;height:86%;object-fit:contain}
.fc-brand{flex:1;min-width:0}
.fc-brand strong{display:block;font-size:16px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fc-brand span{display:block;font-size:12.5px;color:var(--muted);font-weight:600}
.fc-icon{width:42px;height:42px;flex:0 0 42px;border-radius:13px;border:1px solid var(--line);background:var(--surface);color:var(--text);display:grid;place-items:center}
.fc-icon.is-primary{background:var(--primary);border-color:transparent;color:#fff;box-shadow:0 8px 18px color-mix(in srgb,var(--primary) 32%,transparent)}
.fc-main{max-width:720px;margin:0 auto;padding:16px 14px calc(40px + env(safe-area-inset-bottom))}
.fc-h1{font-size:24px;font-weight:850;letter-spacing:-.02em;margin:6px 2px 14px}
.fc-list{display:grid;gap:10px;margin-bottom:16px}
.fc-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:14px;border-radius:18px;border:1px solid var(--line);background:var(--surface);color:var(--text);box-shadow:0 6px 18px rgba(0,0,0,.05)}
.fc-row__icon{width:42px;height:42px;flex:0 0 42px;border-radius:13px;display:grid;place-items:center;background:color-mix(in srgb,var(--primary) 14%,var(--surface));color:var(--primary)}
.fc-row__main{flex:1;min-width:0}.fc-row__main strong{display:block;font-size:15.5px}.fc-row__main small{color:var(--muted);font-weight:600}
.fc-pill{flex:0 0 auto;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:800;background:var(--surface-2);color:var(--muted)}
.fc-pill--accepted,.fc-pill--preparing{background:color-mix(in srgb,var(--primary) 15%,transparent);color:var(--primary)}
.fc-pill--ready,.fc-pill--out_for_delivery{background:rgba(37,99,235,.13);color:#2563eb}
.fc-pill--completed{background:rgba(16,185,129,.14);color:#059669}
.fc-pill--cancelled{background:rgba(220,38,38,.12);color:#dc2626}
.fc-hero{padding:20px 18px;border-radius:24px;background:linear-gradient(150deg,var(--primary),color-mix(in srgb,var(--primary) 60%,#000));color:#fff;box-shadow:0 18px 40px color-mix(in srgb,var(--primary) 30%,transparent);margin-bottom:14px}
.fc-hero__label{font-size:13px;font-weight:700;opacity:.85}
.fc-hero h1{margin:4px 0 4px;font-size:28px;font-weight:900;letter-spacing:-.02em}
.fc-hero p{margin:0 0 6px;opacity:.92;font-weight:600}
.fc-note{background:rgba(255,255,255,.16);padding:10px 12px;border-radius:12px;margin-top:10px!important}
.fc-steps{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:12px}
.fc-steps li{display:flex;align-items:center;gap:12px;font-weight:700;opacity:.6}
.fc-steps li.is-done,.fc-steps li.is-current{opacity:1}
.fc-dot{width:26px;height:26px;flex:0 0 26px;border-radius:50%;border:2px solid rgba(255,255,255,.65);display:grid;place-items:center}
.fc-dot svg{width:14px;height:14px}
.fc-steps li.is-done .fc-dot{background:#fff;color:var(--primary);border-color:#fff}
.fc-steps li.is-current .fc-dot{background:#fff;color:var(--primary);border-color:#fff;box-shadow:0 0 0 6px rgba(255,255,255,.25);animation:fc-pulse 1.6s ease-in-out infinite}
@keyframes fc-pulse{50%{box-shadow:0 0 0 10px rgba(255,255,255,.08)}}
.fc-cancel{margin-top:12px;padding:12px;border-radius:12px;background:rgba(0,0,0,.18);font-weight:800}
.fc-card{padding:16px;border-radius:20px;border:1px solid var(--line);background:var(--surface);margin-bottom:14px;box-shadow:0 6px 18px rgba(0,0,0,.04)}
.fc-card h2{margin:0 0 10px;font-size:16px;font-weight:850}
.fc-items{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.fc-items li{display:flex;justify-content:space-between;gap:12px}
.fc-items small{display:block;color:var(--muted);font-size:12.5px;margin-top:2px}
.fc-total{display:flex;justify-content:space-between;margin-top:12px;padding-top:12px;border-top:1px solid var(--line);font-size:16px}
.fc-push__head{display:flex;gap:12px;align-items:flex-start}
.fc-push__head h2{margin:0 0 4px}.fc-push__head p{margin:0;color:var(--muted);line-height:1.45}
.fc-push__icon{width:42px;height:42px;flex:0 0 42px;border-radius:13px;display:grid;place-items:center;background:var(--surface-2);color:var(--muted)}
.fc-push__icon.is-on{background:rgba(16,185,129,.14);color:#059669}
.fc-consent{display:flex;gap:10px;align-items:flex-start;margin:14px 0 0;font-size:13.5px;color:var(--muted);line-height:1.45}
.fc-consent input{width:20px;height:20px;flex:0 0 20px;margin:0;accent-color:var(--primary)}
.fc-push__act{margin-top:12px}
.fc-btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;width:100%;padding:14px 16px;border:0;border-radius:15px;background:var(--primary);color:#fff;font-weight:850;font-size:16px;text-decoration:none;box-shadow:0 10px 22px color-mix(in srgb,var(--primary) 28%,transparent)}
.fc-btn--ghost{background:var(--surface-2);color:var(--text);box-shadow:none}
.fc-btn--small{width:auto;padding:10px 16px;font-size:14px}
.fc-btn:disabled{opacity:.6}
.fc-empty{text-align:center;padding:36px 12px 20px}
.fc-empty svg{width:56px;height:56px;color:var(--primary);opacity:.8}
.fc-empty h1{font-size:21px;margin:10px 0 6px}.fc-empty p{color:var(--muted);line-height:1.5;margin:0 0 18px}
.fc-skeleton{height:220px;border-radius:24px;margin-bottom:14px;background:linear-gradient(90deg,var(--surface-2),var(--surface),var(--surface-2));background-size:200% 100%;animation:fc-sk 1.2s linear infinite}
.fc-skeleton.is-short{height:120px}
@keyframes fc-sk{to{background-position:-200% 0}}
.fc-sheet-bg{position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.45);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);display:flex;align-items:flex-end;justify-content:center;animation:fc-fade .2s}
.fc-sheet{width:min(520px,100%);background:var(--surface);color:var(--text);border-radius:26px 26px 0 0;padding:10px 20px calc(22px + env(safe-area-inset-bottom));box-shadow:0 -20px 60px rgba(0,0,0,.25);animation:fc-up .28s cubic-bezier(.2,.9,.3,1)}
.fc-grip{width:42px;height:5px;border-radius:3px;background:var(--line);margin:4px auto 14px}
.fc-app{display:flex;gap:12px;align-items:center;margin-bottom:14px}
.fc-app img{width:58px;height:58px;border-radius:15px;box-shadow:0 6px 16px rgba(0,0,0,.15)}
.fc-app strong{display:block;font-size:17px}.fc-app span{color:var(--muted);font-size:13px}
.fc-sheet h3{margin:0 0 6px;font-size:19px}.fc-sheet p{margin:0 0 12px;color:var(--muted);line-height:1.5}
.fc-howto{list-style:none;counter-reset:s;margin:0 0 14px;padding:0;display:grid;gap:8px}
.fc-howto li{counter-increment:s;display:flex;align-items:center;gap:10px;padding:12px;border-radius:14px;background:var(--surface-2);font-weight:650}
.fc-howto li:before{content:counter(s);width:24px;height:24px;flex:0 0 24px;border-radius:50%;background:var(--primary);color:#fff;display:grid;place-items:center;font-size:12px;font-weight:900}
.fc-howto svg{margin-left:auto;color:#2563eb}
.fc-small{font-size:13px}
.fc-actions{display:grid;gap:8px}
.fc-toast{position:fixed;left:50%;bottom:calc(18px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:120;max-width:min(92vw,440px);padding:12px 16px;border-radius:14px;background:#111827;color:#fff;font-weight:700;font-size:14px;box-shadow:0 12px 30px rgba(0,0,0,.3)}
.fc-toast.is-warn{background:#92400e}
@keyframes fc-fade{from{opacity:0}}@keyframes fc-up{from{transform:translateY(100%)}}
@media(display-mode:standalone){#fc-install{display:none!important}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
/* 1.4.42 : état de l'activation dans la popup des notifications (succès / avertissement / erreur). */
.fc-push-status{margin:10px 0 0!important;padding:10px 12px;border-radius:12px;background:var(--surface-2);color:var(--text);font-size:13.5px;line-height:1.45;font-weight:600}
.fc-push-status.is-ok{background:rgba(16,185,129,.14);color:#047857}
.fc-push-status.is-warn{background:rgba(245,158,11,.16);color:#92400e}
.fc-push-status.is-error{background:rgba(220,38,38,.12);color:#b91c1c}
.fc-btn[hidden]{display:none}
