.logo-container {
  position: absolute;
  top: 10px;
  left: 70px;
  z-index: 1000; /* over map */
  display: flex;
  flex-direction: column; /* Impila logo e widget verticalmente */
  align-items: flex-start; /* Allinea a sinistra */
  gap: 12px; /* Spazio esatto tra il logo e il widget */
  pointer-events: none; /* Permette il click sulla mappa negli spazi vuoti */
}

.logo-overlay {
  position: relative;
  top: 0;
  left: 0;
  width: 300px;
  height: auto;
  pointer-events: auto;
}

.status-overlay {
  pointer-events: auto;
  background: rgba(20, 20, 20, 0.85);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 8px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.1);
}

#mc-status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #888888;
  display: inline-block;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* mobile responsive */
@media (max-width: 768px) {
  .logo-container {
    top: 8px;
    left: 65px;
    gap: 8px;
  }

  .logo-overlay {
    width: 250px;
    max-width: 65vw; /* relative to screen width */
  }

  .status-overlay {
    padding: 4px 10px;
    font-size: 11px;
  }
}