/* _content/AiCraftors/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-9lde82ljan] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-9lde82ljan] {
    flex: 1;
}

.sidebar[b-9lde82ljan] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-9lde82ljan] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-9lde82ljan]  a, .top-row[b-9lde82ljan]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-9lde82ljan]  a:hover, .top-row[b-9lde82ljan]  .btn-link:hover {
        text-decoration: underline;
    }

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

@media (max-width: 640.98px) {
    .top-row[b-9lde82ljan] {
        justify-content: space-between;
    }

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

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

    .sidebar[b-9lde82ljan] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-9lde82ljan] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

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

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

#blazor-error-ui[b-9lde82ljan] {
    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-9lde82ljan] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/AiCraftors/Components/Pages/Aufmass/AufmassSession.razor.rz.scp.css */
@media (max-width: 768px) {
    .stats-sidebar[b-zwnrzfzwr5] { display: none; }

    .aufmass-stats-compact[b-zwnrzfzwr5] {
        display: flex;
        gap: 1rem;
        padding: 0.5rem 0;
    }

    .aufmass-stats-compact .stat-item[b-zwnrzfzwr5] {
        display: flex;
        align-items: center;
        gap: 0.25rem;
        font-size: 0.9rem;
        color: var(--bs-secondary);
    }
}
/* _content/AiCraftors/Components/Pages/Aufmass/AufmassUebersicht.razor.rz.scp.css */
/* Mobile: sessions as full-width list */
@media (max-width: 768px) {
    .aufmass-session-list .col-md-6[b-59lc4bk0q6],
    .aufmass-session-list .col-lg-4[b-59lc4bk0q6] {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
/* _content/AiCraftors/Components/Pages/Aufmass/RaumErfassung.razor.rz.scp.css */
.sketch-container[b-plws6ijdr9] {
    border: 2px dashed var(--bs-border-color);
    border-radius: 0.5rem;
    min-height: 400px;
    background: var(--bs-body-bg);
}

.sketch-toolbar[b-plws6ijdr9] {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--bs-tertiary-bg);
    border-bottom: 1px solid var(--bs-border-color);
}

.area-display[b-plws6ijdr9] {
    font-size: 1.1rem;
    font-weight: 600;
}

.area-unit[b-plws6ijdr9] {
    font-size: 0.85rem;
    color: var(--bs-secondary);
}

@media (max-width: 768px) {
    .sketch-container[b-plws6ijdr9] { min-height: 300px; }
    .sketch-toolbar .btn[b-plws6ijdr9] { min-width: 44px; min-height: 44px; }
}
/* _content/AiCraftors/Components/Pages/Kalkulation/DienstleisterSucher.razor.rz.scp.css */
/* ============================================================
   DienstleisterSucher — Blazor CSS Isolation
   Bootstrap 5.3 available globally; no vendor prefixes needed.
   ============================================================ */

/* ----------------------------------------------------------
   0. Wizard Progress Bar
   ---------------------------------------------------------- */
.wizard-progress[b-irvhxnl991] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0 2rem;
}

.wizard-step[b-irvhxnl991] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.wizard-step-number[b-irvhxnl991] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    border: 2px solid var(--bs-border-color);
    color: var(--bs-body-color);
    opacity: 0.4;
    transition: all 0.3s ease-out;
}

.wizard-step.active .wizard-step-number[b-irvhxnl991] {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
    opacity: 1;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
}

.wizard-step.done .wizard-step-number[b-irvhxnl991] {
    background: #198754;
    border-color: #198754;
    color: #fff;
    opacity: 1;
}

.wizard-step-label[b-irvhxnl991] {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--bs-body-color);
    opacity: 0.4;
    transition: opacity 0.3s ease-out;
}

.wizard-step.active .wizard-step-label[b-irvhxnl991],
.wizard-step.done .wizard-step-label[b-irvhxnl991] {
    opacity: 1;
}

.wizard-step-line[b-irvhxnl991] {
    flex: 1;
    height: 2px;
    background: var(--bs-border-color);
    margin: 0 8px;
    margin-bottom: 20px;
    transition: background 0.3s ease-out;
    min-width: 40px;
}

.wizard-step-line.done[b-irvhxnl991] {
    background: #198754;
}

/* ----------------------------------------------------------
   0b. Anschreiben Phase Styles
   ---------------------------------------------------------- */
.empfaenger-row[b-irvhxnl991] {
    transition: background-color 0.15s ease-out;
}

.empfaenger-row:hover[b-irvhxnl991] {
    background-color: rgba(13, 110, 253, 0.06);
}

.empfaenger-row:last-child[b-irvhxnl991] {
    border-bottom: none !important;
}

.vorschau-container[b-irvhxnl991] {
    background: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 8px;
    padding: 1rem;
}

.vorschau-header[b-irvhxnl991] {
    border-bottom: 1px solid var(--bs-border-color);
    padding-bottom: 0.5rem;
}

/* Gesendet Animation */
.gesendet-icon[b-irvhxnl991] {
    animation: gesendetPulse-b-irvhxnl991 0.6s ease-out;
}

@keyframes gesendetPulse-b-irvhxnl991 {
    0% { transform: scale(0.5); opacity: 0; }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .gesendet-icon[b-irvhxnl991] {
        animation: none;
    }
    .wizard-step-number[b-irvhxnl991],
    .wizard-step-label[b-irvhxnl991],
    .wizard-step-line[b-irvhxnl991] {
        transition: none;
    }
}

/* ----------------------------------------------------------
   1. Kanban Layout
   ---------------------------------------------------------- */
.kanban-container[b-irvhxnl991] {
    display: flex;
    flex-direction: row;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 1rem;
    padding-right: 2rem;
    min-height: calc(100vh - 340px);
    align-items: flex-start;
}

.kanban-col[b-irvhxnl991] {
    min-width: 260px;
    max-width: 320px;
    flex-shrink: 0;
}

/* ----------------------------------------------------------
   2. Matrix Table  (::deep needed for Bootstrap-generated markup)
   ---------------------------------------------------------- */
[b-irvhxnl991] .table > tbody > tr {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    font-size: 0.85rem;
}

[b-irvhxnl991] .table-hover > tbody > tr:hover > * {
    background-color: rgba(13, 110, 253, 0.06);
}

[b-irvhxnl991] .table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: rgba(0, 0, 0, 0.03);
}

/* ----------------------------------------------------------
   3. Stufe Badges
   ---------------------------------------------------------- */
.stufe-vorgemerkt[b-irvhxnl991] {
    display: inline-block;
    background: rgba(255, 152, 0, 0.25);
    color: #ffb74d;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    white-space: nowrap;
}

.stufe-angelegt[b-irvhxnl991] {
    display: inline-block;
    background: rgba(76, 175, 80, 0.25);
    color: #81c784;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    white-space: nowrap;
}

/* ----------------------------------------------------------
   4. KM Badges
   ---------------------------------------------------------- */
.km-badge[b-irvhxnl991] {
    display: inline-block;
    font-size: 0.6rem;
    padding: 1px 6px;
    border-radius: 8px;
    font-weight: 600;
    white-space: nowrap;
}

.km-near[b-irvhxnl991] {
    background: rgba(76, 175, 80, 0.3);
    color: #a5d6a7;
}

.km-mid[b-irvhxnl991] {
    background: rgba(255, 183, 77, 0.3);
    color: #ffcc80;
}

.km-far[b-irvhxnl991] {
    background: rgba(239, 83, 80, 0.3);
    color: #ef9a9a;
}

/* ----------------------------------------------------------
   5. MA Badge
   ---------------------------------------------------------- */
.ma-badge[b-irvhxnl991] {
    display: inline-block;
    font-size: 0.65rem;
    padding: 1px 5px;
    border-radius: 4px;
    background: rgba(108, 117, 125, 0.25);
    color: #adb5bd;
    font-weight: 500;
}

/* ----------------------------------------------------------
   6. View Toggle
   ---------------------------------------------------------- */
.view-toggle .btn.active[b-irvhxnl991] {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

/* ----------------------------------------------------------
   7. Faktor Toggle
   ---------------------------------------------------------- */
.faktor-toggle .btn.active[b-irvhxnl991] {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

/* ----------------------------------------------------------
   8. Sticky Bottom Bar
   ---------------------------------------------------------- */
.sticky-bottom[b-irvhxnl991] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
    background: var(--bs-body-bg);
    padding: 0.5rem 1rem;
}

/* ----------------------------------------------------------
   9. Gewerk Badges  (dynamic attribute selectors)
   ---------------------------------------------------------- */
[class^="badge-"][b-irvhxnl991],
[class*=" badge-"][b-irvhxnl991] {
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

/* Named Gewerk overrides */
.badge-SAN[b-irvhxnl991] { background: #0d6efd; }
.badge-BOD[b-irvhxnl991] { background: #6f42c1; }
.badge-FLI[b-irvhxnl991] { background: #0dcaf0; color: #000; }
.badge-MAL[b-irvhxnl991] { background: #ffc107; color: #000; }
.badge-ELK[b-irvhxnl991] { background: #dc3545; }
.badge-ALG[b-irvhxnl991] { background: #6c757d; }
.badge-TAP[b-irvhxnl991] { background: #d63384; }

/* ----------------------------------------------------------
   10. Responsive: stack kanban vertically below 768 px
   ---------------------------------------------------------- */
@media (max-width: 768px) {
    .kanban-container[b-irvhxnl991] {
        flex-direction: column;
        overflow-x: unset;
    }

    .kanban-col[b-irvhxnl991] {
        min-width: 100%;
        max-width: 100%;
    }
}

/* ----------------------------------------------------------
   11. Statistics Cards  (compact, no forced min-height)
   ---------------------------------------------------------- */
.row.g-2 > .col > .card[b-irvhxnl991],
.row.g-2 > [class*="col-"] > .card[b-irvhxnl991] {
    min-height: unset;
}

.row.g-2 .card-body[b-irvhxnl991] {
    padding: 0.5rem 0.75rem;
}

/* ----------------------------------------------------------
   12. Kanban Header + Body
   ---------------------------------------------------------- */
.kanban-header[b-irvhxnl991] {
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    padding: 8px 12px;
    border-top: 3px solid #0d6efd;
}

.kanban-body[b-irvhxnl991] {
    background: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color);
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 8px;
}

/* ----------------------------------------------------------
   13. Statistics Card
   ---------------------------------------------------------- */
.stat-card[b-irvhxnl991] {
    min-width: 90px;
}

/* ----------------------------------------------------------
   14. Label Mini
   ---------------------------------------------------------- */
.label-mini[b-irvhxnl991] {
    font-size: 0.6rem;
}

/* ----------------------------------------------------------
   15. Gewerk Filter Buttons (Task 7)
   ---------------------------------------------------------- */
.gewerk-filter-btn[b-irvhxnl991] {
    border: 1px solid var(--bs-border-color);
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
    transition: all 0.15s ease;
}

.gewerk-filter-btn:hover[b-irvhxnl991] {
    border-color: #0d6efd;
    color: #0d6efd;
}

.gewerk-filter-btn.active[b-irvhxnl991] {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

/* ----------------------------------------------------------
   16. Matrix Sortable Headers (Task 5)
   ---------------------------------------------------------- */
.sortable-header[b-irvhxnl991] {
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.sortable-header:hover[b-irvhxnl991] {
    color: #0d6efd;
}

.sort-icon[b-irvhxnl991] {
    font-size: 0.6rem;
    opacity: 0.6;
}

.matrix-table[b-irvhxnl991] {
    font-size: 0.85rem;
}

.gewerk-header[b-irvhxnl991] {
    padding: 4px !important;
}

.gewerk-badge[b-irvhxnl991] {
    font-size: 0.6rem;
    background: #0d6efd;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
}

.gewerk-check[b-irvhxnl991] {
    color: #0d6efd;
    font-weight: 700;
}

.tel-small[b-irvhxnl991] {
    font-size: 0.65rem;
}

.status-badge[b-irvhxnl991] {
    font-size: 0.65rem;
    padding: 2px 8px;
}

/* ----------------------------------------------------------
   17. Gewerk-Check brighter for dark mode
   ---------------------------------------------------------- */
.gewerk-check[b-irvhxnl991] {
    color: #64b5f6;
    font-weight: 700;
    font-size: 1rem;
}

/* ----------------------------------------------------------
   18. Action button bigger click target
   ---------------------------------------------------------- */
.action-btn[b-irvhxnl991] {
    font-size: 0.7rem;
    padding: 4px 12px;
}

.action-btn[b-irvhxnl991] {
    font-size: 0.6rem;
    padding: 1px 8px;
}

/* ----------------------------------------------------------
   Kanban Cards  (preserved — used in component)
   ---------------------------------------------------------- */
/* ----------------------------------------------------------
   19. Einzelgewerk / Mehrgewerk Pill Toggle
   ---------------------------------------------------------- */
.pill-toggle[b-irvhxnl991] {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 20px;
    padding: 2px;
    cursor: pointer;
    user-select: none;
    overflow: hidden;
    height: 30px;
}

.pill-option[b-irvhxnl991] {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 12px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--bs-body-color);
    opacity: 0.55;
    transition: color 0.25s ease-out, opacity 0.25s ease-out;
    white-space: nowrap;
}

.pill-option.pill-active[b-irvhxnl991] {
    color: #fff;
    opacity: 1;
}

.pill-slider[b-irvhxnl991] {
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 2px;
    width: calc(50% - 2px);
    background: #0d6efd;
    border-radius: 18px;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.pill-toggle.pill-right .pill-slider[b-irvhxnl991] {
    transform: translateX(100%);
}

.pill-toggle.pill-left .pill-slider[b-irvhxnl991] {
    transform: translateX(0);
}

.pill-toggle:hover[b-irvhxnl991] {
    border-color: #0d6efd;
}

.pill-toggle:active .pill-slider[b-irvhxnl991] {
    width: calc(50% + 4px);
}

/* ----------------------------------------------------------
   20. Matrix Gewerk Cell Clickable (Einzelgewerk)
   ---------------------------------------------------------- */
.gewerk-cell-clickable[b-irvhxnl991] {
    cursor: pointer;
    transition: background-color 0.15s ease-out;
}

.gewerk-cell-clickable:hover[b-irvhxnl991] {
    background-color: rgba(13, 110, 253, 0.08) !important;
}

.gewerk-check-selected[b-irvhxnl991] {
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0d6efd;
    transition: transform 0.2s ease-out, background-color 0.2s ease-out;
}

.gewerk-cell-clickable:hover .gewerk-check-selected[b-irvhxnl991] {
    transform: scale(1.15);
}

.gewerk-cell-clickable:hover .gewerk-check[b-irvhxnl991] {
    color: #0d6efd;
    transform: scale(1.15);
    transition: transform 0.2s ease-out;
}

/* ----------------------------------------------------------
   21. Gewerk Modus Toggle Container
   ---------------------------------------------------------- */
.gewerk-modus-toggle[b-irvhxnl991] {
    border-left: 1px solid var(--bs-border-color);
    border-right: 1px solid var(--bs-border-color);
    padding: 0 12px;
    margin: 0 4px;
}

/* ----------------------------------------------------------
   22. Quelle Badges (DB vs KI-Websuche)
   ---------------------------------------------------------- */
.quelle-badge[b-irvhxnl991] {
    display: inline-block;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.quelle-db[b-irvhxnl991] {
    background: rgba(76, 175, 80, 0.25);
    color: #66bb6a;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.quelle-ki[b-irvhxnl991] {
    background: rgba(33, 150, 243, 0.2);
    color: #64b5f6;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

/* ----------------------------------------------------------
   23. Upload Zone
   ---------------------------------------------------------- */
.upload-zone[b-irvhxnl991] {
    position: relative;
}

.upload-input[b-irvhxnl991] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.upload-label[b-irvhxnl991] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    border: 2px dashed var(--bs-border-color);
    border-radius: 8px;
    background: var(--bs-tertiary-bg);
    cursor: pointer;
    transition: border-color 0.2s ease-out, background-color 0.2s ease-out;
    text-align: center;
    color: var(--bs-body-color);
    opacity: 0.7;
}

.upload-zone:hover .upload-label[b-irvhxnl991] {
    border-color: #0d6efd;
    background: rgba(13, 110, 253, 0.04);
    opacity: 1;
}

.uploaded-file-row[b-irvhxnl991] {
    transition: background-color 0.15s ease-out;
}

.uploaded-file-row:hover[b-irvhxnl991] {
    background: rgba(13, 110, 253, 0.06);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .pill-slider[b-irvhxnl991],
    .pill-option[b-irvhxnl991],
    .gewerk-check-selected[b-irvhxnl991],
    .gewerk-cell-clickable[b-irvhxnl991],
    .upload-label[b-irvhxnl991] {
        transition: none;
    }
}

/* ----------------------------------------------------------
   Kanban Cards  (preserved — used in component)
   ---------------------------------------------------------- */
.dl-card[b-irvhxnl991] {
    transition: background-color 0.15s ease-out, border-color 0.15s ease-out;
    cursor: pointer;
    border-left: 2px solid transparent;
}

.dl-card.card-vorgemerkt[b-irvhxnl991] {
    border-left: 2px dashed #e65100;
}

.dl-card.card-angelegt[b-irvhxnl991] {
    border-left: 2px solid #2e7d32;
}

.dl-card:hover[b-irvhxnl991] {
    background: rgba(13, 110, 253, 0.03);
}

/* Selected: subtiler blauer linker Rand, 1px breiter als normal */
.dl-card.card.selected[b-irvhxnl991] {
    border-left: 3px solid #0d6efd !important;
    background: rgba(13, 110, 253, 0.05);
}
/* _content/AiCraftors/Components/Pages/Kalkulation/LvAnalyseEigenbepreisungV2.razor.rz.scp.css */
/* Eigenbepreisung V2 Layout */

.eigenbepreisung-layout[b-sl5hbpvymh] {
    display: grid;
    grid-template-rows: auto auto auto 1fr;
    gap: 20px;
    height: calc(100vh - 100px);
    padding: 20px;
}

/* Header */
.eb-header[b-sl5hbpvymh] {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    padding: 20px 30px;
    border-radius: 8px;
    border: 2px solid #3b82f6;
    color: white;
}

/* Middle Row */
.eb-middle-row[b-sl5hbpvymh] {
    display: grid;
    grid-template-columns: 75% 25%;
    gap: 20px;
}

.eb-position-data[b-sl5hbpvymh],
.eb-ai-chat[b-sl5hbpvymh] {
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    padding: 20px;
    overflow: auto;
}

/* Toolbar */
.eb-toolbar[b-sl5hbpvymh] {
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    padding: 15px 20px;
}

/* Bottom Row */
.eb-bottom-row[b-sl5hbpvymh] {
    display: grid;
    grid-template-columns: 15% 85%;
    gap: 20px;
    min-height: 0;
}

.eb-navigation[b-sl5hbpvymh],
.eb-results[b-sl5hbpvymh] {
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    padding: 20px;
    overflow: auto;
}

/* Panel Headers */
.panel-header[b-sl5hbpvymh] {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3b82f6;
}

.panel-header h6[b-sl5hbpvymh] {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

/* Tables */
.data-table[b-sl5hbpvymh] {
    width: 100%;
    color: #fff;
    border-collapse: collapse;
}

.data-table th[b-sl5hbpvymh] {
    background: #3a3a3a;
    padding: 12px 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #4a4a4a;
    text-align: left;
}

.data-table td[b-sl5hbpvymh] {
    padding: 15px 8px;
    border-bottom: 1px solid #3a3a3a;
}

.data-table tbody tr[b-sl5hbpvymh] {
    transition: background 0.2s;
}

.data-table tbody tr:hover[b-sl5hbpvymh] {
    background: #333;
}

/* Details Row */
.details-row[b-sl5hbpvymh] {
    background: #1a1a1a !important;
}

.details-content[b-sl5hbpvymh] {
    padding: 15px;
    border-left: 3px solid #3b82f6;
    background: #252525;
    border-radius: 4px;
    margin: 5px;
    color: #ddd;
    line-height: 1.6;
}

/* Buttons */
.expand-btn[b-sl5hbpvymh] {
    background: none;
    border: none;
    color: #3b82f6;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s;
}

.expand-btn:hover[b-sl5hbpvymh] {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
}

.remove-btn[b-sl5hbpvymh] {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0;
}

.remove-btn:hover[b-sl5hbpvymh] {
    color: #dc2626;
}

.btn-purple[b-sl5hbpvymh] {
    background: #9333ea;
    border: none;
    color: white;
}

.btn-purple:hover[b-sl5hbpvymh] {
    background: #7e22ce;
}

/* Badges */
.badge-ep[b-sl5hbpvymh] {
    background: #10b981;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    color: white;
}

.badge-count[b-sl5hbpvymh] {
    background: #3b82f6;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    margin-left: 5px;
    color: white;
}

/* Navigation */
.nav-item-custom[b-sl5hbpvymh] {
    padding: 10px;
    margin-bottom: 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 0.9rem;
    color: #ddd;
}

.nav-item-custom:hover[b-sl5hbpvymh] {
    background: #3a3a3a;
}

.nav-item-custom.active[b-sl5hbpvymh] {
    background: #3b82f6;
    color: white;
}

/* AI Chat */
.chat-messages[b-sl5hbpvymh] {
    height: calc(100% - 150px);
    overflow-y: auto;
    margin-bottom: 15px;
    padding-right: 10px;
}

.chat-message[b-sl5hbpvymh] {
    background: #1a1a1a;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 3px solid #3b82f6;
}

.chat-message.user[b-sl5hbpvymh] {
    background: #1e3a8a;
    border-left-color: #60a5fa;
}

.chat-input[b-sl5hbpvymh] {
    background: #1a1a1a;
    border: 1px solid #3a3a3a;
    color: #fff;
    border-radius: 4px;
    padding: 10px;
    width: 100%;
    resize: none;
}

.chat-input:focus[b-sl5hbpvymh] {
    outline: none;
    border-color: #3b82f6;
}

/* PDF Upload */
.pdf-list[b-sl5hbpvymh] {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.pdf-badge[b-sl5hbpvymh] {
    background: #3b82f6;
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
}

.pdf-badge i[b-sl5hbpvymh] {
    margin-right: 6px;
}

.pdf-remove[b-sl5hbpvymh] {
    background: none;
    border: none;
    color: white;
    margin-left: 8px;
    cursor: pointer;
    padding: 0;
    font-size: 1.1rem;
}

.pdf-remove:hover[b-sl5hbpvymh] {
    color: #ef4444;
}

/* Kurztext Handling */
.ktext-truncated[b-sl5hbpvymh] {
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: help;
}

.ktext-edit[b-sl5hbpvymh] {
    min-height: 60px;
    resize: vertical;
}

/* Langtext Details Row */
.langtext-row[b-sl5hbpvymh] {
    display: none;
    background: #1a1a1a !important;
}

.langtext-row.show[b-sl5hbpvymh] {
    display: table-row;
}

.langtext-content[b-sl5hbpvymh] {
    padding: 15px;
    border-left: 3px solid #3b82f6;
    background: #252525;
    border-radius: 4px;
    margin: 5px;
    color: #ddd;
    line-height: 1.6;
}

.langtext-label[b-sl5hbpvymh] {
    font-weight: 600;
    color: #3b82f6;
    margin-bottom: 8px;
    display: block;
}

/* Forms */
.form-control[b-sl5hbpvymh],
.form-select[b-sl5hbpvymh] {
    background: #1a1a1a;
    border: 1px solid #3a3a3a;
    color: #fff;
    border-radius: 4px;
}

.form-control:focus[b-sl5hbpvymh],
.form-select:focus[b-sl5hbpvymh] {
    background: #2a2a2a;
    border-color: #3b82f6;
    outline: none;
    color: #fff;
}

.form-control-sm[b-sl5hbpvymh] {
    padding: 0.375rem 0.5rem;
    font-size: 0.875rem;
}

.form-label[b-sl5hbpvymh] {
    color: #ddd;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Scrollbar */
[b-sl5hbpvymh]::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

[b-sl5hbpvymh]::-webkit-scrollbar-track {
    background: #1a1a1a;
}

[b-sl5hbpvymh]::-webkit-scrollbar-thumb {
    background: #3a3a3a;
    border-radius: 4px;
}

[b-sl5hbpvymh]::-webkit-scrollbar-thumb:hover {
    background: #4a4a4a;
}

/* Text Utilities */
.text-end[b-sl5hbpvymh] {
    text-align: right;
}

/* Responsive */
@media (max-width: 1400px) {
    .eb-middle-row[b-sl5hbpvymh] {
        grid-template-columns: 70% 30%;
    }
}

@media (max-width: 1200px) {
    .eb-middle-row[b-sl5hbpvymh] {
        grid-template-columns: 1fr;
    }

    .eb-bottom-row[b-sl5hbpvymh] {
        grid-template-columns: 20% 80%;
    }
}

@media (max-width: 768px) {
    .eb-bottom-row[b-sl5hbpvymh] {
        grid-template-columns: 1fr;
    }

    .eb-navigation[b-sl5hbpvymh] {
        display: none;
    }
}
/* _content/AiCraftors/Components/Pages/Kalkulation/LvGraphVisualisierung.razor.rz.scp.css */
.stat-item[b-a1enptoj5c] {
    padding: 10px;
    border-left: 3px solid #007bff;
    background: #f8f9fa;
    border-radius: 4px;
}

.stat-label[b-a1enptoj5c] {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.stat-value[b-a1enptoj5c] {
    font-weight: bold;
    color: #007bff;
    margin: 0;
}

.legend-item[b-a1enptoj5c] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legend-color[b-a1enptoj5c] {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
}

#graph-container[b-a1enptoj5c] {
    width: 100%;
    border: 1px solid #dee2e6;
}
/* _content/AiCraftors/Components/Pages/Kalkulation/ProjektLvImport.razor.rz.scp.css */
/* Compact table rows */
[b-f4nkh0ujzi] .lv-import-table tbody tr {
    height: 38px;
}

[b-f4nkh0ujzi] .lv-import-table tbody td {
    vertical-align: middle;
    padding: 0.4rem 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

/* Kurztext and Langtext: Ellipsis + Tooltip */
[b-f4nkh0ujzi] .lv-import-table tbody td.text-cell {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: help;
}

/* Edit mode: more height for textarea */
[b-f4nkh0ujzi] .lv-import-table tbody tr:has(textarea) {
    height: auto;
    min-height: 80px;
}

/* Dark background for info alerts */
[b-f4nkh0ujzi] .alert-info {
    background-color: rgba(13, 110, 253, 0.15) !important;
    border-color: rgba(13, 110, 253, 0.3) !important;
    color: #cfe2ff !important;
}

[b-f4nkh0ujzi] .alert-info i,
[b-f4nkh0ujzi] .alert-info strong {
    color: #9ec5fe !important;
}
/* _content/AiCraftors/Components/Pages/Kalkulation/Shared/DlAnschreibenModal.razor.rz.scp.css */
/* DlAnschreibenModal.razor.css — Blazor CSS Isolation */

/* ── Modal overlay ────────────────────────────────────────────────────────── */
.modal[b-aslmyfoi5a] {
    z-index: 1050;
}

/* ── Firmen list container ────────────────────────────────────────────────── */
.border.rounded.p-2[b-aslmyfoi5a] {
    max-height: 150px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.border.rounded.p-2 > div[b-aslmyfoi5a] {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background-color 0.1s ease;
}

.border.rounded.p-2 > div:last-child[b-aslmyfoi5a] {
    border-bottom: none;
}

.border.rounded.p-2 > div:hover[b-aslmyfoi5a] {
    background-color: rgba(13, 110, 253, 0.04);
    border-radius: 4px;
}

/* ── Stufe badges (smaller in modal context) ──────────────────────────────── */
.stufe-vorgemerkt[b-aslmyfoi5a] {
    display: inline-block;
    font-size: 0.55rem;
    font-weight: 600;
    padding: 1px 5px;
    border-radius: 8px;
    line-height: 1.4;
    background-color: #fff3cd;
    color: #856404;
}

.stufe-angelegt[b-aslmyfoi5a] {
    display: inline-block;
    font-size: 0.55rem;
    font-weight: 600;
    padding: 1px 5px;
    border-radius: 8px;
    line-height: 1.4;
    background-color: #d4edda;
    color: #155724;
}

/* ── Gewerk badges (compact in modal) ────────────────────────────────────── */
[class^="badge-"][b-aslmyfoi5a] {
    font-size: 0.55rem;
}

/* ── Textarea min-height ──────────────────────────────────────────────────── */
textarea.form-control[b-aslmyfoi5a] {
    min-height: 180px;
}

/* ── Footer button alignment ──────────────────────────────────────────────── */
.modal-footer[b-aslmyfoi5a] {
    gap: 0.5rem;
}

.modal-footer .d-flex.gap-2[b-aslmyfoi5a] {
    flex-wrap: nowrap;
}
/* _content/AiCraftors/Components/Pages/Kalkulation/Shared/DlKanbanCard.razor.rz.scp.css */
/* DlKanbanCard.razor.css — Blazor CSS Isolation (Dark-Mode compatible) */

.dl-card[b-9w45x9vjcb] {
    border: 1px solid var(--bs-border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--bs-body-bg);
}

.dl-card:hover[b-9w45x9vjcb] {
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

.dl-card.selected[b-9w45x9vjcb] {
    border-color: var(--bs-primary);
    background: rgba(13, 110, 253, 0.1);
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.3);
}

.dl-card.card-vorgemerkt[b-9w45x9vjcb] {
    border-left: 3px solid #ffb74d;
}

.dl-card.card-angelegt[b-9w45x9vjcb] {
    border-left: 3px solid #81c784;
}

/* KM badges — high contrast for dark mode */
.km-badge[b-9w45x9vjcb] {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 8px;
}

.km-near[b-9w45x9vjcb] {
    background: rgba(76, 175, 80, 0.3);
    color: #a5d6a7;
}

.km-mid[b-9w45x9vjcb] {
    background: rgba(255, 183, 77, 0.3);
    color: #ffcc80;
}

.km-far[b-9w45x9vjcb] {
    background: rgba(239, 83, 80, 0.3);
    color: #ef9a9a;
}

/* Stufe badges */
.stufe-vorgemerkt[b-9w45x9vjcb] {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(255, 152, 0, 0.25);
    color: #ffb74d;
}

.stufe-angelegt[b-9w45x9vjcb] {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(76, 175, 80, 0.25);
    color: #81c784;
}

/* MA badge */
.ma-badge[b-9w45x9vjcb] {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 8px;
    background: rgba(108, 117, 125, 0.25);
    color: #adb5bd;
}

.dl-card .badge[b-9w45x9vjcb] {
    font-size: 0.6rem;
}
/* _content/AiCraftors/Components/Shared/EdktPositionen/ArtikelSucheModal.razor.rz.scp.css */
.artikel-results-list[b-6guwin22yx] {
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 8px;
}

.artikel-result-item[b-6guwin22yx] {
    padding: 12px;
    margin-bottom: 8px;
    background: #2a2a2a;
    border: 2px solid #444;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.artikel-result-item:hover[b-6guwin22yx] {
    background: #333;
    border-color: #667eea;
    transform: translateX(4px);
}

.artikel-result-item.selected[b-6guwin22yx] {
    background: #1a3a5a;
    border-color: #667eea;
    box-shadow: 0 0 12px rgba(102, 126, 234, 0.3);
}

[b-6guwin22yx] .modal-backdrop.show {
    opacity: 0.7;
}
/* _content/AiCraftors/Components/Shared/EdktPositionen/EdktTable.razor.rz.scp.css */
/* KI-POSITIONS TABLE COMPACT */
[b-1t7x2z0xwg] .ki-positions-table thead th {
    padding: 0.4rem 0.3rem !important;
    font-size: 13px;
    vertical-align: middle;
}

[b-1t7x2z0xwg] .ki-positions-table tbody td {
    padding: 0.35rem 0.3rem !important;
    font-size: 13px;
    vertical-align: middle;
}

/* Begründung row compact */
[b-1t7x2z0xwg] .begründung-row td {
    padding: 0.3rem 0.3rem !important;
}

[b-1t7x2z0xwg] .begründung-cell {
    padding: 0.3rem 0.5rem !important;
}

/* ALTERNATIVES (menge=0) STYLING */
[b-1t7x2z0xwg] .position-row[data-menge="0"] {
    background-color: #2a2520 !important;
    border-top: 2px solid #ffc107;
    opacity: 0.90;
}

[b-1t7x2z0xwg] .position-row[data-menge="0"] td {
    font-style: italic;
    color: #b8b8b8;
}

[b-1t7x2z0xwg] .position-row[data-menge="0"] td:nth-child(2)::before {
    content: "🔄 ";
}

/* Inline-Editing Mode */
[b-1t7x2z0xwg] .position-row.editing-row {
    background-color: #1a3a3a !important;
    border: 2px solid #17a2b8 !important;
    box-shadow: 0 0 10px rgba(23, 162, 184, 0.5);
}

[b-1t7x2z0xwg] .position-row.editing-row td {
    padding: 0.5rem 0.3rem !important;
}

[b-1t7x2z0xwg] .position-row:not(.editing-row):hover {
    background-color: #2a2a2a !important;
    cursor: pointer;
}

[b-1t7x2z0xwg] .alternativen-separator-text {
    text-align: center;
    padding: 0.75rem;
    background: linear-gradient(135deg, #3a3020 0%, #2a2520 100%);
    border: 2px solid #ffc107;
    border-radius: 8px;
    font-weight: bold;
    color: #ffc107;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
/* _content/AiCraftors/Components/Shared/LvPositionDetailsPanel.razor.rz.scp.css */
/* Content-Driven Height Row - Panels passen sich ihrem Content an */
.equal-height-row[b-m0s43f3vck] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start; /* Nicht stretch - jedes Panel hat eigene Höhe */
}

.equal-height-row > [class*="col-"][b-m0s43f3vck] {
    display: flex;
    flex-direction: column;
}

/* Panels passen sich Content-Höhe an - KEIN fester Platz */
.positions-panel[b-m0s43f3vck],
.ai-chat-panel[b-m0s43f3vck] {
    display: flex;
    flex-direction: column;
    height: auto !important;
    min-height: auto !important;
}

.filter-panel[b-m0s43f3vck],
.results-panel[b-m0s43f3vck] {
    display: flex;
    flex-direction: column;
}

.positions-content[b-m0s43f3vck] {
    padding: 1rem;
    flex-grow: 0;
    flex-shrink: 0;
}

.chat-messages[b-m0s43f3vck] {
    padding: 1rem;
    flex-grow: 0;
    flex-shrink: 0;
}

/* Auto-Resize Textareas */
.auto-resize-textarea[b-m0s43f3vck] {
    field-sizing: content; /* Modern browsers - auto resize */
    min-height: 30px;
    resize: vertical;
    overflow-y: auto;
    transition: height 0.1s ease;
    line-height: 1.4;
}

/* Langtext Textarea specific */
.langtext-section .auto-resize-textarea[b-m0s43f3vck] {
    min-height: 60px;
    max-height: none; /* Keine max-height Beschränkung */
}

/* Begründungs-Textareas */
.results-content textarea.auto-resize-textarea[b-m0s43f3vck] {
    min-height: 30px;
    max-height: 300px;
}

/* Margin-Reduktion - MINIMAL */
.positions-content .mb-3[b-m0s43f3vck] {
    margin-bottom: 0.25rem !important;
}

.positions-content .langtext-section[b-m0s43f3vck] {
    margin-bottom: 0 !important;
}

.positions-content .form-group[b-m0s43f3vck] {
    margin-bottom: 0 !important;
}

.langtext-header[b-m0s43f3vck] {
    padding: 0.25rem 0 !important;
}

.positions-content label[b-m0s43f3vck] {
    margin-bottom: 0.25rem !important;
}

.positions-content .mt-3[b-m0s43f3vck] {
    margin-top: 0.25rem !important;
}

.chat-messages .chat-message[b-m0s43f3vck] {
    margin-bottom: 0.25rem !important;
    padding: 0.5rem !important;
}

.chat-input-container[b-m0s43f3vck] {
    padding: 0.5rem 0.75rem !important;
}

/* AUTO-SAVE INDICATOR */
.autosave-indicator[b-m0s43f3vck] {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    animation: fadeInOut-b-m0s43f3vck 2s ease-in-out;
    z-index: 1000;
}

@keyframes fadeInOut-b-m0s43f3vck {
    0%, 100% { opacity: 0; }
    10%, 90% { opacity: 1; }
}
