.map-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1rem;
  background: #3a5174;
  color: white;
  flex-wrap: wrap;
  font-family: sans-serif;
}

.map-header > div {
  flex: 1 1 auto;
  text-align: center;
}

.map-header .left-text{
  font-size:large;
  text-align: left;
}

.map-header .right-text {
  text-align: right;
}

.map-header .center-controls label {
  margin: 0 0.5rem;
  white-space: nowrap;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.page-container {
  display: flex;
  height: 100%;
}

.sidebar {
  width: 180px;
  background: #f5f5f5;
  padding: 1rem;
  box-shadow: 2px 0 5px rgba(0,0,0,0.1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar-buttons {
  display: flex;
  flex-direction: row;    /* make buttons sit side by side */
  gap: 0.5rem;            /* spacing between buttons */
  flex-wrap: wrap;        /* optional: allow wrapping if narrow */
}

.sidebar button {
  padding: 6px 12px;
  font-size: 0.9rem;
  cursor: pointer;
}

#group-controls {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-family: sans-serif;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#map {
  flex-grow: 1;
  width: 100%;
}

a,
a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none;
  color: inherit;       /* inherit surrounding text color */
  cursor: inherit;      /* inherit cursor (removes hand) */
}

/* Keep pointer on hover */
a:hover {
  cursor: pointer;
}

.leaflet-control-attribution {
  margin-right: 25px !important;
  margin-bottom: 10px !important;
}
