.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-container {
    display: flex;
    flex-direction: column;
    max-width: 95vw;
    max-height: 95vh;
    background: var(--rz-base-900);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 300px;
    position: relative;
}

.lightbox-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: white;
}

.lightbox-loading .loading-text {
    font-size: 0.875rem;
    opacity: 0.8;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.lightbox-content video {
    max-width: 100%;
    max-height: 70vh;
    transition: opacity 0.3s ease;
}

.lightbox-info {
    padding: 1.5rem;
    background: var(--rz-base-800);
    border-top: 1px solid var(--rz-base-700);
}

.lightbox-prompt {
    color: white;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.lightbox-meta {
    color: var(--rz-text-secondary-color);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.lightbox-meta span {
    margin-right: 0.25rem;
}

.lightbox-actions {
    display: flex;
    gap: 0.5rem;
}
