/* Eigenes, bewusst nüchternes Aussehen: Das Portal soll auf den ersten Blick **nicht** wie die
   Endkunden-App wirken — wer hier klickt, arbeitet an fremden Daten. Daher der dunkle Balken mit
   dem Hinweis „INTERN" statt des freundlichen Client-Designs. */

:root {
    --mgmt-bar: #1f2933;
    --mgmt-bar-text: #e4e7eb;
    --mgmt-accent: #f0b429;
}

body {
    background: #f5f7fa;
    font-size: .95rem;
}

.mgmt-bar {
    background: var(--mgmt-bar);
    color: var(--mgmt-bar-text);
    padding: .5rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.mgmt-bar .mgmt-brand {
    font-weight: 600;
    letter-spacing: .02em;
    color: #fff;
    text-decoration: none;
}

.mgmt-bar .mgmt-flag {
    background: var(--mgmt-accent);
    color: #1f2933;
    font-weight: 700;
    font-size: .7rem;
    letter-spacing: .08em;
    padding: .1rem .4rem;
    border-radius: .2rem;
}

.mgmt-bar nav {
    display: flex;
    gap: .25rem;
    flex-wrap: wrap;
}

.mgmt-bar nav a {
    color: var(--mgmt-bar-text);
    text-decoration: none;
    padding: .25rem .6rem;
    border-radius: .25rem;
}

.mgmt-bar nav a:hover {
    background: rgba(255, 255, 255, .1);
}

.mgmt-bar nav a.active {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

.mgmt-bar .mgmt-user {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
}

.mgmt-content {
    padding: 1.25rem 1rem 3rem;
}

.mgmt-content h1 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.mgmt-content h2 {
    font-size: 1.1rem;
    margin: 1.5rem 0 .75rem;
}

/* Tabellen sind hier das Hauptwerkzeug — schmal und dicht, damit viele Zeilen auf den Schirm
   passen. */
.mgmt-table {
    background: #fff;
    font-size: .875rem;
}

.mgmt-table th {
    font-weight: 600;
    white-space: nowrap;
}

.mgmt-id {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .75rem;
    color: #616e7c;
}

.mgmt-card {
    background: #fff;
    border: 1px solid #e4e7eb;
    border-radius: .35rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

/* Auffälligkeiten der Resourcen-Sicht: sollen ins Auge fallen, ohne wie ein Fehler auszusehen. */
.mgmt-finding {
    border-left: 4px solid var(--mgmt-accent);
    background: #fffaeb;
    padding: .5rem .75rem;
    margin-bottom: .5rem;
}

.mgmt-tree {
    list-style: none;
    padding-left: 1.25rem;
    margin: 0;
}

.mgmt-tree > li {
    padding: .15rem 0;
}

#blazor-error-ui {
    background: #ffd9d9;
    bottom: 0;
    display: none;
    left: 0;
    padding: .6rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}
