.bloque-single-perfil {
    padding: 3rem 0 !important;
}

.single-perfil-container span {
    display: block !important;
}

.single-perfil-container .col {
    border: solid 1px #cdcdcd;
    border-radius: 10px;
    padding: 20px !important;
    margin: 10px 0px;
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
    position: relative;
}

.single-perfil-container .row {
    gap: 20px;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px
}



.estoybuscando {
    width: 30px !important;
    height: 30px !important;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.fotos-content {
    position: absolute;
    right: 10px;
    top: -20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #fff;
    border-radius: 10px;
    padding: 4px 10px;
}

.fotos-content .estoybuscando {
    position: relative !important;
    top: auto !important;
    right: auto !important;
}

#chatear {
    background-color: #009f83 !important;
    float: right;
    color: #fff;
    margin-top: 0 !important;


}

/* El modal */
.modal {
    display: none;

    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
    display: flex;
    justify-content: center;
    align-items: center;

}

/* El contenedor del contenido modal (el modal en sí) */
.modal-content {
    width: 500px !important;
    min-width: 500px !important;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px !important;
    padding: 20px;

}



/* El botón de cerrar */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
}

.two-column {
    display: flex;
    justify-content: left;
    gap: 20px;
}

#palabras_pareja_ideal {
    margin-top: 20px;
    padding-top: 20px !important;
    height: auto;
}

.intereses ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.intereses ul label {
    margin: 0;
}

.perfil-usuario {
    position: relative;
    width: 100%;
}

.perfil-usuario .imagen-perfil {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.perfil-usuario .imagen-perfil img {
    width: 160px;
    height: 160px;
    border-radius: 0%;
    object-fit: cover;
    object-position: center;
}

.perfil-usuario .imagen-perfil ul li {
    position: relative;
}

.perfil-usuario .imagen-perfil ul li:first-child .estoybuscando {

    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.perfil-usuario .imagen-perfil ul li:last-child .estoybuscando {

    top: -30px !important;
}

.perfil-usuario .imagen-portada img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.perfil-usuario .imagen-perfil ul {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
    color: #fff;
}

.perfil-usuario .imagen-perfil ul h1 {
    margin: 0 0 10px 0 !important;
}

.row-container {
    padding: 20px 0px;
    position: relative;
}

.imagenes-publicas,
.imagenes-privadas {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.imagenes-publicas img,
.imagenes-privadas img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.total-imagenes-privadas {
    display: flex;
    justify-content: center;
}

.total-imagenes-privadas ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Centrar horizontalmente */
    position: absolute;
    bottom: 30px;
    color: #fff;
}

.total-imagenes-privadas ul li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.total-imagenes-privadas ul li img {
    width: 30px;
}

.dos-columnas .row-container {
    padding: 0 !important;
}

.lista-de-intereses {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
    align-items: center;
    text-align: center;
}

.lista-de-intereses span {
    display: block;
    margin: 0 auto;
    font-size: 0.8rem;
}

span#interes_tumbarse-en-la-playa::before {
    content: "";
    width: 40px;
    height: 40px;
    background-size: 40px 40px;
    position: relative;
    background-image: url("../imagenes/beach-umbrella-svgrepo-com.svg");
    background-repeat: no-repeat;
    display: block;
    margin: 0 auto;
}

span#interes_ciclismo::before {
    content: "";
    width: 40px;
    height: 40px;
    background-size: 40px 40px;
    position: relative;
    background-image: url("../imagenes/bicycle-3-svgrepo-com.svg");
    background-repeat: no-repeat;
    display: block;
    margin: 0 auto;
}

span#interes_leer-libros::before {
    content: "";
    width: 40px;
    height: 40px;
    background-size: 40px 40px;
    position: relative;
    background-image: url("../imagenes/book-svgrepo-com.svg");
    background-repeat: no-repeat;
    display: block;
    margin: 0 auto;
}

span#interes_camping::before {
    content: "";
    width: 40px;
    height: 40px;
    background-size: 40px 40px;
    position: relative;
    background-image: url("../imagenes/camping-outdoor-tent-svgrepo-com.svg");
    background-repeat: no-repeat;
    display: block;
    margin: 0 auto;
}

span#interes_coches::before {
    content: "";
    width: 40px;
    height: 40px;
    background-size: 40px 40px;
    position: relative;
    background-image: url("../imagenes/car-svgrepo-com.svg");
    background-repeat: no-repeat;
    display: block;
    margin: 0 auto;
}

span#interes_cocinar::before {
    content: "";
    width: 40px;
    height: 40px;
    background-size: 40px 40px;
    position: relative;
    background-image: url("../imagenes/cook-hat-svgrepo-com.svg");
    background-repeat: no-repeat;
    display: block;
    margin: 0 auto;
}

span#interes_bailar::before {
    content: "";
    width: 40px;
    height: 40px;
    background-size: 40px 40px;
    position: relative;
    background-image: url("../imagenes/disco-ball-disco-svgrepo-com.svg");
    background-repeat: no-repeat;
    display: block;
    margin: 0 auto;
}

span#interes_bucear::before {
    content: "";
    width: 40px;
    height: 40px;
    background-size: 40px 40px;
    position: relative;
    background-image: url("../imagenes/snorkel-dive-svgrepo-com.svg");
    background-repeat: no-repeat;
    display: block;
    margin: 0 auto;
}

span#interes_moda::before {
    content: "";
    width: 40px;
    height: 40px;
    background-size: 40px 40px;
    position: relative;
    background-image: url("../imagenes/clothes-laundry-fashion-svgrepo-com.svg");
    background-repeat: no-repeat;
    display: block;
    margin: 0 auto;
}

span#interes_pesca-y-caza::before {
    content: "";
    width: 40px;
    height: 40px;
    background-size: 40px 40px;
    position: relative;
    background-image: url("../imagenes/fishing-fish-svgrepo-com.svg");
    background-repeat: no-repeat;
    display: block;
    margin: 0 auto;
}

span#interes_juegos::before {
    content: "";
    width: 40px;
    height: 40px;
    background-size: 40px 40px;
    position: relative;
    background-image: url("../imagenes/game-booster-svgrepo-com.svg");
    background-repeat: no-repeat;
    display: block;
    margin: 0 auto;
}

span#interes_pasatiempos::before {
    content: "";
    width: 40px;
    height: 40px;
    background-size: 40px 40px;
    position: relative;
    background-image: url("../imagenes/painting-of-art-museum-svgrepo-com.svg");
    background-repeat: no-repeat;
    display: block;
    margin: 0 auto;
}

span#interes_hockey::before {
    content: "";
    width: 40px;
    height: 40px;
    background-size: 40px 40px;
    position: relative;
    background-image: url("../imagenes/hockey-sticks-svgrepo-com.svg");
    background-repeat: no-repeat;
    display: block;
    margin: 0 auto;
}

span#interes_filmes::before {
    content: "";
    width: 40px;
    height: 40px;
    background-size: 40px 40px;
    position: relative;
    background-image: url("../imagenes/film-svgrepo-com.svg");
    background-repeat: no-repeat;
    display: block;
    margin: 0 auto;
}

span#interes_museos-y-artes::before {
    content: "";
    width: 40px;
    height: 40px;
    background-size: 40px 40px;
    position: relative;
    background-image: url("../imagenes/museum-svgrepo-com.svg");
    background-repeat: no-repeat;
    display: block;
    margin: 0 auto;
}

span#interes_musica-y-conciertos::before {
    content: "";
    width: 40px;
    height: 40px;
    background-size: 40px 40px;
    position: relative;
    background-image: url("../imagenes/music-svgrepo-com.svg");
    background-repeat: no-repeat;
    display: block;
    margin: 0 auto;
}

span#interes_naturaleza::before {
    content: "";
    width: 40px;
    height: 40px;
    background-size: 40px 40px;
    position: relative;
    background-image: url("../imagenes/field-trip-svgrepo-com.svg");
    background-repeat: no-repeat;
    display: block;
    margin: 0 auto;
}

span#interes_vida-nocturna::before {
    content: "";
    width: 40px;
    height: 40px;
    background-size: 40px 40px;
    position: relative;
    background-image: url("../imagenes/goodtime-svgrepo-com.svg");
    background-repeat: no-repeat;
    display: block;
    margin: 0 auto;
}

span#interes_navegar::before {
    content: "";
    width: 40px;
    height: 40px;
    background-size: 40px 40px;
    position: relative;
    background-image: url("../imagenes/surf-svgrepo-com.svg");
    background-repeat: no-repeat;
    display: block;
    margin: 0 auto;
}

span#interes_compras::before {
    content: "";
    width: 40px;
    height: 40px;
    background-size: 40px 40px;
    position: relative;
    background-image: url("../imagenes/shop-svgrepo-com.svg");
    background-repeat: no-repeat;
    display: block;
    margin: 0 auto;
}

span#interes_deportes::before {
    content: "";
    width: 40px;
    height: 40px;
    background-size: 40px 40px;
    position: relative;
    background-image: url("../imagenes/sport-trophy-svgrepo-com.svg");
    background-repeat: no-repeat;
    display: block;
    margin: 0 auto;
}

span#interes_viajes::before {
    content: "";
    width: 40px;
    height: 40px;
    background-size: 40px 40px;
    position: relative;
    background-image: url("../imagenes/travel-svgrepo-com.svg");
    background-repeat: no-repeat;
    display: block;
    margin: 0 auto;
}

span#interes_ver-la-tele::before {
    content: "";
    width: 40px;
    height: 40px;
    background-size: 40px 40px;
    position: relative;
    background-image: url("../imagenes/watch-tv-watch-screen-television-svgrepo-com.svg");
    background-repeat: no-repeat;
    display: block;
    margin: 0 auto;
}

span#interes_meditacion-y-yoga::before {
    content: "";
    width: 40px;
    height: 40px;
    background-size: 40px 40px;
    position: relative;
    background-image: url("../imagenes/yoga-03-svgrepo-com.svg");
    background-repeat: no-repeat;
    display: block;
    margin: 0 auto;
}

.sobremi {
    margin: 10px 0px;
}

.single-perfil-container .container-col-chat{
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Columnas (ambas toman el 50% del espacio disponible) */
.single-perfil-container .row .col-chat,
.single-perfil-container .row .col-membresia {
    flex: 1;
    /* Cada columna ocupa el mismo espacio */
    text-align: center;
    /* Centra los botones horizontalmente */
    max-width: 50%;
    /* Limitar el ancho máximo a la mitad del contenedor */
}

/* Estilos comunes para los botones */
.single-perfil-container .row button {
    width: 100%;
    /* Los botones ocupan todo el ancho de su columna */
    padding: 15px 20px !important;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    border: none;
    border-radius: 5px !important;
    cursor: pointer;
    margin-top: 0px !important;
}

/* Botón "Chatear" */
.single-perfil-container .row #chatear {
    background-color: #28a745 !important;
    /* Color verde para Chatear */
    transition: background-color 0.3s ease;
    /* Efecto de transición */
}

.single-perfil-container .row #chatear:hover {
    background-color: #218838 !important;
    /* Más oscuro al pasar el cursor */
}

/* Botón "Actualizar Membresía" */
.single-perfil-container .row #actualizar-membresia {
    background-color: #007bff !important;
    /* Color azul para Actualizar Membresía */
    transition: background-color 0.3s ease;
    /* Efecto de transición */
}

.single-perfil-container .row #actualizar-membresia:hover {
    background-color: #0056b3 !important;
    /* Más oscuro al pasar el cursor */
}

.text-chatear {
    display: inline;
    margin-left: 6px;
}

.membership-message {
    color: #ff4081;
    font-size: 14px;
    margin-top: 5px;
    font-weight: bold;
}

@media screen and (max-width: 768px) {
    .perfil-general {
        margin: 0px 24px;
    }
}