.tab {
    padding: 0.5rem 1rem;
    border: 1px solid #ccc;
    cursor: pointer;
    display: inline-block;
    margin-right: 0.5rem;
}

.tab.active {
    background-color: #4A90E2;
    color: white;
    border-color: #4A90E2;
}

.hidden {
    display: none;
}
/* Custom button styles (if additional styling is needed) */
.custom-button {
    transition: all 0.3s ease-in-out;
    font-weight: 600;
}

    /* Container for swipe effect */
    .swipe-container {
        display: flex;
        position: relative;
        overflow: hidden;
    }

    /* Content of the row */
    .swipe-content {
        padding: 1rem;
        background-color: white;
        transition: transform 0.3s;
    }

    /* Button to delete */
    .delete-btn {
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        transform: translateX(100%);
        transition: transform 0.3s;
    }

    /* Class for showing delete button */
    .show-delete .swipe-content {
        transform: translateX(-100px); /* Adjust based on button width */
    }

    .show-delete .delete-btn {
        transform: translateX(0);
    }
        /* Custom styles for the loading spinner */
        .loader {
            border-top-color: #3490dc; /* Tailwind's blue-500 color */
        }
/* Custom styles for the scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 4px; /* Narrow scrollbar width */
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: rgba(107, 114, 128, 0.7); /* Gray color for the thumb */
    border-radius: 4px; /* Rounded corners for the thumb */
}

.custom-scrollbar::-webkit-scrollbar-track {
    background-color: transparent; /* Transparent background for the track */
}
/* Ensure the action buttons are absolutely positioned within the table row */
.action-buttons {
    position: absolute;
    right: 0.5rem; /* Adjust for better alignment */
    top: 50%;
    transform: translateY(-50%);
    z-index: 20; /* Ensure buttons are displayed above the row content */
}
