@import '_content/Corvenia.Yggdrasil.Module.Common/Corvenia.Yggdrasil.Module.Common.11j6ta1914.bundle.scp.css';

/* /Components/Pages/AcquisitionRegister/AcquisitionDetail.razor.rz.scp.css */
/* Acquisition Detail — scoped on .acq-detail-page; ::deep reaches tab child components.
   Visual target: prototype white cards on light grey + teal underline tabs. */

.page-header[b-hmwlcvtj9p] {
    padding-bottom: 7px;
    margin-bottom: 1rem;
    position: relative;
}

.page-header[b-hmwlcvtj9p]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 0;
    height: 1px;
    background-color: #e4e4e7;
    width: 100vw;
    margin-left: -50vw;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-detail-title {
    font-weight: 600;
    color: #1f2937;
    font-size: 1.25rem;
    line-height: 1.3;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-header-subline {
    color: #6c757d;
    margin-left: 2.75rem;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-header-subline-inline {
    color: #6c757d;
    margin-left: 0;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-back-link {
    color: #6c757d !important;
    padding-left: 0 !important;
    min-width: unset;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-back-link:hover {
    color: #374151 !important;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-status-chip {
    font-weight: 600 !important;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-status-chip.mud-chip-color-success {
    background-color: #e6f4f1 !important;
    color: #0f766e !important;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-locked-alert {
    margin-top: 1rem;
    border-radius: 8px;
    background-color: #fff8e7 !important;
    color: #7a5c00 !important;
    border: 1px solid #f0d9a0 !important;
}

.acq-header-actions[b-hmwlcvtj9p] {
    flex-shrink: 0;
}

/* KPI summary strip — equal flex cards matching prototype */
.acq-detail-page[b-hmwlcvtj9p]  .acq-kpi-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem !important;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-kpi-item {
    flex: 1 1 140px;
    min-width: 140px;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-kpi-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 16px;
    height: 100%;
    min-height: 76px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-kpi-label {
    color: #6c757d;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.7rem;
    display: block;
    margin-bottom: 6px;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-kpi-value {
    font-weight: 700;
    color: #1f2937;
    font-size: 1.05rem;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-kpi-card-goodwill {
    background: #e8f5f3;
    border-color: #c5e8e2;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-kpi-card-goodwill .acq-kpi-label {
    color: #0f766e;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-kpi-card-goodwill .acq-kpi-value {
    color: #0f766e;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-kpi-card-goodwill-negative {
    background: #fde8e8;
    border-color: #f5c2c7;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-kpi-card-goodwill-negative .acq-kpi-label {
    color: #842029;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-kpi-card-goodwill-negative .acq-kpi-value {
    color: #dc3545;
}

/* Content cards inside tabs — same shell on every tab */
.acq-detail-page[b-hmwlcvtj9p]  .acq-tab-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-detail-card,
.acq-detail-page[b-hmwlcvtj9p]  .mud-paper.acq-detail-card {
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06) !important;
    padding: 1.25rem 1.5rem !important;
    margin-bottom: 0 !important;
    color: inherit;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-section-title {
    color: #6c757d;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-metric-tile {
    background: #f8f9fa;
    border: 1px solid #eef0f2;
    border-radius: 8px;
    padding: 14px 16px;
    height: 100%;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-metric-label {
    color: #6c757d;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.7rem;
    display: block;
    margin-bottom: 6px;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-metric-value {
    font-weight: 700;
    color: #1f2937;
    font-size: 1.25rem;
    line-height: 1.3;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-metric-value-text {
    font-weight: 600;
    color: #1f2937;
    font-size: 1rem;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-muted {
    color: #6c757d !important;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-amount-positive {
    color: #0d9488 !important;
    font-weight: 600;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-amount-negative {
    color: #dc3545 !important;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-helper-note {
    color: #6c757d;
    font-style: italic;
    font-size: 0.8125rem;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-info-note {
    color: #6c757d;
    display: block;
    line-height: 1.5;
    font-size: 0.8125rem;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-worksheet-link {
    color: #374151;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.875rem;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-worksheet-link:hover {
    color: #0d9488;
    text-decoration: underline;
}

/* Amortization start panel inside Goodwill roll-forward card */
.acq-detail-page[b-hmwlcvtj9p]  .acq-amort-panel {
    background: #f8f9fa;
    border: 1px solid #eef0f2;
    border-radius: 8px;
    padding: 1rem 1.25rem;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-amort-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.75rem 1rem;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-amort-datepicker {
    flex: 1 1 220px;
    max-width: 280px;
    min-width: 200px;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-amort-datepicker .mud-input-control {
    margin-top: 0;
    margin-bottom: 0;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-amort-save {
    display: flex;
    align-items: flex-start;
    padding-top: 6px; /* align with outlined dense input (label offset) */
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-amort-save .mud-button-root {
    height: 40px;
    min-height: 40px;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-amort-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e5e7eb;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-amort-metric {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-amort-metric-value {
    font-weight: 700;
    color: #1f2937;
    font-size: 0.95rem;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-table-scroll {
    overflow-x: auto;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-component-note {
    display: block;
    color: #6c757d;
    font-size: 0.75rem;
    margin-top: 2px;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-tab-panel {
    padding-top: 0.25rem;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-locked-chip {
    background: #f3f4f6 !important;
    color: #4b5563 !important;
}

/* Tabs — prototype underline style (teal active) */
.acq-detail-page .acq-detail-tabs-section[b-hmwlcvtj9p] {
    background-color: transparent;
}

.acq-detail-page .tabs-section[b-hmwlcvtj9p] {
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-detail-main-tabs.mud-tabs {
    width: 100%;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-detail-main-tabs .mud-tabs-tabbar,
.acq-detail-page[b-hmwlcvtj9p]  .acq-detail-main-tabs .mud-tabs-toolbar {
    background-color: transparent !important;
    border-bottom: 1px solid #e5e7eb;
    min-height: unset;
    box-shadow: none;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-detail-main-tabs .mud-tabs-toolbar-inner {
    gap: 0;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-detail-main-tabs .mud-tab {
    text-transform: none !important;
    font-weight: 500;
    font-size: 0.9375rem;
    color: #6b7280 !important;
    border-radius: 0;
    border: none !important;
    border-bottom: 3px solid transparent !important;
    background: transparent !important;
    min-height: 2.75rem;
    padding: 0.75rem 1rem;
    margin-bottom: -1px;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-detail-main-tabs .mud-tab:hover {
    background-color: transparent !important;
    color: #374151 !important;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-detail-main-tabs .mud-tab.mud-tab-active {
    color: #0d9488 !important;
    font-weight: 600;
    background-color: transparent !important;
    border: none !important;
    border-bottom: 3px solid #0d9488 !important;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-detail-main-tabs .mud-tabs-panels {
    background: transparent;
    border: none;
    box-shadow: none;
    padding-top: 1.25rem;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-detail-main-tabs .acq-detail-tab-label {
    color: inherit;
    font: inherit;
    font-weight: inherit;
    font-size: 0.9375rem !important;
}

/* Financial tables inside cards */
.acq-detail-page[b-hmwlcvtj9p]  .acq-detail-card .mud-table {
    background: transparent;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-detail-card .mud-table thead th,
.acq-detail-page[b-hmwlcvtj9p]  .acq-detail-card .mud-table-head .mud-table-cell {
    background-color: transparent !important;
    font-weight: 600 !important;
    color: #6c757d !important;
    font-size: 0.7rem !important;
    padding: 10px 12px !important;
    border-bottom: 1px solid #e5e7eb !important;
    white-space: nowrap !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-detail-card .mud-table tbody td,
.acq-detail-page[b-hmwlcvtj9p]  .acq-detail-card .mud-table-body .mud-table-cell {
    padding: 12px !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #f1f3f5 !important;
    font-size: 0.9rem;
    color: #1f2937;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-detail-card .mud-table tbody tr:hover {
    background-color: #fafafa !important;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-detail-card .mud-table tfoot td,
.acq-detail-page[b-hmwlcvtj9p]  .acq-detail-card .mud-table-foot .mud-table-cell {
    background-color: transparent !important;
    border-top: 2px solid #e5e7eb !important;
    font-weight: 700 !important;
    padding: 12px !important;
    color: #1f2937;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-ppa-allocation-table {
    width: 100%;
    table-layout: fixed;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-ppa-allocation-table col.acq-ppa-col-num {
    width: 120px;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-ppa-allocation-table col.acq-ppa-col-adjustment {
    width: 130px;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-ppa-allocation-table col.acq-ppa-col-journal {
    width: 180px;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-ppa-allocation-table thead th {
    background-color: transparent;
    font-weight: 600;
    color: #6c757d;
    font-size: 0.7rem;
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-ppa-allocation-table tbody td {
    padding: 12px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f3f5;
    font-size: 0.9rem;
    color: #1f2937;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-ppa-allocation-table tbody tr:hover {
    background-color: #fafafa;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-ppa-allocation-table .acq-ppa-num {
    text-align: right;
    white-space: nowrap;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-ppa-allocation-table .acq-ppa-summary-row td {
    padding-top: 10px;
    padding-bottom: 10px;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-ppa-allocation-table .acq-ppa-summary-total td {
    border-top: 2px solid #e5e7eb;
    border-bottom: none;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-summary-table {
    width: 100%;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-summary-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f1f3f5;
    font-size: 0.9rem;
    color: #1f2937;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-summary-table tr:last-child td {
    border-bottom: none;
    border-top: 2px solid #e5e7eb;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-journal-lines-table {
    width: 100%;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-journal-lines-table thead th {
    background-color: transparent;
    font-weight: 600;
    color: #6c757d;
    font-size: 0.7rem;
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-journal-lines-table tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid #f1f3f5;
    vertical-align: middle;
}

.acq-detail-page[b-hmwlcvtj9p]  .acq-journal-total-row {
    font-weight: 700;
    border-top: 2px solid #e5e7eb;
}

@media (max-width: 768px) {
    .acq-detail-page[b-hmwlcvtj9p] {
        margin: -0.75rem;
        padding: 0.75rem;
    }

    .acq-detail-page[b-hmwlcvtj9p]  .acq-detail-card,
    .acq-detail-page[b-hmwlcvtj9p]  .mud-paper.acq-detail-card {
        padding: 1rem !important;
    }

    .acq-detail-page[b-hmwlcvtj9p]  .acq-detail-card .mud-table thead th,
    .acq-detail-page[b-hmwlcvtj9p]  .acq-detail-card .mud-table tbody td,
    .acq-detail-page[b-hmwlcvtj9p]  .acq-detail-card .mud-table tfoot td {
        padding: 8px !important;
        font-size: 0.8125rem;
    }
}
/* /Components/Pages/AcquisitionRegister/AcquisitionRegister.razor.rz.scp.css */
/* Acquisition Register page styles — table rules aligned with BudgetList.razor.css (MudSimpleTable
   with sortable-header / clickable-row / menu-item-* pattern).
   Pagination styling lives in the shared Module.Common TablePagination component. */

/* Header Styling — matches the canonical page-header pattern (see WebApiAdmin.razor.css). */
.page-header[b-4cweotlg32] {
    padding-bottom: 7px;
    margin-bottom: 1rem;
    position: relative;
}

.page-header[b-4cweotlg32]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 0;
    height: 1px;
    background-color: #e4e4e7;
    width: 100vw;
    margin-left: -50vw;
}

.page-header h5[b-4cweotlg32] {
    color: #1f2937;
    font-weight: 600;
}

.register-card-header[b-4cweotlg32] {
    padding: 12px 16px;
    border-bottom: 2px solid #dee2e6;
    background-color: #f8f9fa;
    color: #6c757d;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

/* Table shell (aligned with BudgetList.razor.css) */
.table-responsive-wrapper.acquisition-table-scroll-region[b-4cweotlg32] {
    width: 100%;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
    scrollbar-width: auto;
    scrollbar-color: var(--mud-palette-action-default, #9ca3af) var(--mud-palette-divider, #e4e4e7);
}

.table-responsive-wrapper.acquisition-table-scroll-region[b-4cweotlg32]::-webkit-scrollbar {
    height: 12px;
}

.table-responsive-wrapper.acquisition-table-scroll-region[b-4cweotlg32]::-webkit-scrollbar-track {
    background: var(--mud-palette-divider, #e4e4e7);
    border-radius: 6px;
}

.table-responsive-wrapper.acquisition-table-scroll-region[b-4cweotlg32]::-webkit-scrollbar-thumb {
    background: var(--mud-palette-action-default, #9ca3af);
    border-radius: 6px;
    border: 2px solid var(--mud-palette-divider, #e4e4e7);
}

.table-responsive-wrapper.acquisition-table-scroll-region[b-4cweotlg32]::-webkit-scrollbar-thumb:hover {
    background: var(--mud-palette-text-secondary, #6b7280);
}

[b-4cweotlg32] .acquisition-register-data-table {
    background-color: var(--white) !important;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    overflow: visible;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

[b-4cweotlg32] .acquisition-register-data-table thead th.sortable-header {
    cursor: pointer;
}

[b-4cweotlg32] .acquisition-register-data-table thead th.sortable-header:hover {
    background-color: #eef1f4 !important;
}

[b-4cweotlg32] .acquisition-register-data-table thead th .sortable-header-inner {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

[b-4cweotlg32] .acquisition-register-data-table thead th .sort-glyph {
    opacity: 0.85;
    vertical-align: middle;
}

[b-4cweotlg32] .acquisition-register-data-table thead th {
    background-color: #f8f9fa !important;
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
    padding: 10px;
    white-space: nowrap;
    user-select: none;
}

[b-4cweotlg32] .acquisition-register-data-table tbody td {
    padding: 10px 12px !important;
    vertical-align: middle;
    font-size: 0.9rem;
    border-bottom: 1px solid #f0f0f0 !important;
    background-color: inherit !important;
}

[b-4cweotlg32] .acquisition-register-data-table tbody tr {
    background-color: var(--white) !important;
    transition: background-color 0.15s ease-in-out !important;
}

[b-4cweotlg32] .acquisition-register-data-table tbody tr:last-child td {
    border-bottom: none !important;
}

[b-4cweotlg32] .acquisition-register-data-table tbody tr:hover,
[b-4cweotlg32] .acquisition-register-data-table tbody tr:hover td,
[b-4cweotlg32] .acquisition-register-data-table tbody tr.clickable-row:hover,
[b-4cweotlg32] .acquisition-register-data-table tbody tr.clickable-row:hover td {
    background-color: #f8f9fa !important;
}

@media (max-width: 1200px) {
    [b-4cweotlg32] .acquisition-register-data-table thead th,
    [b-4cweotlg32] .acquisition-register-data-table tbody td {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
}

@media (max-width: 992px) {
    [b-4cweotlg32] .acquisition-register-data-table thead th,
    [b-4cweotlg32] .acquisition-register-data-table tbody td {
        padding: 8px;
        font-size: 0.8rem;
    }
}

@media (min-width: 900px) {
    .responsive-paper[b-4cweotlg32] {
        padding: 15px !important;
    }
}

@media (min-width: 600px) and (max-width: 899px) {
    .responsive-paper[b-4cweotlg32] {
        padding: 12px !important;
    }
}

@media (max-width: 599px) {
    .responsive-paper[b-4cweotlg32] {
        padding: 8px !important;
    }
}

/* MudMenu dropdown styling — matches BudgetList.razor.css */
[b-4cweotlg32] .mud-menu-list {
    padding: 0 !important;
}

[b-4cweotlg32] .mud-popover-paper {
    background-color: var(--white) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    min-width: 160px !important;
    padding: 4px 0 !important;
    border: none !important;
    overflow: hidden !important;
}

[b-4cweotlg32] .mud-menu {
    padding: 0 !important;
    margin: 0 !important;
}

[b-4cweotlg32] .mud-menu .mud-menu-item {
    padding: 0 !important;
    margin: 0 !important;
}

[b-4cweotlg32] .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;
    margin: 0 !important;
    min-height: 40px !important;
    background-color: var(--white) !important;
    transition: background-color 0.2s ease !important;
    border: none !important;
    border-radius: 0 !important;
}

[b-4cweotlg32] .mud-menu-item button,
[b-4cweotlg32] .mud-menu-item > * {
    width: 100% !important;
    padding: 10px 16px !important;
    margin: 0 !important;
    transition: background-color 0.2s ease !important;
    background-color: transparent !important;
    border: none !important;
    text-align: left !important;
    display: flex !important;
    align-items: center !important;
}

[b-4cweotlg32] .mud-menu-item:hover,
[b-4cweotlg32] .mud-menu-item:hover button,
[b-4cweotlg32] .mud-menu-item:hover > * {
    background-color: #f5f5f5 !important;
}

/* Actions menu item helpers — matches BudgetList.razor.css */
[b-4cweotlg32] .menu-item-content {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #333 !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    padding: 0 !important;
}

[b-4cweotlg32] .menu-item-text {
    font-size: 14px !important;
    font-weight: 400 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    flex: 0 1 auto !important;
    white-space: nowrap !important;
    display: inline-block !important;
}

[b-4cweotlg32] .menu-item-icon {
    flex-shrink: 0 !important;
}

/* Global selectors for portal-rendered MudMenu */
.mud-popover-paper .mud-menu-item[b-4cweotlg32] {
    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;
    margin: 0 !important;
    min-height: 40px !important;
    background-color: var(--white) !important;
    transition: background-color 0.2s ease !important;
    border: none !important;
    border-radius: 0 !important;
}

.mud-popover-paper .mud-menu-item button[b-4cweotlg32] {
    width: 100% !important;
    padding: 8px 12px !important;
    margin: 0 !important;
    transition: background-color 0.2s ease !important;
    background-color: transparent !important;
    border: none !important;
    text-align: left !important;
    display: flex !important;
    align-items: center !important;
}

.mud-popover-paper .mud-menu-item:hover[b-4cweotlg32] {
    background-color: #f5f5f5 !important;
}

.mud-popover-paper .menu-item-content[b-4cweotlg32] {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #333 !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mud-popover-paper .menu-item-icon[b-4cweotlg32],
.mud-popover-paper .menu-item-content .mud-icon[b-4cweotlg32] {
    font-size: 18px !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    color: #333 !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.mud-popover-paper .menu-item-text[b-4cweotlg32] {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #333 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    flex: 0 1 auto !important;
    white-space: nowrap !important;
    display: inline-block !important;
}

[b-4cweotlg32] .menu-item-delete .menu-item-content {
    color: var(--mud-palette-error) !important;
}

[b-4cweotlg32] .menu-item-delete:hover,
[b-4cweotlg32] .menu-item-delete:hover button,
[b-4cweotlg32] .menu-item-delete:hover > * {
    background-color: rgba(var(--mud-palette-error-rgb), 0.08) !important;
}

[b-4cweotlg32] .menu-item-delete .menu-item-icon,
[b-4cweotlg32] .menu-item-delete .mud-icon {
    color: var(--mud-palette-error) !important;
}

[b-4cweotlg32] .menu-item-delete .menu-item-text {
    color: var(--mud-palette-error) !important;
}

.mud-popover-paper .mud-menu-item.menu-item-delete:hover[b-4cweotlg32] {
    background-color: rgba(var(--mud-palette-error-rgb), 0.08) !important;
}

.mud-popover-paper .menu-item-delete .menu-item-content[b-4cweotlg32] {
    color: var(--mud-palette-error) !important;
}

.mud-popover-paper .menu-item-delete .menu-item-icon[b-4cweotlg32],
.mud-popover-paper .menu-item-delete .mud-icon[b-4cweotlg32] {
    color: var(--mud-palette-error) !important;
}

.mud-popover-paper .menu-item-delete .menu-item-text[b-4cweotlg32] {
    color: var(--mud-palette-error) !important;
}
/* /Components/Pages/AcquisitionRegister/AcquisitionWizardDialog.razor.rz.scp.css */
/* New Acquisition wizard — step indicator aligned with UserEditDialog (Add New User). */

.step-progress-container[b-tv6ya9ruwv] {
    padding: 1em 0;
}

.step-container[b-tv6ya9ruwv] {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
    align-items: center;
    max-width: 750px;
    margin: 0 auto;
    width: 100%;
    gap: 12px;
}

.step[b-tv6ya9ruwv] {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-self: center;
}

.step-number[b-tv6ya9ruwv] {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    background-color: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.step.active .step-number[b-tv6ya9ruwv] {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.step.completed .step-number[b-tv6ya9ruwv] {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.step.disabled .step-number[b-tv6ya9ruwv] {
    background-color: white;
    color: #9ca3af;
    border: 2px solid #d1d5db;
}

.step-label[b-tv6ya9ruwv] {
    font-size: 0.95rem;
    text-align: center;
    color: #6b7280;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.step.active .step-label[b-tv6ya9ruwv] {
    color: #009688;
}

.step.completed .step-label[b-tv6ya9ruwv] {
    color: #009688;
}

.step.disabled .step-label[b-tv6ya9ruwv] {
    color: #9ca3af;
}

.step.clickable[b-tv6ya9ruwv] {
    cursor: pointer;
    transition: all 0.2s ease;
}

.step.clickable:hover[b-tv6ya9ruwv] {
    opacity: 0.8;
}

.step.clickable:hover .step-number[b-tv6ya9ruwv] {
    transform: scale(1.1);
}

.step.disabled.clickable[b-tv6ya9ruwv] {
    cursor: not-allowed;
}

.step.disabled.clickable:hover[b-tv6ya9ruwv] {
    opacity: 1;
}

.step.disabled.clickable:hover .step-number[b-tv6ya9ruwv] {
    transform: none;
}

.step-connector[b-tv6ya9ruwv] {
    height: 2px;
    background-color: #dee2e6;
    transition: background-color 0.3s ease;
    margin: 0 8px;
}

.step-connector.completed[b-tv6ya9ruwv] {
    background-color: var(--primary);
}

@media (max-width: 767px) {
    .step-container[b-tv6ya9ruwv] {
        gap: 8px;
        max-width: 100%;
    }

    .step-label[b-tv6ya9ruwv] {
        font-size: 0.85rem;
        white-space: normal;
    }

    .step-connector[b-tv6ya9ruwv] {
        margin: 0 4px;
    }
}

@media (max-width: 575px) {
    .step-number[b-tv6ya9ruwv] {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 0.8rem;
    }

    .step-label[b-tv6ya9ruwv] {
        font-size: 0.75rem;
    }
}
/* /Components/Pages/ConsolidationWorksheet/ConsolidationWorksheet.razor.rz.scp.css */
/* Canonical table styling (LedgerPostings pattern) */
[b-0uzeslo1zw] .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-0uzeslo1zw] .mud-table tbody td {
    padding: 8px 12px !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #dee2e6 !important;
}

[b-0uzeslo1zw] .mud-table tbody tr:hover {
    background-color: #f8f9fa !important;
}

/* The worksheet matrix is wide — scroll horizontally inside the card, never the page */
.worksheet-scroll[b-0uzeslo1zw] {
    overflow-x: auto;
}

[b-0uzeslo1zw] .worksheet-scroll .mud-table-container {
    overflow-x: auto;
}

/* Card header */
.worksheet-card-header[b-0uzeslo1zw] {
    border-bottom: 1px solid #dee2e6;
}

.worksheet-title[b-0uzeslo1zw] {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #495057;
}

/* Numeric headers are right-aligned; tinted headers mirror the Figma column colors */
[b-0uzeslo1zw] .mud-table thead th.num-col {
    text-align: right !important;
}

[b-0uzeslo1zw] .mud-table thead th.col-green {
    background-color: #e7f3ec !important;
    color: #1e7d46 !important;
}

[b-0uzeslo1zw] .mud-table thead th.col-violet {
    background-color: #efe9f7 !important;
    color: #6a3fb5 !important;
}

[b-0uzeslo1zw] .mud-table thead th.col-amber {
    background-color: #fbf1de !important;
    color: #a4671b !important;
}

[b-0uzeslo1zw] .mud-table thead th.col-consolidated {
    font-weight: 700 !important;
}

/* Cells */
[b-0uzeslo1zw] .mud-table tbody td.num-cell {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

[b-0uzeslo1zw] .mud-table tbody td.account-cell {
    font-family: Consolas, 'SFMono-Regular', 'Liberation Mono', Menlo, monospace;
    white-space: nowrap;
}

[b-0uzeslo1zw] .mud-table tbody td.consolidated-cell {
    font-weight: 600;
    background-color: rgba(46, 125, 70, 0.05);
}

[b-0uzeslo1zw] .mud-table tbody td.empty-amount {
    color: var(--mud-palette-text-secondary);
}

@media (max-width: 768px) {
    [b-0uzeslo1zw] .mud-table thead th,
    [b-0uzeslo1zw] .mud-table tbody td {
        padding: 8px !important;
        font-size: 0.875rem;
    }
}
/* /Components/Pages/EquityReconciliation/EquityReconciliation.razor.rz.scp.css */
/* Intent: Scoped styling for the Equity reconciliation page.
   Why:
   - Card headers use an uppercase muted caption per the PPA design.
   - Table styling follows the canonical LedgerPostings/align-table pattern.
   - Above-tolerance rows get a warm background; the selected row gets a cool highlight. */

/* Card header layout: title left, period selector / status chip right. */
.card-header-row[b-gzcmu3xyu5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

/* ::deep because the class is set on MudText (child component), whose rendered element does not
   carry this page's CSS-isolation scope attribute; the authored container div anchors the scope. */
[b-gzcmu3xyu5] .ppa-card-title {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600 !important;
    color: #6c757d !important;
    font-size: 0.78rem !important;
}

/* Canonical table styling (align-table / LedgerPostings pattern). */
[b-gzcmu3xyu5] .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-gzcmu3xyu5] .mud-table tbody td {
    padding: 8px 12px !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #dee2e6 !important;
}

[b-gzcmu3xyu5] .mud-table tbody tr:hover {
    background-color: #f8f9fa !important;
}

/* Warm background for above-tolerance rows (design: highlight rows needing attention).
   Selectors repeat .mud-table tbody tr to outrank the base striped/hover rules. */
[b-gzcmu3xyu5] .mud-table tbody tr.row-above-tolerance {
    background-color: #fff8e1 !important;
}

[b-gzcmu3xyu5] .mud-table tbody tr.row-above-tolerance:hover {
    background-color: #ffecb3 !important;
}

/* Selected-row highlight; declared after row-above-tolerance so selection wins when both apply. */
[b-gzcmu3xyu5] .mud-table tbody tr.row-selected {
    background-color: #e3f2fd !important;
}

[b-gzcmu3xyu5] .mud-table tbody tr.row-selected:hover {
    background-color: #dbeafe !important;
}

/* Drill-down card rows: label left, amount right. */
.drill-row[b-gzcmu3xyu5] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid #eceff1;
}

.drill-label[b-gzcmu3xyu5] {
    color: #495057;
}

.drill-amount[b-gzcmu3xyu5] {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    white-space: nowrap;
}

.drill-row-issue .drill-label[b-gzcmu3xyu5],
.drill-row-issue .drill-amount[b-gzcmu3xyu5] {
    color: var(--mud-palette-error);
}

.drill-row-match[b-gzcmu3xyu5] {
    border-bottom: none;
    padding-bottom: 4px;
}

/* Secondary entity line under the reserve class name when several entities are shown. */
.reserve-entity[b-gzcmu3xyu5] {
    font-size: 0.75rem;
    color: var(--mud-palette-text-secondary);
}

@media (max-width: 768px) {
    [b-gzcmu3xyu5] .mud-table thead th,
    [b-gzcmu3xyu5] .mud-table tbody td {
        padding: 8px !important;
        font-size: 0.875rem;
    }
}
/* /Components/Pages/GoodwillRollForward/GoodwillRollForward.razor.rz.scp.css */
/* Intent: canonical Yggdrasil data-table styling for the goodwill roll-forward page
   (mirrors LedgerPostings.razor.css) plus card-title and footed total-row styling. */

.gw-card-title[b-2owzaeyf1z] {
    color: #6c757d;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Table styling — targets MudTable on this page */
[b-2owzaeyf1z] .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-2owzaeyf1z] .mud-table tbody td {
    padding: 8px 12px !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #dee2e6 !important;
}

[b-2owzaeyf1z] .mud-table tbody tr:hover {
    background-color: #f8f9fa !important;
}

/* Footed total rows ("Total Roll-forward" / "Total CTA") */
[b-2owzaeyf1z] .mud-table tfoot td {
    background-color: #f8f9fa !important;
    border-top: 2px solid #dee2e6 !important;
    font-weight: 600 !important;
    padding: 8px 12px !important;
    white-space: nowrap !important;
}

@media (max-width: 768px) {
    [b-2owzaeyf1z] .mud-table thead th,
    [b-2owzaeyf1z] .mud-table tbody td,
    [b-2owzaeyf1z] .mud-table tfoot td {
        padding: 8px !important;
        font-size: 0.875rem;
    }
}
/* /Components/Pages/UntaxedReserves/UntaxedReserves.razor.rz.scp.css */
/* Untaxed Reserves page styles */

/* Card section titles — uppercase per PPA design */
.card-title[b-y95u9a2q3h] {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #495057;
}

/* Table styling — canonical LedgerPostings pattern */
[b-y95u9a2q3h] .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-y95u9a2q3h] .mud-table tbody td {
    padding: 8px 12px !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #dee2e6 !important;
}

[b-y95u9a2q3h] .mud-table tbody tr:hover {
    background-color: #f8f9fa !important;
}

/* Bold totals row */
[b-y95u9a2q3h] .mud-table tfoot td {
    padding: 8px 12px !important;
    border-top: 2px solid #dee2e6 !important;
    background-color: #f8f9fa !important;
    white-space: nowrap !important;
}

/* Selected snapshot row (drives the journal preview) */
[b-y95u9a2q3h] .selected-row td {
    background-color: #e7f1ff !important;
}

/* Amount accents */
.amount-positive[b-y95u9a2q3h] {
    color: var(--mud-palette-success);
}

.amount-negative[b-y95u9a2q3h] {
    color: var(--mud-palette-error);
}

.amount-hint[b-y95u9a2q3h] {
    color: var(--mud-palette-text-secondary);
    font-size: 0.85em;
}

/* Group equity tie-out value rows */
.tieout-row[b-y95u9a2q3h] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid #dee2e6;
}

.tieout-row:last-child[b-y95u9a2q3h] {
    border-bottom: none;
}

.tieout-label[b-y95u9a2q3h] {
    color: #495057;
}

.tieout-value[b-y95u9a2q3h] {
    font-weight: 600;
    white-space: nowrap;
}

/* Full-width tooltip root for the disabled PDF export button */
.pdf-export-wrapper[b-y95u9a2q3h]  .mud-tooltip-root {
    width: 100%;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    [b-y95u9a2q3h] .mud-table thead th,
    [b-y95u9a2q3h] .mud-table tbody td,
    [b-y95u9a2q3h] .mud-table tfoot td {
        padding: 8px !important;
        font-size: 0.875rem;
    }
}
