.ksmcq-container { max-width: 600px; margin: 0 auto; text-align: center; font-family: 'Fredoka One', cursive; }
.ksmcq-heading { font-size: 28px; color: #ff4500; margin-bottom: 20px; background: rgba(173, 216, 230, 0.8); padding: 10px; border-radius: 10px; }
.ksmcq-carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; } /* Added smooth */
.ksmcq-item { flex: 0 0 100%; scroll-snap-align: start; padding: 20px; background: rgba(240, 248, 255, 0.8); border-radius: 10px; }
.ksmcq-seq { font-size: 18px; color: #555; margin-bottom: 10px; }
.ksmcq-question { font-size: 24px; color: #333; }
.ksmcq-option { display: block; margin: 10px auto; padding: 10px; width: 80%; background: #ffd700; border: none; border-radius: 20px; font-size: 18px; cursor: pointer; }
.ksmcq-option.correct { background: green; color: white; }
.ksmcq-option.wrong { background: red; color: white; }
.ksmcq-next { display: block; margin: 15px auto 0; padding: 10px 20px; background: #32cd32; color: white; border: none; border-radius: 20px; font-size: 16px; cursor: pointer; transition: background 0.3s; }
.ksmcq-next:hover { background: #228b22; }
.ksmcq-bubbles { display: flex; justify-content: center; margin-top: 20px; }
.ksmcq-bubble { width: 25px; height: 25px; background: gray; border-radius: 50%; margin: 0 8px; cursor: pointer; }
.ksmcq-bubble.correct { background: green; }
.ksmcq-bubble.wrong { background: red; }
.ksmcq-score { font-size: 28px; font-weight: bold; color: #ffd700; margin-top: 20px; background: rgba(173, 216, 230, 0.8); padding: 15px; border-radius: 10px; animation: pulse 1s ease-in-out; } /* Bigger, animated */
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } }

/* ... existing styles ... */

.ksmcq-progress-bar {
    width: 100%;
    height: 12px;
    background: #ddd;
    border-radius: 6px;
    overflow: hidden;
    margin: 15px 0;
}
.ksmcq-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #32cd32, #ffd700);
    width: 0%;
    transition: width 0.4s ease;
}

/* make sure carousel scrolls smoothly */
.ksmcq-carousel { scroll-behavior: smooth; }