html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: sans-serif;
  overflow:auto;
}

#map {
  height: 100vh;
  width: 100%;
}

#heading-display {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 2.5em;
  padding: 10px 14px;
  border-radius: 6px;
  z-index: 1000;
  font-weight: bold;
  text-align: right;
}

#center-button {
  position: absolute;
  top: 80px;
  right: 10px;
  width: 50px;
  height: 50px;
  background-color: white;
  background-image: url('../images/center-icon.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  cursor: pointer;
}

#center-button:active {
  background-color: #e6e6e6;
}

#mark-button {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.2em;
  padding: 10px 20px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 8px;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  cursor: pointer;
}

#mark-button:active {
  background-color: #218838;
}

#delete-button {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.2em;
  padding: 8px 16px;
  background-color: #dc3545;
  color: white;
  border: none;
  border-radius: 8px;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  cursor: pointer;
}

#delete-button.active {
  background-color: #b02a37;
}

#enable-compass {
  position: absolute;
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.3em;
  padding: 14px 24px;
  background-color: #ffc107;
  color: black;
  border: none;
  border-radius: 8px;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  cursor: pointer;
}

#enable-compass.hidden {
  display: none;
}

/* Enlarge zoom buttons */
.leaflet-control-zoom {
  top: 150px !important;
  right: 10px !important;
  left: auto !important;
}

.leaflet-control-zoom a {
  font-size: 1.5em !important;
  padding: 10px !important;
}
