.table {
    --bs-table-color-type: initial;
    --bs-table-bg-type: initial;
    --bs-table-color-state: initial;
    --bs-table-bg-state: initial;
    --bs-table-color: var(--bs-emphasis-color);
    --bs-table-bg: var(--bs-body-bg);
    --bs-table-border-color: var(--bs-border-color);
    --bs-table-accent-bg: transparent;
    --bs-table-striped-color: var(--bs-emphasis-color);
    --bs-table-striped-bg: rgba(var(--bs-emphasis-color-rgb), 0.05);
    --bs-table-active-color: var(--bs-emphasis-color);
    --bs-table-active-bg: rgba(var(--bs-emphasis-color-rgb), 0.1);
    --bs-table-hover-color: var(--bs-emphasis-color);
    --bs-table-hover-bg: rgba(var(--bs-emphasis-color-rgb), 0.075);
    width: 100%;
    margin-bottom: 1rem;
    vertical-align: top;
    border-color: var(--bs-table-border-color);
}

.table th,
.table td {
    vertical-align: middle;
    padding: 16px 5px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--backgrounds-card-secondary);
}

.table th {
    font-size: 14px;
}

.table td {
    font-size: 14px;
}

.table .td-title {
    font-family: var(--font-bold), sans-serif;
    font-size: 16px;
    color: var(--text-primary);
}

.table > tbody {
    vertical-align: inherit;
}

.table > thead {
    vertical-align: bottom;
}

.table > thead th {
    font-family: var(--font-bold), sans-serif;
    font-weight: normal;
}

.table-hover > tbody > tr:hover > * {
    --bs-table-color-state: var(--bs-table-hover-color);
    --bs-table-bg-state: var(--bs-table-hover-bg);
}

.table .btn {
    white-space: nowrap;
    margin-bottom: 0 !important;
}

/* table in editor */

.table-content {
    margin-top: 24px;
}

.table-content td {
    padding: 8px 0;
}

@media (max-width: 1024px) {
    .table-content {
        width: 100% !important;
    }
}

@media (max-width: 639px) {
    .table-content {
        width: 100% !important;
    }

    .table-content td {
        display: block;
        padding: 2px 0;
    }

    .table-content tr td:last-of-type {
        padding-bottom: 16px;
    }
}