.speech-test-container, .speech-que-container, .speech-crit-container, .speech-results-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}
.speech-error {
    color: red;
    font-weight: bold;
}
.speech-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.speech-table th, .speech-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
.speech-table th {
    background-color: #f2f2f2;
}
.speech-form-row {
    display: block;
    margin-bottom: 10px;
}
.speech-form-row label {
    display: inline-block;
    width: 120px;
    font-weight: bold;
}
.speech-form-row input {
    display: inline-block;
    width: 200px;
}
#voice-select {
    margin-left: 10px;
    display: none;
}
#fix-voice-btn {
    margin-bottom: 10px;
    background: #0073aa;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}
#processing-display {
    display: none;
    color: blue;
    font-weight: bold;
    margin: 10px 0;
}
#next-question {
    background: #0073aa;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 15px;
}
#next-question:disabled {
    background: #cccccc;
    cursor: not-allowed;
}
#timer-display {
    font-size: 18px;
    font-weight: bold;
    color: #d54e21;
    margin: 10px 0;
}
#question-display {
    font-size: 20px;
    margin: 15px 0;
    padding: 15px;
    background: #f9f9f9;
    border-left: 4px solid #0073aa;
}
#score-display, #comment-display, #transcription-display {
    margin: 10px 0;
    padding: 10px;
    background: #f0f0f0;
}
#transcription-display {
    font-style: italic;
}
