/* Стиль для контурів областей */

.map-container{
    width: 80%;
    height: auto;
    margin: auto;
}


.st0 {
  stroke: #ebebeb;
  stroke-width: 3;
  transition: 
    fill 0.3s ease, 
    stroke 0.3s ease, 
    stroke-width 0.3s ease, 
    transform 0.3s ease, 
    filter 0.3s ease;
}

.st0:hover {
  
  stroke-width: 4;
  cursor: pointer;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}
/* /////////////////////// */

  /* Лівий верхній кут — завантаження файлу та шаблон */
  #fileBlock {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
  }

 p {
    position: absolute;
    top: 10px;
    left: 10px;
  }

  /* Верх центру — загальна інформація */
  #generalInfo {
    position: absolute;
    bottom: 40px;
     right: 10px;
/*     transform: translateX(-50%); */
    font-weight: bold;
    z-index: 10;
  }

  /* Правий верхній кут — кнопка очищення */
  #clearStorageBtn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
  }

  /* Низ центру — повзунок */
  #mapSlider {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
  }

  #sliderLabel {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: bold;
    z-index: 10;
  }

  /* Підказка при наведенні */
  #tooltip {
    position: absolute;
    display: none;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 14px;
    pointer-events: none;
    white-space: nowrap;
    z-index: 1000;
  }

  /* Модальне вікно */
  #modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    border-radius: 10px;
  }

  #modal input {
    width: 100%;
    margin-top: 10px;
  }

  #modal div {
    margin-top: 15px;
    text-align: right;
  }

  /* Фонове затемнення */
  #overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }



