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

#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;
}

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

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

/* Zoom button repositioning and resizing */
.leaflet-control-zoom {
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
}

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

.bearing-arrow {
  width: 30px;
  height: 30px;
  transform-origin: center;
  transition: transform 0.2s ease-in-out;
}


#center-button {
  position: absolute;
  top: 80px;
  right: 10px;
  font-size: 1.5em;
  padding: 10px 14px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  z-index: 1000;
  cursor: pointer;
  width: 50px;
  height: 50px;
  text-align: center;
}

#center-button:active {
  background-color: #0056b3;
}


#delete-button {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5em;
  padding: 15px 25px;
  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;
}


