.lightbox {
    display: none; /* Oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--negro_opacity_80);
    justify-content: center;
    align-items: center;
    z-index: 10000;
    display: flex; /* Añadido */
}

/* Contenedor del Lightbox */
.lightbox-content {
    height: 80%;
    width: 80%;
    padding: 0px;
    background: linear-gradient(180deg, #FFF8DC 0%, #FAEBCD 100%);
    border-radius: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
}

/* Cerrar Lightbox */
.close {
    position: absolute;
    top: -40px;
    right: 0px;
    font-size: 0px;
    font-weight: bold;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex
;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    background: url("../img/regresar.png") var(--rojo) center center no-repeat;
    background-size: 32px auto;
    content: none;
    border-radius: 5px;
}


/* Contenedor de imagen + info */
.lightbox-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

/* Imagen a la izquierda */
.lightbox-image {
    flex: 1;
    padding: 0px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;  /* Alineación horizontal */
    align-items: center;
    padding: 60px 20px;
    background: url("../img/loading.gif") center center no-repeat;
    background-size: 48px 48px;
    position: relative;
}

.lightbox-image img {
    max-width: 100%;
    max-height: 100%;
    /*border-radius: 12px;*/
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.2);
}


/* Información a la derecha */
.lightbox-info {
    flex: 1;
    text-align: left;
    height: 100%;
    /*justify-content: center;*/
    align-items: center;
    padding: 20px;

}

.lightbox-info-int-scroll{
    overflow-y: auto;
    height: 100%;
    padding: 20px;
    scrollbar-width: thin; /* Para Firefox */
    scrollbar-color: var(--verde) var(--blanco); /* Color del scroll y del fondo */
}

.lightbox-info-int-scroll::-webkit-scrollbar {
    width: 12px; /* Ancho del scroll */
}

.lightbox-info-int-scroll::-webkit-scrollbar-thumb {
    background-color: var(--verde); /* Color del "pulgar" del scroll */
    border-radius: 10px; /* Bordes redondeados */
}

.lightbox-info-int-scroll::-webkit-scrollbar-thumb:hover {
    background-color: var(--verde); /* Color al pasar el mouse */
}

.lightbox-info-int-scroll::-webkit-scrollbar-track {
    background: var(--blanco); /* Color del fondo del scroll */
    border-radius: 10px;
}


#image-nombre{
    font-size: 28px;
    font-weight: 600;
}


.tabla-imagen .td-label{
    font-weight: bold;
    padding-right: 20px;

}

.tr-animal-oculto{
    display: none;
}

.tabla-imagen tbody td{
    padding: 10px 0px;
    border-bottom: 1px solid var(--negro_opacity_05);
    vertical-align: top;
}

.lightbox-navigation button{
    border: none;
}

.btn-galeria{
    border-radius: 5px;
    width: 48px;
    height: 40px;
    border: none;
    font-size: 0px;

}

.btn-prev{
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translate(-60px, 0);
    background: url("../img/back.png") var(--verde) center center no-repeat;
    background-size: 30px auto;

}

.btn-next{
    position: absolute;
    top: 10px;
    right: 50%;
    transform: translate(40px, 0);
    background: url("../img/next.png") var(--verde) center center no-repeat;
    background-size: 30px auto;
}

.btn-galeria:disabled{
    opacity: 0.3;
}

.ui-menu-item .ui-menu-item-wrapper{
    background: var(--agua);
    font-weight: 300;
    font-size: 18px;
    font-family: "Plus Jakarta Sans", sans-serif !important;
}

.ui-menu-item .ui-menu-item-wrapper:hover{
    background: var(--verde);
    color: var(--blanco);
}


.col-galeria-top{
    margin-top: 5px;
}

/*Galeria*/
.container-galeria{
    background: var(--negro);
}

.container-galeria-tematica{
    border-top: 1px solid var(--crema);
    padding-top: 10px;
}

.container-galeria-filtro{
    position: relative;
}

.row-galeria-filtro{
    position: relative;
}

.form-galerias{
    position: absolute;
    top: -64px;
    width: 700px;
}
