/* Quiz and Polling - Musimmas Theme */
/* Based on Simple Theme with custom styling */

/* Remove container background */
.qap-theme-musimmas.qap-quiz-container {
    padding: 0;
}

/* Participant Info - No background, no border */
.qap-theme-musimmas .qap-participant-info {
    background: transparent;
    padding: 0;
    border: none;
    border-radius: 0;
    margin-bottom: 25px;
}

.qap-theme-musimmas .qap-participant-info h3 {
    padding-bottom: 10px;
    border: none;
}

.qap-theme-musimmas .qap-field input {
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    background: transparent;
    padding-left: 0;
    padding-right: 0;
}

.qap-theme-musimmas .qap-field input:focus {
    border-color: #333;
    box-shadow: none;
}

/* Questions - No background, keep border */
.qap-theme-musimmas .qap-question {
    background: transparent;
    border-radius: 0;
    padding: 20px 15px;
    margin-bottom: 0;
}

.qap-theme-musimmas .qap-question:hover {
    box-shadow: none;
}

.qap-theme-musimmas .qap-question-number {
    color: #666;
}

.qap-theme-musimmas .qap-question-stats {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 12px 0;
}

/* Answers - No background, no border */
.qap-theme-musimmas .qap-answer label {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 8px 0;
}

.qap-theme-musimmas .qap-answer label:hover {
    background: transparent;
}

.qap-theme-musimmas .qap-answer label:has(input:checked) {
    background: transparent;
    border: none;
}

.qap-theme-musimmas .qap-answer input:checked + span {
    font-weight: 600;
}

/* Hint - Minimal style, no border */
.qap-theme-musimmas .qap-hint-toggle {
    background: transparent;
    border: none;
    color: #666;
    border-radius: 0;
    padding: 0;
}

.qap-theme-musimmas .qap-hint-toggle:hover {
    background: transparent;
    color: #333;
}

.qap-theme-musimmas .qap-hint-text {
    background: transparent;
    border: none;
    border-radius: 0;
    color: #666;
    padding: 10px 0;
}

/* Submit Button - Custom Musimmas style */
.qap-theme-musimmas .qap-submit-btn {
    background: #DE7D4C !important;
    color: #ffffff !important;
    opacity: 1;
    border: 1px solid #DE7D4C !important;
    transition: all 0.5s;
    border-radius: 0;
    padding: 12px 35px;
    font-weight: 600;
}

.qap-theme-musimmas .qap-submit-btn:hover {
    background: #ffffff !important;
    color: #DE7D4C !important;
    border: 1px solid #DE7D4C !important;
    opacity: 1;
    transition: all 0.5s;
}

.qap-theme-musimmas .qap-submit-btn:disabled {
    background: #DE7D4C !important;
    color: #ffffff !important;
    border: 1px solid #DE7D4C !important;
    opacity: 0.5;
}

/* Retake Button - Custom Musimmas style */
.qap-theme-musimmas .qap-retake-btn {
    margin-top: 0;
    background: #DE7D4C !important;
    color: #ffffff !important;
    opacity: 1;
    border: 1px solid #DE7D4C !important;
    transition: all 0.5s;
    border-radius: 0;
    padding: 12px 35px;
    font-weight: 600;
}

.qap-theme-musimmas .qap-retake-btn:hover {
    background: #ffffff !important;
    color: #DE7D4C !important;
    border: 1px solid #DE7D4C !important;
    opacity: 1;
    transition: all 0.5s;
}

/* Results - Custom Musimmas style */
.qap-theme-musimmas .qap-results {
    background: #DFEFE7;
    padding: 20px !important;
}

.qap-theme-musimmas .qap-results-score {
    color: #333;
}

.qap-theme-musimmas .qap-result-item.correct .qap-result-status {
    color: #28a745;
}

.qap-theme-musimmas .qap-result-item.incorrect .qap-result-status {
    color: #dc3545;
}

.qap-theme-musimmas .qap-result-item.incorrect {
    background: #d4edda;
    border-color: #c3e6cb;
}

/* All Answers in results */
.qap-theme-musimmas .qap-all-answers {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 10px 12px;
}

.qap-theme-musimmas .qap-answers-list {
    border: none;
    list-style: none;
    padding: 0;
    margin: 0;
}

.qap-theme-musimmas .qap-answer-item {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
}

.qap-theme-musimmas .qap-answer-item.qap-user-correct,
.qap-theme-musimmas .qap-answer-item.qap-user-incorrect,
.qap-theme-musimmas .qap-answer-item.qap-correct-answer-highlight {
    background: transparent;
}

.qap-theme-musimmas .qap-answer-bullet {
    background: #999;
    width: 18px;
    height: 18px;
}

.qap-theme-musimmas .qap-answer-bullet.qap-bullet-correct {
    background: #28a745;
}

.qap-theme-musimmas .qap-answer-bullet.qap-bullet-selected {
    background: #28a745;
}

/* Progress bar - Minimal */
.qap-theme-musimmas .qap-answer-progress-wrapper {
    margin-left: 0;
}

.qap-theme-musimmas .qap-answer-progress-wrapper .dashicons.dashicons-groups {
    display: none !important;
}

.qap-theme-musimmas .qap-answer-progress-bar {
    background: #e0e0e0;
    height: 6px;
}

.qap-theme-musimmas .qap-answer-progress-fill {
    background: #999;
}

.qap-theme-musimmas .qap-answer-progress-fill.qap-progress-correct {
    background: #28a745;
}

.qap-theme-musimmas .qap-user-correct .qap-answer-progress-fill {
    background: #28a745;
}

.qap-theme-musimmas .qap-user-incorrect .qap-answer-progress-fill {
    background: #dc3545;
}

.qap-theme-musimmas .qap-answer-percentage {
    color: #666;
}

.qap-theme-musimmas .qap-answer-stats {
    color: #666;
}

/* Answer stats colors */
.qap-theme-musimmas .qap-user-correct .qap-answer-stats {
    color: #28a745 !important;
}

.qap-theme-musimmas .qap-correct-answer-highlight .qap-answer-stats {
    color: #28a745 !important;
}

.qap-theme-musimmas .qap-user-incorrect .qap-answer-stats {
    color: #dc3545 !important;
}

.qap-theme-musimmas .qap-incorrect-answer-highlight .qap-answer-stats {
    color: #dc3545 !important;
}

.qap-theme-musimmas .qap-user-selected .qap-answer-stats {
    color: #28a745 !important;
}

/* Result explanation */
.qap-theme-musimmas .qap-result-explanation {
    background: transparent;
    border: none;
    padding: 10px 0;
    color: #666;
    font-style: italic;
    font-size: 16px;
}

/* Result description */
.qap-theme-musimmas .qap-result-description {
    background: transparent;
    border: none;
    padding: 5px 0;
    color: #666;
}

/* Pagination - Hidden */
.qap-theme-musimmas .qap-pagination {
    display: none;
}

/* Questions margin */
.qap-theme-musimmas .qap-questions {
    margin-bottom: 10px !important;
}

/* Stat percentage - Hidden */
.qap-theme-musimmas .qap-stat-item.qap-stat-percentage {
    display: none !important;
}

/* Utility classes */
.qap-theme-musimmas .flex-display {
    display: flex;
}

.qap-theme-musimmas .valign-center {
    align-items: center;
}

.qap-theme-musimmas .justify-center {
    justify-content: center;
}

.qap-theme-musimmas .bottom-field > div {
    padding-right: 12px;
    padding-left: 12px;
}

.qap-theme-musimmas .qap-pagination-btn {
    background: transparent;
    border: none;
    border-radius: 0;
    color: #333;
}

.qap-theme-musimmas .qap-pagination-btn:hover {
    background: transparent;
    color: #000;
}

.qap-theme-musimmas .qap-pagination-btn:disabled {
    background: transparent;
    color: #ccc;
}

.qap-theme-musimmas .qap-pagination-dots .qap-dot {
    background: transparent;
    border: none;
    width: 8px;
    height: 8px;
    background: #ccc;
    border-radius: 50%;
}

.qap-theme-musimmas .qap-pagination-dots .qap-dot.active {
    background: #333;
}

.qap-theme-musimmas .qap-pagination-dots .qap-dot.answered {
    background: #666;
}

.qap-theme-musimmas .qap-prev-btn,
.qap-theme-musimmas .qap-next-btn {
    background: transparent;
    border: none;
    color: #333;
    border-radius: 0;
}

.qap-theme-musimmas .qap-prev-btn:hover,
.qap-theme-musimmas .qap-next-btn:hover {
    background: transparent;
}

/* Unanswered button */
.qap-theme-musimmas .qap-show-unanswered-btn {
    background: transparent;
    border: none;
    color: #666;
    border-radius: 0;
}

.qap-theme-musimmas .qap-show-unanswered-btn:hover {
    background: transparent;
    color: #333;
}

/* Filter mode pagination */
.qap-theme-musimmas.qap-filter-mode-active .qap-pagination {
    background: transparent;
    border: none;
}

/* Status badges - Minimal */
.qap-theme-musimmas .qap-your-answer,
.qap-theme-musimmas .qap-correct-label {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    font-weight: 600;
}

/* Loading */
.qap-theme-musimmas .qap-spinner {
    border-color: #eee;
    border-top-color: #333;
}

/* Previous Result */
.qap-theme-musimmas.qap-previous-result {
    background: transparent;
    border: none;
    border-radius: 0;
}

.qap-theme-musimmas .qap-result-header {
    border: none;
}

.qap-theme-musimmas .qap-previous-notice {
    background: transparent;
    border: none;
    border-radius: 0;
    color: #666;
}

/* Answer count */
.qap-theme-musimmas .qap-answer-count {
    color: #999;
    font-size: 12px;
}

/* Result Pagination */
.qap-theme-musimmas .qap-result-pagination {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 15px 0;
}

.qap-theme-musimmas .qap-result-pagination .qap-pagination-btn {
    background: transparent;
    border: none;
    border-radius: 0;
    color: #333;
}

.qap-theme-musimmas .qap-result-pagination .qap-pagination-btn:hover {
    background: transparent;
    color: #000;
}

.qap-theme-musimmas .qap-result-pagination .qap-pagination-btn:disabled {
    background: transparent;
    color: #ccc;
}

.qap-theme-musimmas .qap-result-prev-btn,
.qap-theme-musimmas .qap-result-next-btn {
    background: transparent;
    border: none;
    color: #333;
    border-radius: 0;
}
