.menu-buscador-pc {
  display: block;
}

.boton-buscador-movil {
  display: none;
}

/* Mostrar solo en móviles */
@media (max-width: 768px) {
  .menu-buscador-pc {
    display: none;
  }

  .boton-buscador-movil {
    background: #FFD24D;
    display: block;
    height: 100%; margin: 0;
  }
}


.tabla_buscador_back { width: 100%; 
background-color: #FFD24D;   }

.tabla_buscador_1{ 
width: var(--anchoP);
margin: auto;
padding: 0px;
display: grid;
grid-template-columns: 1fr 250px;
background-color: #FFD24D;
grid-column-gap: 10px;
}

@media only screen and (max-width: 1118px) {
.tabla_buscador_1{ 
width: 100%;

}
}

@media only screen and (max-width: 500px) {
.tabla_buscador_1{ 
margin: auto;
padding: 0px;
display: grid;
grid-template-columns: 1fr;

}
}

.tabla_buscador { 
width: 100%;
margin: 10px auto;
padding: 0px;
display: grid;
grid-template-columns: 1fr 1fr 1fr  80px;
grid-column-gap:10px;
}

.inputinvol{
  border: 2px solid rgba(255,255,255,0.4);
  padding: 0px 10px ;
    display: grid;
  grid-template-columns:  1fr;
justify-items:left;
align-items:center;
border-radius: 12px;
  
}

.involt{ font-weight: 700;
color:#003571;
font-size: 12px; margin-top: 6px;}



@media only screen and (max-width: 618px) {
.inputinvol{
  border: 1px solid rgba(255,255,255,0.4);
  padding: 0px 2px ;
    display: grid;
  grid-template-columns:  1fr;
justify-items:left;
align-items:center;
border-radius: 12px;
  
}
  .involt{ font-size: 12px;
}
}



.formaB { border-radius: 5px;
margin: 0px 0px 8px 0px;
outline: 0;
padding: 5px;
-webkit-appearance: none;
border: 1px solid rgba(0,0,0,0.1);
background-color: #FFF;
height: 40px;
width: 100%; } 


.botonB1 {-webkit-appearance: none; display: grid;   font-size: 13px; color: #ffffff; font-weight: normal; padding:0px; border:0px; border-color:#D22600; border-style:solid; border-radius: 5px; background-color: #D22600; text-decoration: none; width: 100%; height: 100%; 
}
.botonB1:hover {-webkit-appearance: none;  font-size: 13px; color: #ffffff; font-weight: normal; padding:0px; border:0px; border-color:#F00; border-style:solid; border-radius: 5px; background-color: #F00; text-decoration: none; height: 100%; margin-left: 0px; width: 100%;
}


.buscador_derecho{ width: 100%; background-color: #E91625; border-radius: 8px 8px 0px 0px; display: block;  float: right; height: 100%; padding-top: 0px; 
}
@media only screen and (max-width: 600px) {
.buscador_derecho{ width: 100%; display: none;  text-align: center; float: none; height: 100px; padding-top: 0px; 
}
}

.BCW{color: #fff; font-size: 12px; text-align: center; margin: 5px;}

@media only screen and (max-width: 500px) {
.BCW{color: #fff; font-size: 18px; text-align: center; margin: 12px;}
}
.searcher{
display: grid;
grid-template-columns:  1.4fr 0.6fr;
align-items:center;
grid-column-gap:0px;
  margin: 0px 40px;
}
@media only screen and (max-width: 1218px) {
.searcher{grid-template-columns:  1.1fr 0.9fr;}
}

.right{ text-align: right;}
.left{ text-align: left;}
.cajita_CW { margin:0px; padding:auto 5px auto 8px; border: 0px; 
  border-color: #ccc; border-style: solid; 
  border-radius: 6px 0px 0px 6px; 
  background-color: #ffffff; 
  color: #0E1943;  font-size: 18px; 
  width: 100%; 
  font-weight: 700 !important;
  height: 49px;
}

.cajita_CW:hover { margin:0px; padding:2px 5px 2px 8px; border: 0px; 
  border-color: #ccc; border-style: solid; 
  border-radius: 6px 0px 0px 6px; 
  background-color: #0E1943; 
  color: #ffffff;  font-size: 18px; 
  width: 100%; 
  font-weight: 700 !important;
  height: 49px;
}

.cajita_CW::placeholder {
    color: #666666 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    font-style: normal !important;
    opacity: 1 !important;
    text-align: center;
   
}



.boton_ir {-webkit-appearance: none;  font-size: 15px; color: #ffffff; margin: 0px; font-weight: normal; padding:3px 5px 3px 5px; border:0px; border-color:#D22600; border-style:solid; border-radius: 0px 10px 10px 0px; background-color: #0E1943; text-decoration: none; width: 100%; height: 45px;
}
.boton_ir:hover {-webkit-appearance: none;  font-size: 15px;  color: #ffffff; margin: 0px;  font-weight: normal;  padding:3px 5px 3px 5px;  border:0px; border-color:#F00;  border-style:solid; border-radius: 0px 10px 10px 0px;   background-color: #183296;  text-decoration: none;  width: 100%;  height: 45px;}


@media only screen and (max-width: 600px) {
.cajita_CW { padding:2px 5px 2px 8px; font-size: 12px; width: 150px; height: 40px;
}
.boton_ir { padding:3px 5px 3px 5px; width: 80px; height: 40px;
}
.boton_ir_over {padding:3px 5px 3px 5px; border-radius: 0px 10px 10px 0px; background-color: #162767; width: 80px;  height: 40px;
}
}


.btn-buscar-movil {
  font-family: 'Poppins';
  display: none;
  background: #FFD24D;
  color: #036;
  padding: 24px 20px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin: 0px auto;
  font-weight: 700;
  letter-spacing: -1px;
  font-size: 1.2rem;
}
@media (max-width: 768px) {
  .btn-buscar-movil {
    display: block;
  }
}



/* Ocultar modal por defecto */
.popup-buscador {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

/* Contenedor del formulario */
.popup-contenido {
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Estilos para inputs */
.popup-contenido select,
.popup-contenido button {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  font-size: 16px;
}

/* Botón principal que abre el popup */

.btn-buscar-movil {
  font-family: 'Poppins';
  display: none;
  background: #FFD24D;
  color: #036;
  padding: 24px 20px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin: 0px auto;
  font-weight: 700;
  letter-spacing: -1px;
  font-size: 1.2rem;
}
@media (max-width: 768px) {
  .btn-buscar-movil {
    display: block;
  }
}
.btn-enviar {
  background-color: #B40003;
  color: white;
  border: none;
  border-radius: 5px;
}




.btn-cerrar {
  background-color: #ccc;
  color: #000;
  border: none;
  border-radius: 5px;
}

/* Mostrar el botón solo en pantallas pequeñas */



.buscador-contenedor {
  display: block;
  position: relative;
}

/* Botón solo visible en móvil */
.boton-buscador-movil {
  display: none;
}

/* Popup oculto en móvil por defecto */
@media (max-width: 768px) {
  .boton-buscador-movil {
    display: block;
  }

  .buscador-contenedor {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }

  .buscador-contenedor.activo {
    display: flex;
  }

  .popup-contenido {
    background: #fff;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    border-radius: 10px;
  }
}


.formaBB { border-radius: 5px;
margin: 0px 0px 8px 0px;
outline: 0;
padding: 5px;
-webkit-appearance: none;
border: 1px solid #CCC;
background-color: #FFF;

width: 100%; } 




.tabla_links_back {width: 100%;  padding: 0px; background-color:#000;   }
.tabla_links {width: var(--anchoP); border-radius:0px 0px 10px 10px;  margin: auto; height:30px; background-color: #E91625; color:#FFF; padding-left:5px; display: grid;align-items:center;  }
a.links:link, a.links:visited {-webkit-appearance: none;color: #fff; text-decoration: none; font-size:15px;}
a.links:hover {-webkit-appearance: none; color: #CCC; text-decoration: none;}

@media only screen and (max-width: 618px) {
.tabla_links {
  width: var(--anchoP); border-radius:0px 0px 0px 0px;  
  margin: auto; 
  height:40px; 
  background-color: #E91625; 
  color:#FFF; 
  padding-left:5px; 
  display: grid;
  align-items:center; justify-items:center;  }
}