:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}
body{
  background: linear-gradient(150deg, rgb(69, 181, 255), rgb(108, 0, 197),rgb(69, 181, 255), rgb(108, 0, 197));
    background-attachment: scroll;
  background-attachment: fixed;
  margin: 0% 0% 0% 0%;
}
.contenedorB{
    display:none ;
    width: 100%;
    padding-bottom: 13%;
    /*background-color: rgba(255, 255, 255, 0.3);*/
    position: relative;
    margin-top: 28px;
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px); 
    display: flex;
    flex-direction: row; 
    flex-direction: column;
    align-items: stretch;     /* botones uno debajo del otro, usa 'column' si los quieres en línea */
    min-height: 60vh;            /* ajusta según el alto que desees */
    gap: 20px;
}
.conte-menu-busqueda{
    width: 100%;
    height: 6vh;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;         /* <-- Esto permite que los botones bajen a otra fila */
    justify-content: center; /* Centra horizontalmente */
    align-items: flex-start; /* Opcional: alinea arriba */
    gap: 14px;
}
.contenedor-menubusqueda{
    max-width: 408px;
    height: 9vh;
    margin: 0 auto;
    position: relative;
    display: none;
    flex-direction: row;
    flex-wrap: wrap;         /* <-- Esto permite que los botones bajen a otra fila */
    justify-content: center; /* Centra horizontalmente */
    align-items: flex-start; /* Opcional: alinea arriba */
    gap: 20px;
    top: -12px;
}
.Historial1{
    display: none;
}
.BtAGB{
    width: 89px;
    height: 25px;
    font-size: 8px;
    background-color: white;
    border-color: aqua;
    color: rgb(153, 0, 173);
    border-radius: 10px;
    position: relative;
    top: 2%;
    text-align: center;
    text-align-last: center;
}
.BtAGB.filtro-activo {
  background-color: rgb(153, 0, 173) !important;
  color: white !important;
}
.BtAGp{
    width: 93px;
    height: 30px;
    font-size: 12px;
    background-color: aliceblue; 
    color: #6200ea;
    border-color: aqua;
    border-radius: 10px;
    position: relative;
    top: 2%;
}
.filtros-rehoming {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  align-items: center;
  width: 95%;
  margin-top: 30px;
  margin-bottom: 30px;
  margin-left: 2%;
}

.filtros-rehoming select {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  min-width: 160px;
  max-width: 143px;
  flex: 1 1 180px;
}

.resultadosbusqueda{
    width: 100%;
}
.imagenes-rehoming {
  margin-bottom: 8px;
  position: relative;
}
.iconosRea {
  position: absolute;
  top: 90%;
  width: 92%;
  z-index: 2;
  background: linear-gradient(0deg, #000000 0%, rgba(0, 0, 0, 0) 100%);
  border-radius: 0 0 8px 8px;
  padding: 4%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between; /* <-- Esto distribuye uniformemente */
  align-items: center;            /* Opcional: centra verticalmente */
}
.imagenes-arriba {
  display: flex;
  gap: 5px;
  margin-bottom: 5px;
}
.img-arriba {
  width: 50%;
  height: 220px;
  min-height: 220px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  background-color: #e0f7f4;
}
.img-abajo {
  width: 100%;
  height: 142px;
  min-height: 142px;
  object-fit: cover;
  border-radius: 0 0 8px 8px;
  display: block;
  background-color: #e0f7f4;
}
#select-perfil {
  padding: 8px 14px;
  border-radius: 8px;
  border: 2px solid #00C597;
  background: #f8fffd;
  color: #00C597;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
#select-perfil:focus {
  border-color: #6200ea;
  box-shadow: 0 0 0 2px #b3e5fc;
}
#select-genero{
  padding: 8px 14px;
  border-radius: 8px;
  border: 2px solid #00C597;
  background: #f8fffd;
  color: #00C597;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
#select-genero:focus {
  border-color: #6200ea;
  box-shadow: 0 0 0 2px #b3e5fc;
}
#tipo {
  padding: 8px 14px;
  border-radius: 8px;
  border: 2px solid #00C597;
  background: #f8fffd;
  color: #00C597;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
#tipo:focus { 
  border-color: #6200ea;
  box-shadow: 0 0 0 2px #b3e5fc;
}
.contenedorP{
    width: 75%;
    height: 137vh;
    background-color: rgba(255, 255, 255, 0.3);
    position: relative;
    inset: 1% 0% 0% 0%;
    margin: auto;
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    border-radius: 6px;
}

.btnContactar {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background-color: white;
  color: #5a00d1;
  border: none;
  border-radius: 12px;
  padding: 15px;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.perfilBtn {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background-color: #5a00d1;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 15px;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}

.perfilBtn::before {
  content: '';
  position: absolute;
  top: -4px; left: -4px; right: -4px; bottom: -4px;
  z-index: -1;
  border-radius: 16px;
  background: linear-gradient(120deg, #fff 0%, #7200ff 40%, #00ffd5 60%, #fff 100%);
  background-size: 200% 200%;
  filter: blur(2px);
  animation: shimmer 2s linear infinite;
  opacity: 0.7;
}

@keyframes shimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}