#resultados-perfiles {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 10px;
    margin: 0px 15px 30px 0px;
    row-gap: 30px;
}

.toogle-general {
    margin: 14px 14px;
}

.usuario-resumen {
    background-color: #f5f5f5;
    border-radius: 10px;
    border: solid 1px #cdcdcd;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#toggle-filter {
    display: flex;
    justify-content: flex-end;

}

.foto-resumen {
    position: relative;
    overflow: hidden;

}

.foto-resumen img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    font-size: 0.8rem;
    text-align: center;

}

.estado-resumen {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: flex-start;
    position: absolute;
    top: 14px;
    left: 14px;
}

.destacado::before {
    content: "";
    width: 24px;
    height: 24px;
    background-size: 24px 24px;
    position: relative;
    background-image: url("../images/fire.svg");
    background-repeat: no-repeat;
    display: block;
}

.verificado::before {
    content: "";
    width: 24px;
    height: 24px;
    background-size: 24px 24px;
    position: relative;
    background-image: url("../images/verified.svg");
    background-repeat: no-repeat;
    display: block;
}

.online::before {
    content: "";
    width: 10px;
    height: 10px;
    background-size: 10px 10px;
    position: relative;
    background-image: url("../images/circle.svg");
    background-repeat: no-repeat;
    display: block;
}

.offline::before {
    content: "";
    width: 10px;
    height: 10px;
    background-size: 10px 10px;
    position: relative;
    background-image: url("../images/circle-offline.svg");
    background-repeat: no-repeat;
    display: block;
}

.contenido-resumen {
    padding: 14px;


}

.contenido-resumen__inner {
    display: flex;
    flex-direction: row;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.contenido-resumen__inner h3 {
    font-size: 1.125rem;
    margin-bottom: 0;
}

.contenido-resumen p {
    font-size: 0.8rem;
}

.limit-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.usuario-resumen a {
    color: #212529 !important;
    text-decoration: none !important;
}

.usuario-resumen a:hover {
    text-decoration: none;
}

.usuario-resumen a img {
    transform: scale(1);
    -webkit-transform: scale(1);
    transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
}

.usuario-resumen a:hover img {
    transform: scale(1.10);
}

.imagenes-publicas-item img {
    width: 30px !important;
    height: auto !important;
}

.imagenes-publicas-item .total-imagenes-privadas ul {

    bottom: 10px !important;

}

@media screen and (max-width: 768px) {
    #resultados-perfiles {
        grid-template-columns: 1fr 1fr;
    }

}


/* Botón Filtros */
#filter-toggle-button {
  background: #4e73df;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

#filter-toggle-button:hover {
  background: #2e59d9;
}

/* Contenedor oculto por defecto */
#filter-container {
  max-width: 1000px;
  margin: 20px auto;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: all 0.5s ease;
}

/* Cuando está visible */
#filter-container.active {
  max-height: 500px; /* suficiente espacio */
  opacity: 1;
  padding: 14px;
}

/* Cards de filtros en fila */
.filter-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-start;
}

.filter-card {
  flex: 1 1 180px;
  background: #fff;
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.filter-card label {
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 8px;
}

.filter-card input,
.filter-card select {
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 0.9rem;
}

.filter-card button {
  background: #28a745;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.filter-card button:hover {
  background: #218838;
}


.promocion-destacados {
  margin: 40px auto;
  padding: 30px;
  background: #f9fafc;
  border: 2px dashed #4e73df;
  border-radius: 15px;
  text-align: center;
  max-width: 800px;
}

.promocion-destacados h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #2d3e50;
}

.promocion-destacados p {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #555;
}

.btn-promocion {
  background: #4e73df;
  color: white !important;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none !important;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-promocion:hover {
  background: #2e59d9;
}
