#divGeolocalizacion,
#mi_mapa {
  position: relative;
  width: auto;
  /*height: 400px;*/
  height: 200px;
  top: -10px;
}

/*------------------------------------------------*/
/* Animacion tipo radar mapa */
/*------------------------------------------------*/
.radar-pulse {
  position: absolute;
  width: 100px;
  height: 100px;
  margin-left: -50px; /* centrar */
  margin-top: -50px;
  border-radius: 50%;
  background: rgba(0, 136, 255, 0.4);
  animation: radarPulse 2s infinite;
  z-index: 999;
  pointer-events: none;
}

@keyframes radarPulse {
  0% {
    transform: scale(0.2);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}
/*------------------------------------------------*/

/*------------------------------------------------*/
/* Sidebar transición */
/*------------------------------------------------*/
.seccion {
  transition: transform 0.4s ease, opacity 0.4s ease;
  transform: translateX(100%);
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: none;
}

.seccion.active {
  display: block;
  transform: translateX(0%);
  opacity: 1;
}

.seccion.slide-out {
  transform: translateX(100%);
  opacity: 0;
}
/*------------------------------------------------*/

/*------------------------------------------------*/
/* Lista de empresas yawi */
/*------------------------------------------------*/
.card-empresa-yawi {
  max-width: 100%;
  border: 2px solid #ddd;
  border-radius: 16px;
  padding: 16px;
  margin: 16px;
  background-color: #fff;
  font-family: sans-serif;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.empresa-nombre {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.categoria {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 6px;
  text-transform: uppercase;
  font-weight: bold;
}

.iconos-contacto {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: 12px 0;
}

.iconos-contacto img {
  width: 40px;
  height: 40px;
  margin: 6px;
  padding: 6px;
  background: #ffe600;
  border-radius: 12px;
  transition: transform 0.2s;
}

.iconos-contacto img:hover {
  transform: scale(1.1);
}

.imagen-empresa img {
  width: 100%;
  border-radius: 12px;
  margin-top: 12px;
  max-height: 180px;
  object-fit: cover;
}

.boton-taxi {
  background: #F3DD31;
  color: #00008B;
  font-weight: bold;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  margin-top: 16px;
  width: 100%;
  height: 80%;
  cursor: pointer;
  font-size: 1rem;
}

.boton-taxi:hover {
  background-color: #FDDA24;
}

.boton-cancelar {
  background: #000000;
  color: #ffffff;
  font-weight: bold;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  margin-top: 16px;
  width: 100%;
  height: 80%;
  cursor: pointer;
  font-size: 1rem;
}

.boton-cancelar:hover {
  background-color: #303030;
}

.direccion {
  margin-top: 12px;
  font-size: 0.6rem;
}

.direccion p {
  margin: 4px 0;
}



.splash-container {
  position: fixed;
  top: 0%;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
  text-align: center;
}

.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bienvenida-yawi {
  font-size: 20px;
  font-weight: 500;
  color: #00008B;
  margin-bottom: 20px;
}

.splash-logo img {
  width: 250px;
  animation: bounceYawi 0.5s infinite;
  margin-bottom: 30px;
}

@keyframes bounceYawi {

  0%,
  100% {
    transform: translateY(25px);
  }

  50% {
    transform: translateY(-25px);
  }
}

.powered-text {
  font-size: 14px;
  color: #000000;
  margin-bottom: 8px;
  display: none;
}

.powered-box {
  background-color: black;
  padding: 12px 160px;
  margin-top: 120px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.powered-logo {
  height: 32px;
  object-fit: contain;
}

/* Estilo focus rosadito CardsListEmpresasYawi */
.input-Celular:focus {
  background-color: #ffe6f2;   /* Color rosadito */
  border-color: #d63384;       /* Borde rosado */
  outline: none;                 /* Elimina el borde predeterminado del navegador */
}

.input-Nombre:focus {
  background-color: #ffe6f2;   /* Color rosadito */
  border-color: #d63384;       /* Borde rosado */
  outline: none;                 /* Elimina el borde predeterminado del navegador */
}
/*------------------------------------------------*/


/*------------------------------------------------*/
/* Estilo focus rosadito para todos los inputs y selects */
/*------------------------------------------------*/
#tipoViaPrincipal:focus {
  background-color: #ffe6f2;   /* Color rosadito */
  border-color: #d63384;       /* Borde rosado */
  outline: none;                 /* Elimina el borde predeterminado del navegador */
}

#numeroVia:focus {
  background-color: #ffe6f2;   /* Color rosadito */
  border-color: #d63384;       /* Borde rosado */
  outline: none;                 /* Elimina el borde predeterminado del navegador */
}

#numeroInterseccion:focus {
  background-color: #ffe6f2;   /* Color rosadito */
  border-color: #d63384;       /* Borde rosado */
  outline: none;                 /* Elimina el borde predeterminado del navegador */
}

#numeroCasa:focus {
  background-color: #ffe6f2;   /* Color rosadito */
  border-color: #d63384;       /* Borde rosado */
  outline: none;                 /* Elimina el borde predeterminado del navegador */
}

#bloque:focus {
  background-color: #ffe6f2;   /* Color rosadito */
  border-color: #d63384;       /* Borde rosado */
  outline: none;                 /* Elimina el borde predeterminado del navegador */
}

#apartamento:focus {
  background-color: #ffe6f2;   /* Color rosadito */
  border-color: #d63384;       /* Borde rosado */
  outline: none;                 /* Elimina el borde predeterminado del navegador */
}

#sitioQth:focus {
  background-color: #ffe6f2;   /* Color rosadito */
  border-color: #d63384;       /* Borde rosado */
  outline: none;                 /* Elimina el borde predeterminado del navegador */
}

#barrio:focus {
  background-color: #ffe6f2;   /* Color rosadito */
  border-color: #d63384;       /* Borde rosado */
  outline: none;                 /* Elimina el borde predeterminado del navegador */
}
/*------------------------------------------------*/

/*------------------------------------------------*/
/* Mostrar con animación */
/*------------------------------------------------*/
.mostrarContenedor {  
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideIn 0.8s ease-out forwards;
}

@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ocultar con animación */
.ocultarContenedor {
  opacity: 1;
  transform: translateY(0);
  animation: fadeSlideOut 0.4s ease-in forwards;
}

@keyframes fadeSlideOut {
  to {
    opacity: 0;
    transform: translateY(20px);
  }
}
/*------------------------------------------------*/


/*------------------------------------------------*/
/* animacion ImageChatBot */
/*------------------------------------------------*/
@keyframes flip3D {
  from { transform: rotateY(0); }
  to { transform: rotateY(360deg); }
}

.animate-flip {
  animation: flip3D 1s linear;
}

@keyframes bounce {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.2); }
  50%  { transform: scale(0.9); }
  70%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.bounce {
  animation: bounce 0.5s ease;
}

.chat-header {
  height: 10px;
  font-size: 16px;
  font-weight: bold;
  margin-top: -8px;
}

.chat-body {
  height: calc(100% - 100px); /* ajusta según encabezado + input */
  background: #fff;
  overflow-y: auto;
  height: 96%;
}

.chat-input {
  height: 50px;
}

.mensaje {
  max-width: 70%;
  padding: 10px;
  margin-bottom: 24px;
  border-radius: 12px;
  position: relative;
}

.mensaje .hora {
  font-size: 10px;
  color: #303030;
  position: absolute;
  bottom: -16px;
  right: 10px;
}

.mensaje.usuario {
  background-color: #e5e5e5;
  color: black;
  align-self: flex-end;
  margin-left: auto;
}

.mensaje.bot {
  background-color: #007bff;
  color: white;
  align-self: flex-start;
  margin-right: auto;
}
/*------------------------------------------------*/
