
.search-direccion-wrapper {
    position: relative;
    z-index: 1000; /* Un valor alto para asegurar que esté por encima del mapa */
}

/* Estilos adicionales para mejorar la visibilidad */
::v-deep .multiselect__content-wrapper {
    z-index: 1001; /* Un valor más alto que el wrapper para asegurar que el dropdown esté por encima */
    background-color: white; /* Asegura un fondo sólido */
    border: 1px solid #e8e8e8; /* Añade un borde para mejor visibilidad */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Añade una sombra sutil */
}

.slide-fade-enter-active, .slide-fade-leave-active {
    transition: all 0.6s ease;
  }
  .slide-fade-enter-from, .slide-fade-leave-to {
    transform: translateX(20px);
    opacity: 0;
  }
  
  .fade-enter-active, .fade-leave-active {
    transition: opacity 0.6s;
  }
  .fade-enter-from, .fade-leave-to {
    opacity: 0;
  }
  
  .slide-up-enter-active, .slide-up-leave-active {
    transition: all 0.6s ease;
  }
  .slide-up-enter-from, .slide-up-leave-to {
    transform: translateY(30px);
    opacity: 0;
  }
  .page-content {
    position: relative;
  }
  

  .right-toggle {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .bottom-toggle {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .custom-popup {
    max-width: 100%; /* Ajusta el ancho máximo */
    max-height: 90%; /* Ajusta la altura máxima */
    overflow-y: auto; /* Agrega scroll si el contenido supera la altura */
    margin: auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  .popup-content {
    margin: 10px;
  }
  .popup-header, .popup-footer {
    text-align: center;
  }

  #map {
    transition: height 0.3s ease-in-out;
  }

  .custom-user-icon {
    background: none !important;
    border: none;
    box-shadow: none;
  }
  
  .custom-user-icon .icon-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: 2px solid red;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
  }
  
  .custom-user-icon .user-count {
    color: black;
    font-weight: bold;
    font-size: 12px;
    line-height: 1;
    text-align: center;
  }
  
  /* Ajuste para números grandes */
  .custom-user-icon[style*="width: 40px"] .user-count {
    font-size: 10px;
  }

  

.waze-button {
  background-color: None;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.waze-icon {
  width: 45px;  /* Ajusta este valor según el tamaño deseado */
  height: 45px; /* Ajusta este valor según el tamaño deseado */
}



.leaflet-popup-content {
font-family: 'Arial', sans-serif;
max-width: 600px;
margin: 0 !important;
padding: 0px !important;
width: 600px;
}

.leaflet-popup-close-button {
  top: 5px;
  right: 5px;
  color: white;
}

.leaflet-popup-content-wrapper {
  padding: 0;
}

.leaflet-popup {
  margin-left: -20px; /* Ajusta según sea necesario */
}


.toggle-btn {
width: 40px;
height: 40px;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
background-color: #5f61cc; 
color:white;
cursor: pointer;
transition: background-color 0.3s ease;
border-radius: 4px 0px 0px 4px;
position: fixed;
z-index: 1030;
}


.toggle-btn:hover {
background-color: #f0f0f0;
}

.toggle-btn.active {
background-color: #2CA67A;
color: white;
}



.toggle-btn-side-container {
position: absolute;
left: -40px;
top: 50%;
transform: translateY(-50%);
display: flex;
flex-direction: column;
gap: 20px;
}

.toggle-btn-side {
border: 1px solid #ddd;
border-right: none;
border-radius: 4px 0 0 4px;
}

.right-toggle, .right-toggle-secondary {
position: static;
transform: none;
}


.panel-container {
position: fixed;
top: 0;
right: 0;
bottom: 0;
width: 33.333%; /* Ajusta según sea necesario */
transform: translateX(100%);
transition: transform 0.3s ease;
background-color: white;
box-shadow: -2px 0 5px rgba(0,0,0,0.1);
z-index: 1000;
}

.panel-container.visible {
transform: translateX(0);
}

.toggle-buttons-container {
position: absolute;
left: -40px; /* Ajusta según el tamaño de tus botones */
top: 35%;
transform: translateY(-50%);
display: flex;
flex-direction: column;
gap: 10px;
}

.main-content {
    margin-left: 0 !important;
}

.main-content.shifted {
margin-right: 33.333%; /* Debe coincidir con el ancho del panel */
}


/* Posicionamiento específico para cada botón */
.toggle-btn:nth-child(1) 
{
  top: calc(30% - 30px); /* Ajusta este valor para mover el primer botón hacia arriba */
}

.toggle-btn:nth-child(2) 
{
  top: calc(30% + 30px); /* Ajusta este valor para mover el segundo botón hacia abajo */
}

.toggle-btn:nth-child(3) 
{
  top: calc(30% + 90px); /* Ajusta este valor para mover el segundo botón hacia abajo */
}

.panel-content {
  margin-top:8vh;
  height: 100%;
  margin-bottom:30px;
  overflow-y: auto;
  padding: 15px;
}
.bottom-panel-container {
position: fixed;
left: 0;
right: 0;
bottom: 0;
height: 40vh; /* Ajusta según sea necesario */
transform: translateY(100%);
transition: transform 0.3s ease;
background-color: white;
box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
z-index: 1000;
display: flex;
flex-direction: column;
}
.bottom-panel-container.visible {
transform: translateY(0);
}

.toggle-bottom-button-container {
position: absolute;
top: -40px;
left: 50%;
transform: translateX(-50%);
}

.toggle-btn-bottom {
border: 1px solid #ddd;
border-bottom: none;
border-radius: 4px 4px 0 0;
}

.toggle-btn-bottom-container {
position: absolute;
top: -10px;
left: 50%;
transform: translateX(-50%);
}


@keyframes parpadeo {
  0% { background-color: #f83e81; }  /* Azul inicial */
  50% { background-color: #a29bfe; } /* Azul más claro durante el parpadeo */
  100% { background-color: #f83e81; } /* Vuelve al azul inicial */
}

.parpadeo {
  animation: parpadeo 1s infinite; /* La animación se repetirá infinitamente cada 1 segundo */
}
