﻿.settings-panel {
    display: none; 
    position: absolute;
    width: 100%;
    max-width: 250px; 
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000; 
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.settings-panel {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

    .settings-panel[style*="display: block"] {
        opacity: 1;
    }

.settings-title {
    display: block;
    font-size: 105%;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}

.setting {
    margin-bottom: 20px;
}

.options label {
    display: block;
    margin: 5px 0;
}

.speed-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
}

.speed-button {
    padding: 5px 10px;
    background-color: #e0e0e0;
    border: unset;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .speed-button.active {
        background-color: #6d6d6d;
        color: white;
    }

input[type="radio"]:checked + label {
    font-weight: bold;
}

input[type="radio"]:checked {
    accent-color: var(--bc-color-dark3);
}


body.dark-mode .settings-panel {
    background-color: var(--bc-color-dark3) !important;
}

input[type="checkbox"] {
    accent-color: var(--bc-color-dark3);
}



