/* Lightbox Styles */
#ms-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: zoom-out;
}

#ms-lightbox-overlay.active {
    opacity: 1;
}

#ms-lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    position: relative;
    cursor: default;
}

#ms-lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: 2px solid #fff;
    border-radius: 4px;
}

#ms-lightbox-caption {
    color: #fff;
    text-align: center;
    font-family: inherit;
    margin-top: 10px;
    font-size: 1.1rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

#ms-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    z-index: 10000;
}

#ms-lightbox-close:hover {
    color: #ccc;
}
