﻿/* wwwroot/css/photo.css */
.pv-overlay, .pv-overlay * {
    box-sizing: border-box;
}

.pv-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    place-items: center;
    padding: 14px;
    background: rgba(2, 6, 23, 0.62);
    backdrop-filter: blur(8px);
}

.pv-shell {
    width: min(1100px, 100%);
    height: min(86vh, 860px);
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #0b1220;
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}

.pv-swiper {
    width: 100%;
    height: 100%;
}

.pv-overlay img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pv-close {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.10);
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
    z-index: 10;
}

    .pv-close:hover {
        background: rgba(255,255,255,0.16);
    }

.pv-overlay .swiper-button-next,
.pv-overlay .swiper-button-prev {
    color: rgba(255,255,255,0.95);
}

.pv-overlay .swiper-pagination {
    color: rgba(255,255,255,0.90);
    font-weight: 900;
}
