/* static/corestatic/css/inventory/image.css */

.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    padding: 40px;
}

.image-modal-content {
    display: block;
    margin: auto;
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
}

.image-modal-close {
    position: absolute;
    top: 16px;
    right: 28px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

.zoom-img-wrapper {
    position: relative;
    width: 100%;
}

.zoom-img-wrapper img {
    width: 100%;
    display: block;
}

/* disable old zoom UI now that modal is used */
.zoom-lens,
.zoom-result {
    display: none !important;
}