.floating-image-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    pointer-events: none;
    transition: all 0.3s ease;
}

.floating-image-plugin {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
    display: block;
    transform-origin: bottom right;
}

.floating-image-plugin.shrunk {
    transform: scale(0.4);
    opacity: 0.8;
}

.floating-image-plugin:hover {
    transform: scale(1.05);
    opacity: 1;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

/* Kapatma butonu */
.fip-close-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    pointer-events: auto;
    z-index: 10000;
    transition: all 0.2s ease;
}

.fip-close-btn:hover {
    background: #cc0000;
    transform: scale(1.1);
}

/* Mobil uyumluluk - Küçülme efekti AKTİF */
@media (max-width: 768px) {
    .floating-image-container {
        bottom: 10px;
        right: 10px;
        left: auto;
    }
    
    .floating-image-plugin {
        max-width: 200px !important;
        margin: 0;
        transform-origin: bottom right;
    }
    
    /* Mobilde küçülme efekti AKTİF */
    .floating-image-plugin.shrunk {
        transform: scale(0.4);
        opacity: 0.8;
    }
    
    /* Mobilde hover efekti yok ama küçülme var */
    .floating-image-plugin:hover {
        transform: scale(0.4); /* Hover'da değişiklik olmasın */
        opacity: 0.8;
    }
    
    .fip-close-btn {
        top: -8px;
        right: -8px;
        width: 20px;
        height: 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .floating-image-container {
        bottom: 5px;
        right: 5px;
        left: auto;
    }
    
    .floating-image-plugin {
        max-width: 150px !important;
        transform-origin: bottom right;
    }
    
    /* Mobilde küçülme efekti AKTİF */
    .floating-image-plugin.shrunk {
        transform: scale(0.4);
        opacity: 0.8;
    }
    
    .floating-image-plugin:hover {
        transform: scale(0.4); /* Hover'da değişiklik olmasın */
        opacity: 0.8;
    }
    
    .fip-close-btn {
        top: -6px;
        right: -6px;
        width: 18px;
        height: 18px;
        font-size: 12px;
    }
}

/* Erişilebilirlik */
.floating-image-plugin:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

.fip-close-btn:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}