tjhis is my current css "/* main_app/static/css/erp_styles.css */

/* General reset to eliminate padding/margin issues */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
}

/* Main Content Header Adjustments */
.main-content .header {
    background-color: #e9ecef;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    color: #343a40;
    font-size: 18px;
}

/* Sidebar Adjustments */
.sidebar {
    background-color: #f8f9fa;
    padding: 10px;
    border-right: 1px solid #e2e6ea;
    min-height: 100vh;
}

/* Container Adjustments */
.container-fluid {
    padding-left: 0;
    padding-right: 0;
}

/* Remove default padding/margin that might be applied by Bootstrap or the browser */
.row.no-gutters {
    margin-left: 0;
    margin-right: 0;
}

/* Dashboard section headers */
.dashboard-section-header {
    font-size: 22px;  /* Larger font size for section headers */
    font-weight: bold; /* Bold font for emphasis */
    color: #343a40; /* Consistent color for text */
    margin-bottom: 15px; /* Space below the header */
}

/* Dashboard subsection headers */
.dashboard-subsection-header {
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #495057;
}

/* Dashboard tables for clarity and consistency */
.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* Ensures fixed layout based on column widths */
}

.dashboard-table th {
    background-color: #f1f3f5;
    border: 1px solid #dee2e6;
    padding: 8px;
    text-align: left;
    /* Add truncation to all th except Actions */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dashboard-table td {
    border: 1px solid #dee2e6;
    padding: 8px;
    /* Add truncation to all td except Actions */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Specific styles for Description column */
.dashboard-table th.description,
.dashboard-table td.description {
    max-width: 200px; /* Adjust as needed */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Optional: Add a tooltip to show full text on hover */
    position: relative;
}

.dashboard-table th.description {
    /* If needed, set a specific width */
    /* width: 200px; */
}

.dashboard-table td.description {
    /* If needed, set a specific width */
    /* width: 200px; */
    word-break: keep-all;
}

/* Prevent word breaking for better truncation */
.dashboard-table td.description {
    word-break: keep-all;
}

/* Exclude the Actions column from truncation */
.dashboard-table th.col-actions,
.dashboard-table td.col-actions {
    white-space: normal; /* Allow wrapping if necessary */
    overflow: visible; /* Show full content */
    text-overflow: clip; /* No ellipsis */
    word-break: normal; /* Do not break words */
}

/* Remove 'word-break: break-all;' from general table cells */
.dashboard-table td {
    word-break: keep-all;
}

/* Buttons for a consistent and attractive look */
.button-primary {
    background-color: #007bff;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.button-primary:hover {
    background-color: #0056b3;
}

.button-secondary {
    background-color: #6c757d;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.button-secondary:hover {
    background-color: #5a6268;
}

/* Pagination Styles */
.pagination {
    margin-top: 20px;
}

.pagination .page-link {
    color: #007bff;
}

.pagination .page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    cursor: not-allowed;
}

/* Table Column Widths */
.table th, .table td {
    max-width: 200px; /* Adjust as needed */
    word-wrap: break-word;
}

/* Prevent overflow with extremely long words or continuous text */
.dashboard-table td.description {
    /* Already handled by previous rules */
}

/* === AP Payment Batch header === */
.ap-batch-header {
    margin-bottom: 0.75rem;
}

.ap-batch-summary {
    font-size: 1.15rem;      /* a bit larger */
    font-weight: 600;        /* semi-bold / bold */
    text-align: center;
    letter-spacing: 0.02em;
}