﻿.table-allow-spinner {
    position: relative;
}

.table-card {
    padding: 0;
    padding-top: var(--spacing-16);
    padding-bottom: var(--spacing-16);
}

.table-cell {
    padding: var(--spacing-16) var(--spacing-24);
}

.table-header-cell {
    padding: var(--spacing-12) var(--spacing-24);
}

.table-cell-skeleton {
    padding: var(--spacing-16) var(--spacing-24);
}

.table-cell.table-cell--actions {
  padding-top: 0;
  padding-bottom: 0;
}

.table.empty-table {
  margin-bottom: 0;
}

.d-flex.sort-icons i {
    font-size: 0.7rem;
    color: var(--bs-gray-400);
    line-height: 1;
    margin: 0;
    padding: 0;
}

.sort-icons i:first-child {
    margin-bottom: calc(-1 * var(--spacing-6));
}

.pagination {
    --bs-pagination-color: var(--bs-gray-600);
    --bs-pagination-hover-color: var(--bs-gray-600);
}

.pagination>.next,
.pagination>.previous {
    --bs-pagination-padding-x: var(--spacing-10);
}

.loading-skeleton.pagination-skeleton-height {
    height: var(--size-40);
}

.outer-circle {
    width: 3.125rem;
    height: 3.125rem;
    border-radius: 12.5rem;
    border: 1px solid #f1f1f4;
    background: radial-gradient(178.08% 140.91% at 50.91% -29.09%, #f5f5f5 100%, #ececec 0%);
    box-shadow: 0px 4px 12px 0px #00000012;
    position: relative;
}

.inner-circle {
    width: 1.9886rem;
    height: 1.9886rem;
    border-radius: 12.5rem;
    background: radial-gradient(178.08% 140.91% at 50.91% -29.09%, #f5f5f5 100%, #ececec 0%);
    border: 0.125rem solid #ffffff;
    position: absolute;
    top: 0.5681rem;
    left: 0.5681rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.table-card:has(tbody .dt-empty) {
    padding-bottom: 0;
}

.table-header-border {
    border-top: var(--spacing-1) solid var(--bs-gray-200) !important;
}


/* TODO: This should be deleted after all tables are using the table components */
.table thead tr th.b-12-16-500 {
    font-weight: 500;
    font-size: var(--size-12);
    line-height: var(--size-16);
}

/* TODO: This should be deleted after all tables are using the table components */
.table tbody td.b-14-20-500 {
    font-weight: 500;
    font-size: var(--size-14);
    line-height: var(--size-20);
}

.table-actions .menu .menu-item .menu-link .menu-title {
    color: var(--bs-gray-700);
}

.border-bottom-none {
    border-bottom: none !important;
}

.border-top-none {
    border-top: none !important;
}

@media (max-width: 991.98px) {
    .menu-sub-lg-down-accordion.menu-sub-lg-dropdown {
        position: static !important;
        background-color: transparent;
        transform: none !important;
        box-shadow: none !important;
        width: 14rem;
    }

    .menu-link.active,
    .menu-item.show>.menu-link {
        padding: var(--spacing-8) var(--spacing-12);
    }

    .table-row {
        position: relative;
    }

    .table-row .menu-sub {
        position: absolute !important;
        top: 100%;
        left: 0;
        background: #fff !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
        z-index: 1000;
        margin-top: 4px;
    }
}