/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.4);
    /* slate-400 with opacity */
    border-radius: 4px;
}

.dark .custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(51, 65, 85, 0.6);
    /* slate-700 with opacity */
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.6);
}

.dark .custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(51, 65, 85, 0.9);
}

/* Ensure textarea resizes beautifully */
textarea {
    resize: none;
}

/* Line clamping utility classes used by Tailwind arbitrary variants, handled natively here if needed */
.display-webkit-box {
    display: -webkit-box;
}

/* Modal Open state classes applied via JS */
body.modal-open {
    overflow: hidden;
}

#export-modal.open {
    opacity: 1;
    pointer-events: auto;
}

#export-modal.open>div {
    transform: translateY(0);
}