.rs-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #f9f9f9;
}

.rs-image {
    position: absolute;
    /* Size the image appropriately for scrolling */
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    max-width: 200%;
    max-height: 200%;
    object-fit: cover;
}

/* Admin styles */
.rs-preview-image {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 4px;
    background: #fff;
}

.rs-preview-image img {
    border-radius: 4px;
}

.rs-remove-image {
    background: #dc3232;
    color: white;
    border: none;
    padding: 2px 8px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 11px;
}

.rs-remove-image:hover {
    background: #a00;
}