.text-white { color: #ffffff !important; }
.text-black { color: #000000 !important; }

.bg-blue-50  { background-color: #eff6ff !important; }
.bg-blue-100 { background-color: #dbeafe !important; }
.bg-blue-200 { background-color: #bfdbfe !important; }
.bg-blue-300 { background-color: #93c5fd !important; }
.bg-blue-400 { background-color: #60a5fa !important; }
.bg-blue-500 { background-color: #3b82f6 !important; }
.bg-blue-600 { background-color: #2563eb !important; }
.bg-blue-700 { background-color: #1d4ed8 !important; }
.bg-blue-800 { background-color: #1e40af !important; }
.bg-blue-900 { background-color: #1e3a8a !important; }

.bg-gray-50  { background-color: #f9fafb !important; }
.bg-gray-100 { background-color: #f3f4f6 !important; }
.bg-gray-200 { background-color: #e5e7eb !important; }
.bg-gray-700 { background-color: #374151 !important; }
.bg-gray-900 { background-color: #111827 !important; }

.hover\:bg-blue-500:hover { background-color: #3b82f6 !important; }

.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }

.shadow { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); }

.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.font-semibold { font-weight: 600; }
.inline-flex { display: inline-flex; align-items: center; }
.transition { transition: all 0.2s ease-in-out; }

/* ✅ الكود الأصلي الخاص بك */
html {
    overflow-y: scroll !important;
}
html::-webkit-scrollbar {
    display: none;
}
.filament-sidebar-nav::-webkit-scrollbar,
html::-webkit-scrollbar {
    display: none !important;
}
.filament-sidebar-nav {
    scrollbar-width: none;
}
html.dark table.pretty tbody tr.odd td {
    background-color: #1f2937;
    color: #e5e7eb;
}
html.dark table.pretty tbody tr.even td {
    background-color: #374151;
    color: #e5e7eb;
}
html.dark table.pretty thead {
    background-color: #111827;
    color: #f3f4f6;
}
table.pretty {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    border-spacing: 0;
    table-layout: auto;
}
table.pretty th,
table.pretty td {
    border: 1px solid #d1d5db;
    padding: 0.5rem 0.75rem;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}
table.pretty thead {
    background-color: #f3f4f6;
    font-weight: 600;
}
table.pretty tbody tr:nth-child(even) {
    background-color: #f9fafb;
}
table.pretty caption {
    font-style: italic;
    font-weight: bold;
    margin: 0 auto;
}
table.pretty thead tr th.empty {
    border: 0 none;
}
table.pretty thead tr th.highlightcol {
    border-color: #2E6E9E #2E6E9E gainsboro;
    border-style: solid;
    border-width: 2px 2px 1px;
}
table.pretty tfoot tr th,
table.pretty tfoot tr th.highlightcol {
    border-top: 2px solid;
    border-bottom: 2px solid;
    text-align: center;
    font-weight: bold;
}
table.pretty thead tr th.lefthighlightcol,
table.pretty tbody tr td.lefthighlightcol,
table.pretty tfoot tr th.lefthighlightcol,
table.pretty thead tr th.lefthighlightcolheader,
table.pretty tbody tr td.lefthighlightcolheader,
table.pretty tfoot tr th.lefthighlightcolheader {
    border-left: 2px solid #2E6E9E;
}
table.pretty thead tr th.righthighlightcol,
table.pretty tbody tr td.righthighlightcol,
table.pretty tfoot tr th.righthighlightcol,
table.pretty thead tr th.righthighlightcolheader,
table.pretty tbody tr td.righthighlightcolheader,
table.pretty tfoot tr th.righthighlightcolheader {
    border-right: 2px solid #2E6E9E;
}
.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    background-color: transparent;
}
.table th,
.table td {
    border: 1px solid #e5e7eb;
    padding: 0.75rem;
    text-align: right;
    vertical-align: top;
}
.table-bordered {
    border: 1px solid #e5e7eb;
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, .05);
}
.table:not(.table-dark) {
    color: inherit;
}
.table-bold-loan {
    font-weight: 600;
}
.dark .table-bold-loan {
    color: #f9fafb;
}
html[dir="rtl"] th,
html[dir="rtl"] td {
    text-align: right;
}
html[dir="rtl"] .space-x-1 > :not([hidden]) ~ :not([hidden]) {
    margin-left: 0;
    margin-right: 0.25rem;
}
.page-break {
    page-break-before: always;
}
.loss {
    color: red;
}
.filament-tables-container {
    width: 100%;
    max-width: 100%;
}
.filament-tables-container .filament-tables-table {
    width: 100%;
}
