/* Custom Scrollbar for Tabs */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Tabs Container with Drag Capability */
.tabs-container {
    cursor: grab;
}

.tabs-container.active {
    cursor: grabbing;
}

.tab-btn {
    transition: all 0.2s ease;
    user-select: none;
    /* Prevent text selection while dragging */
}

.tab-btn.active {
    background-color: #eff6ff;
    /* blue-50 */
    color: #2563eb;
    /* blue-600 */
    border-color: #2563eb;
    font-weight: 600;
}

.tab-btn:hover:not(.active) {
    background-color: #f8fafc;
    color: #1e293b;
}

/* Theme Swatches */
.theme-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    border: 2px solid white;
    box-shadow: 0 0 0 1px #e2e8f0;
}

.theme-swatch:hover {
    transform: scale(1.1);
}

.theme-swatch.selected {
    box-shadow: 0 0 0 2px #2563eb;
    /* Ring effect */
}

/* Smooth Fade In */
.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}