/* Zusätzliche Stile für die Autoplay-Einstellungen */
.settings-panel {
    margin-bottom: 20px;
    padding: 10px 15px;
    background-color: rgba(30, 30, 30, 0.7);
}

.autoplay-settings {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Checkbox-Container */
.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 0.9em;
    user-select: none;
}

/* Verstecke den Standard-Checkbox */
.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Erstelle einen benutzerdefinierten Checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #222;
    border: 1px solid #444;
    border-radius: 3px;
}

/* Bei Hover über den Container */
.checkbox-container:hover input ~ .checkmark {
    background-color: #333;
}

/* Wenn die Checkbox aktiviert ist */
.checkbox-container input:checked ~ .checkmark {
    background-color: #0a0;
    border-color: #0a0;
}

/* Erstelle das Häkchen/Icon */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Zeige das Häkchen an, wenn die Checkbox aktiviert ist */
.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

/* Stil des Häkchens */
.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
