.quiz-container {
    background: #ffffff;
    color: #333;
    padding: 30px;
    border-radius: 15px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

.quiz-container h3 {
    color: #2196F3;
    text-align: center;
    margin-bottom: 25px;
    font-size: 28px;
}

.quiz-container h4 {
    font-size: 20px;
    margin: 20px 0;
    line-height: 1.4;
    color: #333;
}

.quiz-container select {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 16px;
    transition: all 0.3s ease;
}

.quiz-container select:focus {
    border-color: #2196F3;
    outline: none;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.2);
}

.quiz-container button {
    background: #2196F3;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    margin: 15px 0;
    transition: all 0.3s ease;
}

.quiz-container button:hover {
    background: #1976D2;
    transform: translateY(-1px);
}

.quiz-container label {
    display: block;
    margin: 15px 0;
    font-size: 16px;
    font-weight: 500;
    color: #555;
}

.quiz-options {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-wrapper {
    width: 100%;
}

.quiz-option {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 15px;
    margin: 0;
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-option:hover {
    background: #e3f2fd;
    border-color: #2196F3;
}

.quiz-option.selected {
    background: #e3f2fd;
    border-color: #2196F3;
}

.quiz-option input[type="radio"] {
    margin-right: 10px;
}

.option-text {
    flex: 1;
    display: inline-block;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    margin: 20px 0;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: #2196F3;
    transition: width 0.3s ease;
}

.timer {
    text-align: center;
    font-size: 20px;
    margin: 15px 0;
    color: #555;
}

.quiz-result {
    text-align: center;
    padding: 20px;
    background: #e3f2fd;
    border-radius: 8px;
    margin-top: 20px;
}

.quiz-result h3 {
    color: #1976D2;
    margin-bottom: 15px;
}

.answers-list {
    text-align: left;
    margin-top: 20px;
}

.answers-list li {
    margin: 10px 0;
    padding: 10px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.answers-list .correct {
    color: #4CAF50;
    font-weight: bold;
}

.answers-list .incorrect {
    color: #f44336;
    text-decoration: line-through;
}

@media (max-width: 600px) {
    .quiz-container {
        padding: 20px;
        margin: 10px;
    }
    
    .quiz-container h3 {
        font-size: 24px;
    }
    
    .quiz-container h4 {
        font-size: 18px;
    }
}
