body {
    font-family: Arial, sans-serif;
    transition: background 0.3s, color 0.3s;
}
.dark-mode {
    background: #1e1e1e;
    color: #f5f5f5;
}
.focus-mode {
    background: #f5f5dc;
    color: #333;
    line-height: 1.8;
}
.reading-controls {
    position: fixed;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
button, select, input {
    margin: 5px;
    padding: 5px;
}
/* Тема для тёмного фона */
.dark-theme {
    background-color: #333;
    color: #fff;
}

/* Тема для светлого фона */
.light-theme {
    background-color: #fff;
    color: #000;
}

/* Стиль для кнопок и ползунков */
#theme-toggle,
#reset-settings {
    padding: 10px;
    margin: 10px;
    cursor: pointer;
}

#scroll-speed {
    width: 100%;
}

.reading-controls {
    display: none;
    padding: 15px;
    border: 1px solid #ccc;
    background: #f9f9f9;
    border-radius: 8px;
    margin-top: 10px;
}

.dark-mode {
    background: #121212 !important;
    color: #ffffff !important;
}

button {
    cursor: pointer;
    padding: 8px 12px;
    margin: 5px;
    border: none;
    border-radius: 5px;
}

#toggleTheme {
    background: transparent;
    font-size: 20px;
}

.toggle-btn {
    display: flex;
    align-items: center;
    font-size: 18px !important;
    box-shadow: none;
    font-family: 'Montserrat' !important;
    line-height: 150% !important;
    cursor: pointer;
}

.toggle-btn span {
    margin-left: 6px;
    transition: all 150ms ease-out;
}
