@media (max-width: 2600px) {
  section.top-page-info {
    padding-bottom: 150px;
    height: auto;
  }
}

@media (max-width: 1199px) {
  section.top-page-info {
    padding-bottom: 170px;
    height: auto;
  }
}

@media (max-width: 991px) {
  section.top-page-info {
    padding-bottom: 280px;
    height: auto;
  }
}

@media (max-width: 767px) {
  section.top-page-info {
    padding-bottom: 364px;
    height: auto;
  }
}

.card-tecnico {
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 10px 0;
  background-color: #ffffff;
  padding: 12px 0 12px 20px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
}

.card-tecnico:hover {
  background-color: #f8faff;
}

.card-tecnico .row {
  width: 100%;
}

.card-tecnico .col-md-6 {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-tecnico .text-md-right {
  text-align: right;
}

.card-tecnico h5 {
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: #333;
}

.card-tecnico h6 {
  margin-bottom: 0;
  margin-top: 4px;
  font-weight: 500;
  color: #007bff;
}

.card-tecnico small {
  color: #6c757d;
}

.detalhes-tecnico {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #555;
  display: none;
}

.detalhes-tecnico p {
  margin: 2px 0;
  font-size: 0.9rem;
  color: #555;
}

.arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  cursor: pointer;
  font-size: 24px;
  user-select: none;
}

.card-tecnico.expanded .arrow {
  margin-top: 5px;
  transform: rotate(90deg);
}

.card-tecnico.highlight-last {
  border: 2px solid #ff9800;
  background-color: #fff3e0;
}

.map {
  height: 100%;
  width: 100%;
}
/* Estilos para tooltip e popup */
.map-tooltip {
  position: absolute;
  background: rgba(255, 255, 255, 0.8);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #ccc;
  white-space: nowrap;
  pointer-events: none;
  display: none;
  font-size: 12px;
  font-family: Calibri, sans-serif;
  z-index: 1000;
}
.map-popup {
  position: absolute;
  background: white;
  padding: 5px;
  border: 1px solid black;
  border-radius: 4px;
  min-width: 100px;
  display: none;
  font-size: 12px;
  font-family: Calibri, sans-serif;
  z-index: 1000;
}

.map-legenda {
  display: none;
  color: white;
  font-size: 12px;
  background-color: rgba(0, 0, 0, 0.26); /* #00000042 em rgba */
  padding: 4px 6px;
}

.legend-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 5px;
}

.legend-icon.municipios {
  background-color: rgba(0, 0, 255, 0.1);
  border: 0.5px solid gray;
}

.legend-icon.selecionado {
  background-color: rgba(255, 165, 0, 0.3);
  border: 0.5px solid orange;
}

.legend-icon.tecnicos {
  background-image: url(../static/icons/geo-alt-fill.svg);
  background-repeat: no-repeat;
  background-position: center;
}

.legend-icon.tecnico-selecionado {
  background-image: url(../static/icons/geo-alt-fill-red.svg);
  background-repeat: no-repeat;
  background-position: center;
}

.lista-tecnicos {
  max-height: 420px;
  overflow-y: auto;
  padding-right: 10px;
}

.select2-container .select2-selection--single {
  height: 50px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 50px;
}

.select2-container .select2-selection--single .select2-selection__arrow {
  height: 50px;
}

.select2-container .select2-selection--single .select2-selection__clear {
  height: 50px;
}
