/* Stile für den Container */
.image-rotator-container {
    position: relative;
    margin: 0 auto;
    cursor: grab;
    user-select: none;
    background-color: #f0f0f0;
    min-height: 100px;
}

.image-rotator-container:active {
    cursor: grabbing;
}

/* Stile für das Bild (die "Leinwand") */
.image-rotator-container .rotator-viewport {
    width: 100%;
    height: auto;
    display: block;
}

/* Anleitungstext */
.rotator-anleitung {
    text-align: center;
    font-size: 14px;
    color: #555;
    margin-top: 8px;
}

/* Stile für den Lade-Spinner */
.rotator-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
    width: 40px;
    height: 40px;
    border: 4px solid #e0e0e0;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: rotator-spin 1s linear infinite;
}

@keyframes rotator-spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}