.ayudawp-lightbox-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.88);
z-index: 999999;
display: flex;
align-items: center;
justify-content: center;
visibility: hidden;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease, visibility 0.3s ease;
cursor: pointer;
}
.ayudawp-lightbox-overlay.ayudawp-lightbox-active {
visibility: visible;
opacity: 1;
pointer-events: auto;
} .ayudawp-lightbox-img {
max-width: 90vw;
max-height: 90vh;
width: auto;
height: auto;
object-fit: contain;
cursor: default;
border-radius: 2px;
box-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
transform: scale(0.95);
transition: transform 0.3s ease;
}
.ayudawp-lightbox-active .ayudawp-lightbox-img {
transform: scale(1);
} .ayudawp-lightbox-close {
position: absolute;
top: 16px;
right: 16px;
width: 40px;
height: 40px;
background: none;
border: none;
color: #fff;
font-size: 32px;
line-height: 1;
cursor: pointer;
opacity: 0.7;
transition: opacity 0.2s ease;
z-index: 1;
padding: 0;
font-family: Arial, sans-serif;
}
.ayudawp-lightbox-close:hover,
.ayudawp-lightbox-close:focus {
opacity: 1;
outline: none;
} .ayudawp-lightbox-spinner {
display: none;
width: 40px;
height: 40px;
border: 3px solid rgba(255, 255, 255, 0.2);
border-top-color: #fff;
border-radius: 50%;
animation: ayudawp-spin 0.8s linear infinite;
position: absolute;
}
@keyframes ayudawp-spin {
to {
transform: rotate(360deg);
}
}