/******** MAPA CONTROLE *********/
.mapa-controle-btn {
    background-color: white;
    border: 1px solid #ccc;
    padding: 6px 10px;
    margin: 2px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
    transition: background-color 0.2s;
}

.mapa-controle-btn:hover {
    background-color: #f0f0f0;
}

/******** MARCADOR **************/
.jet-map-marker {
  font-size: 8px;
  border: 1px solid #ffffff;
  border-radius: 100px;
  box-shadow: 1px 2px 3px 0 rgb(0 0 0 / 30%);
  background-color: transparent;
}



/************ FILTROS ***********/

#mapa-remmt {
  flex-grow: 1;
  height: 80vh;
  min-height: 600px;
}

.filtro-mapa-container {
  color: #ffffff;
  padding: 15px;
  width: 100%;
}

.tit_filtro {
  color: #ffffff;
}

#filtros-mapa {
  display: flex;
  flex-direction: column;
  width: 100%;
}

#filtros-mapa label {
  font-weight: bold;
  margin-top: 12px;
  margin-bottom: 4px;
  font-size: 14px;
}

#filtros-mapa select,
#filtros-mapa button,
#filtros-mapa input {
  padding: 6px 10px;
  font-size: 14px;
  margin-bottom: 12px;
  border-radius: 4px;
  border: 1px solid #fff;
  width: 100%;
  box-sizing: border-box;
  color: #fff;
}

#filtros-mapa button {
  background-color: #fa8b05;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#filtros-mapa button:hover {
  background-color: #e2e2e2;
}

@media (max-width: 768px) {
  #remmt-wrapper {
    flex-direction: column;
  }

  .filtro-mapa-container,
  #mapa-remmt {
    width: 100%;
  }
}

/* ------------------------------
   AUTOCOMPLETE
-------------------------------*/

.autocomplete-wrapper {
  width: 100%;
  position: relative;
}

.autocomplete-list {
  position: absolute;
  top: 36px;
  left: 0;
  right: 0;
  background: white;
  border: 0px solid #ccc;
  max-height: 200px;
  overflow-y: auto;
  z-index: 9999;
  width: 100%;
  box-sizing: border-box;
  color: #000;
}

.autocomplete-item {
  padding: 6px 8px;
  cursor: pointer;
}

.autocomplete-item:hover {
  background: #e5f3f1;
}

/* ------------------------------
   FIX PARA ELEMENTOR (IMPORTANTE!)
-------------------------------*/

.elementor-shortcode {
  width: 100% !important;
  display: block !important;
}

.filtro-mapa-container {
  max-width: 100% !important;
}

#filtros-mapa {
  max-width: 100% !important;
}



/* LOADING OVERLAY */
#mapa-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(3px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-family: inherit;
    transition: opacity 0.3s ease;
}

#mapa-loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.mapa-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #ccc;
    border-top-color: #009688;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
    margin-bottom: 12px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#mapa-loading p {
    font-size: 16px;
    color: #333;
    margin-top: 5px;
}
