/* Main styles */
.option-btn {
    transition: all 0.2s ease;
}

.option-btn:hover {
    transform: translateY(-2px);
}

.option-btn.correct {
    background-color: #4ade80 !important;
    color: white !important;
}

.option-btn.incorrect {
    background-color: #f87171 !important;
    color: white !important;
}

.option-btn.selected {
    border-color: #5D5CDE;
    border-width: 2px;
}

/* Dark mode specific styles */
.dark body {
    background-color: #181818;
    color: #e5e5e5;
}

.dark .card {
    background-color: #2d2d2d;
}

.dark .option-btn {
    background-color: #3d3d3d;
    color: #e5e5e5;
    border-color: #4b4b4b;
}

.dark .admin-table {
    background-color: #2d2d2d;
    color: #e5e5e5;
}

.dark .admin-table th,
.dark .admin-table td {
    border-color: #4b4b4b;
}

@keyframes correctAnswer {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes wrongAnswer {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-5px);
    }

    100% {
        transform: translateX(0);
    }
}

.correct {
    animation: correctAnswer 0.6s ease;
}

.incorrect {
    animation: wrongAnswer 0.5s ease;
}

.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background-color: #f00;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1000;
}

/* Global color utilities */
.text-primary {
    color: #5D5CDE !important;
}

.bg-primary {
    background-color: #5D5CDE !important;
}

.bg-primary-light {
    background-color: rgba(93, 92, 222, 0.2) !important;
}

.border-primary {
    border-color: #5D5CDE !important;
}

/* Layout Utilities (Safety Fallbacks) */
@media (min-width: 1024px) {
    .lg\:ml-64 {
        margin-left: 16rem !important;
    }
}

.ml-64 {
    margin-left: 16rem !important;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-300 {
    transition-duration: 300ms;
}