/* Minification failed. Returning unminified contents.
(5,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(6,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(7,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(8,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(9,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(10,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(11,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(12,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(13,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(14,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(15,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(16,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(17,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(28,28): run-time error CSS1039: Token not allowed after unary operator: '-bs-body-bg'
(29,17): run-time error CSS1039: Token not allowed after unary operator: '-bs-body-color'
(35,28): run-time error CSS1039: Token not allowed after unary operator: '-bs-secondary-bg'
(36,17): run-time error CSS1039: Token not allowed after unary operator: '-bs-body-color'
(40,28): run-time error CSS1039: Token not allowed after unary operator: '-bs-body-bg'
(42,35): run-time error CSS1039: Token not allowed after unary operator: '-bs-border-color'
(50,28): run-time error CSS1039: Token not allowed after unary operator: '-bs-secondary-bg'
(51,17): run-time error CSS1039: Token not allowed after unary operator: '-bs-body-color'
(55,21): run-time error CSS1039: Token not allowed after unary operator: '-bs-body-color'
(73,17): run-time error CSS1039: Token not allowed after unary operator: '-bs-body-color'
(82,28): run-time error CSS1039: Token not allowed after unary operator: '-bs-card-bg'
(83,17): run-time error CSS1039: Token not allowed after unary operator: '-bs-body-color'
(84,24): run-time error CSS1039: Token not allowed after unary operator: '-bs-border-color'
(93,28): run-time error CSS1039: Token not allowed after unary operator: '-bs-btn-bg'
(94,17): run-time error CSS1039: Token not allowed after unary operator: '-bs-btn-color'
(95,28): run-time error CSS1039: Token not allowed after unary operator: '-bs-btn-border-color'
(106,28): run-time error CSS1039: Token not allowed after unary operator: '-bs-btn-border-color'
(107,28): run-time error CSS1039: Token not allowed after unary operator: '-bs-btn-bg'
(108,17): run-time error CSS1039: Token not allowed after unary operator: '-bs-btn-color'
(124,28): run-time error CSS1039: Token not allowed after unary operator: '-bs-table-bg'
(125,17): run-time error CSS1039: Token not allowed after unary operator: '-bs-body-color'
(126,24): run-time error CSS1039: Token not allowed after unary operator: '-bs-table-border-color'
(130,32): run-time error CSS1039: Token not allowed after unary operator: '-bs-card-bg'
(134,28): run-time error CSS1039: Token not allowed after unary operator: '-bs-card-bg'
(135,17): run-time error CSS1039: Token not allowed after unary operator: '-bs-body-color'
(136,28): run-time error CSS1039: Token not allowed after unary operator: '-bs-border-color'
(140,17): run-time error CSS1039: Token not allowed after unary operator: '-bs-body-color'
(146,17): run-time error CSS1039: Token not allowed after unary operator: '-bs-body-color'
(208,28): run-time error CSS1039: Token not allowed after unary operator: '-bs-card-bg'
(209,17): run-time error CSS1039: Token not allowed after unary operator: '-bs-body-color'
(213,17): run-time error CSS1039: Token not allowed after unary operator: '-bs-body-color'
(225,28): run-time error CSS1039: Token not allowed after unary operator: '-bs-card-bg'
(226,17): run-time error CSS1039: Token not allowed after unary operator: '-bs-body-color'
(264,28): run-time error CSS1039: Token not allowed after unary operator: '-bs-card-bg'
(265,17): run-time error CSS1039: Token not allowed after unary operator: '-bs-body-color'
(266,24): run-time error CSS1039: Token not allowed after unary operator: '-bs-card-border-color'
(271,28): run-time error CSS1039: Token not allowed after unary operator: '-bs-secondary-bg'
(272,17): run-time error CSS1039: Token not allowed after unary operator: '-bs-body-color'
(273,24): run-time error CSS1039: Token not allowed after unary operator: '-bs-border-color'
(277,17): run-time error CSS1039: Token not allowed after unary operator: '-bs-body-color'
 */
/* ==========================
   DARK MODE THEME VARIABLES
========================== */
html[data-bs-theme='dark'] {
    --bs-body-bg: #1e1e1e;
    --bs-body-color: #e0e0e0;
    --bs-secondary-bg: #2b2b2b;
    --bs-border-color: #3a3a3a;
    --bs-card-bg: #252525;
    --bs-card-border-color: #3c3c3c;
    --bs-table-bg: #1e1e1e;
    --bs-table-border-color: #3a3a3a;
    --bs-primary: #0d6efd;
    --bs-link-color: #66bfff;
    --bs-btn-bg: #3c3c3c;
    --bs-btn-color: #f0f0f0;
    --bs-btn-border-color: #444;
}


/* =============================
   GENERAL BACKGROUND + TEXT
============================= */
html[data-bs-theme='dark'] body,
html[data-bs-theme='dark'] .container,
html[data-bs-theme='dark'] .card,
html[data-bs-theme='dark'] .content-wrapper {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
}

html[data-bs-theme='dark'] .header,
html[data-bs-theme='dark'] .page-header,
html[data-bs-theme='dark'] footer {
    background-color: var(--bs-secondary-bg);
    color: var(--bs-body-color);
}

html[data-bs-theme='dark'] .row.mb-3 {
    background-color: var(--bs-body-bg) !important;
    padding: 1rem;
    border-bottom: 1px solid var(--bs-border-color);
}


/* =============================
   SIDEBAR STYLING
============================= */
html[data-bs-theme='dark'] .sidebar {
    background-color: var(--bs-secondary-bg) !important;
    color: var(--bs-body-color) !important;
}

    html[data-bs-theme='dark'] .sidebar a {
        color: var(--bs-body-color);
    }

        html[data-bs-theme='dark'] .sidebar a:hover {
            background-color: #333;
        }

    html[data-bs-theme='dark'] .sidebar .submenu {
        background-color: #2a2a2a;
    }


/* =============================
   TYPOGRAPHY AND HEADERS
============================= */
html[data-bs-theme='dark'] h1,
html[data-bs-theme='dark'] .breadcrumb,
html[data-bs-theme='dark'] .breadcrumb-item a {
    color: var(--bs-body-color) !important;
}


/* =============================
   FORM CONTROLS
============================= */
html[data-bs-theme='dark'] .form-control,
html[data-bs-theme='dark'] .form-select {
    background-color: var(--bs-card-bg);
    color: var(--bs-body-color);
    border-color: var(--bs-border-color);
}


/* =============================
   BUTTONS (Bootstrap & Custom)
============================= */
html[data-bs-theme='dark'] .btn,
html[data-bs-theme='dark'] .dt-button {
    background-color: var(--bs-btn-bg);
    color: var(--bs-btn-color);
    border: 1px solid var(--bs-btn-border-color);
}

    html[data-bs-theme='dark'] .btn:hover,
    html[data-bs-theme='dark'] .dt-button:hover {
        background-color: #444;
        border-color: #666;
        color: #fff;
    }

html[data-bs-theme='dark'] .btn-custom {
    border: 1px solid var(--bs-btn-border-color);
    background-color: var(--bs-btn-bg);
    color: var(--bs-btn-color);
}

    html[data-bs-theme='dark'] .btn-custom:hover {
        background-color: #444;
        border-color: #666;
        color: #fff;
    }


/* =============================
   DATATABLES OVERRIDES
============================= */
html[data-bs-theme='dark'] table.dataTable,
html[data-bs-theme='dark'] table.dataTable th,
html[data-bs-theme='dark'] table.dataTable td {
    background-color: var(--bs-table-bg);
    color: var(--bs-body-color);
    border-color: var(--bs-table-border-color);
}

    html[data-bs-theme='dark'] table.dataTable thead th {
        background-color: var(--bs-card-bg) !important;
    }

html[data-bs-theme='dark'] .dataTables_wrapper .dataTables_filter input {
    background-color: var(--bs-card-bg);
    color: var(--bs-body-color);
    border: 1px solid var(--bs-border-color);
}

html[data-bs-theme='dark'] .dataTables_wrapper .dataTables_filter label {
    color: var(--bs-body-color);
}

html[data-bs-theme='dark'] .dataTables_wrapper .dt-buttons .dt-button {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--bs-body-color);
}

    html[data-bs-theme='dark'] .dataTables_wrapper .dt-buttons .dt-button:hover {
        background-color: rgba(255, 255, 255, 0.15);
    }

.dataTables_wrapper table.dataTable {
    font-size: 0.85rem;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
    font-size: 0.85rem;
}

.dataTables_wrapper .dt-buttons .btn {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
}


/* =============================
   DATATABLE PAGE LENGTH DROPDOWN
============================= */
[data-bs-theme="dark"] div.dt-button-collection {
    background-color: #2c2c2c;
    color: #fff;
    border: 1px solid #555;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

    [data-bs-theme="dark"] div.dt-button-collection button.dt-button {
        background-color: transparent;
        color: #fff;
        border: none;
    }

        [data-bs-theme="dark"] div.dt-button-collection button.dt-button:hover {
            background-color: #3a3a3a;
            color: #fff;
        }

    [data-bs-theme="dark"] div.dt-button-collection button.button-page-length.active {
        background: #444 !important;
        color: #fff !important;
        box-shadow: none !important;
        border: 1px solid #555 !important;
    }

    [data-bs-theme="dark"] div.dt-button-collection button.button-page-length:hover {
        background: #3a3a3a;
        color: #fff;
    }


/* =============================
   DROPDOWNS
============================= */
html[data-bs-theme='dark'] .dropdown-menu {
    background-color: var(--bs-card-bg);
    color: var(--bs-body-color);
}

html[data-bs-theme='dark'] .dropdown-item {
    color: var(--bs-body-color);
}

    html[data-bs-theme='dark'] .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.05);
    }


/* =============================
   SLIM TOOLBAR
============================= */
html[data-bs-theme="dark"] .slim-toolbar {
    background-color: var(--bs-card-bg) !important;
    color: var(--bs-body-color) !important;
    box-shadow: 0 1px 2px rgba(255, 255, 255, 0.05);
    border-radius: 0.25rem;
}


html[data-bs-theme='dark'] button.btn-custom.dropdown-toggle[type="button"] {
    border: 1px solid #666 !important;
    background-color: #3c3c3c !important;
    color: #fff !important;
    background-image: none !important;
    box-shadow: none !important;
}

html[data-bs-theme='dark'] a.btn.btn-custom {
    border: 1px solid #666 !important;
    background-color: #3c3c3c !important;
    color: #fff !important;
    background-image: none !important;
    box-shadow: none !important;
}

    html[data-bs-theme='dark'] a.btn.btn-custom:hover {
        background-color: #444 !important;
        border-color: #888 !important;
        color: #fff !important;
    }

/* Always add padding back in modal body/content */
.modal .modal-content {
    padding: 0;
    border-radius: 0.5rem; /* or whatever you want for rounded corners */
}

.modal .modal-body {
    padding: 1.5rem; /* or 1rem for smaller; adjust as needed */
}
html[data-bs-theme='dark'] .modal-content {
    background-color: var(--bs-card-bg) !important;
    color: var(--bs-body-color) !important;
    border-color: var(--bs-card-border-color) !important;
}

html[data-bs-theme='dark'] .modal-header,
html[data-bs-theme='dark'] .modal-footer {
    background-color: var(--bs-secondary-bg) !important;
    color: var(--bs-body-color) !important;
    border-color: var(--bs-border-color) !important;
}

html[data-bs-theme='dark'] .modal-title {
    color: var(--bs-body-color) !important;
}
