/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* NavMenu styles removed - navigation handled by MudAppBar/MudDrawer in MainLayout */
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-793byzeclo],
.components-reconnect-repeated-attempt-visible[b-793byzeclo],
.components-reconnect-failed-visible[b-793byzeclo],
.components-pause-visible[b-793byzeclo],
.components-resume-failed-visible[b-793byzeclo],
.components-rejoining-animation[b-793byzeclo] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-793byzeclo],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-793byzeclo],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-793byzeclo],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-793byzeclo],
#components-reconnect-modal.components-reconnect-retrying[b-793byzeclo],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-793byzeclo],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-793byzeclo],
#components-reconnect-modal.components-reconnect-failed[b-793byzeclo],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-793byzeclo] {
    display: block;
}


#components-reconnect-modal[b-793byzeclo] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-793byzeclo 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-793byzeclo 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-793byzeclo 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-793byzeclo]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-793byzeclo 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-793byzeclo {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-793byzeclo {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-793byzeclo {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-793byzeclo] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-793byzeclo] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-793byzeclo] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-793byzeclo] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-793byzeclo] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-793byzeclo] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-793byzeclo] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-793byzeclo 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-793byzeclo] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-793byzeclo {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/ItemDetail.razor.rz.scp.css */
[b-lop7v7qraz] .gallery-header {
    display: flex;
    align-items: center;
}

[b-lop7v7qraz] .gallery-back-btn {
    text-transform: none;
    font-weight: 600;
}

[b-lop7v7qraz] .gallery-action-btn {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

[b-lop7v7qraz] .gallery-save-btn {
    border-radius: 20px;
    text-transform: none;
}

.gallery-grid[b-lop7v7qraz] {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 6px;
    border-radius: 16px;
    overflow: hidden;
    max-height: 500px;
}

.gallery-main[b-lop7v7qraz] {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.gallery-main-img[b-lop7v7qraz] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-main:hover .gallery-main-img[b-lop7v7qraz] {
    transform: scale(1.03);
}

[b-lop7v7qraz] .gallery-photo-count {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    backdrop-filter: blur(4px);
}

.gallery-side[b-lop7v7qraz] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 6px;
}

.gallery-thumb[b-lop7v7qraz] {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.gallery-thumb-img[b-lop7v7qraz] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-thumb:hover .gallery-thumb-img[b-lop7v7qraz] {
    transform: scale(1.05);
}

.gallery-more-overlay[b-lop7v7qraz] {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    backdrop-filter: blur(2px);
}

@media (max-width: 960px) {
    .gallery-grid[b-lop7v7qraz] {
        grid-template-columns: 1fr;
        max-height: none;
    }

    .gallery-main[b-lop7v7qraz] {
        height: 300px;
    }

    .gallery-side[b-lop7v7qraz] {
        grid-template-columns: 1fr 1fr;
        height: 200px;
    }
}

[b-lop7v7qraz] .price-card {
    border-radius: 16px;
    position: sticky;
    top: 80px;
}

/* Lightbox */
.lightbox-overlay[b-lop7v7qraz] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content[b-lop7v7qraz] {
    position: relative;
    width: 90vw;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img[b-lop7v7qraz] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

[b-lop7v7qraz] .lightbox-close {
    position: absolute;
    top: 8px;
    right: 8px;
    color: #fff !important;
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(4px);
    z-index: 1;
}

[b-lop7v7qraz] .lightbox-close:hover {
    background: rgba(0, 0, 0, 0.7) !important;
}

[b-lop7v7qraz] .lightbox-prev {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff !important;
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(4px);
    z-index: 1;
}

[b-lop7v7qraz] .lightbox-prev:hover {
    background: rgba(0, 0, 0, 0.7) !important;
}

[b-lop7v7qraz] .lightbox-next {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff !important;
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(4px);
    z-index: 1;
}

[b-lop7v7qraz] .lightbox-next:hover {
    background: rgba(0, 0, 0, 0.7) !important;
}

.lightbox-counter[b-lop7v7qraz] {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 16px;
    border-radius: 16px;
    backdrop-filter: blur(4px);
}

@media (max-width: 600px) {
    .lightbox-content[b-lop7v7qraz] {
        width: 100vw;
        height: 100vh;
    }

    .lightbox-img[b-lop7v7qraz] {
        border-radius: 0;
    }

    [b-lop7v7qraz] .lightbox-close {
        top: 12px;
        right: 12px;
    }

    [b-lop7v7qraz] .lightbox-prev {
        left: 4px;
    }

    [b-lop7v7qraz] .lightbox-next {
        right: 4px;
    }

    .lightbox-counter[b-lop7v7qraz] {
        bottom: 24px;
    }
}
