/**
 * Front-end styles for Marquee Slider Pro.
 * Covers the click-to-enlarge lightbox overlay that opens when a
 * slider image is clicked.
 */

.msp-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 24px;
    box-sizing: border-box;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
}

.msp-lightbox-overlay.msp-lightbox-open {
    opacity: 1;
    visibility: visible;
}

.msp-lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    cursor: default;
}

.msp-lightbox-close {
    position: absolute;
    top: 16px;
    right: 24px;
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}

.msp-lightbox-close:hover {
    opacity: 0.75;
}
