table.dataTable tbody tr.even {
    background-color: rgb(249 250 251);
}

table.dataTable tbody tr {
    font-family: 'Roboto' !important;
    font-weight: 500 !important;
    color: #000 !important;
}

table.dataTable tbody td {
    padding: 15px 20px !important;
}

table.dataTable thead th {
    font-family: 'Roboto' !important;
    font-weight: 500 !important;
    color: #000 !important;
}

table.dataTable thead {
    background-color: rgb(245, 245, 245);
}

table.dataTable tbody th {
    font-family: 'Roboto' !important;
    font-weight: 500 !important;
    color: #000 !important;
}

table.dataTable.no-footer {
    border-bottom: 0 !important;
}

table.dataTable thead th {
    border-bottom: 0 !important;
}

table {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1) !important;
}


/* Center the loader */
.loader-container {
    display: none;
    /* Initially hidden */
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    /* Semi-transparent white */
    z-index: 9999;
    /* Ensure it's above other content */
}

/* Loader animation */
.loader {
    border: 8px solid #f3f3f3;
    /* Light grey */
    border-top: 8px solid orange;
    /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
    visibility: hidden;
    /* Hidden by default. Visible on click */
    min-width: 250px;
    /* Set a default minimum width */
    /* margin-left: -125px; */
    /* Divide value of min-width by 2 */
    background-color: #0b6eab;
    /* Black background color */
    color: #fff;
    /* White text color */
    text-align: center;
    /* Centered text */
    border-radius: 2px;
    /* Rounded borders */
    padding: 16px;
    /* Padding */
    position: fixed;
    /* Sit on top of the screen */
    z-index: 1;
    /* Add a z-index if needed */
    left: 50%;
    /* Center the snackbar */
    transform: translateX(-50%);
    bottom: 30px;
    /* 30px from the bottom */
}

#snackbar.red {
    background-color: #f02d2d;
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
    visibility: visible;
    /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
    However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

#previewModal {
    min-width: 100px;
    min-height: 100px;
}