.lightbox-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    z-index: 9999;
    cursor: pointer;
}

.lightbox-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    max-width: 90vw;
    max-height: 85vh;
    overflow: auto;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.close-button {
    position: fixed;
    top: 12px;
    right: 12px;
    background-color: white;
    border: none;
    font-size: 28px;
    cursor: pointer;
    z-index: 10000;
}

@media only screen and (max-width: 768px) {
    .lightbox-content {
        padding: 12px;
        border-radius: 8px;
    }

    .close-button {
        font-size: 32px;
        top: 10px;
        right: 10px;
    }
}