/* Tùy chỉnh thanh cuộn */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.active-question {
    border: 2px solid #2563eb !important;
    transform: scale(1.1);
    z-index: 10;
    font-weight: bold;
}

.image-constraint {
    max-height: 50vh;
    max-width: 100%;
    object-fit: contain;
}

/* Hiệu ứng trượt cho Mobile Menu */
#mobile-drawer {
    transition: transform 0.3s ease-in-out;
}
.drawer-open {
    transform: translateY(0) !important;
}
.drawer-closed {
    transform: translateY(100%);
}

/* Bảng xếp hạng */
.rank-1 {
    background-color: #fef9c3;
    border: 1px solid #eab308;
    color: #854d0e;
}
.rank-2 {
    background-color: #f3f4f6;
    border: 1px solid #9ca3af;
    color: #374151;
}
.rank-3 {
    background-color: #ffedd5;
    border: 1px solid #fb923c;
    color: #9a3412;
}