.mts-text-settings {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.mts-settings-button {
    background-color: #ffce2e; /* --madara-main-color */
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
    font-family: 'NunitoSans', sans-serif;
}

.mts-settings-button:hover {
    background-color: #fd8d2f; /* --secondary-color */
}

.mts-settings-panel {
    background-color: #f2f2f2;
    padding: 30px 15px;
    border-radius: 10px;
    position: absolute;
    bottom: 50px;
    right: 0;
    width: 300px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 999;
}

.mts-settings-panel .close {
    position: absolute;
    right: 15px;
    top: 5px;
    background: transparent;
    border: none;
    font-size: 18px;
    color: #7a8599;
}

.mts-settings-section {
    margin-bottom: 15px;
}

.mts-settings-section h6 {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #363d4d; /* --dark-2-text-color */
}

.read-container .reading-content * {
    font-size: var(--readingFontSize) !important;
}

.slidecontainer {
    display: flex;
    align-items: center;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

.theme-set-font {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.theme-set-font li {
    width: 50%;
    height: 40px;
    position: relative;
    margin-bottom: 5px;
    border: 1px solid #b8bfcc; /* --gray-text-color */
    border-radius: 3px;
}

.theme-set-font label,
.theme-set-font input {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.theme-set-font input[type="radio"] {
    opacity: 0.01;
    z-index: 100;
}

.theme-set-font label {
    padding: 5px;
    cursor: pointer;
    z-index: 90;
    font-size: 14px;
    color: #363d4d;
    text-align: center;
}

.theme-set-font li.active {
    border: 2px solid #ffce2e; /* --madara-main-color */
}

.theme-set-color {
    display: flex;
}

.theme-set-color label {
    position: relative;
    margin-right: 20px;
}

.theme-set-color input {
    position: absolute;
    clip: rect(0 0 0 0);
}

.theme-set-color span {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    cursor: pointer;
}

.theme-set-color ._default span {
    background-color: #F8F9FA;
}

.theme-set-color ._yellow span {
    background-color: #d9cfb3;
}

.theme-set-color ._dark span {
    background-color: #262626;
}

.theme-set-color .active span {
    border: 2px solid #ffce2e; /* --madara-main-color */
}

.box-footer {
    display: flex;
    justify-content: center;
}

#reset-reader-settings {
    color: #7a8599; /* --gray-text-color */
    background: transparent;
    border: none;
    font-size: 14px;
}

#reset-reader-settings i {
    font-size: 12px;
}