/**
 * Additional styles for step-by-step version
 * Add this to frontend.css or load separately
 */

/* Question transitions */
.mtb-question {
    animation: mtb-fadeInQuestion 0.4s ease;
}

@keyframes mtb-fadeInQuestion {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Navigation buttons hover effects */
.mtb-nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mtb-nav-button:active {
    transform: translateY(0);
}

.mtb-prev-button:hover {
    background: #e5e7eb !important;
}

.mtb-next-button:hover {
    opacity: 0.9;
}

/* Question counter emphasis */
.mtb-question-number {
    font-size: 1rem !important;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #6366f1, #818cf8);
    color: white;
    border-radius: 20px;
    display: inline-block;
}

/* Answer selection feedback */
.mtb-answer input[type="radio"]:checked~.mtb-answer-label::before {
    animation: mtb-pulse 0.3s ease;
}

@keyframes mtb-pulse {

    0%,
    100% {
        transform: translateY(-50%) scale(1);
    }

    50% {
        transform: translateY(-50%) scale(1.1);
    }
}

/* Progress bar animation */
.mtb-progress-fill {
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile adjustments for navigation */
@media (max-width: 768px) {
    .mtb-question-navigation {
        flex-direction: column !important;
    }

    .mtb-nav-button {
        width: 100%;
        margin-left: 0 !important;
    }
}