
    /* Scoped Styles */
    #iphone-scroll-widget * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    #iphone-scroll-widget .iphone-container {
        width: 300px; /* Width of each image */
        height: 600px;
        border: 16px solid #333;
        border-radius: 36px;
        overflow: hidden;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #000;
    }

    
    #iphone-scroll-widget .image-scroll {
        position: relative;
        width: 100%; /* Match container width */
        height: 100%;
    }

    #iphone-scroll-widget .image-scroll img {
        position: absolute;
        width: 100%; /* Image width should match container width */
        height: 100%; /* Set height to fill the container */
        border-radius: 10px;
        object-fit: cover;
        transition: opacity 1s ease-in-out;
        opacity: 0; /* Hide images initially */
    }

    /* Class to make the current image visible */
    #iphone-scroll-widget .image-scroll img.active {
        opacity: 1;
    }