.options-container {
    margin: 20px 0;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px;
}

.option {
    font-size: 1.1em;
    margin: 8px 0;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    line-height: 1.4;
    min-height: 50px;
    display: flex;
    align-items: center;
    text-align: left;
}

/* Правильный ответ с зелёным фоном */
.option.correct {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
    color: white !important;
    border-color: #1e7e34 !important;
    font-weight: bold;
}

/* Неправильные ответы серым цветом */
.option.incorrect {
    background: rgba(149, 165, 166, 0.2) !important;
    color: #95a5a6 !important;
    border-color: rgba(149, 165, 166, 0.3) !important;
}

.option:hover {
    background: rgba(255, 255, 255, 0.15);
}

.question-text {
    font-size: 1.4em;
    font-weight: bold;
    margin: 80px 0 20px 0;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.6;
    padding: 0 20px;
}

.answer {
    font-size: 1.3em;
    color: #2c3e50;
    margin: 20px 0;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    font-weight: bold;
    line-height: 1.6;
    text-align: center;
}

.answer.show {
    opacity: 1;
}

.action-btn {
    margin-top: 20px;
    margin-bottom: 20px;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 30px;
}

/* Стили для кнопки настроек */
.settings-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.3s;
    z-index: 100;
}

.settings-btn:hover {
    background-color: rgba(0,0,0,0.1);
}

/* Модальное окно настроек */
.settings-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.settings-content {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    max-width: 400px;
    width: 90%;
}

.settings-content h3 {
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
    color: #2c3e50;
}

.setting-group {
    margin-bottom: 20px;
}

/* Стили для чекбоксов */
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
}

.checkbox-label input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #3498db;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s;
}

.checkbox-label input:checked + .checkmark {
    background: #3498db;
    border-color: #3498db;
}

.checkbox-label input:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Стили для диапазона */
.range-controls {
    margin-top: 15px;
    padding-left: 30px;
}

.range-input {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.range-input label {
    min-width: 40px;
    font-weight: normal;
    color: #2c3e50;
}

.range-input input {
    width: 80px;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}

/* Кнопка сохранения */
.save-settings {
    width: 100%;
    padding: 12px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.save-settings:hover {
    background: #2980b9;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .options-container {
        min-height: 150px;
        margin: 20px 0;
    }
    
    .option {
        font-size: 1em;
        margin: 6px 0;
        padding: 10px 12px;
        min-height: 45px;
    }
    
    .question-text {
        font-size: 1.2em;
        margin: 30px 0 15px 0;
        min-height: 80px;
    }
    
    .answer {
        font-size: 1.1em;
        min-height: 50px;
        margin: 15px 0;
    }
    
    .action-btn {
        position: sticky;
        bottom: 20px;
        z-index: 100;
    }
}

@media (max-width: 480px) {
    .options-container {
        min-height: 120px;
        padding: 0 15px;
    }
    
    .option {
        font-size: 0.9em;
        padding: 8px 10px;
        min-height: 40px;
    }
    
    .question-text {
        font-size: 1.1em;
        margin: 40px 0 10px 0;
        min-height: 70px;
        padding: 0 15px;
    }
    
    .settings-btn {
        top: 15px;
        right: 15px;
        font-size: 1.3em;
    }
    
    .settings-content {
        padding: 20px;
    }
    
    .range-input input {
        width: 70px;
    }
}
