.table-responsive,
.modern-table {
    scrollbar-width: thin;
}

.container,
.container-fluid {
    position: relative;
    z-index: 1;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-success {
    color: var(--success) !important;
}

.bg-light {
    background: var(--color-surface-alt) !important;
}

.border,
.border-top,
.border-bottom,
.border-start,
.border-end {
    border-color: var(--border) !important;
}

.table-hover tbody tr:hover {
    background: rgba(239, 108, 47, 0.04) !important;
}

.table-danger {
    --bs-table-bg: var(--danger-light);
}

.table-warning {
    --bs-table-bg: var(--warning-light);
}

/* Fix white text in light mode */
[data-theme="light"] .btn, 
[data-theme="light"] .action-btn,
[data-theme="light"] button,
[data-theme="light"] .btn-primary,
[data-theme="light"] .btn-success,
[data-theme="light"] .card,
[data-theme="light"] .info-box,
[data-theme="light"] h1, h2, h3, h4, h5,
[data-theme="light"] p,
[data-theme="light"] .text {
    color: #000 !important;
}

.fa,
.fas,
.far,
.fab {
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}
