* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, html {
  height: 100vh;
  width: 100%;
  font-family: Arial, sans-serif;
  background: #f0f0f0;
  overflow: hidden;
}

.app {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background: white;
}

.header {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  font-weight: bold;
  color: white;
  background: #f55;
  border-bottom: 1px solid #ddd;
}

.map {
  display: flex;
  width: 100vw;
  background: #e3e3e3;
  position: relative;
  height: 100vh;
  z-index: 1;
}

#topNavMenu {
  position: absolute;
  right: 10px;
  top: 5px;
  padding: 5px;
  z-index: 1000;
}

#bottomNavMenu {
  position: absolute;
  left: 10px;
  bottom: 5px;
  padding: 5px;
  z-index: 1000;
}

#clearButton {
  background-color: #1E90FF;
  border: none;
  color: white;
  padding: 10px 20px;
  z-index: 1100;
  border-radius: 5px;
  opacity: 0.9;
}

#calculateButton {
  background-color: #1E90FF;
  border: none;
  color: white;
  padding: 10px 20px;
  z-index: 1100;
  border-radius: 5px;
  opacity: 0.9;
}

#exportButton {
  background-color: #1E90FF;
  border: none;
  color: white;
  padding: 10px 20px;
  z-index: 1100;
  border-radius: 5px;
  opacity: 0.9;
}

#trackButton {
  padding: 10px 10px;
  border: none;;
  border-radius: 5px;
  z-index: 1100;
  opacity: 0.9;
}

#trackButton.inactive {
  background-color: #1E90FF;
  color: white;
}

#trackButton.active {
  background-color: #E74C3C;
  color: white;
}

#centerButton {
  padding: 10px 10px;
  border: none;;
  border-radius: 5px;
  z-index: 1100;
  opacity: 0.9;
}

#centerButton.inactive {
  background-color: #1E90FF;
  color: white;
}

#centerButton.active {
  background-color: #E74C3C;
  color: white;
}

#navigation {
  position: absolute;
  padding: 10px;
  bottom: 80px;
  left: 50%;
  margin-left: -125px;
  width: 250px;
  background-color: rgba(255, 255, 255, 0.9); /* Dimmed background */
  z-index: 1500;
  border-radius: 10px;
  font-size: 18px;
  text-align: center;
  display: none;
}

#navigation.active {
 display: block;
}

#navigation.inactive {
 display: none;
}


hr {
  clear: both;
  margin-top: 40px;
  margin-bottom: 40px;
  border: 0;
  border-top: 1px solid #aaa;
}

.modal {
  content: "";
  display: none;
  background: rgba(0, 0, 0, 0.6);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
}

.modal-dialog {
  background: #fefefe;
  border: #333 solid 1px;
  border-radius: 5px;
  margin-left: -180px;
  position: fixed;
  left: 50%;
  top: 20%;
  z-index: 11;
  width: 360px;
}

.modal-body {
  padding: 20px;
}

.modal-header, .modal-footer {
  padding: 10px 20px;
}

.modal-header {
  border-bottom: #eee solid 1px;
}

.modal-header h2 {
  font-size: 20px;
}

.modal-footer {
  border-top: #eee solid 1px;
  text-align: right;
}

.btn {
  background: #428bca;
  border: #357ebd solid 1px;
  border-radius: 3px;
  color: #fff;
  display: inline-block;
  font-size: 14px;
  padding: 8px 15px;
  text-decoration: none;
  text-align: center;
  min-width: 60px;
  position: relative;
  transition: color .1s ease;
}

.btn.btn-big {
  font-size: 18px;
  padding: 15px 20px;
  min-width: 100px;
}

.btn-close {
  color: #aaa;
  font-size: 30px;
  text-decoration: none;
  position: absolute;
  right: 5px;
  top: 0;
}

.disabled-btn {
  background-color: #666 !important;
}
