@font-face {
  font-family: 'yekan';
  src: url('fonts/yekan.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'vazir';
  src: url('fonts/vazir.ttf') format('truetype');
}


    html, body {
            margin: 0;
            padding: 0;
            height: 100%;
        }

.geocontainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  min-height: max-content;
  font-family: 'vazir', sans-serif;
}

.map-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

#province-svg-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

#province-svg-container svg {
  width: 100%;
  max-width: 750px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.city-path {
  cursor: pointer;
}

@media (max-width: 1000px) {
  #province-svg-container {
    max-width: 100%;
  }

  #province-svg-container svg {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}

#province-svg-container svg .tooltip {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  opacity: 1 !important;
}


.tooltip {
    position: fixed !important;
    padding: 5px !important;
    font-size: 12px !important;
    font-family: 'vazir', Arial, sans-serif !important;
    color: #333 !important;
    line-height: 1.4 !important;
    max-width: 300px !important;
    background: #fff !important;
    border: 1px solid #ccc !important;
    border-radius: 5px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
    pointer-events: none !important;
    z-index: 1000 !important;
    display: block !important;
    opacity:1 !important;
}


#province-svg-container svg .tooltip div {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  cursor: default;
  opacity: 1 !important;
}

#province-svg-container svg image[data-marker-id] {
  pointer-events: none;
}

#legend-container {
  margin-top: 0px;
}

.legend-content {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 0px;
  justify-content: flex-end;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-direction: row-reverse;
}

.legend-color {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  display: inline-block;
}

.legend-text {
  font-size: 14px;
  font-family: 'Vazir', Arial, sans-serif;
  color: #333;
}