/* /Components/Admin/AdminSuppliers.razor.rz.scp.css */
.admin-suppliers-page .header-actions .btn[b-17xx176llq] {
    min-width: 10.5rem;
}

.admin-suppliers-page .supplier-row-actions .btn[b-17xx176llq] {
    min-width: 6.75rem;
}

.admin-suppliers-page .supplier-row-actions details > summary.btn[b-17xx176llq] {
    min-width: 5.5rem;
}

.admin-suppliers-page .modal-dialog.modal-xl[b-17xx176llq] {
    max-width: min(96vw, 1600px);
}

.admin-suppliers-page .modal-content[b-17xx176llq] {
    border-radius: 0.75rem;
    background: #1f2430;
    color: #f8f9fa;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.admin-suppliers-page .modal-body[b-17xx176llq] {
    overflow-x: auto;
}

.admin-suppliers-page .modal .table-responsive[b-17xx176llq] {
    overflow-x: auto;
}

.admin-suppliers-page .modal-header[b-17xx176llq],
.admin-suppliers-page .modal-footer[b-17xx176llq] {
    background-color: rgba(255, 255, 255, 0.04);
}

.admin-suppliers-page .modal-footer[b-17xx176llq] {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.admin-suppliers-page .modal-header[b-17xx176llq] {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.admin-suppliers-page .modal .btn-close[b-17xx176llq] {
    filter: invert(1) grayscale(100%);
}

.admin-suppliers-page .modal .form-control[b-17xx176llq],
.admin-suppliers-page .modal .form-select[b-17xx176llq],
.admin-suppliers-page .modal textarea[b-17xx176llq] {
    background-color: #161b26;
    color: #f8f9fa;
    border-color: rgba(255, 255, 255, 0.2);
}

.admin-suppliers-page .modal .form-control[b-17xx176llq]::placeholder,
.admin-suppliers-page .modal textarea[b-17xx176llq]::placeholder {
    color: rgba(248, 249, 250, 0.65);
}

.admin-suppliers-page .modal .table[b-17xx176llq] {
    --bs-table-bg: transparent;
    --bs-table-color: #f8f9fa;
    --bs-table-striped-bg: rgba(255, 255, 255, 0.03);
    --bs-table-hover-bg: rgba(255, 255, 255, 0.06);
}

.admin-suppliers-page .modal .table thead th[b-17xx176llq] {
    color: rgba(248, 249, 250, 0.8);
    border-color: rgba(255, 255, 255, 0.18);
}

.admin-suppliers-page .modal .table td[b-17xx176llq],
.admin-suppliers-page .modal .table th[b-17xx176llq] {
    border-color: rgba(255, 255, 255, 0.12);
}

.admin-suppliers-page button:focus-visible[b-17xx176llq],
.admin-suppliers-page input:focus-visible[b-17xx176llq],
.admin-suppliers-page select:focus-visible[b-17xx176llq],
.admin-suppliers-page textarea:focus-visible[b-17xx176llq],
.admin-suppliers-page summary:focus-visible[b-17xx176llq] {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.2);
}
/* /Components/Admin/CmsEditor.razor.rz.scp.css */
/* Dunkles Erscheinungsbild für den Quill-Editor (Quill liefert ein helles Standard-Theme).
   Stilvariablen aus app.css, damit der Editor im Backoffice wie die übrigen Karten wirkt. */

.cms-editor-wrap[b-z80ejgzjzb] {
    border: 1px solid var(--metal-border);
    border-radius: 8px;
    background: var(--metal-surface);
    overflow: hidden;
}

.cms-editor-bar[b-z80ejgzjzb] {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
    padding: .4rem .6rem;
    background: var(--metal-card);
    border-bottom: 1px solid var(--metal-border);
}

.cms-editor-source[b-z80ejgzjzb] {
    background: #0f1116;
    color: var(--metal-white);
    border: none;
    border-radius: 0;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: .85rem;
}

[b-z80ejgzjzb] .ql-toolbar.ql-snow {
    border: none;
    border-bottom: 1px solid var(--metal-border);
    background: var(--metal-card);
}

[b-z80ejgzjzb] .ql-container.ql-snow {
    border: none;
    background: var(--metal-surface);
    font-size: 1rem;
}

[b-z80ejgzjzb] .ql-editor {
    min-height: inherit;
    color: var(--metal-white);
}

[b-z80ejgzjzb] .ql-editor.ql-blank::before {
    color: var(--metal-silver);
    font-style: normal;
}

[b-z80ejgzjzb] .ql-editor h1,
[b-z80ejgzjzb] .ql-editor h2,
[b-z80ejgzjzb] .ql-editor h3,
[b-z80ejgzjzb] .ql-editor h4 {
    color: var(--metal-white);
}

[b-z80ejgzjzb] .ql-editor blockquote {
    border-left: 4px solid var(--metal-accent);
    background: var(--metal-card);
    padding: .4rem .8rem;
    color: var(--metal-light);
}

[b-z80ejgzjzb] .ql-editor pre.ql-syntax,
[b-z80ejgzjzb] .ql-editor code {
    background: #0f1116;
    color: var(--metal-light);
    border-radius: 4px;
}

[b-z80ejgzjzb] .ql-editor a {
    color: var(--metal-accent);
}

[b-z80ejgzjzb] .ql-snow .ql-stroke {
    stroke: var(--metal-light);
}

[b-z80ejgzjzb] .ql-snow .ql-fill,
[b-z80ejgzjzb] .ql-snow .ql-stroke.ql-fill {
    fill: var(--metal-light);
}

[b-z80ejgzjzb] .ql-snow .ql-picker {
    color: var(--metal-light);
}

[b-z80ejgzjzb] .ql-snow .ql-picker-options {
    background: var(--metal-card);
    border-color: var(--metal-border);
}

[b-z80ejgzjzb] .ql-snow .ql-picker.ql-expanded .ql-picker-label {
    border-color: var(--metal-accent);
}

[b-z80ejgzjzb] .ql-snow .ql-tooltip {
    background: var(--metal-card);
    border-color: var(--metal-border);
    color: var(--metal-white);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
}

[b-z80ejgzjzb] .ql-snow .ql-tooltip input[type=text] {
    background: var(--metal-surface);
    color: var(--metal-white);
    border: 1px solid var(--metal-border);
}

[b-z80ejgzjzb] .ql-snow.ql-toolbar button:hover .ql-stroke,
[b-z80ejgzjzb] .ql-snow .ql-toolbar button:hover .ql-stroke,
[b-z80ejgzjzb] .ql-snow.ql-toolbar button.ql-active .ql-stroke,
[b-z80ejgzjzb] .ql-snow .ql-toolbar button.ql-active .ql-stroke {
    stroke: var(--metal-accent);
}

[b-z80ejgzjzb] .ql-snow .ql-toolbar button:hover .ql-fill,
[b-z80ejgzjzb] .ql-snow .ql-toolbar button.ql-active .ql-fill {
    fill: var(--metal-accent);
}
/* /Components/Admin/ColumnMappingEditorModal.razor.rz.scp.css */
/* ColumnMappingEditorModal Styles */

.modal-content.dark-theme[b-dkn067fs5l] {
    background: #1e1e1e;
    color: #e0e0e0;
    border-color: #3e3e3e;
}

.modal-header[b-dkn067fs5l] {
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 1.5rem;
}

.dark-theme .modal-header[b-dkn067fs5l] {
    border-color: #3e3e3e;
}

.header-actions[b-dkn067fs5l] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-title[b-dkn067fs5l] {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    margin: 0;
}

/* Tab Navigation */
.nav-tabs[b-dkn067fs5l] {
    border-bottom: 1px solid #dee2e6;
}

.dark-theme .nav-tabs[b-dkn067fs5l] {
    border-color: #3e3e3e;
}

.nav-tabs .nav-link[b-dkn067fs5l] {
    color: #495057;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.75rem 1rem;
    cursor: pointer;
}

.dark-theme .nav-tabs .nav-link[b-dkn067fs5l] {
    color: #9e9e9e;
}

.nav-tabs .nav-link:hover[b-dkn067fs5l] {
    color: #0d6efd;
    border-color: transparent;
    background: rgba(13, 110, 253, 0.1);
}

.nav-tabs .nav-link.active[b-dkn067fs5l] {
    color: #0d6efd;
    border-bottom-color: #0d6efd;
    background: transparent;
    font-weight: 600;
}

.dark-theme .nav-tabs .nav-link.active[b-dkn067fs5l] {
    color: #58a6ff;
    border-bottom-color: #58a6ff;
}

/* Tab Content */
.tab-content[b-dkn067fs5l] {
    min-height: 400px;
    max-height: calc(100vh - 400px);
    overflow-y: auto;
}

.tab-pane[b-dkn067fs5l] {
    animation: fadeIn-b-dkn067fs5l 0.3s ease-in-out;
}

@keyframes fadeIn-b-dkn067fs5l {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Footer */
.modal-footer[b-dkn067fs5l] {
    border-top: 1px solid #dee2e6;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
}

.dark-theme .modal-footer[b-dkn067fs5l] {
    border-color: #3e3e3e;
}

.footer-left[b-dkn067fs5l],
.footer-right[b-dkn067fs5l] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Mapping Tab Styles */
.mapping-tab-content[b-dkn067fs5l],
.preview-tab-content[b-dkn067fs5l],
.transformations-tab-content[b-dkn067fs5l],
.validation-tab-content[b-dkn067fs5l] {
    padding: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-dialog[b-dkn067fs5l] {
        max-width: 100%;
        margin: 0;
    }

    .modal-content[b-dkn067fs5l] {
        height: 100vh;
        border-radius: 0;
    }

    .tab-content[b-dkn067fs5l] {
        max-height: calc(100vh - 300px);
    }
}
/* /Components/Admin/ExcelDataGrid.razor.rz.scp.css */
/* ExcelDataGrid Styles */

.excel-data-grid[b-2aciugumgs] {
    display: flex;
    flex-direction: column;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: white;
}

.excel-data-grid.dark-theme[b-2aciugumgs] {
    background: #1e1e1e;
    border-color: #3e3e3e;
    color: #e0e0e0;
}

.excel-data-grid.compact[b-2aciugumgs] {
    font-size: 0.875rem;
}

/* Toolbar */
.grid-toolbar[b-2aciugumgs] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    border-bottom: 1px solid #dee2e6;
    background: #f8f9fa;
}

.dark-theme .grid-toolbar[b-2aciugumgs] {
    background: #2d2d2d;
    border-color: #3e3e3e;
}

.toolbar-left[b-2aciugumgs],
.toolbar-right[b-2aciugumgs] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Loading State */
.grid-loading[b-2aciugumgs] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: #6c757d;
}

/* Grid Container */
.grid-container[b-2aciugumgs] {
    flex: 1;
    overflow: auto;
    position: relative;
}

.grid-container.virtual-scroll[b-2aciugumgs] {
    overflow-y: scroll;
    overflow-x: auto;
}

/* Table */
.excel-grid[b-2aciugumgs] {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.excel-grid thead[b-2aciugumgs] {
    position: sticky;
    top: 0;
    z-index: 10;
}

.excel-grid thead th[b-2aciugumgs] {
    background: #e9ecef;
    font-weight: 600;
    padding: 0.5rem;
    border: 1px solid #dee2e6;
    vertical-align: top;
    white-space: nowrap;
}

.dark-theme .excel-grid thead th[b-2aciugumgs] {
    background: #2d2d2d;
    border-color: #3e3e3e;
    color: #e0e0e0;
}

.excel-grid tbody td[b-2aciugumgs] {
    padding: 0.375rem 0.5rem;
    border: 1px solid #dee2e6;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dark-theme .excel-grid tbody td[b-2aciugumgs] {
    border-color: #3e3e3e;
}

/* Column Types */
.selection-column[b-2aciugumgs] {
    width: 40px;
    text-align: center;
}

.row-number-column[b-2aciugumgs] {
    width: 60px;
    text-align: right;
    background: #f8f9fa;
    font-weight: 500;
    color: #6c757d;
}

.dark-theme .row-number-column[b-2aciugumgs] {
    background: #2a2a2a;
    color: #9e9e9e;
}

.data-column[b-2aciugumgs] {
    min-width: 120px;
}

.column-header[b-2aciugumgs] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}

.column-name[b-2aciugumgs] {
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
}

.column-filter[b-2aciugumgs] {
    font-size: 0.75rem;
    min-width: 80px;
}

/* Data Cells */
.data-cell[b-2aciugumgs] {
    cursor: default;
    user-select: text;
}

.cell-content[b-2aciugumgs] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Row States */
.excel-grid tbody tr:hover[b-2aciugumgs] {
    background: #f1f3f5;
}

.dark-theme .excel-grid tbody tr:hover[b-2aciugumgs] {
    background: #333333;
}

.excel-grid tbody tr.selected-row[b-2aciugumgs] {
    background: #cfe2ff;
}

.dark-theme .excel-grid tbody tr.selected-row[b-2aciugumgs] {
    background: #003d7a;
}

.excel-grid tbody tr.error-row[b-2aciugumgs] {
    background: #f8d7da;
}

.dark-theme .excel-grid tbody tr.error-row[b-2aciugumgs] {
    background: #4a1f1f;
}

.validation-row td[b-2aciugumgs] {
    background: #fff3cd !important;
    padding: 0.5rem !important;
}

.dark-theme .validation-row td[b-2aciugumgs] {
    background: #3d3000 !important;
}

.validation-messages[b-2aciugumgs] {
    font-size: 0.875rem;
}

.validation-message[b-2aciugumgs] {
    margin-bottom: 0.25rem;
}

.validation-message:last-child[b-2aciugumgs] {
    margin-bottom: 0;
}

/* Pagination */
.grid-pagination[b-2aciugumgs] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    border-top: 1px solid #dee2e6;
    background: #f8f9fa;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dark-theme .grid-pagination[b-2aciugumgs] {
    background: #2d2d2d;
    border-color: #3e3e3e;
}

.pagination-info[b-2aciugumgs] {
    font-size: 0.875rem;
    color: #6c757d;
}

.dark-theme .pagination-info[b-2aciugumgs] {
    color: #9e9e9e;
}

.pagination-controls[b-2aciugumgs] {
    display: flex;
    gap: 0.5rem;
}

.pagination-range[b-2aciugumgs] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
}

/* Performance Metrics */
.performance-metrics[b-2aciugumgs] {
    display: flex;
    gap: 1rem;
    padding: 0.5rem 0.75rem;
    border-top: 1px solid #dee2e6;
    background: #f8f9fa;
    font-size: 0.75rem;
    color: #6c757d;
}

.dark-theme .performance-metrics[b-2aciugumgs] {
    background: #2d2d2d;
    border-color: #3e3e3e;
    color: #9e9e9e;
}

.metric-item[b-2aciugumgs] {
    display: flex;
    gap: 0.25rem;
}

/* Compact Mode */
.excel-data-grid.compact .grid-toolbar[b-2aciugumgs],
.excel-data-grid.compact .grid-pagination[b-2aciugumgs] {
    padding: 0.5rem;
}

.excel-data-grid.compact .excel-grid thead th[b-2aciugumgs],
.excel-data-grid.compact .excel-grid tbody td[b-2aciugumgs] {
    padding: 0.25rem 0.375rem;
    font-size: 0.8125rem;
}

/* Responsive */
@media (max-width: 768px) {
    .grid-toolbar[b-2aciugumgs],
    .grid-pagination[b-2aciugumgs] {
        flex-direction: column;
        align-items: stretch;
    }

    .toolbar-left[b-2aciugumgs],
    .toolbar-right[b-2aciugumgs] {
        justify-content: space-between;
        width: 100%;
    }

    .pagination-range[b-2aciugumgs] {
        flex-wrap: wrap;
    }
}

/* Scrollbar Styling (Webkit) */
.grid-container[b-2aciugumgs]::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

.grid-container[b-2aciugumgs]::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.dark-theme .grid-container[b-2aciugumgs]::-webkit-scrollbar-track {
    background: #2a2a2a;
}

.grid-container[b-2aciugumgs]::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 6px;
}

.grid-container[b-2aciugumgs]::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Animation */
@keyframes fadeIn-b-2aciugumgs {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.excel-data-grid[b-2aciugumgs] {
    animation: fadeIn-b-2aciugumgs 0.3s ease-in-out;
}
/* /Components/Admin/MappingTab.razor.rz.scp.css */
/* MappingTab Styles */

.mapping-grid-container[b-73f7cd2pwc] {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mapping-toolbar[b-73f7cd2pwc] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dark-theme .mapping-toolbar[b-73f7cd2pwc] {
    background: #2d2d2d;
    border-color: #3e3e3e;
}

.toolbar-section[b-73f7cd2pwc] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mapping-table-wrapper[b-73f7cd2pwc] {
    flex: 1;
    overflow-x: auto;
    overflow-y: auto;
}

.mapping-table[b-73f7cd2pwc] {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.mapping-table thead[b-73f7cd2pwc] {
    position: sticky;
    top: 0;
    z-index: 5;
}

.mapping-table thead th[b-73f7cd2pwc] {
    background: #e9ecef;
    font-weight: 600;
    padding: 0.75rem 0.5rem;
    border: 1px solid #dee2e6;
    vertical-align: middle;
    white-space: nowrap;
}

.dark-theme .mapping-table thead th[b-73f7cd2pwc] {
    background: #2d2d2d;
    border-color: #3e3e3e;
    color: #e0e0e0;
}

.mapping-table tbody td[b-73f7cd2pwc] {
    padding: 0.5rem;
    border: 1px solid #dee2e6;
    vertical-align: middle;
}

.dark-theme .mapping-table tbody td[b-73f7cd2pwc] {
    border-color: #3e3e3e;
}

/* Row States */
.mapping-table tbody tr:hover[b-73f7cd2pwc] {
    background: #f8f9fa;
}

.dark-theme .mapping-table tbody tr:hover[b-73f7cd2pwc] {
    background: #2a2a2a;
}

.mapping-table tbody tr.selected[b-73f7cd2pwc] {
    background: #cfe2ff;
}

.dark-theme .mapping-table tbody tr.selected[b-73f7cd2pwc] {
    background: #003d7a;
}

.mapping-table tbody tr.unmapped[b-73f7cd2pwc] {
    background: #fff3cd;
}

.dark-theme .mapping-table tbody tr.unmapped[b-73f7cd2pwc] {
    background: #3d3000;
}

.mapping-table tbody tr.has-conflict[b-73f7cd2pwc] {
    border-left: 3px solid #dc3545;
}

.conflict-row td[b-73f7cd2pwc] {
    padding: 0 !important;
}

.conflict-row .alert[b-73f7cd2pwc] {
    font-size: 0.875rem;
}

/* Preview Values */
.preview-values[b-73f7cd2pwc] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.preview-badge[b-73f7cd2pwc] {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: #e7f1ff;
    color: #084298;
    border-radius: 4px;
    font-size: 0.75rem;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dark-theme .preview-badge[b-73f7cd2pwc] {
    background: #1e3a5f;
    color: #58a6ff;
}

/* Responsive */
@media (max-width: 1200px) {
    .mapping-table[b-73f7cd2pwc] {
        min-width: 1200px;
    }
}
/* /Components/Admin/PreviewTab.razor.rz.scp.css */
/* PreviewTab Styles */

.preview-tab-container[b-4jgrwumwxp] {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.preview-toolbar[b-4jgrwumwxp] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dark-theme .preview-toolbar[b-4jgrwumwxp] {
    background: #2d2d2d;
    border-color: #3e3e3e;
}

.toolbar-section[b-4jgrwumwxp] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.loading-container[b-4jgrwumwxp],
.empty-state[b-4jgrwumwxp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
    flex: 1;
}

.empty-state i[b-4jgrwumwxp] {
    opacity: 0.5;
}

.empty-state h5[b-4jgrwumwxp] {
    color: #6c757d;
    margin: 1rem 0 0.5rem;
}

.dark-theme .empty-state h5[b-4jgrwumwxp] {
    color: #9e9e9e;
}
/* /Components/Admin/TransformationsTab.razor.rz.scp.css */
/* TransformationsTab Styles */

.transformations-tab-container[b-kfktupw11g] {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.transformations-toolbar[b-kfktupw11g] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--metal-surface);
    border-bottom: 1px solid var(--metal-border);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dark-theme .transformations-toolbar[b-kfktupw11g] {
    background: var(--metal-surface);
    border-color: var(--metal-border-bright);
}

.toolbar-section[b-kfktupw11g] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.transformations-list[b-kfktupw11g] {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.transformations-table[b-kfktupw11g] {
    background: var(--metal-card);
    border-radius: var(--radius);
    color: var(--metal-white);
}

.dark-theme .transformations-table[b-kfktupw11g] {
    background: var(--metal-card);
    color: var(--metal-light);
}

.transformations-table thead th[b-kfktupw11g] {
    background: var(--metal-surface);
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 2px solid var(--metal-border);
    font-weight: 600;
}

.dark-theme .transformations-table thead th[b-kfktupw11g] {
    background: var(--metal-surface);
    border-color: var(--metal-border-bright);
}

.transformations-table tbody tr[b-kfktupw11g] {
    transition: background-color var(--transition);
}

.transformations-table tbody tr:hover[b-kfktupw11g] {
    background-color: color-mix(in srgb, var(--metal-white) 5%, transparent);
}

.dark-theme .transformations-table tbody tr:hover[b-kfktupw11g] {
    background-color: color-mix(in srgb, var(--metal-white) 5%, transparent);
}

.transformations-table tbody tr.editing-row[b-kfktupw11g] {
    background-color: color-mix(in srgb, var(--metal-accent2) 14%, transparent);
}

.dark-theme .transformations-table tbody tr.editing-row[b-kfktupw11g] {
    background-color: color-mix(in srgb, var(--metal-accent2) 14%, transparent);
}

.preview-badge[b-kfktupw11g] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.empty-state[b-kfktupw11g] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
}

.empty-state i[b-kfktupw11g] {
    opacity: 0.5;
}

.empty-state h5[b-kfktupw11g] {
    color: var(--metal-silver);
    margin: 1rem 0 0.5rem;
}

.dark-theme .empty-state h5[b-kfktupw11g] {
    color: var(--metal-silver);
}

code[b-kfktupw11g] {
    background: var(--metal-surface);
    color: var(--metal-light);
    padding: 0.2rem 0.4rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
}

.dark-theme code[b-kfktupw11g] {
    background: var(--metal-surface);
    color: var(--metal-light);
}
/* /Components/Admin/ValidationTab.razor.rz.scp.css */
/* ValidationTab Styles */

.validation-tab-container[b-vwwegxnz7q] {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.validation-toolbar[b-vwwegxnz7q] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--metal-surface);
    border-bottom: 1px solid var(--metal-border);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dark-theme .validation-toolbar[b-vwwegxnz7q] {
    background: var(--metal-surface);
    border-color: var(--metal-border-bright);
}

.toolbar-section[b-vwwegxnz7q] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.validation-content[b-vwwegxnz7q] {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.validation-section[b-vwwegxnz7q] {
    margin-bottom: 1.5rem;
}

.section-title[b-vwwegxnz7q] {
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid currentColor;
}

.conflict-card[b-vwwegxnz7q],
.unmapped-card[b-vwwegxnz7q],
.required-card[b-vwwegxnz7q],
.message-card[b-vwwegxnz7q] {
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow-metal);
}

.conflict-header[b-vwwegxnz7q] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.conflict-body[b-vwwegxnz7q] {
    border-top: 1px solid var(--metal-border);
    padding-top: 0.75rem;
}

.suggestion-box[b-vwwegxnz7q] {
    background: color-mix(in srgb, var(--metal-white) 12%, transparent);
    padding: 0.5rem;
    border-radius: var(--radius);
    border-left: 3px solid var(--metal-warning);
}

.dark-theme .suggestion-box[b-vwwegxnz7q] {
    background: color-mix(in srgb, var(--metal-black) 20%, transparent);
}

.conflict-details code[b-vwwegxnz7q],
.unmapped-card code[b-vwwegxnz7q] {
    background: color-mix(in srgb, var(--metal-black) 8%, transparent);
    color: var(--metal-light);
    padding: 0.2rem 0.4rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
}

.dark-theme .conflict-details code[b-vwwegxnz7q],
.dark-theme .unmapped-card code[b-vwwegxnz7q] {
    background: color-mix(in srgb, var(--metal-white) 10%, transparent);
}

.success-state[b-vwwegxnz7q] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
}

.success-state h5[b-vwwegxnz7q] {
    color: var(--metal-accent3);
    margin: 1rem 0 0.5rem;
}

.dark-theme .success-state h5[b-vwwegxnz7q] {
    color: var(--metal-accent3);
}

.conflicts-list[b-vwwegxnz7q],
.unmapped-list[b-vwwegxnz7q],
.required-list[b-vwwegxnz7q],
.messages-list[b-vwwegxnz7q] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Alert-Varianten im Dark-Theme */
.dark-theme .alert-danger[b-vwwegxnz7q] {
    background: color-mix(in srgb, var(--metal-danger) 20%, transparent);
    border-color: color-mix(in srgb, var(--metal-danger) 35%, transparent);
    color: color-mix(in srgb, var(--metal-danger) 45%, var(--metal-white));
}

.dark-theme .alert-warning[b-vwwegxnz7q] {
    background: color-mix(in srgb, var(--status-warning, #f0b429) 20%, transparent);
    border-color: color-mix(in srgb, var(--status-warning, #f0b429) 35%, transparent);
    color: #ffd980;
}

.dark-theme .alert-info[b-vwwegxnz7q] {
    background: color-mix(in srgb, var(--status-info, #4aa8ff) 20%, transparent);
    border-color: color-mix(in srgb, var(--status-info, #4aa8ff) 35%, transparent);
    color: #b6d8ff;
}

.dark-theme .alert-success[b-vwwegxnz7q] {
    background: color-mix(in srgb, var(--status-success, #4ecd8b) 20%, transparent);
    border-color: color-mix(in srgb, var(--status-success, #4ecd8b) 35%, transparent);
    color: #a5ebc9;
}
/* /Components/Erp/Workflows/WorkflowDesigner.razor.rz.scp.css */
.workflow-designer-overlay[b-s5z7j87r1t] {
    position: fixed;
    inset: 0;
    z-index: 1055;
    background: var(--metal-black, #0a0a0a);
    overflow: auto;
}

.workflow-designer-container[b-s5z7j87r1t] {
    min-height: 100dvh;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.designer-header[b-s5z7j87r1t] {
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.designer-body[b-s5z7j87r1t] {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding-bottom: 0.75rem;
}

.workflow-canvas-card[b-s5z7j87r1t] {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.workflow-canvas-card .card-body[b-s5z7j87r1t] {
    overflow: hidden;
}

.workflow-canvas-viewport[b-s5z7j87r1t] {
    overflow: auto;
    position: relative;
    background: var(--metal-surface);
    max-height: 70vh;
    min-height: 480px;
    cursor: grab;
    user-select: none;
    scrollbar-gutter: stable both-edges;
}

.workflow-canvas-viewport:fullscreen[b-s5z7j87r1t] {
    max-height: 100vh;
    min-height: 100vh;
}

.workflow-canvas-viewport.is-panning[b-s5z7j87r1t] {
    cursor: grabbing;
}

.workflow-canvas-stage[b-s5z7j87r1t] {
    position: relative;
}

.workflow-canvas-surface[b-s5z7j87r1t] {
    position: relative;
    width: 3000px;
    height: 2000px;
    background-image:
        repeating-linear-gradient(0deg, var(--metal-border) 0px, var(--metal-border) 1px, transparent 1px, transparent 20px),
        repeating-linear-gradient(90deg, var(--metal-border) 0px, var(--metal-border) 1px, transparent 1px, transparent 20px);
    background-size: 20px 20px;
}

.workflow-edges-layer[b-s5z7j87r1t] {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.workflow-edge-line[b-s5z7j87r1t] {
    stroke: #0d6efd;
    stroke-width: 2;
    opacity: 0.85;
}

.workflow-edge-preview[b-s5z7j87r1t] {
    stroke-dasharray: 6 4;
    opacity: 0.65;
}

.workflow-edge-label[b-s5z7j87r1t] {
    position: absolute;
    transform: translate(-50%, -50%);
    color: var(--metal-white);
    background: var(--metal-card);
    border-radius: 999px;
    padding: 0.1rem 0.45rem;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
    z-index: 2;
}

.empty-canvas-hint[b-s5z7j87r1t] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.edge-create-hint[b-s5z7j87r1t] {
    position: absolute;
    left: 50%;
    top: 0.75rem;
    transform: translateX(-50%);
    background: rgba(13, 110, 253, 0.95);
    color: #ffffff;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    z-index: 5;
    pointer-events: none;
}

.workflow-node[b-s5z7j87r1t] {
    width: 180px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    cursor: move;
    transition: box-shadow 0.2s;
    background: var(--metal-card) !important;
    color: var(--metal-white) !important;
    border: 2px solid var(--metal-border);
    z-index: 2;
}

.workflow-node.dragging[b-s5z7j87r1t] {
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.workflow-node.edge-source-active[b-s5z7j87r1t] {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
}

.workflow-node:hover[b-s5z7j87r1t] {
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.workflow-node .node-header[b-s5z7j87r1t] {
    padding: 0.5rem;
    font-weight: 600;
    border-bottom: 1px solid var(--metal-border);
    font-size: 0.9rem;
}

.workflow-node .node-body[b-s5z7j87r1t] {
    padding: 0.5rem;
    font-size: 0.75rem;
    color: var(--metal-silver) !important;
}

.workflow-node .node-body.text-muted[b-s5z7j87r1t] {
    color: var(--metal-silver) !important;
}

.node-output-handle[b-s5z7j87r1t] {
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #0d6efd;
    background: var(--metal-card);
    color: #0d6efd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: crosshair;
    z-index: 4;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.node-output-handle:hover[b-s5z7j87r1t] {
    background: #0d6efd;
    color: #ffffff;
}

.node-trigger[b-s5z7j87r1t] {
    border-color: #0d6efd;
}

.node-trigger .node-header[b-s5z7j87r1t] {
    background: #0d6efd !important;
    color: white !important;
}

.node-logic[b-s5z7j87r1t] {
    border-color: #ffc107;
}

.node-logic .node-header[b-s5z7j87r1t] {
    background: #ffc107 !important;
    color: #212529 !important;
}

.node-action[b-s5z7j87r1t] {
    border-color: #198754;
}

.node-action .node-header[b-s5z7j87r1t] {
    background: #198754 !important;
    color: white !important;
}

.node-palette[b-s5z7j87r1t] {
    font-size: 0.85rem;
}

.palette-category-title[b-s5z7j87r1t] {
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--metal-silver);
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid var(--metal-border);
}

.palette-node[b-s5z7j87r1t] {
    padding: 0.5rem;
    margin-bottom: 0.25rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    border: 1px solid var(--metal-border);
}

.palette-node:hover[b-s5z7j87r1t] {
    background: var(--metal-surface);
    border-color: var(--metal-accent);
}

.palette-node i[b-s5z7j87r1t] {
    margin-right: 0.5rem;
    width: 1.2rem;
}

.designer-dialog-backdrop[b-s5z7j87r1t] {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(15, 23, 42, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.designer-dialog[b-s5z7j87r1t] {
    width: min(560px, 100%);
    background: var(--metal-card);
    border-radius: 0.75rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.designer-dialog-header[b-s5z7j87r1t] {
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.designer-dialog-body[b-s5z7j87r1t] {
    padding: 1rem;
    color: var(--metal-white);
}

.designer-dialog-footer[b-s5z7j87r1t] {
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--metal-border);
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.property-box[b-s5z7j87r1t] {
    background: var(--metal-surface);
    border-color: var(--metal-border);
}

@supports not (height: 100dvh) {
    .workflow-designer-container[b-s5z7j87r1t] {
        min-height: 100vh;
    }
}
/* /Components/Erp/Workflows/WorkflowInstanceLogs.razor.rz.scp.css */
.timeline[b-16zjlvouac] {
    position: relative;
    padding-left: 2rem;
}

.timeline[b-16zjlvouac]::before {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--metal-border);
}

.timeline-item[b-16zjlvouac] {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-marker[b-16zjlvouac] {
    position: absolute;
    left: -1.5rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--metal-card);
    border: 2px solid var(--metal-border);
    z-index: 1;
}

.timeline-marker-info[b-16zjlvouac] {
    border-color: #0dcaf0;
    color: #0dcaf0;
}

.timeline-marker-warning[b-16zjlvouac] {
    border-color: #ffc107;
    color: #ffc107;
}

.timeline-marker-error[b-16zjlvouac] {
    border-color: #dc3545;
    color: #dc3545;
}

.timeline-marker-default[b-16zjlvouac] {
    border-color: #6c757d;
    color: #6c757d;
}

.timeline-content[b-16zjlvouac] {
    background: var(--metal-card);
    border: 1px solid var(--metal-border);
    border-radius: 0.375rem;
    padding: 1rem;
}

.timeline-content pre[b-16zjlvouac] {
    max-height: 300px;
    overflow: auto;
    background: var(--metal-surface);
    border: 1px solid var(--metal-border);
    border-radius: 0.375rem;
}
/* /Components/Erp/Workflows/WorkflowList.razor.rz.scp.css */
.workflow-card[b-e4rs76sz8r] {
    transition: transform 0.2s, box-shadow 0.2s;
}

.workflow-card:hover[b-e4rs76sz8r] {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.workflow-card.border-info[b-e4rs76sz8r] {
    border-width: 2px;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-nz1yiwl0um] {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--metal-black);
    min-height: 100vh;
    overflow-x: hidden;
}

main[b-nz1yiwl0um] {
    flex: 1;
    /* min-width: 0 ist der Kernfix gegen „rechts abgeschnitten": ohne ihn kann ein
       breiter Inhalt (Tabellen, Grids) das Flex-Element ueber die Viewport-Breite
       hinaus aufblaesen; .page { overflow-x: hidden } schneidet den Rest dann rechts ab.
       Mit min-width:0 schrumpft main auf die verfuegbare Breite, .table-responsive & Co.
       scrollen intern. */
    min-width: 0;
    max-width: 100%;
    background: var(--metal-black);
}

.sidebar[b-nz1yiwl0um] {
    background: var(--metal-black);
    border-right: 1px solid var(--metal-border);
    position: relative;
    overflow: hidden;
}

.sidebar[b-nz1yiwl0um]::before {
    display: none;
}

.top-row[b-nz1yiwl0um] {
    background: var(--header-bg, rgba(10,10,15,0.98));
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--metal-border);
    justify-content: flex-end;
    height: var(--header-height, 56px);
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    color: var(--header-text, var(--metal-silver));
}

.top-row[b-nz1yiwl0um]  a, .top-row[b-nz1yiwl0um]  .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
    color: var(--header-text, var(--metal-silver));
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.top-row[b-nz1yiwl0um]  a:hover, .top-row[b-nz1yiwl0um]  .btn-link:hover {
    color: var(--accent-ink, var(--metal-accent));
    text-decoration: none;
}

.top-row[b-nz1yiwl0um]  a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Sprachwahl: form-select zieht sonst auf 100% Breite und schiebt/verdeckt die
   übrigen Elemente der Kopfzeile. Auf die Inhaltsbreite begrenzen. */
.top-row[b-nz1yiwl0um]  .language-switcher {
    width: auto;
    max-width: 8.5rem;
    flex: 0 0 auto;
    white-space: nowrap;
}

@media (max-width: 640.98px) {
    .sidebar[b-nz1yiwl0um] {
        position: sticky;
        top: 0;
        z-index: 300;
        border-right: none;
        border-bottom: 1px solid var(--metal-border);
        overflow: visible;
    }

    .top-row[b-nz1yiwl0um] {
        justify-content: space-between;
    }

    .top-row[b-nz1yiwl0um]  a, .top-row[b-nz1yiwl0um]  .btn-link {
        margin-left: 0;
    }

    article.content[b-nz1yiwl0um] {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

@media (min-width: 641px) {
    .page[b-nz1yiwl0um] {
        flex-direction: row;
    }

    .sidebar[b-nz1yiwl0um] {
        width: var(--sidebar-width, 260px);
        height: 100vh;
        position: sticky;
        top: 0;
        flex-shrink: 0;
    }

    .top-row[b-nz1yiwl0um] {
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .top-row.auth[b-nz1yiwl0um]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-nz1yiwl0um], article[b-nz1yiwl0um] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

.footer[b-nz1yiwl0um] {
    border-top: 1px solid var(--metal-border);
    background: var(--footer-bg, rgba(10,10,15,0.98));
    color: var(--footer-text, var(--metal-silver));
    font-size: 0.78rem;
    text-align: center;
}

.footer a[b-nz1yiwl0um] {
    color: var(--accent-ink, var(--metal-accent));
    text-decoration: none;
}

.footer a:hover[b-nz1yiwl0um] {
    text-decoration: underline;
}

article.content[b-nz1yiwl0um] {
    background: var(--metal-black);
    min-height: calc(100vh - var(--header-height, 56px));
    text-align: var(--content-align, left);
}

#blazor-error-ui[b-nz1yiwl0um] {
    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-nz1yiwl0um] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/ModuleSearch.razor.rz.scp.css */
.ms[b-brovjrutti] {
    position: relative;
    width: 240px;
    max-width: 100%;
}

.ms-box[b-brovjrutti] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bs-body-bg, #1b1d24);
    border: 1px solid var(--bs-border-color, #343a40);
    border-radius: 0.5rem;
    padding: 0.4rem 0.65rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ms-box:focus-within[b-brovjrutti] {
    border-color: var(--bs-primary, #cc0000);
    box-shadow: 0 0 0 0.2rem rgba(204, 0, 0, 0.15);
}

.ms-icon[b-brovjrutti] {
    color: var(--bs-secondary-color, #889);
    font-size: 0.9rem;
}

.ms-input[b-brovjrutti] {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--bs-body-color, #eee);
    font-size: 0.9rem;
    min-width: 0;
}

.ms-input[b-brovjrutti]::placeholder {
    color: var(--bs-secondary-color, #889);
}

.ms-results[b-brovjrutti] {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    z-index: 1050;
    background: var(--bs-body-bg, #1b1d24);
    border: 1px solid var(--bs-border-color, #343a40);
    border-radius: 0.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    max-height: 420px;
    overflow-y: auto;
    padding: 0.35rem;
}

.ms-empty[b-brovjrutti] {
    padding: 0.75rem 0.85rem;
    color: var(--bs-secondary-color, #889);
    font-size: 0.85rem;
}

.ms-group[b-brovjrutti] {
    padding: 0.45rem 0.65rem 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bs-secondary-color, #889);
}

.ms-item[b-brovjrutti] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    border-radius: 0.35rem;
    padding: 0.45rem 0.65rem;
    color: var(--bs-body-color, #eee);
    cursor: pointer;
}

.ms-item:hover[b-brovjrutti],
.ms-item:focus[b-brovjrutti] {
    background: rgba(204, 0, 0, 0.12);
    outline: none;
}

.ms-item-icon[b-brovjrutti] {
    color: var(--bs-primary, #cc0000);
    width: 1.1rem;
    text-align: center;
    flex-shrink: 0;
}

.ms-item-title[b-brovjrutti] {
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ============================================================
   METALLBAU SHOP - NAVIGATION DARK METALLIC
   ============================================================ */

/* Sidebar Brand Header */
.sidebar-brand[b-zjo6z1fhij] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 1rem 1rem;
    border-bottom: 1px solid var(--metal-border);
    margin-bottom: 0.5rem;
    min-height: 4.25rem;
    background: var(--metal-black);
}
.sidebar-logo-link[b-zjo6z1fhij] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--metal-black);
}
.sidebar-logo-img[b-zjo6z1fhij] {
    max-width: 160px;
    max-height: 52px;
    width: 100%;
    height: auto;
    object-fit: contain;
    background: var(--metal-black);
}

/* Nav Section Headers */
.nav-section-header[b-zjo6z1fhij] {
    padding: 1rem 1.2rem 0.3rem;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--metal-silver);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    opacity: 0.7;
}

/* Nav Items */
.nav-item[b-zjo6z1fhij] {
    font-size: 0.875rem;
    padding: 0.15rem 0.75rem;
}

.nav-item:first-of-type[b-zjo6z1fhij] { padding-top: 0.25rem; }
.nav-item:last-of-type[b-zjo6z1fhij]  { padding-bottom: 0.75rem; }

.nav-item a.nav-link[b-zjo6z1fhij] {
    display: flex;
    align-items: center;
    color: var(--metal-light);
    border-radius: 8px;
    padding: 0.6rem 0.85rem;
    transition: background 0.15s ease, color 0.15s ease;
    font-weight: 400;
    letter-spacing: 0.01em;
    position: relative;
}

.nav-item a.nav-link:hover[b-zjo6z1fhij] {
    background: var(--overlay-soft, rgba(255,255,255,0.07));
    color: var(--metal-white);
    text-decoration: none;
}

.nav-item a.nav-link.active[b-zjo6z1fhij] {
    background: color-mix(in srgb, var(--metal-accent) 16%, transparent);
    color: var(--accent-ink, var(--metal-accent));
    font-weight: 600;
}

.nav-item a.nav-link.active[b-zjo6z1fhij]::before {
    content: '';
    position: absolute;
    left: 0; top: 20%; bottom: 20%;
    width: 3px;
    background: var(--metal-accent);
    border-radius: 0 2px 2px 0;
}

/* Font Awesome + Bootstrap Icons in Nav */
.nav-item a.nav-link .fa[b-zjo6z1fhij],
.nav-item a.nav-link .fas[b-zjo6z1fhij],
.nav-item a.nav-link .far[b-zjo6z1fhij],
.nav-item a.nav-link .bi[b-zjo6z1fhij] {
    width: 1.4rem;
    height: 1.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.7rem;
    font-size: 0.95rem;
    line-height: 1;
    opacity: 0.8;
    flex-shrink: 0;
}

.nav-item a.nav-link.active .fa[b-zjo6z1fhij],
.nav-item a.nav-link.active .fas[b-zjo6z1fhij],
.nav-item a.nav-link.active .far[b-zjo6z1fhij],
.nav-item a.nav-link.active .bi[b-zjo6z1fhij] {
    opacity: 1;
    color: var(--accent-ink, var(--metal-accent));
}

/* Legacy .bi icons */
.nav-item a.nav-link .bi[b-zjo6z1fhij] {
    position: static;
    top: 0;
    background-size: initial;
}

/* Hamburger Toggle */
.navbar-toggler[b-zjo6z1fhij] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid var(--metal-border);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28200, 210, 222, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255,255,255,0.07);
    border-radius: 6px;
}

.navbar-toggler:checked[b-zjo6z1fhij] { background-color: color-mix(in srgb, var(--metal-accent) 25%, transparent); }

/* Cart badge in nav */
.nav-cart-badge[b-zjo6z1fhij] {
    background: var(--metal-accent);
    color: var(--on-accent, #000);
    border-radius: 50%;
    width: 18px; height: 18px;
    font-size: 0.62rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    line-height: 1;
    flex-shrink: 0;
}

/* Sidebar footer */
.sidebar-footer[b-zjo6z1fhij] {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 0.75rem 1.2rem;
    border-top: 1px solid var(--metal-border);
    background: var(--metal-black);
    font-size: 0.72rem;
    color: var(--metal-silver);
    opacity: 0.6;
}

    .nav-item[b-zjo6z1fhij]  .nav-link {
        color: var(--metal-light);
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-zjo6z1fhij]  a.active {
    background-color: var(--overlay-strong, rgba(255,255,255,0.37));
    color: var(--metal-white);
}

.nav-item[b-zjo6z1fhij]  .nav-link:hover {
    background-color: var(--overlay-strong, rgba(255,255,255,0.1));
    color: var(--metal-white);
}

.nav-scrollable[b-zjo6z1fhij] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-zjo6z1fhij] {
    display: block;
}

@media (max-width: 640.98px) {
    .navbar-toggler[b-zjo6z1fhij] {
        top: 0.8rem;
        right: 0.8rem;
        z-index: 20;
    }

    .sidebar-brand[b-zjo6z1fhij] {
        justify-content: flex-start;
        padding: 0.9rem 4.4rem 0.9rem 1rem;
        margin-bottom: 0;
        min-height: 3.9rem;
    }

    .sidebar-logo-img[b-zjo6z1fhij] {
        max-height: 44px;
    }

    .nav-scrollable[b-zjo6z1fhij] {
        background: var(--metal-black);
        border-top: 1px solid var(--metal-border);
    }

    .navbar-toggler:checked ~ .nav-scrollable[b-zjo6z1fhij] {
        max-height: calc(100vh - 3.9rem);
        overflow-y: auto;
    }

    .sidebar-footer[b-zjo6z1fhij] {
        position: static;
        margin-top: 0.25rem;
    }
}

@media (min-width: 641px) {
    .navbar-toggler[b-zjo6z1fhij] {
        display: none;
    }

    .nav-scrollable[b-zjo6z1fhij] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}

/* ERP nested groups */
.nav-group[b-zjo6z1fhij] {
    margin: 0.2rem 0.75rem 0.4rem;
    border: 1px solid var(--overlay-soft, rgba(255, 255, 255, 0.06));
    border-radius: 10px;
    background: var(--overlay-faint, rgba(255, 255, 255, 0.02));
}

.nav-group-summary[b-zjo6z1fhij] {
    list-style: none;
    cursor: pointer;
    color: var(--metal-light);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.55rem 0.75rem;
    display: flex;
    align-items: center;
    border-radius: 10px;
}

.nav-group-summary[b-zjo6z1fhij]::-webkit-details-marker {
    display: none;
}

.nav-group-summary[b-zjo6z1fhij]::after {
    content: "▾";
    margin-left: auto;
    opacity: 0.65;
    font-size: 0.75rem;
}

.nav-group:not([open]) .nav-group-summary[b-zjo6z1fhij]::after {
    content: "▸";
}

.nav-group-items[b-zjo6z1fhij] {
    padding-bottom: 0.35rem;
}

.nav-group .nav-item[b-zjo6z1fhij] {
    padding-left: 0.35rem;
    padding-right: 0.35rem;
}

.nav-group .nav-item .nav-link[b-zjo6z1fhij] {
    font-size: 0.82rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-jqca3m50ec],
.components-reconnect-repeated-attempt-visible[b-jqca3m50ec],
.components-reconnect-failed-visible[b-jqca3m50ec],
.components-pause-visible[b-jqca3m50ec],
.components-resume-failed-visible[b-jqca3m50ec],
.components-rejoining-animation[b-jqca3m50ec] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-jqca3m50ec {
    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/Layout/TopNav.razor.rz.scp.css */
/* ============================================================
   TOP-NAVIGATION (Schale) — horizontale Modul-Leiste
   ============================================================ */

.topnav[b-x8any3xn7e] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.topnav[b-x8any3xn7e]::-webkit-scrollbar {
    display: none;
}

.topnav-link[b-x8any3xn7e] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 0.8rem;
    border-radius: 8px;
    color: var(--metal-light, #c8cdd4);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.topnav-link:hover[b-x8any3xn7e] {
    background: rgba(255, 255, 255, 0.07);
    color: var(--metal-white, #ffffff);
    text-decoration: none;
}

.topnav-link.active[b-x8any3xn7e] {
    background: rgba(192, 160, 96, 0.16);
    color: var(--metal-accent, #c0a060);
    font-weight: 600;
}

.topnav-link i[b-x8any3xn7e] {
    font-size: 0.9rem;
    opacity: 0.85;
    line-height: 1;
}

.topnav-link.active i[b-x8any3xn7e] {
    opacity: 1;
}

@media (max-width: 640.98px) {
    .topnav-label[b-x8any3xn7e] {
        display: none;
    }

    .topnav-link[b-x8any3xn7e] {
        padding: 0.42rem 0.55rem;
    }
}
/* /Components/Pages/SetupWizard.razor.rz.scp.css */
.setup-page[b-c9du5mdtaa] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--bs-body-bg, #14161c);
}

.setup-card[b-c9du5mdtaa] {
    width: 100%;
    max-width: 760px;
    background: var(--bs-body-bg, #1b1d24);
    border: 1px solid var(--bs-border-color, #343a40);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.setup-title[b-c9du5mdtaa] {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--bs-body-color, #eee);
}

.setup-title i[b-c9du5mdtaa] {
    color: var(--metal-accent, #cc0000);
}

.setup-steps[b-c9du5mdtaa] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.setup-steps li[b-c9du5mdtaa] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--bs-border-color, #343a40);
    color: var(--bs-secondary-color, #889);
    font-size: 0.82rem;
}

.setup-steps li.active[b-c9du5mdtaa] {
    border-color: var(--metal-accent, #cc0000);
    color: var(--bs-body-color, #eee);
    background: rgba(204, 0, 0, 0.12);
}

.setup-steps li.done[b-c9du5mdtaa] {
    color: var(--bs-success, #198754);
    border-color: var(--bs-success, #198754);
}

.setup-step-num[b-c9du5mdtaa] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--bs-secondary-bg, #2a2d35);
    flex-shrink: 0;
}

.setup-steps li.done .setup-step-num[b-c9du5mdtaa] {
    background: var(--bs-success, #198754);
    color: #fff;
}

.setup-steps li.active .setup-step-num[b-c9du5mdtaa] {
    background: var(--metal-accent, #cc0000);
    color: #fff;
}

.setup-readonly[b-c9du5mdtaa] {
    background: var(--bs-secondary-bg, #2a2d35);
    border: 1px dashed var(--bs-border-color, #343a40);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: var(--bs-body-color, #eee);
    font-size: 0.9rem;
    line-height: 1.9;
}

.setup-summary[b-c9du5mdtaa] {
    border: 1px solid var(--bs-border-color, #343a40);
    border-radius: 0.5rem;
    padding: 1.25rem;
}

.setup-summary-title[b-c9du5mdtaa] {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--bs-body-color, #eee);
}

.setup-summary dt[b-c9du5mdtaa] {
    color: var(--bs-secondary-color, #889);
    font-weight: 600;
}

.setup-summary dd[b-c9du5mdtaa] {
    color: var(--bs-body-color, #eee);
}
/* /Components/Shared/CollapsibleSection.razor.rz.scp.css */
.collapsible-section[b-6josn8utal] {
    margin: 0.25rem 0 0.5rem;
}

.collapsible-toggle[b-6josn8utal] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: transparent;
    border: none;
    color: var(--bs-body-color, #eee);
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    border-radius: 0.375rem;
}

.collapsible-toggle:hover[b-6josn8utal] {
    background: var(--bs-secondary-bg, #2a2d35);
}

.collapsible-toggle:focus-visible[b-6josn8utal] {
    outline: 2px solid var(--metal-accent, #cc0000);
    outline-offset: 2px;
}

.collapsible-summary[b-6josn8utal] {
    font-weight: 400;
    font-size: 0.8rem;
}

.collapsible-body[b-6josn8utal] {
    padding: 0.5rem 0.75rem 0.5rem 1.75rem;
    border-left: 2px solid var(--bs-border-color, #343a40);
    margin-left: 0.5rem;
    animation: collapsible-fade-b-6josn8utal 0.15s ease-out;
}

@keyframes collapsible-fade-b-6josn8utal {
    from {
        opacity: 0;
        transform: translateY(-2px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* /Components/Shared/GlobalSearch.razor.rz.scp.css */
.gs[b-js2iptqjtc] {
    position: relative;
    width: 320px;
    max-width: 100%;
}

.gs-box[b-js2iptqjtc] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bs-body-bg, #1b1d24);
    border: 1px solid var(--bs-border-color, #343a40);
    border-radius: 0.5rem;
    padding: 0.4rem 0.65rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gs-box:focus-within[b-js2iptqjtc] {
    border-color: var(--bs-primary, #cc0000);
    box-shadow: 0 0 0 0.2rem rgba(204, 0, 0, 0.15);
}

.gs-icon[b-js2iptqjtc] {
    color: var(--bs-secondary-color, #889);
    font-size: 0.9rem;
}

.gs-input[b-js2iptqjtc] {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--bs-body-color, #eee);
    font-size: 0.9rem;
    min-width: 0;
}

.gs-input[b-js2iptqjtc]::placeholder {
    color: var(--bs-secondary-color, #889);
}

.gs-hint[b-js2iptqjtc] {
    font-size: 0.7rem;
    color: var(--bs-secondary-color, #889);
    border: 1px solid var(--bs-border-color, #444);
    border-radius: 0.3rem;
    padding: 0.05rem 0.35rem;
    white-space: nowrap;
}

.gs-results[b-js2iptqjtc] {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    z-index: 1050;
    background: var(--bs-body-bg, #1b1d24);
    border: 1px solid var(--bs-border-color, #343a40);
    border-radius: 0.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    max-height: 420px;
    overflow-y: auto;
    padding: 0.35rem;
}

.gs-empty[b-js2iptqjtc] {
    padding: 0.75rem 0.85rem;
    color: var(--bs-secondary-color, #889);
    font-size: 0.85rem;
}

.gs-group[b-js2iptqjtc] {
    padding: 0.45rem 0.65rem 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bs-secondary-color, #889);
}

.gs-item[b-js2iptqjtc] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    border-radius: 0.35rem;
    padding: 0.45rem 0.65rem;
    color: var(--bs-body-color, #eee);
    cursor: pointer;
}

.gs-item:hover[b-js2iptqjtc],
.gs-item:focus[b-js2iptqjtc] {
    background: rgba(204, 0, 0, 0.12);
    outline: none;
}

.gs-item-icon[b-js2iptqjtc] {
    color: var(--bs-primary, #cc0000);
    width: 1.1rem;
    text-align: center;
    flex-shrink: 0;
}

.gs-item-body[b-js2iptqjtc] {
    min-width: 0;
}

.gs-item-title[b-js2iptqjtc] {
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gs-item-sub[b-js2iptqjtc] {
    font-size: 0.78rem;
    color: var(--bs-secondary-color, #889);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* /Components/Shared/RoleDashboard.razor.rz.scp.css */
.rd[b-1yp0o9r1lg] {
    margin-bottom: 1.5rem;
}

.rd-header[b-1yp0o9r1lg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rd-heading[b-1yp0o9r1lg] {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--bs-body-color, #eee);
}

.rd-heading i[b-1yp0o9r1lg] {
    color: var(--metal-accent, #cc0000);
}

.rd-kpis[b-1yp0o9r1lg] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.rd-kpi[b-1yp0o9r1lg] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 0.85rem;
    border-radius: 0.5rem;
    border: 1px solid var(--bs-border-color, #343a40);
    background: var(--bs-body-bg, #1b1d24);
    color: var(--bs-body-color, #eee);
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
    border-top: 3px solid var(--metal-accent, #cc0000);
}

.rd-kpi:hover[b-1yp0o9r1lg] {
    background: rgba(204, 0, 0, 0.08);
    color: var(--bs-body-color, #eee);
    text-decoration: none;
    transform: translateY(-1px);
}

.rd-kpi-value[b-1yp0o9r1lg] {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--metal-accent, #cc0000);
}

.rd-kpi-label[b-1yp0o9r1lg] {
    font-size: 0.82rem;
    color: var(--bs-secondary-color, #889);
}

.rd-actions[b-1yp0o9r1lg] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.rd-action[b-1yp0o9r1lg] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0.85rem;
    border-radius: 0.5rem;
    border: 1px solid var(--bs-border-color, #343a40);
    background: var(--bs-body-bg, #1b1d24);
    color: var(--bs-body-color, #eee);
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
    border-left: 3px solid transparent;
}

.rd-action:hover[b-1yp0o9r1lg] {
    background: rgba(204, 0, 0, 0.08);
    text-decoration: none;
    color: var(--bs-body-color, #eee);
    transform: translateY(-1px);
}

.rd-action-icon[b-1yp0o9r1lg] {
    font-size: 1.1rem;
    width: 1.3rem;
    text-align: center;
    flex-shrink: 0;
}

.rd-action-title[b-1yp0o9r1lg] {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rd-acc-primary[b-1yp0o9r1lg] { border-left-color: #cc0000; }
.rd-acc-primary .rd-action-icon[b-1yp0o9r1lg] { color: #cc0000; }
.rd-acc-success[b-1yp0o9r1lg] { border-left-color: #198754; }
.rd-acc-success .rd-action-icon[b-1yp0o9r1lg] { color: #198754; }
.rd-acc-info[b-1yp0o9r1lg] { border-left-color: #0dcaf0; }
.rd-acc-info .rd-action-icon[b-1yp0o9r1lg] { color: #0dcaf0; }
.rd-acc-warning[b-1yp0o9r1lg] { border-left-color: #ffc107; }
.rd-acc-warning .rd-action-icon[b-1yp0o9r1lg] { color: #ffc107; }
.rd-acc-danger[b-1yp0o9r1lg] { border-left-color: #dc3545; }
.rd-acc-danger .rd-action-icon[b-1yp0o9r1lg] { color: #dc3545; }
.rd-acc-secondary[b-1yp0o9r1lg] { border-left-color: #6c757d; }
.rd-acc-secondary .rd-action-icon[b-1yp0o9r1lg] { color: #6c757d; }

.rd-subheading[b-1yp0o9r1lg] {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bs-secondary-color, #889);
    margin: 0 0 0.5rem;
}

.rd-open[b-1yp0o9r1lg] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.rd-open-item[b-1yp0o9r1lg] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid var(--bs-border-color, #343a40);
    background: var(--bs-body-bg, #1b1d24);
    color: var(--bs-body-color, #eee);
    text-decoration: none;
}

.rd-open-item:hover[b-1yp0o9r1lg] {
    background: rgba(204, 0, 0, 0.08);
    color: var(--bs-body-color, #eee);
    text-decoration: none;
}

.rd-open-count[b-1yp0o9r1lg] {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--metal-accent, #cc0000);
    min-width: 1.4rem;
    text-align: center;
}

.rd-open-label[b-1yp0o9r1lg] {
    font-size: 0.88rem;
}
/* /Components/Shop/CmsPageView.razor.rz.scp.css */
/* Ausgabe der im CMS gepflegten Seiten (Shop und eingebettete Variante). */

.cms-hero[b-ihp071l4ah] {
    width: 100%;
    max-height: 340px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--metal-border);
}

.cms-narrow[b-ihp071l4ah] {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.cms-index-image[b-ihp071l4ah] {
    max-height: 160px;
    object-fit: cover;
}

.cms-index-card a[b-ihp071l4ah] {
    text-decoration: none;
}

.cms-content[b-ihp071l4ah] {
    line-height: 1.7;
    word-wrap: break-word;
}

.cms-content[b-ihp071l4ah]  img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.cms-content[b-ihp071l4ah]  h1,
.cms-content[b-ihp071l4ah]  h2,
.cms-content[b-ihp071l4ah]  h3,
.cms-content[b-ihp071l4ah]  h4 {
    margin-top: 1.4rem;
    margin-bottom: .6rem;
}

.cms-content[b-ihp071l4ah]  p {
    margin-bottom: .9rem;
}

.cms-content[b-ihp071l4ah]  table {
    width: 100%;
    margin-bottom: 1rem;
}

.cms-content[b-ihp071l4ah]  table th,
.cms-content[b-ihp071l4ah]  table td {
    border: 1px solid var(--metal-border);
    padding: .4rem .6rem;
}

.cms-content[b-ihp071l4ah]  blockquote {
    border-left: 4px solid var(--metal-accent);
    padding: .5rem .9rem;
    background: var(--metal-card);
}

.cms-content[b-ihp071l4ah]  pre,
.cms-content[b-ihp071l4ah]  code {
    background: var(--metal-card);
    color: var(--metal-light);
    border-radius: 4px;
    padding: .1rem .3rem;
}

.cms-content[b-ihp071l4ah]  pre {
    padding: .8rem;
    overflow-x: auto;
}

.cms-content[b-ihp071l4ah]  a {
    color: var(--metal-accent);
}

.cms-children a[b-ihp071l4ah] {
    text-decoration: none;
}
