

h1 {
    text-align: center;
    color: #4a90e2;
    margin-top: 2rem;
}

.container {
    max-width: 40rem;
    margin: 2rem auto;
    padding: 2rem 3rem;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.quiz_ul {
    list-style-type: none;
    padding: 0;
}

.quiz_ul li {
    margin: 1rem 0;
    padding: 10px;
    border: none;
}

.quiz_ul li:first-child() {
    margin:0;
}

.quiz_ul li > p {
    font-weight: bold;
    margin-bottom: 10px;
}


.quiz_ul li.unanswered {
    border: 2px solid red;
    border-radius: 15px;
}





label {
    display: block;
    background-color: #f1f1f1;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 1rem;
}

input[type="radio"]:not(:checked)+label {
    background-color: #f1f1f1;
}

label:hover {
    background-color: #e1e1e1;
}



button {
    display: block;
    padding: 10px 20px;
    background-color: #0952af;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    margin: 0 auto;
}

button:hover {
    background-color: #1662c6;
}

.result {
    text-align: center;
    margin-top: 20px;
}

.result strong {
    font-size: 18px;
    color: #4a90e2;
}

.result .score {
    font-size: 24px;
    font-weight: bold;
    color: #27ae60;
}

.question-options input[type="radio"] {
    display: none;
}

.question-options input[type="radio"]:checked+label {
    background-color: #8cc0ff;
    border: 2px solid #2f89b3;
    color: #184c76;
}

.question-options label {
    display: block;
    background-color: #f1f1f1;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.score {
    font-size: 24px;
    font-weight: bold;
    padding: 10px;
    border-radius: 5px;
    color: #fff;
}

.score.low {
    color: #e74c3c;
    
}

.score.medium {
    color: #f1c40f;
    
}

.score.high {
    color: #2ecc71;
    
}

.answer {
    color: #1521aa;
}

.true_ans {
    color: rgb(4, 107, 4);
}

.false_ans {
    color: rgb(195, 11, 11);
}


.question_text {
    font-size: 1.2rem;
}

.test-pagination {
    display: flex;
    justify-content: center;
}

.test_detail_btn {
    margin-top: 2rem;
}