/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* --- Global Layout --- */
.app-container[b-kvvx749uwt] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: #f4f6f8;
}

.header[b-kvvx749uwt] {
    height: 60px;
    background: #1f2937;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 0 24px;
    font-size: 1.25rem;
    font-weight: 600;
    border-bottom: 1px solid #111827;
}

.body-container[b-kvvx749uwt] {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* --- Sidebar --- */
.sidebar[b-kvvx749uwt] {
    width: 230px;
    background: #fff;
    border-right: 1px solid #e5e7eb;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
}

    .sidebar ul[b-kvvx749uwt] {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .sidebar li[b-kvvx749uwt] {
        margin: 0;
    }

/* shared nav-item styles */
.nav-item[b-kvvx749uwt] {
    display: flex;
    align-items: center;
    height: 48px;
    padding: 0 18px;
    color: #374151;
    font-size: 0.95rem;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: background 0.15s ease, border-color 0.2s ease;
}

    /* hover */
    .nav-item:hover[b-kvvx749uwt] {
        background: #f3f4f6;
        cursor: pointer;
    }

    /* active link */
    .nav-item.active[b-kvvx749uwt] {
        font-weight: 600;
        background: #eef2ff;
        border-left: 3px solid #6366f1;
        color: #111827;
    }

/* --- Page Content --- */
.content[b-kvvx749uwt] {
    flex: 1;
    min-height: 0;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

tr:hover[b-kvvx749uwt] {
    background-color: #f2f2f2;
}

/* ── Lizenz-Banner ────────────────────────────────────────────── */
.license-banner[b-kvvx749uwt] {
    background-color: #b91c1c;
    color: #fff;
    text-align: center;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    flex-shrink: 0;
    z-index: 100;
}

.license-banner-link[b-kvvx749uwt] {
    color: #fde68a;
    text-decoration: underline;
    font-weight: 600;
}

.license-banner-link:hover[b-kvvx749uwt] {
    color: #fef3c7;
}
/* /Components/Pages/Dialogs/RequirementOverlayDialog.razor.rz.scp.css */
/* Ehemals wwwroot/css/requirementDetail.css - als globales <link> eingebunden.
   Das führte dazu, dass generische Klassen wie .card und .alert JEDE Seite
   beeinflussten, die diese Komponente einbindet (z.B. ProjectDetail.razor:
   der Projekt-Header dort ist auch eine .card und bekam dadurch ungewollt
   20px Padding + abweichenden Schatten/Radius). Als Blazor-CSS-Isolation-Datei
   (.razor.css) gilt das jetzt nur noch für Elemente, die von
   RequirementOverlayDialog selbst gerendert werden. */

.page-title[b-xw3l9i5rmg] {
    margin-bottom: 20px;
    font-weight: 600;
    margin-right: 12px;
}

.card[b-xw3l9i5rmg] {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 20px;
}

.form-section[b-xw3l9i5rmg] {
    margin-bottom: 30px;
}

    .form-section h4[b-xw3l9i5rmg] {
        margin-bottom: 12px;
        font-weight: 500;
    }

.form-grid[b-xw3l9i5rmg] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.description-box[b-xw3l9i5rmg] {
    min-height: 175px !important;
}


.assignment-list[b-xw3l9i5rmg] {
    list-style: none;
    padding-left: 0;
}

    .assignment-list li[b-xw3l9i5rmg] {
        padding: 6px 0;
        border-bottom: 1px solid #eee;
    }

.suggestion-box[b-xw3l9i5rmg] {
    background: #f7f7f7;
    padding: 12px;
    border-radius: 8px;
    font-style: italic;
}

.button-row[b-xw3l9i5rmg] {
    display: flex;
    gap: 12px;
}


.form-grid-large-title[b-xw3l9i5rmg] {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 16px;
    align-items: end;
}


.title-area input[b-xw3l9i5rmg] {
    font-size: 1.1rem;
    font-weight: 500;
}


.small-input[b-xw3l9i5rmg] {
    padding: 6px 8px;
    font-size: 0.9rem;
}

.btn-sm i[b-xw3l9i5rmg] {
    font-size: 1.1rem;
}

.alert[b-xw3l9i5rmg] {
    transition: opacity 0.5s ease-in-out;
}


.assignment-list[b-xw3l9i5rmg] {
    list-style: none;
    padding-left: 0;
}

.assignment-item[b-xw3l9i5rmg] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
}

.remove-btn[b-xw3l9i5rmg] {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-size: 1.1rem;
}

.remove-btn:hover[b-xw3l9i5rmg] {
    color: #a71d2a;
}

/* Audit-Log (Änderungshistorie): Badges für alte/neue Werte dürfen bei
   langen Texten (z.B. Titeländerungen) nicht die Zeile aufblähen, sondern
   müssen umbrechen. Sonst wird der ganze Overlay-Content horizontal
   scrollbar, weil .req-overlay-content overflow-y:auto erzwingt, was
   overflow-x implizit ebenfalls auf auto setzt. */
.audit-entry-body[b-xw3l9i5rmg] {
    min-width: 0;
}

.audit-value-badge[b-xw3l9i5rmg] {
    white-space: normal;
    word-break: break-word;
    max-width: 100%;
    text-align: left;
}
/* /Components/Pages/ProjectFolderBrowser.razor.rz.scp.css */
.fb-row[b-7khr2275nc] {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) 110px 170px 130px 48px;
    align-items: center;
    column-gap: .75rem;
}

.fb-header[b-7khr2275nc] {
    background-color: #fafafa;
}

.fb-drag-handle[b-7khr2275nc] {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    cursor: grab;
}

.fb-drag-handle:active[b-7khr2275nc] {
    cursor: grabbing;
}

.fb-name-link[b-7khr2275nc] {
    cursor: pointer;
    padding: 2px 6px;
    margin: -2px -6px;
    border-radius: 4px;
    transition: background-color .1s ease-in-out;
}

.fb-name-link:hover[b-7khr2275nc] {
    background-color: rgba(13, 110, 253, .08);
}

.folder-row[b-7khr2275nc],
.document-row[b-7khr2275nc] {
    transition: background-color .1s ease-in-out;
}

.dnd-dragging[b-7khr2275nc] {
    opacity: .4;
}

.dnd-drag-over[b-7khr2275nc] {
    background-color: rgba(13, 110, 253, .08);
    outline: 2px dashed #0d6efd;
    outline-offset: -2px;
}

.breadcrumb-item.dnd-drag-over[b-7khr2275nc] {
    background-color: rgba(13, 110, 253, .12);
    border-radius: 4px;
}

.breadcrumb-clickable[b-7khr2275nc] {
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background-color .1s ease-in-out;
}

.breadcrumb-clickable:hover[b-7khr2275nc] {
    background-color: rgba(13, 110, 253, .08);
}

.breadcrumb-clickable.active[b-7khr2275nc] {
    cursor: default;
}

.breadcrumb-clickable.active:hover[b-7khr2275nc] {
    background-color: transparent;
}

.move-tree-row[b-7khr2275nc] {
    display: block;
    width: 100%;
    text-align: left;
    padding: 8px 16px;
    border: none;
    background: none;
    border-bottom: 1px solid #f1f1f1;
    cursor: pointer;
}

.move-tree-row:hover[b-7khr2275nc] {
    background-color: #f8f9fa;
}

.move-tree-row.selected[b-7khr2275nc] {
    background-color: rgba(13, 110, 253, .1);
    font-weight: 600;
    color: #0d6efd;
}

.move-tree-row:last-child[b-7khr2275nc] {
    border-bottom: none;
}

/* Datei-Ablagebereich für leeren Ordner / neues Projekt (siehe fileDropZone.js) */
.fb-dropzone[b-7khr2275nc] {
    margin: 16px;
    border: 2px dashed #cfd4da;
    border-radius: 8px;
    background: #fbfcfd;
    transition: background-color .12s ease-in-out, border-color .12s ease-in-out;
}

.fb-dropzone__label[b-7khr2275nc] {
    display: block;
    width: 100%;
    margin: 0;
    padding: 40px 16px;
    text-align: center;
    color: #6c757d;
}

.fb-dropzone__title[b-7khr2275nc] {
    font-weight: 600;
}

.fb-dropzone__hint[b-7khr2275nc] {
    color: #adb5bd;
}

/* Aktiv, während eine Datei über der Zone schwebt (Klasse per JS gesetzt) */
.fb-dropzone--over[b-7khr2275nc] {
    border-color: #0d6efd;
    background-color: rgba(13, 110, 253, .06);
}

.fb-dropzone--over .fb-dropzone__label[b-7khr2275nc] {
    color: #0d6efd;
}

/* Während Upload/Analyse läuft: keine weitere Ablage annehmen */
.fb-dropzone--busy[b-7khr2275nc] {
    cursor: default;
    opacity: .75;
}
