/* /Components/Pages/Counterparties/Counterparties.razor.rz.scp.css */
/* Global CSS for MudBlazor menu items in portals - must use ::deep to penetrate component boundary */
[b-o8vxmxjzd5] .mud-popover-paper .mud-menu-item,
[b-o8vxmxjzd5] .mud-popover-paper .mud-menu-list .mud-menu-item,
[b-o8vxmxjzd5] .mud-menu-item,
[b-o8vxmxjzd5] .mud-menu-list .mud-menu-item {
    width: 100% !important;
    display: flex !important;
    position: relative !important;
    box-sizing: border-box !important;
    text-align: start !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    padding: 3px 8px !important;
}

.menu-item-content[b-o8vxmxjzd5] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.menu-item-icon[b-o8vxmxjzd5] {
    flex-shrink: 0;
}

.menu-item-text[b-o8vxmxjzd5] {
    flex: 1;
}

/* Page Header */
.counterparties-header[b-o8vxmxjzd5] {
    padding-bottom: 7px;
    margin-bottom: 0.75rem;
    position: relative;
}

/* Full-width border using pseudo-element */
.counterparties-header[b-o8vxmxjzd5]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 0;
    height: 1px;
    background-color: #E4E4E7;
    width: 100vw;
    margin-left: -50vw;
}

.counterparties-header h5[b-o8vxmxjzd5] {
    margin: 0 0 4px 0;
    color: #1f2937;
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: -0.01em;
}

/* Loading Container - Centered on screen */
.loading-container[b-o8vxmxjzd5] {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    z-index: 1000;
}

/* Empty State */
[b-o8vxmxjzd5] .empty-state {
    background: white !important;
    border-radius: 12px !important;
    padding: 60px 40px !important;
    text-align: center !important;
    border: 2px dashed #e2e8f0 !important;
    margin-top: 24px !important;
}

.empty-icon[b-o8vxmxjzd5] {
    font-size: 4rem;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.empty-title[b-o8vxmxjzd5] {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
}

/* MudPaper wrapper for table */
.pa-0[b-o8vxmxjzd5] {
    padding: 0 !important;
}

.rounded-lg[b-o8vxmxjzd5] {
    border-radius: 0.375rem !important;
}

/* Table Styling */
.ownership-table[b-o8vxmxjzd5] {
    background: transparent;
}

/* Table Head Styling - Match Ownership */
[b-o8vxmxjzd5] .ownership-table .mud-table-head {
    background-color: #f8f9fa;
}

[b-o8vxmxjzd5] .ownership-table .mud-table-head .mud-table-cell {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 10px 12px;
    white-space: nowrap;
    user-select: none;
}

/* Table Body Cells */
[b-o8vxmxjzd5] .ownership-table .mud-table-cell {
    padding: 16px 24px;
    border-bottom: 1px solid #f1f5f9;
}

/* Clickable Table Rows */
[b-o8vxmxjzd5] .clickable-table .mud-table-row {
    cursor: pointer;
}

/* Table Headers Text */
[b-o8vxmxjzd5] .table-header {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
}

/* Company/Entity Cell */
.company-cell[b-o8vxmxjzd5] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.company-icon[b-o8vxmxjzd5] {
    color: #64748b;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.company-name[b-o8vxmxjzd5] {
    font-weight: 500;
    color: #1e293b;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Counterparty Labels (Customer/Supplier chips) */
.counterparty-labels[b-o8vxmxjzd5] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

[b-o8vxmxjzd5] .ownership-table .mud-table-row:hover {
    background: #f8fafc;
}

/* Responsive Design */
@media (max-width: 960px) {
    [b-o8vxmxjzd5] .ownership-table .mud-table-cell {
        padding: 12px 16px;
    }
}

@media (max-width: 600px) {
    [b-o8vxmxjzd5] .empty-state {
        padding: 40px 20px !important;
    }

    .empty-icon[b-o8vxmxjzd5] {
        font-size: 3rem;
    }
    
    [b-o8vxmxjzd5] .ownership-table .mud-table-cell {
        padding: 12px 16px;
    }
}
/* /Components/Pages/Counterparties/CounterpartyDetailsView.razor.rz.scp.css */
/* Counterparty Details View Styling */
.counterparty-details-container[b-ecec8omgr9] {
    /* font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    min-height: 100vh;
    max-width: 1200px; */
    margin: 0 auto;
}

/* Loading States */
.loading-container[b-ecec8omgr9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
}

.error-container[b-ecec8omgr9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
}

/* Header with Breadcrumb */
.page-header[b-ecec8omgr9] {
    padding-bottom: 7px;
    margin-bottom: 1rem;
    position: relative;
}

/* Full-width border using pseudo-element */
.page-header[b-ecec8omgr9]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 0;
    height: 1px;
    background-color: #E4E4E7;
    width: 100vw;
    margin-left: -50vw;
}

.header-content[b-ecec8omgr9] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-breadcrumb[b-ecec8omgr9] {
    flex: 1;
}

.breadcrumb-navigation[b-ecec8omgr9] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.breadcrumb-back-btn[b-ecec8omgr9] {
    background: #E0F2FE;
    border: none;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--blue);
    padding: 5px;
    border-radius: 10px;
}

.breadcrumb-back-btn:hover[b-ecec8omgr9] {
    color: #374151;
}

.breadcrumb-path[b-ecec8omgr9] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb-link[b-ecec8omgr9] {
    color: #999999;
    text-decoration: none;
    font-weight: 400;
    padding: 5px 8px;
    border: 1px solid #E4E4E7;
    border-radius: 20px;
}

.breadcrumb-link:hover[b-ecec8omgr9] {
    color: #999999;
    text-decoration: none;
}

.breadcrumb-separator[b-ecec8omgr9] {
    color: #9ca3af;
    width: 20px;
    height: 20px;
}

.breadcrumb-current[b-ecec8omgr9] {
    color: #333333;
    text-decoration: none;
    font-weight: 600;
    padding: 5px 8px;
    border: 1px solid #E4E4E7;
    border-radius: 20px;
    background-color: #F8F8F8;
}

/* Counterparty Header Section */
.counterparty-header-section[b-ecec8omgr9] {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.counterparty-title[b-ecec8omgr9] {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
}

/* MudPaper Styling */
[b-ecec8omgr9] .mud-paper {
    background-color: var(--white) !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
}

/* Table Styling */
[b-ecec8omgr9] .mud-simple-table {
    background-color: transparent;
}

[b-ecec8omgr9] .mud-simple-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
}

[b-ecec8omgr9] .mud-simple-table tbody tr:hover {
    background-color: #f8fafc;
}

[b-ecec8omgr9] .mud-simple-table td {
    padding: 12px 16px;
    color: #374151;
}

[b-ecec8omgr9] .mud-simple-table td strong {
    color: #1f2937;
    font-weight: 600;
}

/* Section Headers */
[b-ecec8omgr9] .mud-typography-h6 {
    color: #1f2937;
    font-weight: 600;
}

[b-ecec8omgr9] .mud-typography-subtitle1 {
    color: #374151;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header[b-ecec8omgr9] {
        padding-bottom: 5px;
        margin-bottom: 0.75rem;
    }
    
    .breadcrumb-navigation[b-ecec8omgr9] {
        width: 100%;
        flex-wrap: wrap;
    }
    
    .breadcrumb-path[b-ecec8omgr9] {
        font-size: 12px;
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .breadcrumb-link[b-ecec8omgr9],
    .breadcrumb-current[b-ecec8omgr9] {
        padding: 4px 6px;
        font-size: 12px;
    }
    
    .counterparty-header-section[b-ecec8omgr9] {
        margin-bottom: 0.75rem;
    }
    
    .counterparty-title[b-ecec8omgr9] {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .page-header[b-ecec8omgr9] {
        padding-bottom: 4px;
        margin-bottom: 0.5rem;
    }
    
    .breadcrumb-back-btn[b-ecec8omgr9] {
        width: 24px;
        height: 24px;
    }
    
    .breadcrumb-path[b-ecec8omgr9] {
        font-size: 11px;
    }
    
    .breadcrumb-link[b-ecec8omgr9],
    .breadcrumb-current[b-ecec8omgr9] {
        padding: 3px 5px;
        font-size: 11px;
    }
    
    .counterparty-title[b-ecec8omgr9] {
        font-size: 1rem;
        line-height: 1.4;
    }
}

@media (max-width: 375px) {
    .breadcrumb-path[b-ecec8omgr9] {
        font-size: 10px;
    }
    
    .counterparty-title[b-ecec8omgr9] {
        font-size: 0.95rem;
    }
}
/* /Components/Pages/ExchangeRates/ExchangeRates.razor.rz.scp.css */
/* Exchange Rates Page Styles */

.exchange-rates-header[b-7guhhfvup5] {
    padding: 0.5rem 0;
}

    .exchange-rates-header h5[b-7guhhfvup5] {
        margin: 0;
        font-weight: 600;
        color: var(--mud-palette-text-primary);
    }

/* Grid Styles */
.exchange-rates-grid[b-7guhhfvup5]  .mud-table-cell {
    padding: 8px 12px;
    font-size: 0.875rem;
}

.exchange-rates-grid[b-7guhhfvup5]  .mud-table-head .mud-table-cell {
    font-weight: 600;
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.exchange-rates-grid[b-7guhhfvup5]  .mud-table-row:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

/* Currency rate cells */
.exchange-rates-grid[b-7guhhfvup5]  .mud-table-cell span {
    font-family: 'Consolas', 'Monaco', monospace;
}

.text-muted[b-7guhhfvup5] {
    color: #6c757d;
}

/* Clickable currency change cards */
[b-7guhhfvup5] .cursor-pointer {
    cursor: pointer;
    transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

[b-7guhhfvup5] .cursor-pointer:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Pagination Styles */
.pagination-controls[b-7guhhfvup5] {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Filter Panel Styles */
.filter-panel[b-7guhhfvup5] {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
}

/* Button Group Toggle */
[b-7guhhfvup5] .mud-button-group .mud-button {
    min-width: 80px;
}

/* Chart Container */
[b-7guhhfvup5] .mud-chart {
    font-family: inherit;
}

/* Tab Panel Styling */
[b-7guhhfvup5] .mud-tabs-panels {
    background-color: #fff;
}

[b-7guhhfvup5] .mud-tab {
    text-transform: none;
    font-weight: 500;
}

[b-7guhhfvup5] .mud-tab.mud-tab-active {
    color: var(--mud-palette-primary);
}

/* Data Grid Column Headers */
[b-7guhhfvup5] .mud-table-head .mud-table-cell:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background-color: #f8f9fa;
}

[b-7guhhfvup5] .mud-table-body .mud-table-cell:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background-color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .exchange-rates-header[b-7guhhfvup5] {
        padding: 0.25rem 0;
    }

    [b-7guhhfvup5] .mud-button-group {
        flex-direction: column;
    }

        [b-7guhhfvup5] .mud-button-group .mud-button {
            min-width: 100%;
        }
}

/* Conversion Calculator Styles */
.conversion-result[b-7guhhfvup5] {
    background-color: #e8f5e9;
    border-radius: 8px;
    padding: 1rem;
}
/* /Components/Pages/LedgerCorrections/InterCompanyElimination.razor.rz.scp.css */
/* Party Ledger Corrections Page Styles */

/* Summary row: summary text left, pagination top right of table */
.summary-row-with-pagination[b-th3jrrcq7g] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.container-fluid[b-th3jrrcq7g] {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

[b-th3jrrcq7g] .corrections-table,
[b-th3jrrcq7g] .mud-table.corrections-table {
    width: 100% !important;
}

[b-th3jrrcq7g] .corrections-table thead th,
[b-th3jrrcq7g] .mud-table.corrections-table thead th,
[b-th3jrrcq7g] .corrections-table .mud-table-head th,
[b-th3jrrcq7g] .mud-table.corrections-table .mud-table-head th {
    background-color: #f8f9fa !important;
    font-weight: 600 !important;
    color: #495057 !important;
    font-size: 0.9rem !important;
    padding: 8px !important;
    border-bottom: 2px solid #dee2e6 !important;
    white-space: nowrap !important;
    user-select: none !important;
}

[b-th3jrrcq7g] .corrections-table tbody td,
[b-th3jrrcq7g] .mud-table.corrections-table tbody td,
[b-th3jrrcq7g] .corrections-table .mud-table-body td,
[b-th3jrrcq7g] .mud-table.corrections-table .mud-table-body td {
    padding: 8px 12px !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #dee2e6 !important;
}

[b-th3jrrcq7g] .corrections-table tbody tr:hover,
[b-th3jrrcq7g] .mud-table.corrections-table tbody tr:hover,
[b-th3jrrcq7g] .corrections-table .mud-table-body tr:hover,
[b-th3jrrcq7g] .mud-table.corrections-table .mud-table-body tr:hover {
    background-color: #f8f9fa !important;
}

.responsive-paper[b-th3jrrcq7g] {
    overflow-x: auto;
    background-color: white !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 0.375rem !important;
}
/* Expansion panel header padding when expanded */
[b-th3jrrcq7g] .mud-expand-panel.mud-panel-expanded .mud-expand-panel-header {
    padding-bottom: 0.25rem !important;
}

/* Action menu styling */
.corrections-action-menu .menu-item-content[b-th3jrrcq7g] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.corrections-action-menu .menu-item-icon[b-th3jrrcq7g] {
    margin-right: 4px;
}

.corrections-action-menu .menu-item-text[b-th3jrrcq7g] {
    flex: 1;
}

/* Filter Accordion Styling */
.filter-accordion[b-th3jrrcq7g] {
    border-radius: 4px;
}

.filter-accordion .mud-expansion-panel[b-th3jrrcq7g] {
    border-radius: 4px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    background-color: var(--white) !important;
}


/* Global CSS for MudBlazor menu items in portals - must be non-scoped */
:global[b-th3jrrcq7g] {
    .mud-popover-paper .mud-menu-item,
    .mud-popover-paper .mud-menu-list .mud-menu-item,
    .mud-menu-item,
    .mud-menu-list .mud-menu-item {
        width: 100% !important;
        display: flex !important;
        position: relative !important;
        box-sizing: border-box !important;
        text-align: start !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
        padding: 3px 8px !important;
    }

    .mud-popover-paper .mud-menu-item.menu-item-edit[b-th3jrrcq7g],
    .mud-popover-paper .mud-menu-item.menu-item-delete[b-th3jrrcq7g] {
        width: 100% !important;
        display: flex !important;
        position: relative !important;
        box-sizing: border-box !important;
        text-align: start !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
        padding: 3px 8px !important;
    }

    .menu-item-delete .menu-item-content[b-th3jrrcq7g] {
        color: var(--danger) !important;
    }

    .menu-item-delete .menu-item-icon[b-th3jrrcq7g],
    .menu-item-delete .mud-icon[b-th3jrrcq7g] {
        color: var(--danger) !important;
    }

    .menu-item-delete .menu-item-text[b-th3jrrcq7g] {
        color: var(--danger) !important;
    }

    .mud-popover-paper .menu-item-delete .menu-item-content[b-th3jrrcq7g] {
        color: var(--danger) !important;
    }

    .mud-popover-paper .menu-item-delete .menu-item-icon[b-th3jrrcq7g],
    .mud-popover-paper .menu-item-delete .mud-icon[b-th3jrrcq7g] {
        color: var(--danger) !important;
    }

    .mud-popover-paper .menu-item-delete .menu-item-text[b-th3jrrcq7g] {
        color: var(--danger) !important;
    }
}

.menu-item-content[b-th3jrrcq7g] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

/* Description Cell - Text Truncation */
.description-cell[b-th3jrrcq7g] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    display: block;
    position: relative;
    z-index: 1;
}

/* Prevent tooltip from causing layout shifts */
.description-cell:hover[b-th3jrrcq7g] {
    z-index: 10;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .corrections-table thead th[b-th3jrrcq7g],
    .corrections-table tbody td[b-th3jrrcq7g] {
        padding: 8px 12px;
        font-size: 0.875rem;
    }

    .filter-actions-buttons[b-th3jrrcq7g] {
        flex-direction: column;
        width: 100%;
    }

    .filter-actions-buttons .mud-button[b-th3jrrcq7g] {
        width: 100%;
    }
}

/* Header Styling */
.corrections-header[b-th3jrrcq7g] {
    padding-bottom: 7px;
    margin-bottom: 1rem;
    position: relative;
}.corrections-header[b-th3jrrcq7g]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 0;
    height: 1px;
    background-color: #E4E4E7;
    width: 100vw;
    margin-left: -50vw;
}

.corrections-header h5[b-th3jrrcq7g] {
    color: #1f2937;
    font-weight: 600;
}

/* Box drawing characters for reciprocal linking */
.box-drawing[b-th3jrrcq7g] {
    font-family: "Cascadia Code", "Fira Code", "Consolas", monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: #6366f1;
    line-height: 1;
}

/* Link indicator column */
.link-indicator[b-th3jrrcq7g] {
    width: 30px !important;
    text-align: center !important;
    padding: 4px !important;
    vertical-align: middle !important;
}

/* Correction header row - displays period, description, companies, and status summary */
[b-th3jrrcq7g] .correction-header-row,
[b-th3jrrcq7g] .corrections-table .correction-header-row {
    background-color: #f0f4f8 !important;
    border-top: 2px solid #cbd5e1 !important;
}

[b-th3jrrcq7g] .correction-header-row:hover,
[b-th3jrrcq7g] .corrections-table .correction-header-row:hover {
    background-color: #e2e8f0 !important;
}

[b-th3jrrcq7g] .correction-header-cell {
    padding: 10px 12px !important;
    font-weight: 600 !important;
}

/* Item rows */
.item-row[b-th3jrrcq7g] {
    background-color: white !important;
}

.item-row:hover[b-th3jrrcq7g] {
    background-color: #f3f4f6 !important;
}

/* Reciprocal row styling - slightly indented feel */
.reciprocal-row[b-th3jrrcq7g] {
    background-color: #f9fafb !important;
}

.reciprocal-row:hover[b-th3jrrcq7g] {
    background-color: #f3f4f6 !important;
}

/* Separator between corrections */
.correction-separator td[b-th3jrrcq7g] {
    height: 8px !important;
    /* background-color: #e5e7eb !important; */
    border: none !important;
    padding: 0 !important;
}

/* Clickable row styling */
.clickable-row[b-th3jrrcq7g] {
    cursor: pointer !important;
    transition: background-color 0.15s ease-in-out !important;
}

.clickable-row:active[b-th3jrrcq7g] {
    background-color: #e0e7ff !important;
}
/* /Components/Pages/LedgerCorrections/LedgerPostings.razor.rz.scp.css */
/* Ledger Postings Page Styles */
.container-fluid[b-t78n93qqeq] {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/* Table Styling */
[b-t78n93qqeq] .mud-table thead th {
    background-color: #f8f9fa !important;
    font-weight: 600 !important;
    color: #495057 !important;
    font-size: 0.9rem !important;
    padding: 8px 12px !important;
    border-bottom: 2px solid #dee2e6 !important;
    white-space: nowrap !important;
    user-select: none !important;
}

[b-t78n93qqeq] .mud-table tbody td {
    padding: 8px 12px !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #dee2e6 !important;
}

[b-t78n93qqeq] .mud-table tbody tr:hover {
    background-color: #f8f9fa !important;
}

/* Filter Accordion Styling */
.filter-accordion[b-t78n93qqeq] {
    border-radius: 4px;
}

.filter-accordion .mud-expansion-panel[b-t78n93qqeq] {
    border-radius: 4px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    background-color: var(--white) !important;
}

/* Expansion panel header padding when expanded */
[b-t78n93qqeq] .mud-expand-panel.mud-panel-expanded .mud-expand-panel-header {
    padding-bottom: 0.25rem !important;
}

/* Header Styling */
.ledger-header[b-t78n93qqeq] {
    padding-bottom: 7px;
    margin-bottom: 1rem;
    position: relative;
}

.ledger-header[b-t78n93qqeq]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 0;
    height: 1px;
    background-color: #E4E4E7;
    width: 100vw;
    margin-left: -50vw;
}

.ledger-header h5[b-t78n93qqeq] {
    color: #1f2937;
    font-weight: 600;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    [b-t78n93qqeq] .mud-table thead th,
    [b-t78n93qqeq] .mud-table tbody td {
        padding: 8px !important;
        font-size: 0.875rem;
    }
}
/* /Components/Pages/LedgerCorrections/PartyLedgerCorrectionDialog.razor.rz.scp.css */
/* PartyLedgerCorrectionDialog Styles */

.dialog-title-wrapper[b-unxvs2z43z] {
    padding: 8px 0;
    border-bottom: 1px solid #dee2e6;
}

/* Items table styling */
.items-table[b-unxvs2z43z] {
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

[b-unxvs2z43z] .items-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 8px 12px !important;
    border-bottom: 2px solid #dee2e6 !important;
}

[b-unxvs2z43z] .items-table td {
    vertical-align: middle;
    padding: 4px 8px !important;
    border-bottom: 1px solid #dee2e6 !important;
}

[b-unxvs2z43z] .items-table tbody tr:hover {
    background-color: #f8f9fa !important;
}

/* New item row highlight */
.new-item-row[b-unxvs2z43z] {
    background-color: #e8f5e9 !important;
}

.new-item-row:hover[b-unxvs2z43z] {
    background-color: #c8e6c9 !important;
}

/* Responsive dialog */
[b-unxvs2z43z] .responsive-dialog {
    min-width: 800px;
}

@media (max-width: 900px) {
    [b-unxvs2z43z] .responsive-dialog {
        min-width: 100%;
    }
}
/* /Components/Pages/LedgerCorrections/RecurringEliminations.razor.rz.scp.css */
/* Recurring Eliminations Page Styles */

/* Summary row: summary text left, pagination top right of table */
.summary-row-with-pagination[b-6m0kfw0pgv] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.container-fluid[b-6m0kfw0pgv] {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

[b-6m0kfw0pgv] .corrections-table,
[b-6m0kfw0pgv] .mud-table.corrections-table {
    width: 100% !important;
}

[b-6m0kfw0pgv] .corrections-table thead th,
[b-6m0kfw0pgv] .mud-table.corrections-table thead th,
[b-6m0kfw0pgv] .corrections-table .mud-table-head th,
[b-6m0kfw0pgv] .mud-table.corrections-table .mud-table-head th {
    background-color: #f8f9fa !important;
    font-weight: 600 !important;
    color: #495057 !important;
    font-size: 0.9rem !important;
    padding: 8px !important;
    border-bottom: 2px solid #dee2e6 !important;
    white-space: nowrap !important;
    user-select: none !important;
}

[b-6m0kfw0pgv] .corrections-table tbody td,
[b-6m0kfw0pgv] .mud-table.corrections-table tbody td,
[b-6m0kfw0pgv] .corrections-table .mud-table-body td,
[b-6m0kfw0pgv] .mud-table.corrections-table .mud-table-body td {
    padding: 8px 12px !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #dee2e6 !important;
}

[b-6m0kfw0pgv] .corrections-table tbody tr:hover,
[b-6m0kfw0pgv] .mud-table.corrections-table tbody tr:hover,
[b-6m0kfw0pgv] .corrections-table .mud-table-body tr:hover,
[b-6m0kfw0pgv] .mud-table.corrections-table .mud-table-body tr:hover {
    background-color: #f8f9fa !important;
}

.responsive-paper[b-6m0kfw0pgv] {
    overflow-x: auto;
    background-color: white !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 0.375rem !important;
}

/* Expansion panel header padding when expanded */
[b-6m0kfw0pgv] .mud-expand-panel.mud-panel-expanded .mud-expand-panel-header {
    padding-bottom: 0.25rem !important;
}

/* Action menu styling */
.corrections-action-menu .menu-item-content[b-6m0kfw0pgv] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.corrections-action-menu .menu-item-icon[b-6m0kfw0pgv] {
    margin-right: 4px;
}

.corrections-action-menu .menu-item-text[b-6m0kfw0pgv] {
    flex: 1;
}

/* Filter Accordion Styling */
.filter-accordion[b-6m0kfw0pgv] {
    border-radius: 4px;
}

.filter-accordion .mud-expansion-panel[b-6m0kfw0pgv] {
    border-radius: 4px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    background-color: var(--white) !important;
}

/* Global CSS for MudBlazor menu items in portals - must be non-scoped */
:global[b-6m0kfw0pgv] {
    .mud-popover-paper .mud-menu-item,
    .mud-popover-paper .mud-menu-list .mud-menu-item,
    .mud-menu-item,
    .mud-menu-list .mud-menu-item {
        width: 100% !important;
        display: flex !important;
        position: relative !important;
        box-sizing: border-box !important;
        text-align: start !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
        padding: 3px 8px !important;
    }

    .mud-popover-paper .mud-menu-item.menu-item-edit[b-6m0kfw0pgv],
    .mud-popover-paper .mud-menu-item.menu-item-delete[b-6m0kfw0pgv],
    .mud-popover-paper .mud-menu-item.menu-item-end[b-6m0kfw0pgv] {
        width: 100% !important;
        display: flex !important;
        position: relative !important;
        box-sizing: border-box !important;
        text-align: start !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
        padding: 3px 8px !important;
    }

    .menu-item-delete .menu-item-content[b-6m0kfw0pgv] {
        color: var(--danger) !important;
    }

    .menu-item-delete .menu-item-icon[b-6m0kfw0pgv],
    .menu-item-delete .mud-icon[b-6m0kfw0pgv] {
        color: var(--danger) !important;
    }

    .menu-item-delete .menu-item-text[b-6m0kfw0pgv] {
        color: var(--danger) !important;
    }

    .mud-popover-paper .menu-item-delete .menu-item-content[b-6m0kfw0pgv] {
        color: var(--danger) !important;
    }

    .mud-popover-paper .menu-item-delete .menu-item-icon[b-6m0kfw0pgv],
    .mud-popover-paper .menu-item-delete .mud-icon[b-6m0kfw0pgv] {
        color: var(--danger) !important;
    }

    .mud-popover-paper .menu-item-delete .menu-item-text[b-6m0kfw0pgv] {
        color: var(--danger) !important;
    }
}

.menu-item-content[b-6m0kfw0pgv] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

/* Description Cell - Text Truncation */
.description-cell[b-6m0kfw0pgv] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 300px;
    display: block;
    position: relative;
    z-index: 1;
}

/* Prevent tooltip from causing layout shifts */
.description-cell:hover[b-6m0kfw0pgv] {
    z-index: 10;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .corrections-table thead th[b-6m0kfw0pgv],
    .corrections-table tbody td[b-6m0kfw0pgv] {
        padding: 8px 12px;
        font-size: 0.875rem;
    }

    .filter-actions-buttons[b-6m0kfw0pgv] {
        flex-direction: column;
        width: 100%;
    }

    .filter-actions-buttons .mud-button[b-6m0kfw0pgv] {
        width: 100%;
    }
}

/* Header Styling */
.corrections-header[b-6m0kfw0pgv] {
    padding-bottom: 7px;
    margin-bottom: 1rem;
    position: relative;
}

.corrections-header[b-6m0kfw0pgv]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 0;
    height: 1px;
    background-color: #E4E4E7;
    width: 100vw;
    margin-left: -50vw;
}

.corrections-header h5[b-6m0kfw0pgv] {
    color: #1f2937;
    font-weight: 600;
}

/* Item rows */
.item-row[b-6m0kfw0pgv] {
    background-color: white !important;
    transition: background-color 0.15s ease;
}

.item-row:hover[b-6m0kfw0pgv] {
    background-color: #f3f4f6 !important;
}

/* Ended row styling - slightly muted */
.item-row.ended-row[b-6m0kfw0pgv] {
    background-color: #f9fafb !important;
    color: #9ca3af;
}

.item-row.ended-row:hover[b-6m0kfw0pgv] {
    background-color: #f3f4f6 !important;
}
/* /Components/Pages/Ledger/PartyLedgerCorrections.razor.rz.scp.css */
/* Party Ledger Corrections Page Styles */
.container-fluid[b-5ixwdm554q] {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

[b-5ixwdm554q] .corrections-table,
[b-5ixwdm554q] .mud-table.corrections-table {
    width: 100% !important;
}

[b-5ixwdm554q] .corrections-table thead th,
[b-5ixwdm554q] .mud-table.corrections-table thead th,
[b-5ixwdm554q] .corrections-table .mud-table-head th,
[b-5ixwdm554q] .mud-table.corrections-table .mud-table-head th {
    background-color: #f8f9fa !important;
    font-weight: 600 !important;
    color: #495057 !important;
    font-size: 0.9rem !important;
    padding: 8px !important;
    border-bottom: 2px solid #dee2e6 !important;
    white-space: nowrap !important;
    user-select: none !important;
}

[b-5ixwdm554q] .corrections-table tbody td,
[b-5ixwdm554q] .mud-table.corrections-table tbody td,
[b-5ixwdm554q] .corrections-table .mud-table-body td,
[b-5ixwdm554q] .mud-table.corrections-table .mud-table-body td {
    padding: 8px 12px !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #dee2e6 !important;
}

[b-5ixwdm554q] .corrections-table tbody tr:hover,
[b-5ixwdm554q] .mud-table.corrections-table tbody tr:hover,
[b-5ixwdm554q] .corrections-table .mud-table-body tr:hover,
[b-5ixwdm554q] .mud-table.corrections-table .mud-table-body tr:hover {
    background-color: #f8f9fa !important;
}

.responsive-paper[b-5ixwdm554q] {
    overflow-x: auto;
    background-color: white !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 0.375rem !important;
}
/* Expansion panel header padding when expanded */
[b-5ixwdm554q] .mud-expand-panel.mud-panel-expanded .mud-expand-panel-header {
    padding-bottom: 0.25rem !important;
}

/* Action menu styling */
.corrections-action-menu .menu-item-content[b-5ixwdm554q] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.corrections-action-menu .menu-item-icon[b-5ixwdm554q] {
    margin-right: 4px;
}

.corrections-action-menu .menu-item-text[b-5ixwdm554q] {
    flex: 1;
}

/* Filter Accordion Styling */
.filter-accordion[b-5ixwdm554q] {
    border-radius: 4px;
}

.filter-accordion .mud-expansion-panel[b-5ixwdm554q] {
    border-radius: 4px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    background-color: var(--white) !important;
}


/* Global CSS for MudBlazor menu items in portals - must be non-scoped */
:global[b-5ixwdm554q] {
    .mud-popover-paper .mud-menu-item,
    .mud-popover-paper .mud-menu-list .mud-menu-item,
    .mud-menu-item,
    .mud-menu-list .mud-menu-item {
        width: 100% !important;
        display: flex !important;
        position: relative !important;
        box-sizing: border-box !important;
        text-align: start !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
        padding: 3px 8px !important;
    }

    .mud-popover-paper .mud-menu-item.menu-item-edit[b-5ixwdm554q],
    .mud-popover-paper .mud-menu-item.menu-item-delete[b-5ixwdm554q] {
        width: 100% !important;
        display: flex !important;
        position: relative !important;
        box-sizing: border-box !important;
        text-align: start !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
        padding: 3px 8px !important;
    }

    .menu-item-delete .menu-item-content[b-5ixwdm554q] {
        color: var(--danger) !important;
    }

    .menu-item-delete .menu-item-icon[b-5ixwdm554q],
    .menu-item-delete .mud-icon[b-5ixwdm554q] {
        color: var(--danger) !important;
    }

    .menu-item-delete .menu-item-text[b-5ixwdm554q] {
        color: var(--danger) !important;
    }

    .mud-popover-paper .menu-item-delete .menu-item-content[b-5ixwdm554q] {
        color: var(--danger) !important;
    }

    .mud-popover-paper .menu-item-delete .menu-item-icon[b-5ixwdm554q],
    .mud-popover-paper .menu-item-delete .mud-icon[b-5ixwdm554q] {
        color: var(--danger) !important;
    }

    .mud-popover-paper .menu-item-delete .menu-item-text[b-5ixwdm554q] {
        color: var(--danger) !important;
    }
}

.menu-item-content[b-5ixwdm554q] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

/* Description Cell - Text Truncation */
.description-cell[b-5ixwdm554q] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    display: block;
    position: relative;
    z-index: 1;
}

/* Prevent tooltip from causing layout shifts */
.description-cell:hover[b-5ixwdm554q] {
    z-index: 10;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .corrections-table thead th[b-5ixwdm554q],
    .corrections-table tbody td[b-5ixwdm554q] {
        padding: 8px 12px;
        font-size: 0.875rem;
    }

    .filter-actions-buttons[b-5ixwdm554q] {
        flex-direction: column;
        width: 100%;
    }

    .filter-actions-buttons .mud-button[b-5ixwdm554q] {
        width: 100%;
    }
}

/* Header Styling */
.corrections-header[b-5ixwdm554q] {
    padding-bottom: 7px;
    margin-bottom: 1rem;
    position: relative;
}.corrections-header[b-5ixwdm554q]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 0;
    height: 1px;
    background-color: #E4E4E7;
    width: 100vw;
    margin-left: -50vw;
}

.corrections-header h5[b-5ixwdm554q] {
    color: #1f2937;
    font-weight: 600;
}

/* Corrections Section Styling - matching PartyOwnership design */
[b-5ixwdm554q] .corrections-section {
    background: var(--white) !important;
    border-radius: 12px !important;
    margin-bottom: 20px !important;
    border: 1px solid #e2e8f0 !important;
    overflow: hidden !important;
}

.section-header[b-5ixwdm554q] {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(59, 130, 246, 0.02) 100%);
}

.pending-header[b-5ixwdm554q] {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(245, 158, 11, 0.02) 100%);
    border-bottom-color: #f59e0b;
}

.created-header[b-5ixwdm554q] {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(59, 130, 246, 0.02) 100%);
    border-bottom-color: var(--primary);
}

.closed-header[b-5ixwdm554q] {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.02) 100%);
    border-bottom-color: #10b981;
}

.recurring-header[b-5ixwdm554q] {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(139, 92, 246, 0.02) 100%);
    border-bottom-color: #8b5cf6;
}

.section-title[b-5ixwdm554q] {
    font-weight: 600;
    color: #1e293b;
    padding-top: 5px;
}

.pagination-container[b-5ixwdm554q] {
    display: flex;
    justify-content: flex-end;
    gap: 4px;
    align-items: center;
}

/* Hide table header when Title is empty (using section header instead) */
[b-5ixwdm554q] .corrections-section .table-header {
    display: none !important;
}

/* Adjust table styling within sections */
[b-5ixwdm554q] .corrections-section .responsive-paper {
    border: none !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
}

[b-5ixwdm554q] .corrections-section .corrections-table tbody tr:hover {
    background-color: #f8fafc !important;
}
/* /Components/Shared/PartyLedgerCorrectionsTable.razor.rz.scp.css */
[b-yusgztoh1k] .responsive-paper {
    background-color: white !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 0.375rem !important;
}

[b-yusgztoh1k] .corrections-table {
    width: 100% !important;
}

[b-yusgztoh1k] .corrections-table thead th {
    background-color: #f8f9fa !important;
    font-weight: 600 !important;
    color: #495057 !important;
    font-size: 0.9rem !important;
    padding: 8px !important;
    border-bottom: 2px solid #dee2e6 !important;
    white-space: nowrap !important;
    user-select: none !important;
}

[b-yusgztoh1k] .corrections-table tbody td {
    padding: 8px 12px !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #dee2e6 !important;
}

[b-yusgztoh1k] .corrections-table tbody tr:hover {
    background-color: #f8f9fa !important;
}

.corrections-table thead th[b-yusgztoh1k]{
    background-color: #f8f9fa !important;
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
    padding: 8px;
    white-space: nowrap;
    user-select: none;
}

.table-header[b-yusgztoh1k] {
    padding: 16px !important;
    border-bottom: 1px solid #e0e0e0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background-color: white !important;
    width: 100% !important;
}

.table-header h6[b-yusgztoh1k] {
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.pagination-container[b-yusgztoh1k] {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
    justify-content: flex-end !important;
}

.pagination-info[b-yusgztoh1k] {
    margin-right: 8px;
}

.pagination-button[b-yusgztoh1k] {
    min-width: auto;
    padding: 4px 8px;
}

.pagination-button-page[b-yusgztoh1k] {
    min-width: 36px;
    padding: 4px 8px;
}

.loading-container[b-yusgztoh1k] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}

.empty-container[b-yusgztoh1k] {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    padding: 32px 16px !important;
    color: #666 !important;
    width: 100% !important;
}

.empty-container .mud-typography[b-yusgztoh1k] {
    text-align: center !important;
    width: 100% !important;
}

/* /Components/Shared/SortableTableHeader.razor.rz.scp.css */
.sortable-header[b-xdxg85721x] {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.sortable-header-right[b-xdxg85721x] {
    justify-content: flex-end;
}

.sort-icon-active[b-xdxg85721x] {
    opacity: 1;
    color: var(--mud-palette-primary);
}

.sort-icon-inactive[b-xdxg85721x] {
    opacity: 0.4;
}

/* /Components/Shared/TablePagination.razor.rz.scp.css */
/* Pagination UI: item count (left), < PREVIOUS, page numbers, NEXT > */
.table-pagination[b-88cbg0dgq7] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-family: inherit;
    font-size: 0.875rem;
}

.pagination-info[b-88cbg0dgq7] {
    color: #374151;
    white-space: nowrap;
    margin-right: 4px;
}

.pagination-controls[b-88cbg0dgq7] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Previous / Next as text links */
.pagination-nav[b-88cbg0dgq7] {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: #4b5563;
    cursor: pointer;
    white-space: nowrap;
}

.pagination-nav:hover:not(.disabled)[b-88cbg0dgq7] {
    color: #1f2937;
    text-decoration: underline;
}

.pagination-nav.disabled[b-88cbg0dgq7],
.pagination-nav:disabled[b-88cbg0dgq7] {
    color: #9ca3af;
    cursor: default;
}

/* Page numbers: inactive = plain text */
.pagination-number[b-88cbg0dgq7] {
    background: none;
    border: none;
    padding: 0 6px;
    font: inherit;
    color: #4b5563;
    cursor: pointer;
    min-width: 28px;
    text-align: center;
}

.pagination-number:hover:not(.active)[b-88cbg0dgq7] {
    color: #1f2937;
    text-decoration: underline;
}

/* Active page: teal filled button, white text, rounded, shadow */
.pagination-number.active[b-88cbg0dgq7] {
    background-color: #0d9488;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: default;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.pagination-ellipsis[b-88cbg0dgq7] {
    color: #6b7280;
    margin: 0 2px;
    user-select: none;
}

@media (max-width: 768px) {
    .table-pagination[b-88cbg0dgq7] {
        gap: 8px;
    }

    .pagination-number.active[b-88cbg0dgq7] {
        padding: 3px 8px;
        min-width: 28px;
    }
}
