/* ============================================================
   Onesown Blazor Components – BildLightbox
   ============================================================ */

.oo-lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: oo-lightbox-einblenden 0.15s ease-out;
    outline: none;
    cursor: pointer;
}

@keyframes oo-lightbox-einblenden {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.oo-lightbox-bild {
    max-width: 92vw;
    max-height: 92vh;
    width: auto;
    height: auto;
    object-fit: contain;
    cursor: default;
    user-select: none;
}

.oo-lightbox-pfeil {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--oo-fs-lightbox);
    line-height: 1;
    padding: 0.5rem 1rem;
    cursor: pointer;
    user-select: none;
    transition: color 0.15s;
    z-index: 10001;
}

.oo-lightbox-pfeil:hover {
    color: #fff;
}

.oo-lightbox-pfeil-links {
    left: 0.5rem;
}

.oo-lightbox-pfeil-rechts {
    right: 0.5rem;
}

.oo-lightbox-zaehler {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--oo-fs-sm, 0.75rem);
    user-select: none;
    z-index: 10001;
}
