.nz-django-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(22, 33, 26, 0.65);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}
.nz-django-lightbox-overlay.active {
    opacity: 1;
}
.nz-django-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 100;
    line-height: 1;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000001;
    transition: transform 0.2s ease, color 0.2s ease;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.nz-django-close:hover {
    color: #82c296;
    transform: scale(1.1);
}
.nz-django-wrapper {
    position: relative;
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.nz-django-img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
    transform: scale(0.97);
    opacity: 0;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}
.nz-django-lightbox-overlay.active .nz-django-img {
    transform: scale(1);
    opacity: 1;
}
.nz-django-caption {
    margin-top: 12px;
    color: #ffffff;
    text-align: center;
    max-width: 90vw;
    font-size: 0.95rem;
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    z-index: 1000001;
}
.nz-django-caption-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
}
.nz-django-caption-desc {
    font-size: 0.875rem;
    color: #e2e8f0;
}
.nz-django-caption-desc a {
    color: #fbbf24;
    text-decoration: underline;
}
.nz-django-caption-desc a:hover {
    color: #f59e0b;
}
.nz-django-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(22, 33, 26, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 2.2rem;
    cursor: pointer;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000001;
    transition: all 0.2s ease;
    user-select: none;
}
.nz-django-nav:hover {
    background: rgba(22, 33, 26, 0.85);
    border-color: #82c296;
    color: #82c296;
    transform: translateY(-50%) scale(1.06);
}
.nz-django-prev { left: 20px; }
.nz-django-next { right: 20px; }
@media (max-width: 768px) {
    .nz-django-nav { width: 44px; height: 44px; font-size: 1.5rem; }
    .nz-django-prev { left: 10px; }
    .nz-django-next { right: 10px; }
    .nz-django-close { right: 15px; top: 15px; font-size: 2.5rem; }
}
.nz-django-loader {
    position: absolute;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-top: 3px solid #82c296;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    animation: nz-spin-dj 0.8s linear infinite;
    z-index: 1000000;
}
@keyframes nz-spin-dj {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
