@import url('./common.css');

#map {
  position: absolute;
  width: 100vw;
  height: 100vh;
  z-index: 0;
}

.leaflet-container.hovering-feature {
  cursor: crosshair !important;
}
.leaflet-interactive {
  cursor: crosshair !important;
}
.leaflet-custom-topright .leaflet-control {
  margin: 5px !important;
}
.leaflet-control-zoom,
.leaflet-control-layers {
  float: none !important;
}
.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
  padding: 3px;
  font-size: 16px;
  width: auto;
}
.leaflet-control-zoom-in,
.leaflet-control-zoom-out,
.leaflet-control-layers {
  background: var(--bg-one) !important;
  color: var(--textcolor-darker) !important;
  border: 0px !important;
}
.leaflet-container {
  background: var(--bg-one) !important;
}

/* Footer */
#page-footer {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: fit-content;
  background: var(--bg-one);
  color: var(--textcolor-dark);
  padding: 7px;
  text-align: center;
  font-size: 14px;
  border-radius: 8px;
  box-shadow: var(--boxshadow-center);
  z-index: 1000;
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
}
#page-footer a {
  color: var(--textcolor-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 7px;
  font-size: 16px;
  line-height: 1;
}
#page-footer i {
  font-size: 20px;
  display: flex;
  align-items: center;
  line-height: 1;
}
.footer-logo {
  height: 20px;
  width: auto;
  display: block;
}

/*Help div */
#help-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
}
#help-modal.hidden {
  display: none;
}
#help-content {
  background-color: #fff;
  color: #000;
  padding: 20px;
  border-radius: 8px;
  max-width: 600px;
  width: 80%;
  position: relative;
  font-size: 14px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}
#help-content h2 {
  margin-top: 0;
}
#close-help {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #888;
}
#close-help:hover {
  color: #000;
}

/* Misc stuff */
.flex-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-center {
  text-align: center;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  overflow: hidden;
}

body,
html,
#sidebar,
#hover-info-box,
input,
label,
button,
select,
textarea {
  font-family: 'Roboto', Arial, sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 10px 0px;
}