/* HTML: <div class="loader"></div> */
.buttonLoader {
    width: 25px;
    --b: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    padding: 1px;
    background: conic-gradient(#0000 10%, #182237) content-box;
    -webkit-mask:
        repeating-conic-gradient(#0000 0deg, #000 1deg 20deg, #0000 21deg 36deg),
        radial-gradient(farthest-side, #0000 calc(100% - var(--b) - 1px), #000 calc(100% - var(--b)));
    -webkit-mask-composite: destination-in;
    mask-composite: intersect;
    animation: l4 1s infinite steps(10);
}

@keyframes l4 {
    to {
        transform: rotate(1turn)
    }
}

#tableLoaderBox {
    display: flex;
    /* Enable flexbox layout */
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    /* Center vertically */
    height: 100px;
    /* Example height for the loader box */
}

.tableLoader {
    width: 50px;
    --b: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    padding: 1px;
    background: conic-gradient(#0000 10%, #151a26) content-box;
    -webkit-mask:
        repeating-conic-gradient(#0000 0deg, #000 1deg 20deg, #0000 21deg 36deg),
        radial-gradient(farthest-side, #0000 calc(100% - var(--b) - 1px), #000 calc(100% - var(--b)));
    -webkit-mask-composite: destination-in;
    mask-composite: intersect;
    animation: l4 1s infinite steps(10);
}

@keyframes l4 {
    to {
        transform: rotate(1turn)
    }
}

.disabledButton {
    cursor: not-allowed !important;
    pointer-events: none !important;
    opacity: 0.6 !important;
}

.sidebar-right {
    display: none !important;
}

.richText-dropdown {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}


#pagination nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 10px;
}

#pagination ul {
    display: flex;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

#pagination li {
    display: inline-block;
}

#pagination button {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    cursor: pointer;
    background-color: #f7fafc;
    color: #2d3748;
}

#pagination button:hover:not(:disabled) {
    background-color: #3182ce;
    color: #ffffff;
    border-color: #2b6cb0;
}

#pagination button:disabled {
    background-color: #edf2f7;
    color: #a0aec0;
    border-color: #e2e8f0;
    cursor: not-allowed;
    opacity: 0.5;
}

#pagination button.bg-primary {
    background-color: #3182ce;
    color: #ffffff;
    border-color: #2b6cb0;
}

#pagination button.bg-primary:hover:not(:disabled) {
    background-color: #2b6cb0;
    border-color: #2c5282;
}

#pagination .text-center {
    font-size: 0.85rem;
    color: #4a5568;
    font-weight: 400;
}

@media (max-width: 576px) {
    #pagination ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    #pagination button {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}
