body { 
    font-family: -apple-system, sans-serif; 
    background: #f0f2f5; 
    color: #2c3e50; 
    margin: 20px; 
}
.quiz-container-wrapper .container { 
    max-width: 1000px; 
    margin: auto; 
    background: #ffffff; 
    padding: 20px; 
    border-radius: 8px; 
    box-shadow: 0 6px 20px rgba(0,0,0,0.1); 
}
.quiz-container-wrapper h1, .quiz-container-wrapper h2, .quiz-container-wrapper h3, .quiz-container-wrapper h4 { 
    color: #3498db; 
}
.quiz-container-wrapper button { 
    background: #3498db; 
    color: white; 
    border: none; 
    padding: 12px 20px; 
    cursor: pointer;
    border-radius: 6px;
    font-size: 1em;
} 
.quiz-container-wrapper .check-answer-btn { 
    background: #27ae60; 
}
.quiz-container-wrapper button:hover { 
    opacity: 0.9; 
    cursor: pointer; 
}
.quiz-container-wrapper .question-block { 
    margin-bottom: 25px; 
    padding: 15px; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
}
.quiz-container-wrapper .question-text { 
    font-size: 1.1em; 
    font-weight: 500; 
    margin-bottom: 10px; 
}
.quiz-container-wrapper .choices-list { 
    display: grid; 
    gap: 8px; 
}
.quiz-container-wrapper .choice { 
    display: block; 
    padding: 12px; 
    border: 1px solid #ddd; 
    border-radius: 6px; 
    cursor: pointer; 
    background: #fdfdfd; 
    transition: background 0.2s ease, border-color 0.2s ease; 
}
.quiz-container-wrapper .choice:hover { 
    background: #f5f5f5; 
}
.quiz-container-wrapper .choice.selected { 
    border-color: #3498db; 
    background: #e8f4fd; 
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3); 
}
.quiz-container-wrapper .choice.correct { 
    background: #d4edda; 
    border-color: #a3d9b1; 
}
.quiz-container-wrapper .choice.incorrect { 
    background: #f8d7da; 
    border-color: #f1b0b7; 
}
.quiz-container-wrapper #score, .quiz-container-wrapper #resultMessage { 
    font-weight: bold; 
    margin-top: 20px; 
    text-align: center; 
}
.quiz-container-wrapper .navigation-buttons { 
    display: flex; 
    justify-content: space-between; 
    margin-top: 20px; 
}
.quiz-container-wrapper .question-navigation { 
    display: flex; 
    gap: 10px; 
    margin-bottom: 20px; 
    justify-content: center; 
    flex-wrap: wrap; 
}
.quiz-container-wrapper .question-nav-btn { 
    padding: 8px 12px; 
    border: 1px solid #ddd; 
    background: #f9f9f9; 
    cursor: pointer; 
    border-radius: 4px; 
}
.quiz-container-wrapper .question-nav-btn.active { 
    background: #3498db; 
    color: white; 
    border-color: #217dbb; 
}
.quiz-container-wrapper .question-nav-btn:hover:not(.active) { 
    background: #f0f0f0; 
}
.quiz-container-wrapper .progress-bar { 
    height: 8px; 
    background: #f0f0f0; 
    border-radius: 4px; 
    margin: 20px 0; 
    overflow: hidden; 
}
.quiz-container-wrapper .progress { 
    height: 100%; 
    background: #3498db; 
    transition: width 0.3s ease; 
}
.quiz-container-wrapper #restartBtn { 
    margin-top: 20px; 
    display: block; 
    margin-left: auto; 
    margin-right: auto; 
}
.quiz-container-wrapper .answer-feedback { 
    margin-top: 15px; 
    padding: 10px; 
    border-radius: 6px; 
}
.quiz-container-wrapper .correct-feedback { 
    color: #155724; 
    background-color: #d4edda; 
    border: 1px solid #c3e6cb; 
}
.quiz-container-wrapper .incorrect-feedback { 
    color: #721c24; 
    background-color: #f8d7da; 
    border: 1px solid #f5c6cb; 
}
.quiz-container-wrapper .pass-message { 
    color: #155724; 
    font-weight: bold; 
    margin-top: 15px; 
}
.quiz-container-wrapper .fail-message { 
    color: #721c24; 
    font-weight: bold; 
    margin-top: 15px; 
}
.quiz-container-wrapper .check-answer-btn:hover { 
    background: #219653; 
}
.quiz-container-wrapper .tts-icon { 
    cursor: pointer; 
    margin-inline-start: 8px; 
    font-size: 1.2em; 
    vertical-align: middle; 
    user-select: none; 
    display: inline-block; 
}
.quiz-container-wrapper .tts-icon:hover { 
    opacity: 0.7; 
}