.smgb-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 30px;
}

.smgb-lightbox-overlay.is-active {
    display: flex;
}

.smgb-lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.smgb-lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    display: block;
}

.smgb-lightbox-close,
.smgb-lightbox-prev,
.smgb-lightbox-next {
    position: absolute;
    border: 0;
    cursor: pointer;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    padding: 12px 16px;
    font-size: 28px;
    line-height: 1;
    border-radius: 6px;
}

.smgb-lightbox-close {
    top: 20px;
    right: 20px;
}

.smgb-lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.smgb-lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.smgb-lightbox-meta {
    margin-top: 12px;
    text-align: center;
}

.smgb-lightbox-caption {
    color: #fff;
    max-width: 800px;
    font-size: 15px;
    line-height: 1.5;
}

.smgb-lightbox-caption:empty {
    display: none;
}

.smgb-lightbox-count {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin-top: 6px;
}

body.smgb-lightbox-open {
    overflow: hidden;
}
