.icfast-layer-control, .icfast-map-legend { position: absolute; z-index: 650; border: 1px solid rgba(23, 33, 27, .16); border-radius: 6px; background: rgba(255, 255, 255, .94); box-shadow: 0 8px 22px rgba(23, 33, 27, .12); }
.icfast-layer-control { top: 10px; right: 12px; display: flex; flex-direction: column; gap: 7px; align-items: flex-start; padding: 8px 10px; max-width: min(190px, calc(100% - 24px)); }
.icfast-layer-control strong { width: 100%; font-size: 13px; text-align: center; }
.icfast-layer-control label { display: inline-flex; gap: 5px; align-items: center; font-size: 11px; font-weight: 400; text-transform: none; }
.icfast-layer-control input { margin: 0; accent-color: #147a73; }
.icfast-map-legend { left: 12px; bottom: 14px; display: grid; gap: 6px; width: 190px; max-height: calc(100% - 72px); overflow: auto; padding: 12px; color: #667069; font-size: 11px; border: 1px solid rgba(0, 0, 0, 0.08) !important; border-radius: 8px !important; background: rgba(255, 255, 255, 0.9) !important; backdrop-filter: blur(6px); box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06) !important; }
.icfast-map-legend strong { color: #17211b; font-size: 13px; text-align: center; text-transform: none; }
.icfast-map-legend span { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.icfast-map-legend i { width: 18px; height: 13px; flex: 0 0 auto; border: 1px solid rgba(23, 33, 27, .16); border-radius: 2px; }
.icfast-seat-symbol, .icfast-seat-legend { position: relative; display: inline-block; width: 6px; height: 6px; flex: 0 0 auto; border: 1px solid rgba(0, 0, 0, 0.6); border-radius: 50%; background: #fff; }
.icfast-seat-symbol::after, .icfast-seat-legend::after { content: ""; position: absolute; top: 50%; left: 50%; width: 2px; height: 2px; border-radius: 50%; background: rgba(0, 0, 0, 0.8); transform: translate(-50%, -50%); }
.icfast-seat-icon { z-index: 700 !important; border: 0; background: transparent; }
.icfast-label-anchor { border: 0; background: transparent; }
.leaflet-container .icfast-sede-label { margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #17211b; font-weight: 760; line-height: 1.1; pointer-events: none; text-align: center; white-space: normal; text-shadow: 0 0 2px #fff, 0 0 4px #fff; }
.leaflet-container .icfast-sede-label::before { display: none; }
.icfast-sede-label-text { display: inline-block; line-height: 1.1; white-space: nowrap; }
.icfast-sede-label-text--wrapped { display: inline-grid; gap: 1px; min-width: max-content; text-align: center; white-space: normal; }
@media (max-width: 620px) {
  .icfast-layer-control { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: auto; max-width: none; margin: 0 0 8px; }
  .icfast-layer-control strong { grid-column: 1 / -1; }
  .icfast-map-legend { left: 8px; bottom: 10px; width: 178px; max-height: 52%; font-size: 10px; }
}

/* Shared map chrome for the executive dashboard theme */
.icfast-layer-control,
.icfast-map-legend {
  border-color: rgba(148, 163, 184, .28);
  border-radius: 12px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .10);
  backdrop-filter: blur(8px);
}

.icfast-layer-control {
  top: 12px;
  gap: 8px;
  max-width: min(210px, calc(100% - 24px));
  padding: 10px 12px;
}

.icfast-layer-control label {
  gap: 7px;
  color: #334155;
  font-weight: 500;
}

.icfast-map-legend {
  width: 196px;
  gap: 7px;
  padding: 13px 14px;
  color: #64748b;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .10) !important;
}

.icfast-map-legend strong {
  color: #0f172a;
  text-align: left;
}
