* {
  --brandColor: rgba(213, 108, 33, 1);
}

.leaflet-control-attribution {
  display: none !important;
}

body {
  pointer-events: none;
}

#map {
  pointer-events: all;
  z-index: -1; 
  left:0; 
  top:0; 
  position: absolute; 
  width: 100vw; 
  height: 100vh; 
}

.header {
  pointer-events: all;
  z-index: -21;
  display: flex; 
  justify-self: center; 
  align-self: center; 
  justify-content: center;
}

.test {
  filter: hue-rotate(45deg);
}

.hidden {
  display: none !important;
}

.block, button {
  z-index: 1;
  display: flex;
  border: 4px var(--brandColor) solid;
  padding: 10px;
  background-color: #fff;
  border-radius: 25px;
}

button {
  border-radius: 10px;
}

button:hover {
  filter:brightness(.9);
}

button:active {
  filter: contrast(1.5);
}

#upBlock, #bottomBlock {
  z-index: 1;
  display: flex;
  border: 4px var(--brandColor) solid;
  padding: 10px;
  background-color: #fff;
  border-radius: 25px;
}

#upBlock > *~* {
    margin-left: 10px;
}

.horizFlex {
  display: flex;
}

.vertFlex {
  display: flex;
  flex-direction: column;
  /* align-content: center; */
  justify-content: center;
  align-items: left;
}

#bottomBlock {
  align-items: center;
}

select {
    align-self: center;
    height: min-content;
    border: 2px solid var(--brandColor);
}

#pathForm select{
  box-sizing: border-box;
  max-width: 35vw;
}

/* Линия с анимацией фона */
.line {
    background: linear-gradient(
      90deg,
      #007bff 0%, 
      #007bff 10%, 
      transparent 10%, 
      transparent 100%
    );
    background-size: 200% 100%;
    border-radius: 2px;
    animation: moveGradient 5s linear infinite;
  }

  /* Анимация перемещения градиента */
  @keyframes moveGradient {
    0% {
      background-position: 0% 0%;
    }
    100% {
      background-position: -100% 0%;
    }
  }

.footer {
  pointer-events: all;
  position: absolute;
  bottom: 0;
  z-index: -1;
}

.bottomBlock {
  z-index: 10;
}

.popupForm {
  display: flex;
  position: relative;
  top: 100px; 
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.popupForm fieldset, .popupForm legend {
  pointer-events: all;
  background-color: #fff;
  border: inset;
  padding: 15px;
  border-radius: 20px;  
}

.popupForm .listTitle {
  border: inset 1px;
  border-radius: 0;
  padding: 0 5px;
}

.pathMarker fieldset {
  height: 100px;
  border: inset 1px;
  border-radius: 0;
  padding: 0 5px;
  margin-top: 10px;
  overflow-y: scroll;
}

.popupForm form {
  display: flex;
  flex-direction: column;
}

.popupForm input ~ label{
  margin-top: 5px;
}

.popupForm div ~ label {
  margin-top: 5px; 
}

.popupForm input {
  margin-top: 10px; 
}



button#addEdge {
    margin: 0;
    padding: 3px;
  }

.pathList {
  box-sizing: border-box;
  margin: 3px;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.pathList li {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 3px 0;
  padding: 3px;
  border-bottom: inset 1px black;
}
.pathList button {
  margin: 0;
  padding: 1px;
}
.pathList input {
  margin-left: 10px;
  margin-top: 0;
}
  