/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-wjte6d1ay4] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-wjte6d1ay4] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-zqvqoqnyou],
.components-reconnect-repeated-attempt-visible[b-zqvqoqnyou],
.components-reconnect-failed-visible[b-zqvqoqnyou],
.components-pause-visible[b-zqvqoqnyou],
.components-resume-failed-visible[b-zqvqoqnyou],
.components-rejoining-animation[b-zqvqoqnyou] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-zqvqoqnyou],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-zqvqoqnyou],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-zqvqoqnyou],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-zqvqoqnyou],
#components-reconnect-modal.components-reconnect-retrying[b-zqvqoqnyou],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-zqvqoqnyou],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-zqvqoqnyou],
#components-reconnect-modal.components-reconnect-failed[b-zqvqoqnyou],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-zqvqoqnyou] {
    display: block;
}


#components-reconnect-modal[b-zqvqoqnyou] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-zqvqoqnyou 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-zqvqoqnyou 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-zqvqoqnyou 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-zqvqoqnyou]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-zqvqoqnyou 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-zqvqoqnyou {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-zqvqoqnyou {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-zqvqoqnyou {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-zqvqoqnyou] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-zqvqoqnyou] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-zqvqoqnyou] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-zqvqoqnyou] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-zqvqoqnyou] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-zqvqoqnyou] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-zqvqoqnyou] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-zqvqoqnyou 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-zqvqoqnyou] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-zqvqoqnyou {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Budget.razor.rz.scp.css */
/* Collapsible budget tree (Budget.razor) - same look as the Categories page tree. */
.bud-name[b-s2y5jb6p66] { display: flex; align-items: center; gap: 4px; }

.bud-parent td[b-s2y5jb6p66] { background: var(--mud-palette-background-gray); font-weight: 600; }
.bud-parent td:first-child[b-s2y5jb6p66] { border-left: 3px solid var(--mud-palette-primary); }
.bud-child td:first-child[b-s2y5jb6p66] { border-left: 3px solid transparent; }

.bud-toggle[b-s2y5jb6p66] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    user-select: none;
}
.bud-toggle:hover[b-s2y5jb6p66] { color: var(--mud-palette-primary); }

.bud-branch[b-s2y5jb6p66] {
    font-family: Consolas, "Courier New", monospace;
    color: var(--mud-palette-text-disabled);
    white-space: pre;
    padding-left: 6px;
}

.bud-rollup[b-s2y5jb6p66] { font-weight: 400; font-size: 0.8rem; color: var(--mud-palette-text-secondary); margin-left: 6px; }
.bud-type[b-s2y5jb6p66] { font-size: 0.8rem; }
/* /Components/Pages/Categories.razor.rz.scp.css */
/* Compact category tree (Categories.razor). ::deep reaches into MudBlazor's own markup. */
.cat-table[b-45oztqk8r9]  td {
    padding-top: 1px !important;
    padding-bottom: 1px !important;
}

/* Single-line boxes: no label gap, and the underline only appears on hover or while editing. */
.cat-table[b-45oztqk8r9]  .mud-input-control { margin-top: 0; }
.cat-table[b-45oztqk8r9]  .mud-input.mud-input-underline:before { border-bottom-color: transparent; }
.cat-table[b-45oztqk8r9]  tr:hover .mud-input.mud-input-underline:before { border-bottom-color: var(--mud-palette-lines-inputs); }
.cat-table[b-45oztqk8r9]  input { padding-top: 4px; padding-bottom: 4px; }

.cat-name[b-45oztqk8r9] {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Parent categories: bold, on a shaded band, with a folder icon. */
.cat-parent td[b-45oztqk8r9] { background: var(--mud-palette-background-gray); }
.cat-parent[b-45oztqk8r9]  input { font-weight: 600; }
.cat-parent td:first-child[b-45oztqk8r9] { border-left: 3px solid var(--mud-palette-primary); }
.cat-table[b-45oztqk8r9]  .cat-folder { color: var(--mud-palette-primary); }

/* Sub-categories hang off ├ / └ connectors. */
.cat-branch[b-45oztqk8r9] {
    font-family: Consolas, "Courier New", monospace;
    color: var(--mud-palette-text-disabled);
    white-space: pre;
    padding-left: 6px;
}
.cat-child td:first-child[b-45oztqk8r9] { border-left: 3px solid transparent; }
.cat-leaf td:first-child[b-45oztqk8r9] { border-left: 3px solid transparent; }

.cat-type[b-45oztqk8r9] { font-size: 0.8rem; }

/* Parent rows: click the arrow/folder to hide or show the sub-categories. */
.cat-toggle[b-45oztqk8r9] {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}
.cat-toggle:hover[b-45oztqk8r9] { color: var(--mud-palette-primary); }
/* /Components/Phone/Capture.razor.rz.scp.css */
/* Big, thumb-sized buttons for the phone upload page. The <label> wraps a hidden file input, so
   tapping anywhere on it opens the camera / file picker. */
.capture-btn[b-paev2odhj3] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 72px;
    padding: 16px;
    border-radius: 12px;
    border: 2px solid var(--mud-palette-primary);
    color: var(--mud-palette-primary);
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.capture-primary[b-paev2odhj3] {
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
    min-height: 96px;
}

.capture-btn:active[b-paev2odhj3] {
    opacity: 0.8;
}

.capture-small[b-paev2odhj3] {
    flex: 1 1 0;
    min-height: 56px;
    font-size: 1rem;
    padding: 10px;
}

button.capture-btn[b-paev2odhj3] {
    width: 100%;
    font-family: inherit;
}

button.capture-btn:disabled[b-paev2odhj3] {
    opacity: 0.45;
    cursor: default;
}
