body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f4f4f9;
}

.container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
}

.question-block {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.question-text {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 15px;
}

.question-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 15px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
}

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

.option {
    margin-bottom: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.option:hover {
    background-color: #f0f7ff;
}

.option label {
    display: block;
    padding: 10px;
    cursor: pointer;
}

.option input {
    margin-right: 10px;
}

button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    cursor: pointer;
    margin-top: 20px;
}

button:hover {
    background-color: #2980b9;
}

#result-container {
    text-align: center;
}

#score {
    font-size: 2em;
    font-weight: bold;
    margin: 20px 0;
    color: #27ae60;
}

#review-container {
    text-align: left;
    margin-top: 30px;
}

.incorrect-item {
    background: #fff5f5;
    border: 1px solid #feb2b2;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.correct-answer {
    color: #2f855a;
    font-weight: bold;
    margin-top: 10px;
}

.explanation {
    margin-top: 10px;
    font-style: italic;
    color: #4a5568;
    background: #edf2f7;
    padding: 10px;
    border-radius: 4px;
}

#warning-container {
    background-color: #fffaf0;
    border: 1px solid #ed8936;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

#warning-container p {
    color: #c05621;
    font-weight: bold;
    margin-top: 0;
}

#missing-questions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    list-style: none;
    margin-bottom: 15px;
}

#missing-questions-list li a {
    background: #fbd38d;
    color: #744210;
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9em;
}

#missing-questions-list li a:hover {
    background: #feebc8;
}

#submit-anyway-btn {
    background-color: #ed8936;
    margin-top: 0;
}

#submit-anyway-btn:hover {
    background-color: #dd6b20;
}

.user-answer {
    color: #c53030;
    font-weight: bold;
    margin-top: 10px;
}

