#mcq-quiz {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    margin: 20px auto;
    border: 1px solid #ddd;
    font-family: Arial, sans-serif;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
h4 {
    margin-bottom: 12px;
}
#progress-text {
    font-weight: bold;
    margin-bottom: 6px;
    color: #333;
}
#progress-bar {
    width: 100%;
    height: 12px;
    background: #eee;
    border-radius: 6px;
    margin-bottom: 16px;
    overflow: hidden;
}
#progress-fill {
    height: 12px;
    background: linear-gradient(90deg, #007bff, #00aaff);
    border-radius: 6px;
    transition: width 0.6s ease-in-out;
}
.option-btn {
    display: block;
    width: 100%;
    margin: 6px 0;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #f8f9fa;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
}
.option-btn:hover {
    background: #e9ecef;
}
.option-btn.correct {
    background-color: #28a745 !important;
    color: #fff !important;
}
.option-btn.wrong {
    background-color: #dc3545 !important;
    color: #fff !important;
}
#feedback {
    margin-top: 12px;
    font-weight: bold;
}
.correct-text {
    color: #28a745;
}
.wrong-text {
    color: #dc3545;
}
#next-btn, #restart-btn {
    margin-top: 14px;
    padding: 8px 14px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}
#next-btn:hover, #restart-btn:hover {
    background: #0056b3;
}
#restart-btn {
    margin-top: 18px;
    background: #28a745;
}
#restart-btn:hover {
    background: #1e7e34;
}
