body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    margin: 0;
    padding: 20px;
}

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

.question-container {
    margin: 20px 0;
}

/* Question Indicators */
.question-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.indicator {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    background-color: #fff;
}

.indicator:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.indicator.current {
    border-color: #2196F3;
    background-color: #E3F2FD;
    color: #1976D2;
}

.indicator.answered {
    border-color: #4CAF50;
    background-color: #E8F5E9;
    color: #2E7D32;
}

.indicator.wrong {
    border-color: #f44336;
    background-color: #FFEBEE;
    color: #d32f2f;
}

.indicator.skipped {
    border-color: #FFC107;
    background-color: #FFF8E1;
    color: #F57F17;
}

.indicator.unanswered {
    border-color: #e0e0e0;
    background-color: #fff;
    color: #757575;
}

/* Legend */
.legend {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 0.9em;
}

.legend span {
    display: flex;
    align-items: center;
    color: #666;
}

.legend .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
    display: inline-block;
}

/* Question Styling */
.question {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.question h3 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.2em;
    font-weight: 600;
}

/* Options Styling */
ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

li {
    padding: 12px 15px;
    margin: 8px 0;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1em;
}

li:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

li.selected {
    background: #e3f2fd;
    border-color: #2196F3;
    color: #1976D2;
}

.option-correct {
    background-color: #E8F5E9 !important;
    border-color: #4CAF50 !important;
    color: #2E7D32 !important;
}

.option-wrong {
    background-color: #FFEBEE !important;
    border-color: #f44336 !important;
    color: #d32f2f !important;
}

/* Feedback Styling */
.feedback {
    margin: 20px 0;
    padding: 20px;
    border-radius: 8px;
    font-size: 0.95em;
}

.feedback h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 600;
}

.feedback.correct {
    background-color: #E8F5E9;
    border: 1px solid #C8E6C9;
    color: #2E7D32;
}

.feedback.incorrect {
    background-color: #FFEBEE;
    border: 1px solid #FFCDD2;
    color: #d32f2f;
}

/* Button Styling */
.button-container {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    transition: all 0.2s ease;
}

#submit-btn {
    background-color: #2196F3;
    color: white;
}

#submit-btn:hover {
    background-color: #1976D2;
}

#next-btn {
    background-color: #4CAF50;
    color: white;
}

#next-btn:hover {
    background-color: #388E3C;
}

#skip-btn {
    background-color: #FFC107;
    color: #000;
}

#skip-btn:hover {
    background-color: #FFA000;
}

#finish-btn {
    background-color: #757575;
    color: white;
}

#finish-btn:hover {
    background-color: #616161;
}

button:disabled {
    background-color: #e0e0e0;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Score Report Styling */
.score-report {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.score-report h2 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

.score-report p {
    margin: 10px 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
}

.score-report strong {
    color: #2c3e50;
}

.indicator {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    background-color: #fff;
}

.indicator:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.indicator.current {
    border-color: #2196F3;
    background-color: #E3F2FD;
    color: #1976D2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .quiz-container {
        padding: 15px;
    }

    .question {
        padding: 15px;
    }

    .button-container {
        flex-wrap: wrap;
    }

    button {
        width: 100%;
        margin: 5px 0;
    }

    .indicator {
        width: 30px;
        height: 30px;
        font-size: 0.9em;
    }
}

/* Utility Classes */
.hidden {
    display: none;
}
