/* Generalized Zoom Image Component */
.zooimg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    z-index: 9999;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    touch-action: none; /* Prevents browser handling of gestures like zoom */
    cursor: pointer;
}

.zooimg-overlay.active {
    display: flex;
}

.zooimg-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.zooimg-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.1s ease-out;
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
}

.zooimg-image:active {
    cursor: grabbing;
}
