/**
 * COMPONENT STYLESHEET : Leaflet Map Layouts, In-App Switchers & Transports Badges
 * MCO V4 2026 — Région Réunion (DEVL)
 */
.catalog-responsive-wrapper { display: grid; grid-template-columns: 1fr; gap: 24px; }
.spa-map-column { height: 400px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line-soft); box-shadow: 0 4px 12px rgba(0,0,0,0.05); z-index: 1; }
.map-sticky-container { position: sticky; top: 24px; border: 1px solid var(--line-soft); border-radius: 8px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.02); }
.map-header-bar { background: var(--bleu-profond); color: #fff; padding: 10px 14px; font-size: 13px; font-weight: 600; }
.formation-detail-map { height: 420px; width: 100%; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--line-soft); box-shadow: 0 2px 10px rgba(0,0,0,0.06); }

@media (min-width: 992px) {
  .catalog-responsive-wrapper { grid-template-columns: 1fr 450px !important; }
  .spa-map-column { position: sticky; top: 24px; height: calc(100vh - 48px); min-height: 500px; }
}
@media (max-width: 700px) { .formation-detail-map { height: 320px; } }

/* Commutateur Mobile de Cartographie SPA */
@media (max-width: 980px) {
  .mobile-catalog-switcher { display: flex; background: #e2e8f0; padding: 4px; border-radius: 10px; margin-bottom: 20px; position: sticky; top: 52px; z-index: 85; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
  .switcher-btn { flex: 1; border: none; padding: 11px 16px; border-radius: 8px; font-weight: 750; font-size: 13.5px; background: transparent; color: #475569; cursor: pointer; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); }
  .switcher-btn.active { background: white; color: var(--bleu-profond); box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
  .view-panel.mobile-hidden { display: none !important; }
  .view-panel.mobile-visible { display: block !important; }
  .spa-map-column { width: 100% !important; height: calc(100vh - 220px) !important; }
  .map-sticky-container { height: 100% !important; }
}

/* Base du composant Transports Péi */
.transport-zone-container { margin-top: 18px; padding-top: 16px; border-top: 1px dashed #e2e8f0; }
.transport-title { font-size: 14px; margin: 0 0 12px 0; font-weight: 800; color: #1a365d; display: flex; align-items: center; gap: 6px; }
.transport-list-wrapper { display: flex; flex-direction: column; gap: 8px; }
.transport-card-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; }
.transport-badge-network { font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 4px; text-transform: uppercase; border: 1px solid transparent; }
.transport-stop-info { font-size: 13px; font-weight: 600; color: #334155; }
.transport-distance-pill { font-size: 11px; color: #64748b; font-weight: 700; background: #ffffff; padding: 3px 8px; border-radius: 12px; border: 1px solid #e2e8f0; }

/* Signatures de marques des réseaux de transport locaux */
.badge-net-car-jaune, .badge-net-carsud { background: #fff5eb; color: #e67e22; border-color: #fbe5d6; }
.badge-net-citalis { background: #e6f4ea; color: #137333; border-color: #ceead6; }
.badge-net-alterneo { background: #e8f0fe; color: #1a73e8; border-color: #d2e3fc; }
.badge-net-kar-ouest { background: #f3e8ff; color: #7e22ce; border-color: #e9d5ff; }
.badge-net-estival { background: #fce8e6; color: #c5221f; border-color: #fad2cf; }
.badge-net-default { background: #f1f3f4; color: #5f6368; border-color: #e8eaed; }