/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-ickbvyztv8] {
    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-ickbvyztv8] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
/* Zichtbaarheid per verbindingstoestand: eerste poging toont alleen het
   pulserende beeldmerk; tekst verschijnt pas bij herhaalde pogingen. */
.components-reconnect-repeated-attempt-visible[b-7kkdzkk0xj],
.components-reconnect-failed-visible[b-7kkdzkk0xj],
.components-pause-visible[b-7kkdzkk0xj],
.components-resume-failed-visible[b-7kkdzkk0xj],
.components-rejoining-animation[b-7kkdzkk0xj] {
    display: none;
}

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

/* De uitleg verschijnt pas als het écht even duurt (~5 s inclusief de
   eerste poging): daarvóór is tekst alleen maar reden tot argwaan. */
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-7kkdzkk0xj] {
    display: block;
    opacity: 0;
    animation: vb-reveal-late-b-7kkdzkk0xj 0.4s ease 4s forwards;
}

@keyframes vb-reveal-late-b-7kkdzkk0xj {
    to {
        opacity: 1;
    }
}

#components-reconnect-modal[b-7kkdzkk0xj] {
    background-color: #ffffff;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(16, 38, 30, 0.28);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-7kkdzkk0xj 0.5s both;
    &[open]

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

}

#components-reconnect-modal[b-7kkdzkk0xj]::backdrop {
    background-color: rgba(14, 35, 27, 0.45);
    animation: components-reconnect-modal-fadeInOpacity-b-7kkdzkk0xj 0.5s ease-in-out;
    opacity: 1;
}

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

#components-reconnect-modal p[b-7kkdzkk0xj] {
    margin: 0;
    text-align: center;
    color: #3e4c59;
}

#components-reconnect-modal button[b-7kkdzkk0xj] {
    border: 0;
    background: linear-gradient(180deg, var(--brand-500, #238b63), var(--brand-600, #1d6a4e));
    color: #ffffff;
    padding: 9px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 3px rgba(0, 0, 0, 0.2);
}

    #components-reconnect-modal button:hover[b-7kkdzkk0xj] {
        filter: brightness(1.06);
    }

    #components-reconnect-modal button:active[b-7kkdzkk0xj] {
        filter: brightness(0.96);
    }

/* vraagBas-beeldmerk dat rustig pulseert tijdens het herverbinden. */
.components-rejoining-animation[b-7kkdzkk0xj] {
    width: 64px;
    height: 64px;
    margin: 0 auto;
}

    .components-rejoining-animation img[b-7kkdzkk0xj] {
        width: 100%;
        height: 100%;
        border-radius: 15px;
        animation: vb-reconnect-pulse-b-7kkdzkk0xj 1.6s ease-in-out infinite;
    }

@keyframes vb-reconnect-pulse-b-7kkdzkk0xj {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(0.86);
        opacity: 0.55;
    }
}
/* /Components/MoneyFlow.razor.rz.scp.css */
/* Hybride geldmonitor: grid met drie kolommen (inkomen | balk | bestemmingen).
   Tekst is HTML en kan dus nooit overlappen of afgekapt worden; de linten
   (SVG) worden client-side tussen de echte posities getekend. */
.mf2[b-bokdnoc6yj] {
    position: relative;
    display: grid;
    grid-template-columns: minmax(120px, 1fr) 70px minmax(230px, 2.2fr);
    column-gap: 10px;
    align-items: center;
    max-width: 880px;
    margin: 0 auto;
}

.mf2-ribbons[b-bokdnoc6yj] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
    z-index: 0;
}

.mf2-col[b-bokdnoc6yj] { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; }
.mf2-in[b-bokdnoc6yj] { align-items: center; justify-content: center; }
.mf2-out[b-bokdnoc6yj] { justify-content: center; }

.mf2-mid[b-bokdnoc6yj] {
    position: relative; z-index: 1; align-self: stretch;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.mf2-bar[b-bokdnoc6yj] {
    width: 16px; height: 90px; border-radius: 8px;
    background: linear-gradient(180deg, #2a9d72, #1d6a4e);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 2px 6px rgba(16, 38, 30, 0.3);
    transition: height 200ms ease;
}
.mf2-bar-label[b-bokdnoc6yj] { font-size: 0.82rem; font-weight: 700; color: #1f2933; }

/* Knopen: icoonbol + tekst. Horizontaal in de rechterkolom, verticaal links. */
.mf2-node[b-bokdnoc6yj] {
    display: flex; align-items: center; gap: 10px;
    padding: 4px 8px; border-radius: 12px;
    background: none; border: none; font: inherit; text-align: left;
    color: inherit; text-decoration: none; cursor: pointer;
    transition: transform 140ms ease, background 140ms ease;
}
.mf2-node:hover[b-bokdnoc6yj] { transform: translateY(-1px); background: rgba(29, 106, 78, 0.06); }
.mf2-node-v[b-bokdnoc6yj] { flex-direction: column; gap: 6px; text-align: center; }
.mf2-node-v .mf2-text[b-bokdnoc6yj] { align-items: center; }
.mf2-node-sub[b-bokdnoc6yj] { margin-left: 14px; }

.mf2-ico[b-bokdnoc6yj] {
    position: relative;
    width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
    background: #ffffff;
    border: 1.5px solid var(--hairline, #e4e7eb);
    box-shadow: 0 2px 4px rgba(16, 38, 30, 0.12);
    display: inline-flex; align-items: center; justify-content: center;
}
.mf2-node:hover .mf2-ico[b-bokdnoc6yj] { border-color: #238b63; }
.mf2-node-sm .mf2-ico[b-bokdnoc6yj] { width: 38px; height: 38px; }
.mf2-svgicon[b-bokdnoc6yj] { width: 24px; height: 26px; }
.mf2-node-sm .mf2-svgicon[b-bokdnoc6yj] { width: 20px; height: 22px; }
.mf2-icon[b-bokdnoc6yj] { stroke: #1d6a4e; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.mf2-fill-pos[b-bokdnoc6yj] { fill: #238b63; }
.mf2-fill-warn[b-bokdnoc6yj] { fill: #d97706; }

.mf2-text[b-bokdnoc6yj] { display: flex; flex-direction: column; min-width: 0; }
.mf2-label[b-bokdnoc6yj] { font-weight: 600; font-size: 0.85rem; color: #3e4c59; line-height: 1.25; }
.mf2-sub[b-bokdnoc6yj] { font-size: 0.78rem; color: #7b8794; font-variant-numeric: tabular-nums; line-height: 1.3; }
.mf2-sub.pos[b-bokdnoc6yj] { color: #1d6a4e; font-weight: 600; }
.mf2-sub .neg[b-bokdnoc6yj] { color: #b42318; }

/* Uitklap-badge op de icoonbol; in een groepskop staat hij inline. */
.mf2-chip[b-bokdnoc6yj] {
    position: absolute; right: -5px; bottom: -5px;
    width: 18px; height: 18px; border-radius: 50%;
    background: #ffffff; border: 1px solid #cbd2d9; color: #1d6a4e;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.78rem; font-weight: 700; line-height: 1;
    box-shadow: 0 1px 2px rgba(16, 38, 30, 0.2);
}
.mf2-chip-inline[b-bokdnoc6yj] { position: static; flex-shrink: 0; }
.mf2-grouphead[b-bokdnoc6yj] {
    display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
    background: none; border: none; cursor: pointer; padding: 2px 8px;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
    color: #7b8794;
}
.mf2-in .mf2-grouphead[b-bokdnoc6yj] { align-self: center; }

/* Linten en richtingsbolletjes (door JS aangemaakt, dus via ::deep). */
.mf2[b-bokdnoc6yj]  .mf2-flow { fill: none; stroke-linecap: round; opacity: 0.35; }
.mf2[b-bokdnoc6yj]  .mf2-flow.flow-pos { stroke: #238b63; }
.mf2[b-bokdnoc6yj]  .mf2-flow.flow-ink { stroke: #7b8794; }
.mf2[b-bokdnoc6yj]  .mf2-flow.flow-warn { stroke: #d97706; }
.mf2[b-bokdnoc6yj]  .mf2-dot { opacity: 0.45; }
.mf2[b-bokdnoc6yj]  .mf2-dot.flow-pos { fill: #238b63; }
.mf2[b-bokdnoc6yj]  .mf2-dot.flow-ink { fill: #52606d; }
.mf2[b-bokdnoc6yj]  .mf2-dot.flow-warn { fill: #d97706; }

@media (prefers-reduced-motion: reduce) {
    .mf2[b-bokdnoc6yj]  .mf2-dot { display: none; }
    .mf2[b-bokdnoc6yj]  .mf2-flow { opacity: 0.5; }
}

/* Mobiel: geen sankey forceren op een smal scherm. De knopen worden een
   rijke lijst (zelfde component, zelfde links), balk en linten verdwijnen. */
@media (max-width: 700px) {
    .mf2[b-bokdnoc6yj] { grid-template-columns: 1fr; row-gap: 4px; }
    .mf2-ribbons[b-bokdnoc6yj], .mf2-mid[b-bokdnoc6yj] { display: none; }
    .mf2-col[b-bokdnoc6yj] { gap: 4px; }
    .mf2-node-v[b-bokdnoc6yj] { flex-direction: row; text-align: left; }
    .mf2-node-v .mf2-text[b-bokdnoc6yj] { align-items: flex-start; }
    .mf2-node[b-bokdnoc6yj] { padding: 8px 6px; border-radius: 10px; }
    .mf2-node + .mf2-node[b-bokdnoc6yj] { border-top: 1px solid var(--hairline, #e4e7eb); border-radius: 0 0 10px 10px; }
    .mf2-in[b-bokdnoc6yj] { align-items: stretch; border-bottom: 2px solid var(--hairline, #e4e7eb); padding-bottom: 4px; margin-bottom: 4px; }
    .mf2-label[b-bokdnoc6yj] { font-size: 0.95rem; }
    .mf2-sub[b-bokdnoc6yj] { font-size: 0.85rem; }
}
