/* SFX Options Styling - Clean version without atts- prefix */
#a-text-to-speech-box .sfx-options-container {
    padding: 0;
    margin: 0;
}

#a-text-to-speech-box .sfx-option-row {
    display: flex;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid #f3f4f6;
    gap: 5px;
}

#a-text-to-speech-box .sfx-option-row:last-child {
    border-bottom: none;
}

#a-text-to-speech-box .sfx-option-label {
    flex: 0 0 180px;
    font-size: 100%;
    font-weight: 600;
}

#a-text-to-speech-box .sfx-option-desc {
    display: block;
    font-size: 80%;
    color: #6b7280;
    font-weight: normal;
    margin-top: 4px;
    line-height: 1.3;
}

#a-text-to-speech-box .sfx-option-control {
    flex: 1;
}

/* Range & Switch Component */
#a-text-to-speech-box .sfx-range-wrapper {
    position: relative;
    margin-top: 2px;
    padding-bottom: 2px;
}

#a-text-to-speech-box .slider-disabled {
    /* opacity: 0.4; */
}

#a-text-to-speech-box .range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 4px;
    background: #e5e5e5;
    outline: none;
    transition: opacity .2s;
}

#a-text-to-speech-box .range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #3c4145;
    cursor: pointer;
    border: 1px solid white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

#a-text-to-speech-box .range-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #3c4145;
    cursor: pointer;
    border: 1px solid white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

#a-text-to-speech-box .switch {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 18px;
}

#a-text-to-speech-box .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

#a-text-to-speech-box .slider-toggle {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e5e5e5;
    transition: .4s;
    border-radius: 34px;
}

#a-text-to-speech-box .slider-toggle:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

#a-text-to-speech-box input:checked+.slider-toggle {
    background-color: #3c4145;
}

#a-text-to-speech-box input:checked+.slider-toggle:before {
    transform: translateX(14px);
}

/* Quick Durations & Labels */
#a-text-to-speech-box .sfx-quick-durations {
    display: flex;
    gap: 6px;
    margin: 4px 0px;
    justify-content: space-between;
}

#a-text-to-speech-box .quick-btn {
    flex: 1;
    text-align: center;
    padding: 0;
    background: #e5e5e5;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    font-size: 70%;
    color: #3c4146;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

#a-text-to-speech-box .sfx-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 70%;
    color: #3c4146;
    margin-bottom: -8px;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    #a-text-to-speech-box .hide-mobile {
        display: none;
    }

    #a-text-to-speech-box .sfx-option-label {
        flex: 0 0 140px;
    }
}

#a-text-to-speech-box .quick-btn:hover {
    color: #fff;
    background: #4253ff;
    border-color: #4253ff;
}

#a-text-to-speech-box .quick-btn:active {
    background: #313ecc;
}

#a-text-to-speech-box .quick-btn.active {
    color: #fff;
    background: #3c4145;
    border-color: #3c4145;
}