.ps-grad-text {
    background-image: linear-gradient(to right, #ff974f 0, #E91E63 36%, #E91E63 65%, #ff5752 100%);
    font-weight: 600;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================
   1. DataTables Customization
   ================================********* */

/* Length Select */

.dataTables_wrapper .dataTables_length select {
    border-radius: 0.5rem;
    border-color: #e2e8f0;
    padding-left: 0.75rem;
    padding-right: 2rem;
    background-color: transparent;
}

/* Filter Input */
.dataTables_wrapper .dataTables_filter input {
    border-radius: 0.5rem;
    border-color: #e2e8f0;
    padding: 0.5rem 1rem;
    margin-left: 0.5rem;
    border: 1px solid #cbd5e1;
    /* Added border */
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: #6366f1;
    /* Indigo 500 */
    outline: none;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

/* Horizontal Scroll Support */
.dataTables_wrapper {
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

/* Dark mode support logic (Generic) */
.dark .dataTables_wrapper .dataTables_length,
.dark .dataTables_wrapper .dataTables_filter,
.dark .dataTables_wrapper .dataTables_info,
.dark .dataTables_wrapper .dataTables_paginate {
    color: #cbd5e1;
}

.dark .dataTables_wrapper .dataTables_length select {
    border-color: #334155;
    background-color: #1e293b;
    color: white;
}

.dark .dataTables_wrapper .dataTables_filter input {
    border-color: #334155;
    background-color: #1e293b;
    color: white;
    border-color: #475569;
    /* Darker border */
}

.dark .dataTables_wrapper .dataTables_filter input:focus {
    border-color: #6366f1;
}

/* Force Table Rows Transparent in Dark Mode */
.dark table.dataTable.display tbody tr.odd,
.dark table.dataTable.display tbody tr.even,
.dark table.dataTable.display tbody tr:hover,
.dark table.dataTable.display tbody tr {
    background-color: transparent !important;
}

.dark table.dataTable tbody tr {
    color: #e2e8f0 !important;
}

.dark table.dataTable tbody tr:hover {
    background-color: rgba(30, 41, 59, 0.5) !important;
}

.dark .dataTables_wrapper .dataTables_paginate .paginate_button {
    color: #cbd5e1 !important;
}

.dark .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dark .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: #4f46e5 !important;
    color: white !important;
    border: none;
}

.dark .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #334155 !important;
    color: white !important;
    border: 1px solid #475569;
}

table.dataTable.display tbody tr.odd,
table.dataTable.display tbody tr.even {
    background-color: transparent;
}

/* Fix for sorted column white background in dark mode */
.dark table.dataTable.display tbody tr>.sorting_1,
.dark table.dataTable.order-column.stripe tbody tr>.sorting_1 {
    background-color: transparent !important;
    color: inherit !important;
}

/* Darker Row Bottom Border */
.dark table.dataTable.display tbody tr td,
.dark table.dataTable.display tbody tr,
.dark table.dataTable tbody th,
.dark table.dataTable tbody td {
    border-bottom-color: #334155 !important;
    /* Slate 700 */
}

/* Max Width for Columns (Global Constraint) */
/* Auto Width for Table (Prevents unnecessary expansion) */
table.dataTable {
    width: 100% !important;
    margin: 0 !important;
}

/* Max Width for Columns (Global Constraint) */
table.dataTable td,
table.dataTable th {
    max-width: 350px !important;
    /* Enforce 350px limit */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Allow shrinking */
}

table th.th-status,
table td.th-status {
    max-width: 65px !important;
}

table th.th-actions,
table td.th-actions {
    max-width: 100px !important;
}

/* =========================================
   2. Utility Classes
   ================================********* */
[x-cloak] {
    display: none !important;
}

/* =========================================
   3. Scrollbar Customization
   ================================********* */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.dark ::-webkit-scrollbar-thumb {
    background: #475569;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* =========================================
   4. Premium Preloader
   ================================********* */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    /* Highest priority */
    background: rgba(248, 250, 252, 0.9);
    /* Slate-50 with opacity */
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

.dark #preloader {
    background: rgba(15, 23, 42, 0.9);
    /* Slate-900 with opacity */
}

.loader-ring {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(99, 102, 241, 0.2);
    /* Indigo 500 transparent */
    border-top-color: #6366f1;
    /* Indigo 500 */
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.55, 0.055, 0.675, 0.19) infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}. h o v e r \ : b g - b l u e - 6 0 0 : h o v e r   {   b a c k g r o u n d - c o l o r :   # 2 5 6 3 e b   ! i m p o r t a n t ;   }   . h o v e r \ : b g - r o s e - 6 0 0 : h o v e r   {   b a c k g r o u n d - c o l o r :   # e 1 1 d 4 8   ! i m p o r t a n t ;   }   . h o v e r \ : t e x t - w h i t e : h o v e r   {   c o l o r :   # f f f f f f   ! i m p o r t a n t ;   }  
 