/**
 * Image Zoom on Hover - Frontend Styles
 * Version: 1.0.0
 */

.image-zoom-on-hover-container {
    position: relative;
    display: inline-block;
}

.image-zoom-on-hover-container img {
    cursor: zoom-in;
    transition: opacity 0.2s ease;
}

.image-zoom-on-hover-container img:hover {
    opacity: 0.9;
}

.image-zoom-on-hover-container .zoom-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 100;
    transition: opacity 0.2s ease;
}

.image-zoom-on-hover-container:hover .zoom-indicator {
    display: flex;
}

.image-zoom-on-hover-container .zoom-indicator svg {
    width: 16px;
    height: 16px;
    fill: white;
}

.image-zoom-on-hover-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    transition: background-color 0.3s ease;
}

.image-zoom-on-hover-overlay.active {
    display: flex;
    background: rgba(255, 255, 255, 0.95);
}

.image-zoom-on-hover-overlay img {
    cursor: zoom-out;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.image-zoom-on-hover-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
}

.image-zoom-on-hover-close svg {
    width: 20px;
    height: 20px;
    fill: white;
}

@media (max-width: 768px) {
    .image-zoom-on-hover-container .zoom-indicator {
        width: 28px;
        height: 28px;
        top: 8px;
        right: 8px;
    }
    
    .image-zoom-on-hover-container .zoom-indicator svg {
        width: 14px;
        height: 14px;
    }
    
    .image-zoom-on-hover-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
}