/* PharmaX hors connexion : indicateur, bandeau de message et page /hors-connexion. */

.hc-racine { position: sticky; top: 0; z-index: 1030; background: #fff; border-bottom: 1px solid #e2e8f0; font-family: Inter, system-ui, sans-serif; font-size: 0.92rem; }
.hc-barre { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.9rem; }
.hc-pastille { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: #94a3b8; flex: none; }
.hc-pastille[data-etat="en-ligne"] { background: #007d50; }
.hc-pastille[data-etat="hors-ligne"] { background: #556274; }
.hc-pastille[data-etat="sync"] { background: #2563eb; animation: hc-pouls 1s ease-in-out infinite; }
#hc-libelle { font-weight: 600; flex: 1; }
.hc-bouton { border: 1px solid #007d50; background: #fff; color: #007d50; border-radius: 999px; padding: 0.25rem 0.8rem; font-weight: 600; }
.hc-bouton:disabled { opacity: 0.5; }
.hc-bandeau { margin: 0; padding: 0.6rem 0.9rem; border-top: 1px solid #e2e8f0; line-height: 1.45; }
.hc-bandeau[hidden] { display: none; }
.hc-bandeau[data-niveau="info"] { background: #eff6ff; color: #1e3a8a; }
.hc-bandeau[data-niveau="alerte"] { background: #fffbeb; color: #92400e; }
.hc-bandeau[data-niveau="erreur"] { background: #fef2f2; color: #991b1b; }
@keyframes hc-pouls { 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .hc-pastille { animation: none !important; } }

.hc-page { background: #f8fafc; font-family: Inter, system-ui, sans-serif; color: #0f172a; }
.hc-entete { padding: 1rem; background: #007d50; color: #fff; }
.hc-entete h1 { font-size: 1.3rem; margin: 0; font-weight: 800; }
.hc-entete p { margin: 0.2rem 0 0; font-size: 0.9rem; opacity: 0.95; }
.hc-principal { max-width: 720px; margin: 0 auto; padding: 1rem; }
.hc-outils { display: grid; gap: 0.6rem; }
.hc-champ { width: 100%; padding: 0.65rem 0.8rem; border: 1px solid #cbd5e1; border-radius: 10px; font-size: 1rem; }
.hc-option { font-size: 0.92rem; display: flex; gap: 0.4rem; align-items: center; }
.hc-resume { color: #475569; font-size: 0.9rem; margin: 0.8rem 0 0.4rem; }
.hc-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.hc-carte { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 0.9rem 1rem; }
.hc-titre { font-size: 1.02rem; font-weight: 700; margin: 0 0 0.35rem; }
.hc-badge { display: inline-block; font-size: 0.78rem; font-weight: 700; border-radius: 999px; padding: 0.15rem 0.6rem; background: #f1f5f9; color: #475569; }
.hc-badge[data-statut="de_garde"] { background: #dcfce7; color: #166534; }
.hc-badge[data-statut="non_confirme"] { background: #fef3c7; color: #92400e; }
.hc-detail { margin: 0.35rem 0 0; font-size: 0.92rem; color: #334155; }
.hc-lien { color: #00795a; font-weight: 600; }
.hc-gps { color: #556274; font-size: 0.82rem; margin-left: 0.4rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.hc-carte-bloc { margin-top: 1.4rem; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 0.9rem 1rem; }
.hc-carte-bloc h2 { font-size: 1.05rem; margin: 0 0 0.4rem; font-weight: 700; }
.hc-carte-bloc .hc-bouton { margin-top: 0.4rem; }
.hc-attribution { font-size: 0.78rem; color: #556274; margin: 0.6rem 0 0; }

/* Case « De garde seulement » : zone tactile agrandie. */
.hc-option { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; }
.hc-option input { width: 20px; height: 20px; }
