/* /Components/Layout/LoginLayout.razor.rz.scp.css */
.login-page[b-vcygxodbdu] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sidebar);
    padding: 24px;
}

#blazor-error-ui[b-vcygxodbdu] {
    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-vcygxodbdu] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ===== App Root ===== */

.app-root[b-9hl5o3ing3] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    min-height: 0;
}

/* ===== Header ===== */

.main-header[b-9hl5o3ing3] {
    height: 68px;
    z-index: 20;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
    flex-shrink: 0;
    position: relative;
}

.header-logo[b-9hl5o3ing3] {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.header-logo-text[b-9hl5o3ing3] {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.header-title[b-9hl5o3ing3] {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    white-space: nowrap;
}

.header-spacer[b-9hl5o3ing3] { flex: 1; }

.header-user[b-9hl5o3ing3] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.375rem 0.5rem;
    border-radius: var(--radius);
    position: relative;
    user-select: none;
}

.header-user:hover[b-9hl5o3ing3] { background-color: var(--muted); }

.header-user-name[b-9hl5o3ing3] {
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
}

.dropdown-overlay[b-9hl5o3ing3] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 49;
}

.header-dropdown[b-9hl5o3ing3] {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.25rem;
    background-color: var(--popover);
    color: var(--popover-foreground);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-width: 160px;
    z-index: 50;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
}

.header-dropdown-item[b-9hl5o3ing3] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: var(--foreground);
    text-decoration: none;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-weight: var(--font-weight-normal);
    transition: background-color 0.15s ease;
}

.header-dropdown-item:hover[b-9hl5o3ing3] {
    background-color: var(--muted);
    text-decoration: none;
}

/* ===== Layout with sidebar ===== */

[b-9hl5o3ing3] .layout {
    display: flex;
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
}

[b-9hl5o3ing3] .sidebar {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.14);
}

.sidebar-header[b-9hl5o3ing3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background-color: #ffffff;
    border-bottom: 1px solid var(--sidebar-border);
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    flex-shrink: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.sidebar-header-collapsed[b-9hl5o3ing3] {
    justify-content: center;
    padding: 1rem 0.5rem;
}

.sidebar-header-collapsed .sidebar-header-label[b-9hl5o3ing3] { display: none; }

.sidebar-header-label[b-9hl5o3ing3] {
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: var(--foreground);
}

.sidebar-toggle-btn[b-9hl5o3ing3] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    background: none;
    color: var(--muted-foreground);
    cursor: pointer;
    border-radius: var(--radius);
    transition: background-color 0.15s ease;
    flex-shrink: 0;
}

.sidebar-toggle-btn:hover[b-9hl5o3ing3] {
    background-color: var(--muted);
    color: var(--foreground);
}

.sidebar-nav[b-9hl5o3ing3] { flex: 1; overflow-y: auto; }

.sidebar-app-info[b-9hl5o3ing3] {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--sidebar-border);
    font-size: 0.6875rem;
    color: var(--sidebar-foreground);
    opacity: 0.4;
    line-height: 1.6;
    flex-shrink: 0;
    overflow: hidden;
}

.sidebar-text[b-9hl5o3ing3] {
    white-space: nowrap;
    overflow: hidden;
    transition: opacity 0.1s ease;
}

.sidebar-resize-handle[b-9hl5o3ing3] {
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    cursor: col-resize;
    z-index: 15;
    transition: background-color 0.15s ease;
}

.sidebar-resize-handle:hover[b-9hl5o3ing3] {
    background-color: rgba(12, 93, 166, 0.5);
}

/* ===== Main Content ===== */

.main-content[b-9hl5o3ing3] {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    min-height: 0;
}

[b-9hl5o3ing3] .action-bar {
    z-index: 5;
    flex-shrink: 0;
}

.action-bar-title[b-9hl5o3ing3] {
    font-size: 1.125rem;
    font-weight: var(--font-weight-medium);
    white-space: nowrap;
    border: none;
    outline: none;
    margin: 0;
    padding: 0;
}

.action-bar-spacer[b-9hl5o3ing3] { flex: 1; }

[b-9hl5o3ing3] .content-area {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    position: relative;
}

[b-9hl5o3ing3] .content-area > .page-content {
    padding: 1.5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.nav-menu[b-btstpsd6i4] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    padding: 0.5rem;
}

[b-btstpsd6i4] .nav-icon {
    flex-shrink: 0;
}

.nav-link-text[b-btstpsd6i4] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 1;
    transition: opacity 0.15s ease;
}

.nav-collapsed .nav-link-text[b-btstpsd6i4] {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

.nav-collapsed[b-btstpsd6i4]  .nav-link {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
    gap: 0;
}

.nav-separator[b-btstpsd6i4] {
    height: 1px;
    background-color: var(--sidebar-border);
    margin: 0.5rem 1rem;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-9wypvbbn24],
.components-reconnect-repeated-attempt-visible[b-9wypvbbn24],
.components-reconnect-failed-visible[b-9wypvbbn24],
.components-pause-visible[b-9wypvbbn24],
.components-resume-failed-visible[b-9wypvbbn24],
.components-rejoining-animation[b-9wypvbbn24] {
    display: none;
}

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


#components-reconnect-modal[b-9wypvbbn24] {
    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-9wypvbbn24 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-9wypvbbn24 {
    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/Account.razor.rz.scp.css */
.settings-content[b-uo66xh8vir] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.button-row[b-uo66xh8vir] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
/* /Components/Pages/Activities.razor.rz.scp.css */
.transactions-content[b-po8nqcghr3] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 1600px;
    margin: 0 auto;
}

.card-body[b-po8nqcghr3] {
    padding: 0;
}

/* Header-Zellen: Titel über Filter */
[b-po8nqcghr3] .data-table thead th {
    vertical-align: top;
}

[b-po8nqcghr3] .data-table thead th > * {
    display: block;
}

.th-label[b-po8nqcghr3] {
    white-space: nowrap;
    margin-bottom: 0.25rem;
}

.sortable[b-po8nqcghr3] {
    cursor: pointer;
    user-select: none;
    display: inline-flex !important;
    align-items: center;
}

.sortable:hover[b-po8nqcghr3] { color: var(--primary); }

.th-sorted .th-label[b-po8nqcghr3] {
    color: var(--primary);
    font-weight: 600;
}

/* Spaltenbreiten */
[b-po8nqcghr3] .data-table { table-layout: fixed; }
[b-po8nqcghr3] .data-table thead th:nth-child(1) { width: 140px; }   /* Datum */
[b-po8nqcghr3] .data-table thead th:nth-child(2) { width: auto; }    /* Titel */
[b-po8nqcghr3] .data-table thead th:nth-child(3) { width: 260px; }   /* Typ */
[b-po8nqcghr3] .data-table thead th:nth-child(4) { width: 100px; }   /* Docs */
[b-po8nqcghr3] .data-table thead th:nth-child(5) { width: 48px; text-align: center; }

[b-po8nqcghr3] .icon-sort {
    width: 12px;
    height: 12px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.25rem;
}

[b-po8nqcghr3] .icon-sort-inactive { opacity: 0.25; }

.sortable:hover[b-po8nqcghr3]  .icon-sort-inactive { opacity: 0.5; }

.th-filter-input[b-po8nqcghr3] {
    width: 100%;
    min-width: 0;
    padding: 0.375rem 0.5rem;
    font-size: 0.8125rem;
    height: 34px;
    box-sizing: border-box;
    border: 1px solid color-mix(in srgb, var(--border) 100%, #000 10%);
    background-color: var(--card);
    outline: none;
    font-family: inherit;
}

.th-filter-input[b-po8nqcghr3]::placeholder { color: #c0c0c0; }

.th-filter-input:focus[b-po8nqcghr3] { border-color: var(--primary); }

.th-filter-input.is-active[b-po8nqcghr3],
.th-filter-select.is-active[b-po8nqcghr3] {
    border-color: var(--primary);
    background-color: color-mix(in srgb, var(--primary) 5%, var(--card));
}

.th-filter-select[b-po8nqcghr3] {
    width: 100%;
    min-width: 0;
    padding: 0.375rem 1.5rem 0.375rem 0.5rem;
    font-size: 0.8125rem;
    height: 34px;
    box-sizing: border-box;
    border: 1px solid color-mix(in srgb, var(--border) 100%, #000 10%);
    background-color: var(--card);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.375rem center;
    background-size: 12px;
    cursor: pointer;
    font-family: inherit;
}

.th-filter-select:focus[b-po8nqcghr3] { border-color: var(--primary); }

.th-filter-select.is-placeholder[b-po8nqcghr3] { color: #c0c0c0; }
.th-filter-select option[b-po8nqcghr3]          { color: var(--foreground); }

/* Operator-Badge (≥ ≤ =) */
.th-filter-operator[b-po8nqcghr3] {
    display: flex !important;
    align-items: stretch;
    gap: 0;
    cursor: default;
}

.operator-badge[b-po8nqcghr3] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    min-width: 34px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    border: 1px solid color-mix(in srgb, var(--border) 100%, #000 10%);
    background: var(--card);
    cursor: pointer;
    flex-shrink: 0;
}

.operator-badge:hover[b-po8nqcghr3] { background: var(--muted); }

.th-filter-number[b-po8nqcghr3] { flex: 1; }

/* Zellen */
[b-po8nqcghr3] .data-table td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

[b-po8nqcghr3] .data-table td:last-child {
    overflow: visible;
    text-overflow: clip;
    text-align: center;
    color: var(--muted-foreground);
}

.clickable-row[b-po8nqcghr3] { cursor: pointer; }

.cell-date[b-po8nqcghr3] {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 0.8125rem;
    color: var(--muted-foreground);
}

.asset-with-icon[b-po8nqcghr3] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    min-width: 0;
}

.asset-text[b-po8nqcghr3] {
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.asset-title[b-po8nqcghr3] {
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
}

.asset-subtitle[b-po8nqcghr3] {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    overflow: hidden;
    text-overflow: ellipsis;
}

.amount-positive[b-po8nqcghr3] {
    color: var(--success);
    font-weight: 500;
}

.amount-negative[b-po8nqcghr3] {
    color: var(--foreground);
    font-weight: 500;
}

/* Pagination */
.pagination-container[b-po8nqcghr3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.pagination-left[b-po8nqcghr3] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
}

.page-size-select[b-po8nqcghr3] {
    width: auto;
    min-width: 60px;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.pagination-ellipsis[b-po8nqcghr3] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    color: var(--muted-foreground);
}
/* /Components/Pages/Documents.razor.rz.scp.css */
.card-body[b-0rh6nfaziu] {
    padding: 0;
}

/* Spaltenbreiten */
[b-0rh6nfaziu] .data-table thead th:nth-child(1) { width: 120px; }   /* Datum */
[b-0rh6nfaziu] .data-table thead th:nth-child(2) { width: auto; }    /* Titel */
[b-0rh6nfaziu] .data-table thead th:nth-child(3) { width: 220px; }   /* Typ */
[b-0rh6nfaziu] .data-table thead th:nth-child(4) { width: 280px; }   /* Transaktion */
[b-0rh6nfaziu] .data-table thead th:nth-child(5) { width: 100px; text-align: right; }  /* Groesse */
[b-0rh6nfaziu] .data-table thead th:nth-child(6) { width: 90px; text-align: center; }  /* Download */

[b-0rh6nfaziu] .data-table td:nth-child(5) { text-align: right; }
[b-0rh6nfaziu] .data-table td:nth-child(6) { text-align: center; overflow: visible; }

.tx-link[b-0rh6nfaziu] {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.875rem;
}

.tx-link:hover[b-0rh6nfaziu] {
    text-decoration: underline;
    text-underline-offset: 3px;
}
/* /Components/Pages/Home.razor.rz.scp.css */
.page-content[b-nhm58ai5ep] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.session-card[b-nhm58ai5ep] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--border);
    border-left-width: 4px;
    background: var(--card);
}

.session-card.session-ok[b-nhm58ai5ep]       { border-left-color: var(--success); }
.session-card.session-warn[b-nhm58ai5ep]     { border-left-color: #f59e0b; }
.session-card.session-expired[b-nhm58ai5ep]  { border-left-color: var(--destructive); }
.session-card.session-missing[b-nhm58ai5ep]  { border-left-color: var(--muted-foreground); }

.session-icon[b-nhm58ai5ep] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: var(--muted-foreground);
}

.session-ok .session-icon[b-nhm58ai5ep]      { color: var(--success); }
.session-warn .session-icon[b-nhm58ai5ep]    { color: #f59e0b; }
.session-expired .session-icon[b-nhm58ai5ep] { color: var(--destructive); }

.session-text[b-nhm58ai5ep] {
    flex: 1;
    min-width: 0;
}

.session-title[b-nhm58ai5ep] {
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
}

.session-subtitle[b-nhm58ai5ep] {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-top: 0.125rem;
}

.btn-small[b-nhm58ai5ep] {
    padding: 0.3125rem 0.625rem;
    font-size: 0.8125rem;
}

.pdf-modal-overlay[b-nhm58ai5ep] {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 100;
}

.tr-login-modal[b-nhm58ai5ep] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 420px;
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 101;
    display: flex;
    flex-direction: column;
}

.tr-login-modal-header[b-nhm58ai5ep] {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    font-weight: var(--font-weight-medium);
    font-size: 1rem;
}

.tr-login-modal-body[b-nhm58ai5ep] {
    padding: 1.5rem;
}

.tr-login-info[b-nhm58ai5ep] {
    background: var(--muted);
    padding: 0.75rem 1rem;
    border-left: 3px solid var(--primary);
}

.tr-login-info .mono[b-nhm58ai5ep] {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    margin-top: 0.25rem;
}

.tan-input[b-nhm58ai5ep] {
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 0.75rem;
    font-weight: 600;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.alert[b-nhm58ai5ep] {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    border: 1px solid;
}

.alert-error[b-nhm58ai5ep] {
    border-color: var(--destructive);
    background-color: #fee2e2;
    color: #991b1b;
}

.alert-info[b-nhm58ai5ep] {
    border-color: var(--primary);
    background-color: color-mix(in srgb, var(--primary) 10%, transparent);
    color: var(--primary);
}

.btn-block[b-nhm58ai5ep] {
    width: 100%;
}

.stats-grid[b-nhm58ai5ep] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.stat-card[b-nhm58ai5ep] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background-color: var(--card);
    border: 1px solid var(--border);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

a.stat-card:hover[b-nhm58ai5ep] {
    border-color: var(--primary);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
    text-decoration: none;
}

.stat-card-icon[b-nhm58ai5ep] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: color-mix(in srgb, var(--primary) 10%, transparent);
    color: var(--primary);
    flex-shrink: 0;
}

.stat-card-value[b-nhm58ai5ep] {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--foreground);
}

.stat-card-label[b-nhm58ai5ep] {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-top: 0.25rem;
}

.import-progress-card .card-body[b-nhm58ai5ep] {
    padding: 1rem 1.25rem;
}

.import-status[b-nhm58ai5ep] {
    font-size: 0.875rem;
    margin-bottom: 0.625rem;
    font-weight: var(--font-weight-medium);
}

.progress-bar-container[b-nhm58ai5ep] {
    height: 8px;
    background: var(--border);
    overflow: hidden;
    position: relative;
}

.progress-bar[b-nhm58ai5ep] {
    height: 100%;
    background: var(--primary);
    transition: width 300ms ease-out;
}

.progress-bar-indeterminate[b-nhm58ai5ep] {
    width: 30%;
    animation: indeterminate-b-nhm58ai5ep 1.5s linear infinite;
}

@keyframes indeterminate-b-nhm58ai5ep {
    0%   { margin-left: -30%; }
    100% { margin-left: 100%; }
}

.progress-text[b-nhm58ai5ep] {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-top: 0.375rem;
    text-align: right;
}

.import-result.is-error[b-nhm58ai5ep] {
    border-color: var(--destructive);
    background-color: #fee2e2;
    color: #991b1b;
}

.import-result.is-success[b-nhm58ai5ep] {
    border-color: var(--success);
    background-color: #dcfce7;
    color: #166534;
}

.traceback[b-nhm58ai5ep] {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 0.75rem;
    padding: 0.75rem;
    background: #1f1f1f;
    color: #f5f5f5;
    overflow-x: auto;
    white-space: pre-wrap;
    margin-top: 0.5rem;
}

.empty-state[b-nhm58ai5ep] {
    text-align: center;
}

.empty-state .card-body[b-nhm58ai5ep] {
    padding: 2rem 1rem;
}

/* /Components/Pages/Login.razor.rz.scp.css */
/* Login-Styles sind in wwwroot/app.css global, damit SetFallback + TrLoginModal
   denselben Look bekommen. Diese Datei bleibt leer, damit das Blazor-Scope-System
   keinen Konflikt macht. */
/* /Components/Pages/Settings.razor.rz.scp.css */
.settings-content[b-anaq94187s] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.settings-grid[b-anaq94187s] {
    display: grid;
    grid-template-columns: minmax(180px, 220px) 1fr;
    gap: 0.5rem 1rem;
    margin: 0;
}

.settings-grid dt[b-anaq94187s] {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    font-weight: var(--font-weight-normal);
}

.settings-grid dd[b-anaq94187s] {
    font-size: 0.875rem;
    margin: 0;
    font-weight: var(--font-weight-medium);
}

.settings-grid .mono[b-anaq94187s] {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 0.75rem;
}

.button-row[b-anaq94187s] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
/* /Components/Pages/TransactionDetail.razor.rz.scp.css */
.detail-content[b-wqltavu3ny] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header-Card */
.detail-header[b-wqltavu3ny] {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.detail-icon[b-wqltavu3ny] {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    object-fit: contain;
    border-radius: 0;
    background: var(--muted);
    padding: 4px;
}

.detail-icon-fallback[b-wqltavu3ny] {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    background:
        linear-gradient(135deg,
            color-mix(in srgb, var(--primary) 22%, var(--card)) 0%,
            color-mix(in srgb, var(--primary) 8%, var(--card)) 100%);
    color: color-mix(in srgb, var(--primary) 85%, var(--foreground));
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    text-transform: uppercase;
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--primary) 18%, transparent),
        inset 0 -2px 2px color-mix(in srgb, var(--primary) 8%, transparent);
    letter-spacing: 0.02em;
    line-height: 1;
}

.detail-head-text[b-wqltavu3ny] {
    flex: 1;
    min-width: 0;
}

.detail-title-row[b-wqltavu3ny] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.detail-title[b-wqltavu3ny] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
}

.detail-subtitle[b-wqltavu3ny] {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.detail-dot[b-wqltavu3ny] {
    color: #c0c0c0;
}

.detail-amount[b-wqltavu3ny] {
    font-size: 1.5rem;
    font-weight: 600;
    white-space: nowrap;
    margin-left: auto;
    padding-left: 1rem;
}

.amount-positive[b-wqltavu3ny] { color: var(--success); }
.amount-negative[b-wqltavu3ny] { color: var(--foreground); }

/* Tab-Bar */
.tab-bar[b-wqltavu3ny] {
    display: flex;
    gap: 0.25rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: -1rem;
}

.tab-btn[b-wqltavu3ny] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: var(--muted-foreground);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.tab-btn:hover[b-wqltavu3ny] {
    color: var(--foreground);
}

.tab-btn.active[b-wqltavu3ny] {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Detail-Cards (gruppierte Sections) */
.detail-card .card-header[b-wqltavu3ny] {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted-foreground);
    padding: 0.625rem 1.25rem;
    background: color-mix(in srgb, var(--muted) 50%, transparent);
}

.detail-card-system[b-wqltavu3ny] {
    opacity: 0.75;
    font-size: 0.875rem;
}

.detail-card-system .card-body[b-wqltavu3ny] {
    padding: 0.625rem 1.25rem;
}


/* Detail-Grid */
.detail-grid[b-wqltavu3ny] {
    display: grid;
    grid-template-columns: minmax(180px, 220px) 1fr;
    gap: 0.375rem 1rem;
    margin: 0;
}

.detail-grid dt[b-wqltavu3ny] {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    font-weight: var(--font-weight-normal);
    padding: 0.375rem 0;
}

.detail-grid dd[b-wqltavu3ny] {
    font-size: 0.875rem;
    margin: 0;
    padding: 0.375rem 0;
    font-weight: var(--font-weight-medium);
    border-bottom: 1px solid var(--border);
}

.detail-grid dd:last-of-type[b-wqltavu3ny] {
    border-bottom: none;
}

.detail-grid dt + dd[b-wqltavu3ny] {
    border-bottom: 1px solid var(--border);
}

/* Documents */
.document-list[b-wqltavu3ny] {
    display: flex;
    flex-direction: column;
}

.document-item[b-wqltavu3ny] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.document-item:last-child[b-wqltavu3ny] {
    border-bottom: none;
}

.document-item[b-wqltavu3ny] {
    cursor: pointer;
}

.document-item:hover[b-wqltavu3ny] {
    background: var(--muted);
}

.document-item:focus-visible[b-wqltavu3ny] {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
}

.document-icon[b-wqltavu3ny] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    color: var(--primary);
    flex-shrink: 0;
}

.document-meta[b-wqltavu3ny] {
    flex: 1;
    min-width: 0;
}

.document-title[b-wqltavu3ny] {
    font-weight: var(--font-weight-medium);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.document-subtitle[b-wqltavu3ny] {
    margin-top: 0.125rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
    display: flex;
    align-items: center;
    gap: 0.375rem;
    flex-wrap: wrap;
}

.document-actions[b-wqltavu3ny] {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.btn-small[b-wqltavu3ny] {
    padding: 0.3125rem 0.625rem;
    font-size: 0.8125rem;
}

/* Raw JSON */
.raw-toolbar[b-wqltavu3ny] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0.75rem 0.5rem 1rem;
    border-bottom: 1px solid var(--border);
    background: color-mix(in srgb, var(--muted) 40%, transparent);
}

.raw-toolbar-label[b-wqltavu3ny] {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted-foreground);
}

.raw-json[b-wqltavu3ny] {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 0.75rem;
    line-height: 1.5;
    background: #1f1f1f;
    color: #f5f5f5;
    padding: 1rem;
    margin: 0;
    overflow-x: auto;
    white-space: pre;
    max-height: 70vh;
}

/* /Components/Pages/Transactions.razor.rz.scp.css */
.transactions-content[b-ljy1fm2azg] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 1600px;
    margin: 0 auto;
}

.card-body[b-ljy1fm2azg] {
    padding: 0;
}

/* Header-Zellen: Titel über Filter */
[b-ljy1fm2azg] .data-table thead th {
    vertical-align: top;
}

[b-ljy1fm2azg] .data-table thead th > * {
    display: block;
}

.th-label[b-ljy1fm2azg] {
    white-space: nowrap;
    margin-bottom: 0.25rem;
}

.sortable[b-ljy1fm2azg] {
    cursor: pointer;
    user-select: none;
    display: inline-flex !important;
    align-items: center;
}

.sortable:hover[b-ljy1fm2azg] { color: var(--primary); }

.th-sorted .th-label[b-ljy1fm2azg] {
    color: var(--primary);
    font-weight: 600;
}

/* Spaltenbreiten */
[b-ljy1fm2azg] .data-table { table-layout: fixed; }
[b-ljy1fm2azg] .data-table thead th:nth-child(1) { width: 140px; }   /* Datum */
[b-ljy1fm2azg] .data-table thead th:nth-child(2) { width: 280px; }   /* Asset */
[b-ljy1fm2azg] .data-table thead th:nth-child(3) { width: 100px; }   /* Art */
[b-ljy1fm2azg] .data-table thead th:nth-child(4) { width: 220px; }   /* Typ */
[b-ljy1fm2azg] .data-table thead th:nth-child(5) { width: 110px; }   /* Richtung */
[b-ljy1fm2azg] .data-table thead th:nth-child(6) { width: 110px; }   /* Order-Typ */
[b-ljy1fm2azg] .data-table thead th:nth-child(7) { width: 170px; }   /* Betrag */
[b-ljy1fm2azg] .data-table thead th:nth-child(8) { width: 70px; }    /* Docs */
[b-ljy1fm2azg] .data-table thead th:nth-child(9) { width: 48px; text-align: center; }

[b-ljy1fm2azg] .icon-sort {
    width: 12px;
    height: 12px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.25rem;
}

[b-ljy1fm2azg] .icon-sort-inactive { opacity: 0.25; }

.sortable:hover[b-ljy1fm2azg]  .icon-sort-inactive { opacity: 0.5; }

.th-filter-input[b-ljy1fm2azg] {
    width: 100%;
    min-width: 0;
    padding: 0.375rem 0.5rem;
    font-size: 0.8125rem;
    height: 34px;
    box-sizing: border-box;
    border: 1px solid color-mix(in srgb, var(--border) 100%, #000 10%);
    background-color: var(--card);
    outline: none;
    font-family: inherit;
}

.th-filter-input[b-ljy1fm2azg]::placeholder { color: #c0c0c0; }

.th-filter-input:focus[b-ljy1fm2azg] { border-color: var(--primary); }

.th-filter-input.is-active[b-ljy1fm2azg],
.th-filter-select.is-active[b-ljy1fm2azg] {
    border-color: var(--primary);
    background-color: color-mix(in srgb, var(--primary) 5%, var(--card));
}

.th-filter-select[b-ljy1fm2azg] {
    width: 100%;
    min-width: 0;
    padding: 0.375rem 1.5rem 0.375rem 0.5rem;
    font-size: 0.8125rem;
    height: 34px;
    box-sizing: border-box;
    border: 1px solid color-mix(in srgb, var(--border) 100%, #000 10%);
    background-color: var(--card);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.375rem center;
    background-size: 12px;
    cursor: pointer;
    font-family: inherit;
}

.th-filter-select:focus[b-ljy1fm2azg] { border-color: var(--primary); }

.th-filter-select.is-placeholder[b-ljy1fm2azg] { color: #c0c0c0; }
.th-filter-select option[b-ljy1fm2azg]          { color: var(--foreground); }

/* Operator-Badge (≥ ≤ =) */
.th-filter-operator[b-ljy1fm2azg] {
    display: flex !important;
    align-items: stretch;
    gap: 0;
    cursor: default;
}

.operator-badge[b-ljy1fm2azg] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    min-width: 34px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    border: 1px solid color-mix(in srgb, var(--border) 100%, #000 10%);
    background: var(--card);
    cursor: pointer;
    flex-shrink: 0;
}

.operator-badge:hover[b-ljy1fm2azg] { background: var(--muted); }

.th-filter-number[b-ljy1fm2azg] { flex: 1; }

/* Zellen */
[b-ljy1fm2azg] .data-table td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

[b-ljy1fm2azg] .data-table td:last-child {
    overflow: visible;
    text-overflow: clip;
    text-align: center;
    color: var(--muted-foreground);
}

.clickable-row[b-ljy1fm2azg] { cursor: pointer; }

.cell-date[b-ljy1fm2azg] {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 0.8125rem;
    color: var(--muted-foreground);
}

.asset-with-icon[b-ljy1fm2azg] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    min-width: 0;
}

.asset-text[b-ljy1fm2azg] {
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.asset-title[b-ljy1fm2azg] {
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
}

.asset-subtitle[b-ljy1fm2azg] {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    overflow: hidden;
    text-overflow: ellipsis;
}

.amount-positive[b-ljy1fm2azg] {
    color: var(--success);
    font-weight: 500;
}

.amount-negative[b-ljy1fm2azg] {
    color: var(--foreground);
    font-weight: 500;
}

.direction-buy[b-ljy1fm2azg] {
    background-color: #dbeafe;
    color: #1e40af;
}

.direction-sell[b-ljy1fm2azg] {
    background-color: #fce7f3;
    color: #9f1239;
}

.direction-in[b-ljy1fm2azg] {
    background-color: #dcfce7;
    color: #166534;
}

.direction-out[b-ljy1fm2azg] {
    background-color: #fef3c7;
    color: #854d0e;
}

/* Pagination */
.pagination-container[b-ljy1fm2azg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.pagination-left[b-ljy1fm2azg] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
}

.page-size-select[b-ljy1fm2azg] {
    width: auto;
    min-width: 60px;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.pagination-ellipsis[b-ljy1fm2azg] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    color: var(--muted-foreground);
}
/* /Components/Shared/PdfViewer.razor.rz.scp.css */
.pdf-viewer[b-ds4xabtknl] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    background-color: var(--background);
    border: 1px solid var(--border);
}

.pdf-toolbar[b-ds4xabtknl] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--border);
    background-color: var(--card);
    flex-shrink: 0;
}

.pdf-page-info[b-ds4xabtknl] {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    white-space: nowrap;
}

.pdf-toolbar-spacer[b-ds4xabtknl] {
    flex: 1;
}

.pdf-container[b-ds4xabtknl] {
    flex: 1 1 0;
    min-height: 0;
    min-width: 0;
    overflow: auto;
    padding: 0.75rem;
    background-color: #808080;
    scrollbar-gutter: stable;
}

/* Inner-Wrapper: min-width:max-content sorgt dafuer, dass der
   Container horizontal scrollt wenn Seiten breiter als Container sind,
   und gleichzeitig die Seiten zentriert sind wenn schmaler. */
[b-ds4xabtknl] .pdf-pages-inner {
    min-width: max-content;
    width: max-content;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

/* Space+Drag Pan-Modus */
.pdf-container.pan-ready[b-ds4xabtknl],
.pdf-container.pan-ready *[b-ds4xabtknl] {
    cursor: grab;
    user-select: none;
}

.pdf-container.pan-active[b-ds4xabtknl],
.pdf-container.pan-active *[b-ds4xabtknl] {
    cursor: grabbing !important;
    user-select: none;
}

.pdf-placeholder[b-ds4xabtknl] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    height: 100%;
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

[b-ds4xabtknl] .pdf-loading,
[b-ds4xabtknl] .pdf-error {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #ffffff;
    font-size: 0.875rem;
}

[b-ds4xabtknl] .pdf-error {
    color: var(--destructive);
    background-color: var(--card);
    border-radius: var(--radius);
    margin: 1rem;
}

[b-ds4xabtknl] .pdf-page-wrapper {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    background-color: #ffffff;
    overflow: hidden;
}

[b-ds4xabtknl] .pdf-page-wrapper canvas {
    display: block;
}

/* PDF.js textLayer – Positionierung und Selektion */
[b-ds4xabtknl] .textLayer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    opacity: 0.25;
    line-height: 1.0;
}

[b-ds4xabtknl] .textLayer span,
[b-ds4xabtknl] .textLayer br {
    color: transparent;
    position: absolute;
    white-space: pre;
    transform-origin: 0% 0%;
    cursor: text;
}

[b-ds4xabtknl] .textLayer ::selection {
    background: rgba(12, 93, 166, 0.6);
}
