.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.submit-exam {
    border-radius: 5px;
}

h1 {
    text-align: center;
    color: #2c3e50;
}

.question {
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
    border-left: 4px solid #3498db;
}

.question p {
    font-weight: bold;
    margin-top: 0;
}

.answers {
    margin-left: 20px;
}

.answers label {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
}

button {
    display: block;
    width: 100%;
    padding: 10px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
}

button:hover {
    background: #2980b9;
}

#results {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}

.correct {
    background: #d4edda;
    color: #155724;
}

.incorrect {
    background: #f8d7da;
    color: #721c24;
}

.scores-container {
    margin-top: 30px;
    padding: 15px;
    background: #e9ecef;
    border-radius: 5px;
}

#scores {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.score-item {
    background: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Add these styles to your existing styles.css file */

/* Score range styling */
.score-fail {
    background-color: #ffebee; /* Light red */
    color: #c62828; /* Darker red for text */
    border-left: 4px solid #ef5350;
}

.score-pass {
    background-color: #e8f5e9; /* Light green */
    color: #2e7d32; /* Darker green for text */
    border-left: 4px solid #66bb6a;
}

.score-good {
    background-color: #e3f2fd; /* Light blue */
    color: #1565c0; /* Darker blue for text */
    border-left: 4px solid #42a5f5;
}

.score-very-good {
    background-color: #f3e5f5; /* Light purple */
    color: #7b1fa2; /* Darker purple for text */
    border-left: 4px solid #ab47bc;
}

.score-excellent {
    background-color: #fff8e1; /* Light amber */
    color: #ff8f00; /* Darker amber for text */
    border-left: 4px solid #ffca28;
}

/* Score item specific colors */
.score-item.fail {
    background-color: #ffcdd2;
    color: #b71c1c;
}

.score-item.pass {
    background-color: #c8e6c9;
    color: #1b5e20;
}

.score-item.good {
    background-color: #bbdefb;
    color: #0d47a1;
}

.score-item.very-good {
    background-color: #e1bee7;
    color: #4a148c;
}

.score-item.excellent {
    background-color: #ffecb3;
    color: #ff6f00;
}