@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700&display=swap');

body {
    font-family: 'Tajawal', sans-serif;
    background-color: #f4f7f6;
}

html.dark body {
    background-color: #111827;
}

.fade-enter-active,
.fade-leave-active {
    transition: opacity 0.3s ease;
}

.fade-enter-from,
.fade-leave-to {
    opacity: 0;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

html.dark .modal-content {
    background-color: #1f2937;
}

#qrcode {
    display: inline-block;
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
}

#qrcode img {
    display: block;
    margin: auto;
}

.sortable {
    cursor: pointer;
    user-select: none;
}

.sortable .arrow {
    opacity: 0.5;
    transition: opacity 0.2s;
    display: inline-block;
}

.sortable:hover .arrow {
    opacity: 1;
}

.sortable.active .arrow {
    opacity: 1;
    color: #3b82f6;
}

.bulk-actions-bar {
    transition: transform 0.3s ease-in-out;
}
