/**
 * Shared styles for example info banners
 * Used across multiple example files to provide consistent UI guidance
 */

.info-overlay {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 70px 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 1000;
  max-width: 90%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  background: rgba(52, 73, 94, 0.8);
  color: white;
}

.info-overlay .close-btn {
  position: absolute;
  top: 20px;
  right: 10px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  color: white;
  font-size: 12px;
  cursor: pointer;
  padding: 4px 7px;
  opacity: 0.9;
  line-height: 1;
  font-family: inherit;
}

.info-overlay .close-btn:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.3);
}

.info-overlay .close-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  background: rgba(255, 255, 255, 0.3);
}

.info-overlay h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 15px;
}

.info-overlay p {
  margin-top: 8px;
  margin-bottom: 0;
}

#map-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
