    /* JOB Card - Filters */
    @media (min-width: 992px) {
        #custom-controls-tasks > *,
        #custom-controls-tasks-my > *,
        #custom-controls-tasks-adhoc > *,
        #custom-controls-tasks-sla > *,
        #custom-controls-tasks-it > *,
        #custom-controls-tasks-sage > *,
        #custom-controls-tasks-sales > *,
        #custom-controls-tasks-overdue > *,
        #custom-controls-tasks-in-progress > *,
        #custom-controls-tasks-not-started > *,
        #custom-controls-tasks-completed > *,
        #custom-controls-tasks-invoiced > *,
        #custom-controls-tasks-running > * {
            height: 42px; /* Match button/filter height */
            display: inline-block;
            vertical-align: middle;
        }
    }
    /* CLIENTS FILTERS */
    @media (min-width: 992px) {
        #custom-controls-clients > * {
            height: 42px; /* Adjust this value to match the height of your elements */
            display: inline-block;
            vertical-align: middle;
        }

        #custom-controls-clients-sla > * {
            height: 42px; /* Adjust this value to match the height of your elements */
            display: inline-block;
            vertical-align: middle;
        }

        #custom-controls-clients-adhoc > * {
            height: 42px; /* Adjust this value to match the height of your elements */
            display: inline-block;
            vertical-align: middle;
        }

        #custom-controls-clients-adhoc > * {
            height: 42px; /* Adjust this value to match the height of your elements */
            display: inline-block;
            vertical-align: middle;
        }

        #custom-controls-clients-sla-breakdown > * {
            height: 42px; /* Adjust this value to match the height of your elements */
            display: inline-block;
            vertical-align: middle;
        }

        #custom-controls-clients-adhoc-breakdown > * {
            height: 42px; /* Adjust this value to match the height of your elements */
            display: inline-block;
            vertical-align: middle;
        }

        #custom-controls-clients-adhoc-breakdown > * {
            height: 42px; /* Adjust this value to match the height of your elements */
            display: inline-block;
            vertical-align: middle;
        }
        .excel-btn {
            margin-top: -10px !important;
            height: 34px !important;
            display: inline-block;
            vertical-align: middle;
            padding: 0px 9px 0px;
            border-radius: 8px !important;
        }

        #specific-dropdown {
            min-width: 250px;
        }

        .btn-xxl {
            font-size: 16px; /* Increase font size */
            padding: 7px 66px; /* Decrease padding: 2px less in height and width */
            border-radius: 10px; /* Optional: Increase border radius for rounded corners */
            display: inline-block; /* Ensure it displays as a block-level element */
            text-align: center; /* Center the text */
        }
    }
    /* Invoices */
    @media (min-width: 992px) {
        #custom-controls-invoices-all > *,
        [id^="custom-controls-invoices-cat-"] > * {
            height: 42px; /* Match button/filter height */
            display: inline-block;
            vertical-align: middle;
        }
    }

    /* =========== */
    /*Stats Panel */
    /* ========== */
    .stats-panel {
        display: flex;
        justify-content: space-between;
        margin-bottom: 20px;
    }
    
    .stats-panel .stat-item {
        flex: 1;
        margin: 0 10px; /* Add spacing between inner panels */
        padding: 20px;
        text-align: center;
        border-radius: 10px;
        color: white;
        position: relative;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    /* Remove side margins for the first and last panels */
    .stats-panel .stat-item:first-child {
        margin-left: 0;
    }
    
    .stats-panel .stat-item:last-child {
        margin-right: 0;
    }

    /* Stats Panel Gradients */
    .stat-panel-1 {
        background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    }
    
    .stat-panel-2 {
        background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    }
    
    .stat-panel-3 {
        background: linear-gradient(135deg, #ffc107 0%, #b38b00 100%);
        color: black;
    }
    
    .stat-panel-4 {
        background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    }
    
    .stat-panel-5 {
        background: linear-gradient(135deg, #2D3456 0%, #1a1d2b 100%);
    }

    .stat-icon {
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 18px;
        opacity: 0.8;
    }

    .stat-item h4 {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .stat-item h2 {
        font-size: 20px;
        font-family: 'aptos-bold', sans-serif;
        font-weight: bold;
        margin: 0;
    }

    .action-btn {
        margin-top: 5px;
        background-color: #fff;
        color: #007bff;
        border: 1px solid #007bff;
        border-radius: 5px;
        padding: 5px 10px;
        cursor: pointer;
        font-size: 12px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .action-btn:hover {
        background-color: #007bff;
        color: #fff;
    }

    .action-btn-danger {
        color: #dc3545;
        border-color: #dc3545;
    }

    .action-btn-danger:hover {
        background-color: #dc3545;
        color: #fff;
    }

    .action-btn-warning {
        color: #ffc107;
        border-color: #ffc107;
    }

    .action-btn-warning:hover {
        background-color: #ffc107;
        color: #fff;
    }
    .action-btn-sent {
        color: #28a745; /* Green for Sent */
        border-color: #28a745;
    }

    .action-btn-sent:hover {
        background-color: #28a745;
        color: #fff;
    }


    .onoffswitch-label {
        margin: 0px !important; /* Remove all margins */
        padding: 0px 0px 0px 0px !important;
    }

    /* .staff-profile-image-small {
        width: 19px;
        height: 19px;
    }

    .client-profile-image-small {
        width: 19px;
        height: 19px;
    } */

    .btn.btn-default.btn-sm.btn-default-dt-options:hover {
        background-color: rgb(76% 76% 76%); /* Charcoal grey */
        border-color: rgb(76% 76% 76%); /* Optional: Match border color with background */
    }

    .bg-purple {
        background: #a259f7 !important;
        color: white !important;
        box-shadow: 0 0 8px 2px #a259f7, 0 0 0 1px #a259f7 inset;
    }

    /* MAIN CLIENTS PAGE */
    /* ALL TABLES */
    .table-clients th {
        color: white !important;
        background-color: #2d3456 !important;
        font-weight: bold !important;
        padding: 3px 2px 1px 5px !important;
        font-size: 13px !important;
        height: 30px !important;
        border: none !important;
    }
    .table-clients td {
        line-height: 1.1;
        padding: 4px 5px 4px 5px !important;
        margin: 0px;
        font-size: 13px !important;
        vertical-align: middle !important;
        border: none !important;
    }  
    .table-clients th:nth-child(1), .table-clients td:nth-child(1) {
        width: 5%;
    }
    .table-clients th:nth-child(2), .table-clients td:nth-child(2) {
        width: 19%;
        text-align: left !important;
    }
    .table-clients th:nth-child(3), .table-clients td:nth-child(3) {
        width: 19%;
    }
    .table-clients th:nth-child(4), .table-clients td:nth-child(4) {
        width: 10%;
    }
    .table-clients th:nth-child(5), .table-clients td:nth-child(5) {
        width: 10%;
    }
    .table-clients th:nth-child(6), .table-clients td:nth-child(6) {
        width: 7%;
    }
	.table-clients th:nth-child(8), .table-clients td:nth-child(8) {
        width: 13%;
    }
    .table-clients .th-active td {
        line-height: 17.1429px !important;
        padding: 0px 0px 0px 0px !important;
    }

    /* SLA - CLIENTS */

    .table-sla-clients th {
        color: white !important;
        background-color: #2d3456 !important;
        font-weight: bold !important;
        padding: 3px 2px 1px 5px !important;
        font-size: 13px !important;
        height: 30px !important;
        border: none !important;
    }
    .table-sla-clients td {
        line-height: 1.1;
        padding: 4px 5px 4px 5px !important;
        margin: 0px;
        font-size: 13px !important;
        vertical-align: middle !important;
        border: none !important;
    }
    .table-sla-clients th:nth-child(1), .table-sla-clients td:nth-child(1) {
        width: 5%;
    }
    .table-sla-clients th:nth-child(2), .table-sla-clients td:nth-child(2) {
        width: 19%;
        text-align: left !important;
    }
    /* .table-sla-clients th:nth-child(3), .table-sla-clients td:nth-child(3) {
        width: 19%;
    }

	.table-sla-clients th:nth-child(8), .table-sla-clients td:nth-child(8) {
        width: 13%;
    } */

    .table-sla-clients .th-active td {
        line-height: 17.1429px !important;
        padding: 0px 0px 0px 0px !important;
    }

    /* ADHOC - CLIENTS */

    .table-non-sla-clients th {
        color: white !important;
        background-color: #2d3456 !important;
        font-weight: bold !important;
        padding: 3px 2px 1px 5px !important;
        font-size: 13px !important;
        height: 30px !important;
        border: none !important;
    }
    .table-non-sla-clients td {
        line-height: 1.1;
        padding: 4px 5px 4px 5px !important;
        margin: 0px;
        font-size: 13px !important;
        vertical-align: middle !important;
        border: none !important;
    }
    .table-non-sla-clients th:nth-child(1), .table-non-sla-clients td:nth-child(1) {
        width: 5%;
    }
    .table-non-sla-clients th:nth-child(2), .table-non-sla-clients td:nth-child(2) {
        width: 19%;
        text-align: left !important;
    }
    /* .table-non-sla-clients th:nth-child(3), .table-non-sla-clients td:nth-child(3) {
        width: 19%;
    }

	.table-non-sla-clients th:nth-child(8), .table-non-sla-clients td:nth-child(8) {
        width: 13%;
    } */

    /* SLA - CLIENTS BREAKDOWN */

    .table-sla-breakdown .th-active td {
        line-height: 17.1429px !important;
        padding: 0px 0px 0px 0px !important;
    }
    .table-sla-breakdown th {
        color: white !important;
        background-color: #2d3456 !important;
        font-weight: bold !important;
        padding: 3px 2px 1px 5px !important;
        font-size: 13px !important;
        height: 30px !important;
        border: none !important;
    }
    .table-sla-breakdown td {
        line-height: 1.1;
        padding: 4px 5px 4px 5px !important;
        margin: 0px;
        font-size: 13px !important;
        vertical-align: middle !important;
        border: none !important;
    }
    .table-sla-breakdown th:nth-child(1), .table-sla-breakdown td:nth-child(1) {
        width: 5%;
    }
    .table-sla-breakdown th:nth-child(2), .table-sla-breakdown td:nth-child(2) {
        width: 19%;
        text-align: left !important;
    }

    /* ADHOC - CLIENTS BREAKDOWN */

    .table-adhoc-breakdown th {
        color: white !important;
        background-color: #2d3456 !important;
        font-weight: bold !important;
        padding: 3px 2px 1px 5px !important;
        font-size: 13px !important;
        height: 30px !important;
        border: none !important;
    }
    .table-adhoc-breakdown td {
        line-height: 1.1;
        padding: 4px 5px 4px 5px !important;
        margin: 0px;
        font-size: 13px !important;
        vertical-align: middle !important;
        border: none !important;
    }
    .table-adhoc-breakdown th:nth-child(1), .table-adhoc-breakdown td:nth-child(1) {
        width: 5%;
    }
    .table-adhoc-breakdown th:nth-child(2), .table-adhoc-breakdown td:nth-child(2) {
        width: 19%;
        text-align: left !important;
    }

    /* INACTIVE CLIENTS */

    .table-inactive-clients th {
        color: white !important;
        background-color: #2d3456 !important;
        font-weight: bold !important;
        padding: 3px 2px 1px 5px !important;
        font-size: 13px !important;
        height: 30px !important;
        border: none !important;
    }
    .table-inactive-clients td {
        line-height: 1.1;
        padding: 4px 5px 4px 5px !important;
        margin: 0px;
        font-size: 13px !important;
        vertical-align: middle !important;
        border: none !important;
    }
    .table-inactive-clients th:nth-child(1), .table-inactive-clients td:nth-child(1) {
        width: 5%;
    }
    .table-inactive-clients th:nth-child(2), .table-inactive-clients td:nth-child(2) {
        width: 19%;
        text-align: left !important;
    }
    .table-inactive-clients th:nth-child(3), .table-inactive-clients td:nth-child(3) {
        width: 19%;
    }
    .table-inactive-clients th:nth-child(4), .table-inactive-clients td:nth-child(4) {
        width: 10%;
    }
    .table-inactive-clients th:nth-child(5), .table-inactive-clients td:nth-child(5) {
        width: 10%;
    }
    .table-inactive-clients th:nth-child(6), .table-inactive-clients td:nth-child(6) {
        width: 7%;
    }

    /*Contacts Profile PAGE */
    
    .table-contacts th {
        color: white !important;
        background-color: #2D3456 !important;
        font-weight: bold !important;
        padding: 3px 2px 1px 5px !important;
        font-size: 12px !important;
        height: 30px !important;
        border: none !important;
    }
    .table-contacts td {
        line-height: 1.1;
        padding: 4px 5px 4px 5px !important;
        margin: 0px;
        font-size: 13px !important;
        vertical-align: middle !important;
        border: none !important;
    }

    .line-row-data th {
        color: white !important;
        background-color: #2D3456 !important;
        font-weight: bold !important;
        padding: 3px 2px 1px 5px !important;
        font-size: 12px !important;
        height: 30px !important;
        border: none !important;
    }
    .line-row-data td {
        line-height: 1.1;
        padding: 4px 5px 4px 5px !important;
        margin: 0px;
        font-size: 13px !important;
        vertical-align: middle !important;
        border: none !important;
    }

    .jobcard-table th {
        color: white !important;
        background-color: #2D3456 !important;
        font-weight: bold !important;
        padding: 3px 2px 1px 5px !important;
        font-size: 12px !important;
        height: 30px !important;
        border: none !important;
    }
    .jobcard-table td {
        line-height: 1.1;
        padding: 4px 5px 4px 5px !important;
        margin: 0px;
        font-size: 13px !important;
        vertical-align: middle !important;
        border: none !important;
    }
    .jobcard-table th:nth-child(1),
    .jobcard-table td:nth-child(1) {
        width: 2%;
        padding-left: 15px !important;
    }
    .jobcard-table th:nth-child(2),
    .jobcard-table td:nth-child(2) {
        width: 25%;
        padding-left: 15px !important;
    }
    .jobcard-table th:nth-child(3) {
        width: 54%;
    }
    .jobcard-table td:nth-child(3) {
        padding-top: 10px !important;
    }
    .jobcard-table th:nth-child(4),
    .jobcard-table td:nth-child(4) {
        width: 9%;
        text-align: center;
    }
    .jobcard-table th:nth-child(5),
    .jobcard-table td:nth-child(5) {
        width: 9%;
        text-align: center;
    }
    .jobcard-table th:nth-child(6),
    .jobcard-table td:nth-child(6) {
        width: 6%;
        text-align: center;
    }
    .jobcard-table th:nth-child(7),
    .jobcard-table td:nth-child(7) {
        width: 7%;
        text-align: center;
    }
    .jobcard-table th:nth-child(8),
    .jobcard-table td:nth-child(8) {
        width: 3%;
        text-align: center;
    }
    .jobcard-table th:nth-child(9),
    .jobcard-table td:nth-child(9) {
        width: 4%;
        text-align: center;
    }
    .jobcard-table th:nth-child(10),
    .jobcard-table td:nth-child(10) {
        width: 4%;
        text-align: center;
    }
    .jobcard-table th:nth-child(11),
    .jobcard-table td:nth-child(11) {
        width: 4%;
        text-align: center;
    }
    .jobcard-table th:nth-child(12),
    .jobcard-table td:nth-child(12) {
        width: 4%;
        text-align: center;
    }
    .jobcard-table th:nth-child(13),
    .jobcard-table td:nth-child(13) {
        width: 4%;
        text-align: center;
    }    
    .jobcard-table td:nth-child(9) .tw-flex {
        display: inline-block;
    }
    .jobcard-table td:nth-child(8) .label.label-default {
        display: inline-block;
        width: 77.46px;
    }
    .jobcard-table td:nth-child(10) .label.label-default {
        display: inline-block;
        width: 42.46px;
    }
    .jobcard-table td:nth-child(13) .label {
        display: inline-block;
        width: 50.32px;
    }

    /* Recurring Invoices TABLES */
    .table-invoices-recurring th {
        color: white !important;
        background-color: #2d3456 !important;
        font-weight: bold !important;
        padding: 3px 2px 1px 5px !important;
        font-size: 13px !important;
        height: 30px !important;
        border: none !important;
    }
    .table-invoices-recurring td {
        line-height: 1.1;
        padding: 4px 5px 4px 5px !important;
        margin: 0px;
        font-size: 13px !important;
        vertical-align: middle !important;
        border: none !important;
    }
    .table-invoices-recurring th:nth-child(4),
    .table-invoices-recurring td:nth-child(4) {
        width: 15%;
        text-align: left;
    }

    /* Recurring Invoice Categories */
    /* Style all tables with id starting with 'invoices-recurring-cat-' */
    [id^="invoices-recurring-cat-"] th {
        color: white !important;
        background-color: #2d3456 !important;
        font-weight: bold !important;
        padding: 3px 2px 1px 5px !important;
        font-size: 13px !important;
        height: 30px !important;
        border: none !important;
    }
    [id^="invoices-recurring-cat-"] td {
        line-height: 1.1;
        padding: 4px 5px 4px 5px !important;
        margin: 0px;
        font-size: 13px !important;
        vertical-align: middle !important;
        border: none !important;
    }
    [id^="invoices-recurring-cat-"] th:nth-child(4),
    [id^="invoices-recurring-cat-"] td:nth-child(4) {
        width: 15%;
        text-align: left;
    }

    /* Customer Profile SLA Types Table */
    /* SLA Hours Table - Compact Style */
    .sla-hours-table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
        margin-bottom: 0;
    }

    .sla-hours-table th {
        color: white !important;
        background-color: #2d3456 !important;
        font-weight: bold !important;
        padding: 3px 4px 2px 4px !important;
        font-size: 12px !important;
        height: 28px !important;
        border: none !important;
        vertical-align: middle !important;
        text-align: left;
    }

    .sla-hours-table td {
        line-height: 1.1;
        padding: 2px 4px 3px 4px !important;
        margin: 0px;
        font-size: 12px !important;
        vertical-align: middle !important;
        border: none !important;
        background: #f8fafc;
    }

    .sla-hours-table input[type="number"],
    .sla-hours-table input[type="date"] {
        height: 24px;
        font-size: 12px;
        padding: 2px 4px;
        border-radius: 4px;
        border: 1px solid #d1d5db;
        width: 100%;
        min-width: 60px;
    }

    .sla-hours-table .label {
        font-size: 11px !important;
        padding: 2px 6px !important;
        margin-bottom: 2px;
    }

    .sla-hours-table th,
    .sla-hours-table td {
        border-bottom: 1px solid #e5e7eb !important;
    }

    .sla-hours-table th:nth-child(1),
    .sla-hours-table td:nth-child(1) {
        width: 50px;
        text-align: left;
    }

    .sla-hours-table th:nth-child(2),
    .sla-hours-table td:nth-child(2) {
        width: 140px;
        text-align: left;
    }

    .sla-hours-table th:nth-child(3),
    .sla-hours-table td:nth-child(3),
    .sla-hours-table th:nth-child(4),
    .sla-hours-table td:nth-child(4) {
        width: 120px;
        text-align: left;
    }

    .sla-hours-table th:nth-child(5),
    .sla-hours-table td:nth-child(5) {
        width: 50px;
        text-align: center;
    }

    .sla-hours-table th,
    .sla-hours-table td {
        /* Remove extra space for compactness */
        white-space: nowrap;
    }

    .sla-hours-table tr:last-child td {
        border-bottom: none !important;
    }

    .sla-hours-table .btn-default.dropdown-toggle,
    .sla-hours-table .btn.dropdown-toggle.btn-default {
        width: 120px !important;
        min-width: 120px !important;
        max-width: 120px !important;
        height: 24px !important;
        min-height: 24px !important;
        max-height: 24px !important;
        padding: 2px 8px !important;
        font-size: 12px !important;
        line-height: 20px !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center;
    }

    .sla-hours-table .input-group.date {
        display: flex !important;
        flex-direction: row;
        align-items: center;
    }

    .sla-hours-table .input-group.date .form-control {
        flex: 1 1 auto;
        width: 1% !important;
        margin-bottom: 0 !important;
    }

    .sla-hours-table .input-group.date .input-group-addon {
        height: 24px !important;
        min-width: 28px !important;
        max-width: 28px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        border-radius: 0 4px 4px 0;
        background: #fff;
        border: 1px solid #d1d5db;
        border-left: none;
        margin-left: -1px; /* Prevent double border */
    }

    .sla-hours-table th,
    .sla-hours-table td {
        line-height: 11px !important;
        height: 22px !important;
        padding-top: 1px !important;
        padding-bottom: 1px !important;
    }

    /* ====== BASE TABLE STYLE FOR ALL BATCH TABLES ====== */
    .batch-table th,
    .batch-changes-table th,
    .batch-customers-table th,
    .batch-invoices-table th {
        color: white !important;
        background-color: #2D3456 !important;
        font-weight: bold !important;
        padding: 3px 2px 1px 5px !important;
        font-size: 12px !important;
        height: 30px !important;
        border: none !important;
    }
    .batch-table td,
    .batch-changes-table td,
    .batch-customers-table td,
    .batch-invoices-table td {
        line-height: 1.1;
        padding: 4px 5px 4px 5px !important;
        margin: 0px;
        font-size: 13px !important;
        vertical-align: middle !important;
        border: none !important;
    }
    
    /* ====== COLUMN WIDTHS AND SPECIFICS ====== */
    
    /* BATCH TABLE - 10 columns */
    .batch-table th:nth-child(1), .batch-table td:nth-child(1) { width: 3%; text-align: center;}
    .batch-table th:nth-child(2), .batch-table td:nth-child(2) { width: 2%; text-align: center;}
    .batch-table th:nth-child(3), .batch-table td:nth-child(3) { width: 12%; }
    .batch-table th:nth-child(4), .batch-table td:nth-child(4) { width: 8%; }
    .batch-table th:nth-child(5), .batch-table td:nth-child(5) { width: 40%; text-align: left; }
    .batch-table th:nth-child(6), .batch-table td:nth-child(6) { width: 10%; }
    .batch-table th:nth-child(7), .batch-table td:nth-child(7) { width: 6%; }
    .batch-table th:nth-child(8), .batch-table td:nth-child(8) { width: 4%; text-align: center; }
    .batch-table th:nth-child(9), .batch-table td:nth-child(9) { width: 4%; text-align: center; }
    .batch-table th:nth-child(10), .batch-table td:nth-child(10) { width: 4%; text-align: center; }
    
    /* BATCH CHANGES TABLE - 12 columns (with first and last special columns) */
    .batch-changes-table th:nth-child(1), .batch-changes-table td:nth-child(1) { width: 1%; text-align: center; }    /* Shortcode */
    .batch-changes-table th:nth-child(2), .batch-changes-table td:nth-child(2) { width: 3%; }                       /* JC # */
    .batch-changes-table th:nth-child(3), .batch-changes-table td:nth-child(3) { width: 4%; text-align: center;}    /* GID */
    .batch-changes-table th:nth-child(4), .batch-changes-table td:nth-child(4) { width: 12%; }                      /* Customer */
    .batch-changes-table th:nth-child(5), .batch-changes-table td:nth-child(5) { width: 9%; }                       /* SLA Types */
    .batch-changes-table th:nth-child(6), .batch-changes-table td:nth-child(6) { width: 29%; text-align: left; }    /* Description */
    .batch-changes-table th:nth-child(7), .batch-changes-table td:nth-child(7) { width: 10%; }                      /* Work Type | GL-code */
    .batch-changes-table th:nth-child(8), .batch-changes-table td:nth-child(8) { width: 6%; }                       /* Date */
    .batch-changes-table th:nth-child(9), .batch-changes-table td:nth-child(9) { width: 4%; text-align: center; }   /* Qty */
    .batch-changes-table th:nth-child(10), .batch-changes-table td:nth-child(10) { width: 4%; text-align: center; } /* Rate */
    .batch-changes-table th:nth-child(11), .batch-changes-table td:nth-child(11) { width: 6%; text-align: center; } /* Amount */
    .batch-changes-table th:nth-child(12), .batch-changes-table td:nth-child(12) { width: 6%; text-align: center; } /* Checks */
    
    /* BATCH CUSTOMERS TABLE - 8 columns, 100% width */
    .batch-customers-table th:nth-child(1), .batch-customers-table td:nth-child(1) { width: 6% !important; }
    .batch-customers-table th:nth-child(2), .batch-customers-table td:nth-child(2) { width: 18%; }
    .batch-customers-table th:nth-child(3), .batch-customers-table td:nth-child(3) { width: 18%; }
    .batch-customers-table th:nth-child(4), .batch-customers-table td:nth-child(4) { width: 12%; }
    .batch-customers-table th:nth-child(5), .batch-customers-table td:nth-child(5) { width: 12%; }
    .batch-customers-table th:nth-child(6), .batch-customers-table td:nth-child(6) { width: 8%; }
    .batch-customers-table th:nth-child(7), .batch-customers-table td:nth-child(7) { width: 12.5%; text-align: center; }
    .batch-customers-table th:nth-child(8), .batch-customers-table td:nth-child(8) { width: 12.5%; text-align: center; }
    
    /* BATCH INVOICES TABLE */
    .batch-invoices-table th:nth-child(1), .batch-invoices-table td:nth-child(1) { width: 6%; }
    .batch-invoices-table th:nth-child(2), .batch-invoices-table td:nth-child(2) { width: 45%; }
    .batch-invoices-table th:nth-child(3), .batch-invoices-table td:nth-child(3) { width: 6%; }
    .batch-invoices-table th:nth-child(4), .batch-invoices-table td:nth-child(4) { width: 6%; }
    .batch-invoices-table th:nth-child(5), .batch-invoices-table td:nth-child(5) { width: 6%; text-align: center; }
    .batch-invoices-table th:nth-child(6), .batch-invoices-table td:nth-child(6) { width: 6%; text-align: center; }

    /* For the collapsed lines table inside the Description column */
    .batch-invoices-table .table-condensed th:nth-child(1),
    .batch-invoices-table .table-condensed td:nth-child(1) {
        width: 64%;
    }
    .batch-invoices-table .table-condensed th:nth-child(2),
    .batch-invoices-table .table-condensed td:nth-child(2) {
        width: 6%;
    }
    .batch-invoices-table .table-condensed th,
    .batch-invoices-table .table-condensed td {
        white-space: nowrap;
    }
    /* ====== ROW ACTION POPOVER STYLES ====== */   
    #rowActionPopover {
        position: absolute;
        display: none;
        z-index: 9999;
        background: #fff;
        border: 1px solid rgba(0,0,0,0.12);
        box-shadow: 0 6px 20px rgba(0,0,0,0.08);
        border-radius: 6px;
        padding: 6px;
        white-space: nowrap;
    }
    #rowActionPopover .popbtn {
        border: none;
        background: transparent;
        padding: 6px 8px;
        cursor: pointer;
        color: #333;
        font-size: 14px;
    }
    #rowActionPopover .popbtn:hover { background: rgba(0,0,0,0.04); border-radius:4px; }


    .batch-invoices-table-all th {
        color: white !important;
        background-color: #2D3456 !important;
        font-weight: bold !important;
        padding: 3px 2px 1px 5px !important;
        font-size: 12px !important;
        height: 30px !important;
        border: none !important;
    }
    .batch-invoices-table-all td {
        line-height: 1.1;
        padding: 4px 5px 4px 5px !important;
        margin: 0px;
        font-size: 13px !important;
        vertical-align: middle !important;
        border: none !important;
    }

