@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.bundle.scp.css';

/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-02bckkjowo] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-02bckkjowo] {
    flex: 1;
}

.sidebar[b-02bckkjowo] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-02bckkjowo] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-02bckkjowo]  a, .top-row[b-02bckkjowo]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-02bckkjowo]  a:hover, .top-row[b-02bckkjowo]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-02bckkjowo]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-02bckkjowo] {
        justify-content: space-between;
    }

    .top-row[b-02bckkjowo]  a, .top-row[b-02bckkjowo]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-02bckkjowo] {
        flex-direction: row;
    }

    .sidebar[b-02bckkjowo] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-02bckkjowo] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-02bckkjowo]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-02bckkjowo], article[b-02bckkjowo] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-dzd945x4gd] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-dzd945x4gd] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-dzd945x4gd] {
    font-size: 1.1rem;
}

.bi[b-dzd945x4gd] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-dzd945x4gd] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-dzd945x4gd] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-dzd945x4gd] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-dzd945x4gd] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-dzd945x4gd] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-dzd945x4gd] {
        padding-bottom: 1rem;
    }

    .nav-item[b-dzd945x4gd]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-dzd945x4gd]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-dzd945x4gd]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-dzd945x4gd] {
        display: none;
    }

    .collapse[b-dzd945x4gd] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-dzd945x4gd] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Components/CRUDPageLayoutWrapper.razor.rz.scp.css */
.page-container[b-2fo5bdp94h] {
    display: flex;
    flex-direction: column;
    height: 100%; /* Fills the LayoutArea.Main container completely */
    overflow: hidden; /* Prevents the outer container from creating double scrollbars */
}

/* Page Header keeps its exact natural size without shrinking */
.page-sub-header[b-2fo5bdp94h] {
    flex-shrink: 0;
    padding-bottom: 12px;
    background-color: var(--neutral-layer-1); /* Optional: matches Fluent background */
}

/* This container consumes all remaining vertical space and scrolls */
.page-scrollable-body[b-2fo5bdp94h] {
    flex-grow: 1;
    overflow-y: auto; /* Activates vertical scrollbar ONLY when content overflows */
    padding-right: 8px; /* Optional: leaves room for the scrollbar track */
}

.split-button[b-2fo5bdp94h] {
    background-color: #ff0000;
}

    .split-button[disabled][b-2fo5bdp94h] {
        background-color: #0C3B5E;
    }

.grid-container[b-2fo5bdp94h] {
    width: 100%;
    min-width: 100%;
    padding: 0;
    margin: 0;
}

[b-2fo5bdp94h] .fluent-data-grid-row.highlighted-row > td {
    background-color: var(--colorNeutralBackground4Selected) !important;
}

/* Optional: Slight color shift when hovering over the already selected row */
[b-2fo5bdp94h] .fluent-data-grid-row.highlighted-row:hover > td {
    background-color: var(--colorNeutralBackground3Selected) !important;
}

[b-2fo5bdp94h] .fluent-data-grid-row.highlighted-row > td.highlighted-row {
    background-color: var(--colorNeutralBackground4Selected) !important;
}

[b-2fo5bdp94h] .fluent-data-grid-row.highlighted-row:hover > td.highlighted-row {
    background-color: var(--colorNeutralBackground3Selected) !important;
}

[b-2fo5bdp94h] .actions-column {
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
}

[b-2fo5bdp94h] .row-actions-floating {
}

/* Show the buttons on hover or selection */
/::deep .fluent-data-grid-row.highlighted-row .row-actions-floating[b-2fo5bdp94h],
[b-2fo5bdp94h] .fluent-data-grid-row:hover .row-actions-floating {
    opacity: 1;
    pointer-events: auto;
}
/* /Pages/Components/DateTimeInputField.razor.rz.scp.css */
.fluent-datetime-container[b-ljypeh2i1p] {
    display: flex;
    flex-direction: column;
    font-family: var(--body-font);
    gap: 4px;
}

.fluent-datetime-label[b-ljypeh2i1p] {
    color: var(--neutral-foreground-rest);
    font-size: var(--type-ramp-base-font-size);
    font-weight: 400;
    cursor: pointer;
}

.fluent-datetime-input[b-ljypeh2i1p] {
    box-sizing: border-box;
    font-family: var(--body-font);
    font-size: var(--type-ramp-base-font-size);
    border-radius: 4px; /*calc(var(--control-corner-radius) * 1px);*/
    border: 1px solid #666666; /*calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-layer-rest);*/
    border-bottom-color: #adadad;
    background: var(--neutral-fill-input-rest);
    color: var(--neutral-foreground-rest);
    height: calc(var(--height-number) * 1px);
    padding: 4px 10px;
    outline: none;
    transition: all 0.1s ease;
}

    /* Hover State */
    .fluent-datetime-input:hover[b-ljypeh2i1p] {
        background: var(--neutral-fill-input-hover);
        border-color: var(--neutral-stroke-layer-hover);
    }

    /* Focus State */
    .fluent-datetime-input:focus-within[b-ljypeh2i1p] {
        border-color: var(--accent-fill-focus);
        box-shadow: 0 0 0 calc(var(--focus-stroke-width) * 1px) var(--accent-fill-focus) inset;
    }

    /* Disabled State */
    .fluent-datetime-input:disabled[b-ljypeh2i1p] {
        opacity: var(--disabled-opacity);
        background: var(--neutral-fill-input-disabled);
        border-color: var(--neutral-stroke-disabled);
        cursor: not-allowed;
    }

    /* Customizing the native picker calendar icon color to match theme text */
    .fluent-datetime-input[b-ljypeh2i1p]::-webkit-calendar-picker-indicator {
        filter: var(--main-orientation, invert(0)); /* Adjusts icon visibility roughly based on theme if needed */
        cursor: pointer;
    }
/* /Pages/Components/DateTimeOffsetInputField.razor.rz.scp.css */
.fluent-datetime-container[b-0fn1wpw9y1] {
    display: flex;
    flex-direction: column;
    font-family: var(--body-font);
    gap: 4px;
}

.fluent-datetime-label[b-0fn1wpw9y1] {
    color: var(--neutral-foreground-rest);
    font-size: var(--type-ramp-base-font-size);
    font-weight: 400;
    cursor: pointer;
}

.fluent-datetime-input[b-0fn1wpw9y1] {
    box-sizing: border-box;
    font-family: var(--body-font);
    font-size: var(--type-ramp-base-font-size);
    border-radius: 4px; /*calc(var(--control-corner-radius) * 1px);*/
    border: 1px solid #666666; /*calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-layer-rest);*/
    border-bottom-color: #adadad;
    background: var(--neutral-fill-input-rest);
    color: var(--neutral-foreground-rest);
    height: calc(var(--height-number) * 1px);
    padding: 4px 10px;
    outline: none;
    transition: all 0.1s ease;
}

    /* Hover State */
    .fluent-datetime-input:hover[b-0fn1wpw9y1] {
        background: var(--neutral-fill-input-hover);
        border-color: var(--neutral-stroke-layer-hover);
    }

    /* Focus State */
    .fluent-datetime-input:focus-within[b-0fn1wpw9y1] {
        border-color: var(--accent-fill-focus);
        box-shadow: 0 0 0 calc(var(--focus-stroke-width) * 1px) var(--accent-fill-focus) inset;
    }

    /* Disabled State */
    .fluent-datetime-input:disabled[b-0fn1wpw9y1] {
        opacity: var(--disabled-opacity);
        background: var(--neutral-fill-input-disabled);
        border-color: var(--neutral-stroke-disabled);
        cursor: not-allowed;
    }

    /* Customizing the native picker calendar icon color to match theme text */
    .fluent-datetime-input[b-0fn1wpw9y1]::-webkit-calendar-picker-indicator {
        filter: var(--main-orientation, invert(0)); /* Adjusts icon visibility roughly based on theme if needed */
        cursor: pointer;
    }
/* /Pages/Components/TransactionCategorySelect.razor.rz.scp.css */
.component-wrapper[b-4gasn2zqe7] {
    position: relative;
    width: 100%;
    padding: 0px;
    margin: 0px;
}

.text-input-wrapper[b-4gasn2zqe7] {
    width: 100%;
    cursor: pointer;
    padding: 0px;
    margin: 0px;
}

.tree-dropdown[b-4gasn2zqe7] {
    position: absolute;
    top: 100%; /* Places it directly underneath the input box */
    left: 0;
    width: 100%; /* Stretches it to match the input's width exactly */
    max-height: 300px; /* Restricts height and forces a vertical scrollbar if long */
    overflow-y: auto;
    z-index: 1000; /* Forces it to float on top of other form controls */
    background-color: var(--colorNeutralBackground1); /* Matches Fluent UI theme backgrounds */
    border: 1px solid var(--neutral-stroke-rest, #ccc);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: -15px;
}

.tree-text-wrapper[b-4gasn2zqe7] {
    display: block;
    width: 100%;
    cursor: pointer;
    padding: 2px 8px;
    margin-left: 4px;
    border-radius: 4px;
    transition: background-color 0.1s ease, color 0.1s ease;
}

    .tree-text-wrapper:hover[b-4gasn2zqe7] {
        background-color: var(--neutral-fill-hover, rgba(0, 0, 0, 0.04));
    }

    .tree-text-wrapper.is-selected[b-4gasn2zqe7] {
        background-color: var(--accent-fill-rest, #0078d4);
        color: var(--foreground-on-accent-rest, #ffffff);
    }
/* /Pages/Components/TransactionEntitySelect.razor.rz.scp.css */
.component-wrapper[b-s689o02ym1] {
    width: 100%;
}

.label[b-s689o02ym1] {
}

.stack[b-s689o02ym1] {
    margin: 0px;
}

.select-wrapper[b-s689o02ym1] {
    width: 100%;
}

.select[b-s689o02ym1] {
    width: 100%;
}

.text-input-wrapper[b-s689o02ym1] {
    width: 100%;
}

.text-input[b-s689o02ym1] {
    width: 100%;
}
/* /Pages/configuration/TransactionCategories.razor.rz.scp.css */

/*::deep fluent-tree-item::part(content-region),
::deep fluent-tree-item[selected]::part(content-region),
::deep fluent-tree-item[active]::part(content-region),
::deep fluent-tree-item:focus-within::part(content-region) {
    background: transparent !important;
    background-color: transparent !important;
}

::deep fluent-tree-item::part(content-region) {
    padding-inline-start: 0 !important;
}
*/
.tree-text-wrapper[b-ktot8j3gbb] {
    display: block;
    width: 100%;
    cursor: pointer;
    padding: 2px 8px;
    margin-left: 4px;
    border-radius: 4px;
    transition: background-color 0.1s ease, color 0.1s ease;
}

    .tree-text-wrapper:hover[b-ktot8j3gbb] {
        background-color: var(--neutral-fill-hover, rgba(0, 0, 0, 0.04));
    }

    .tree-text-wrapper.is-selected[b-ktot8j3gbb] {
        background-color: var(--accent-fill-rest, #0078d4);
        color: var(--foreground-on-accent-rest, #ffffff);
    }

.tree-scroll-container[b-ktot8j3gbb] {
    flex: 0 0 400px; /* Fixed or proportional width for your tree column */
    height: 100%; /* Force it to match the FluentStack container height */
    overflow-y: auto; /* Enable vertical scrollbar when contents overflow */
    overflow-x: hidden; /* Prevent horizontal scrolling layout issues */
    border-right: 1px solid var(--neutral-stroke-rest, #e0e0e0);
    padding-right: 8px;
}

/* 2. Optional: Ensure the underlying Web Component stretches naturally inside your viewport wrapper */
[b-ktot8j3gbb] fluent-tree-view {
    height: max-content;
    display: block;
}

/* 3. Allow your edit form to claim the remaining screen space */
.form-container[b-ktot8j3gbb] {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 16px;
}
/* /Pages/financial/SMSMessages.razor.rz.scp.css */
.hidden[b-bwpe1086xv] {
    display: none !important;
}

[b-bwpe1086xv] tr.status-Unprocessed td {
    color: #9CA3AF !important;
}

[b-bwpe1086xv] tr.status-Success td {
    color: #FFFFFF !important; /* Muted Slate Gray for Processed Successfully (1) */
}

[b-bwpe1086xv] tr.status-Failed td {
    color: #EF4444 !important; /* Red for Failed (0) */
}

[b-bwpe1086xv] tr.processing-row {
    background-color: rgba(30, 58, 138, 0.35) !important;
}

    [b-bwpe1086xv] tr.processing-row td {
        color: #60A5FA !important;
    }

[b-bwpe1086xv] table.fluent-data-grid thead th,
[b-bwpe1086xv] table.fluent-data-grid tbody td {
    font-size: 0.95em;
    padding: 0 6px;
}
/* /Pages/financial/Transactions.razor.rz.scp.css */
.page-container[b-zzd00gq4cd] {
    display: flex;
    flex-direction: column;
    height: 100%; /* Fills the LayoutArea.Main container completely */
    overflow: hidden; /* Prevents the outer container from creating double scrollbars */
}

/* Page Header keeps its exact natural size without shrinking */
.page-sub-header[b-zzd00gq4cd] {
    flex-shrink: 0;
    padding-bottom: 12px;
    background-color: var(--neutral-layer-1); /* Optional: matches Fluent background */
}

/* This container consumes all remaining vertical space and scrolls */
.page-scrollable-body[b-zzd00gq4cd] {
    flex-grow: 1;
    overflow-y: auto; /* Activates vertical scrollbar ONLY when content overflows */
    padding-right: 8px; /* Optional: leaves room for the scrollbar track */
}

.split-button[b-zzd00gq4cd] {
    background-color: #ff0000;
}

    .split-button[disabled][b-zzd00gq4cd] {
        background-color: #0C3B5E;
    }

[b-zzd00gq4cd] .fluent-data-grid-row.status-Draft > td {
    color: #F59E0B;
}

[b-zzd00gq4cd] .fluent-data-grid-row.status-Posted > td {
    color: #9CA3AF;
}

[b-zzd00gq4cd] .stretched-input {
    width: 100% !important;
    min-width: 100% !important;
}

.hidden[b-zzd00gq4cd] {
    display: none;
}
/* /Pages/SMSPage.razor.rz.scp.css */
/* Custom icon rotation animation replacing Tailwind animate-spin */
.icon-spin[b-fzs7iuv44j] {
    animation: spin-b-fzs7iuv44j 1s linear infinite !important;
}

@keyframes spin-b-fzs7iuv44j {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Target raw SVG icons inside the component scope if explicit width/height attributes are omitted */
fluent-button svg[b-fzs7iuv44j] {
    color: inherit;
    vertical-align: middle;
}

/* Status specific text coloring for dark theme based on StatusId */
[b-fzs7iuv44j] tr.status-Pending td {
    color: #9CA3AF !important;
}

[b-fzs7iuv44j] tr.status-Success td {
    color: #FFFFFF !important; /* Muted Slate Gray for Processed Successfully (1) */
}

[b-fzs7iuv44j] tr.status-Failed td {
    color: #EF4444 !important; /* Red for Failed (0) */
}

/* Active processing row highlight */
[b-fzs7iuv44j] tr.processing-row {
    background-color: rgba(30, 58, 138, 0.35) !important;
}

    [b-fzs7iuv44j] tr.processing-row td {
        color: #60A5FA !important;
    }

/* Badge styles */
.status-badge-Pending[b-fzs7iuv44j] {
    background-color: rgba(245, 158, 11, 0.15);
    color: #FBBF24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-badge-Success[b-fzs7iuv44j] {
    background-color: rgba(16, 185, 129, 0.15);
    color: #34D399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge-Failed[b-fzs7iuv44j] {
    background-color: rgba(239, 68, 68, 0.15);
    color: #FCA5A5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}
