.aqm-quiz-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.aqm-quiz-start {
    text-align: center;
}

.aqm-quiz-title {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
}

.aqm-quiz-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.aqm-name-input {
    margin-top: 30px;
}

.aqm-name-input label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 16px;
}

.aqm-name-input input {
    width: 100%;
    max-width: 400px;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
}

.aqm-progress {
    margin-bottom: 30px;
}

.aqm-progress-text {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.aqm-progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.aqm-progress-fill {
    height: 100%;
    background: #2271b1;
    transition: width 0.3s ease;
}

#aqm-question-display {
    margin-bottom: 30px;
}

.aqm-question-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.5;
}

.aqm-question-media {
    margin-bottom: 20px;
    text-align: center;
}

.aqm-question-media img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.aqm-question-media video {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.aqm-question-media audio {
    width: 100%;
    max-width: 500px;
}

/* Enhanced audio player styling to show embedded artwork */
.aqm-question-media audio::-webkit-media-controls-panel {
    background-color: #f5f5f5;
}

.aqm-question-media audio::-webkit-media-controls-enclosure {
    background-color: #f5f5f5;
    border-radius: 8px;
}

/* Firefox audio controls */
.aqm-question-media audio {
    border-radius: 8px;
    background-color: #f5f5f5;
}

.aqm-answer-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aqm-option-label {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f9f9f9;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.aqm-option-label:hover {
    background: #f0f0f0;
    border-color: #2271b1;
}

.aqm-option-label input[type="radio"] {
    margin-right: 12px;
    cursor: pointer;
}

.aqm-option-label span {
    font-size: 16px;
}

.aqm-text-input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 4px;
}

.aqm-quiz-navigation {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
}

.aqm-quiz-navigation button {
    padding: 12px 30px;
    font-size: 16px;
}

.aqm-quiz-results {
    text-align: center;
}

.aqm-score-display {
    background: #e7f3ff;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
}

.aqm-score-text {
    font-size: 24px;
    margin-bottom: 10px;
}

.aqm-score-percentage {
    font-size: 48px;
    font-weight: bold;
    color: #2271b1;
}

#aqm-answers-review {
    text-align: left;
    margin: 30px 0;
}

.aqm-review-item {
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 2px solid #ddd;
}

.aqm-review-item.aqm-correct {
    background: #f0f9f4;
    border-color: #4caf50;
}

.aqm-review-item.aqm-incorrect {
    background: #fff3f3;
    border-color: #f44336;
}

.aqm-review-item h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.aqm-review-question {
    font-weight: 600;
    margin-bottom: 10px;
    color: #555;
}

.aqm-review-answer {
    margin-bottom: 5px;
    color: #666;
}

.aqm-review-correct {
    color: #4caf50;
    font-weight: 600;
}

.aqm-review-status {
    color: #4caf50;
    font-weight: 600;
    font-size: 18px;
}

.aqm-loading {
    text-align: center;
    padding: 50px;
    font-size: 18px;
    color: #666;
}

@media (max-width: 768px) {
    .aqm-quiz-container {
        padding: 20px;
    }
    
    .aqm-quiz-title {
        font-size: 24px;
    }
    
    .aqm-question-title {
        font-size: 18px;
    }
    
    .aqm-score-percentage {
        font-size: 36px;
    }
}