.nb-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.nb-lightbox--open {
    display: flex;
}

.nb-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

.nb-lightbox__content {
    position: relative;
    max-width: 92vw;
    max-height: 92vh;
    padding: 36px 20px 16px;
    border-radius: 6px;
    background: #111111;
    color: #eeeeee;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    z-index: 1;
    text-align: center;
}

.nb-lightbox__frame {
    max-height: 70vh;
    overflow: auto;
}

.nb-lightbox__image {
    max-width: 100%;
    height: auto;
    cursor: pointer;
}

.nb-lightbox__caption {
    margin-top: 10px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.nb-lightbox__close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 26px;
    cursor: pointer;
    z-index: 2;
}

.nb-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    font-size: 26px;
    padding: 6px 10px;
    cursor: pointer;
}

.nb-lightbox__prev {
    left: -10px;
}

.nb-lightbox__next {
    right: -10px;
}

.nb-lightbox-open {
    overflow: hidden;
}
