/* _content/RegDBKS/Components/Layout/Drawer.razor.rz.scp.css */
[b-4akonaanki] .navigation-drawer {
    --dxbl-drawer-panel-footer-justify-content: center;
    height: 100vh;
    max-height: 100%;
}

[b-4akonaanki] .navigation-drawer > .dxbl-drawer-panel {
    /* RM-Look: flaches Anthrazit statt Blau-Gradient (Website: dunkle, flache Flächen). */
    background-image: none;
    background-color: var(--rm-anthrazit, #444F50);
}

[b-4akonaanki] .navigation-drawer > .dxbl-drawer-content {
    height: 100vh;
    overflow: auto;
}

[b-4akonaanki] .navigation-drawer > .dxbl-drawer-panel > .dxbl-drawer-header {
    border-bottom: none;
    padding: 2rem 1rem;
    background: none;
}

[b-4akonaanki] .navigation-drawer > .dxbl-drawer-panel > .dxbl-drawer-header > .navigation-drawer-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

[b-4akonaanki] .navigation-drawer > .dxbl-drawer-panel > .dxbl-drawer-body {
    --dxbl-drawer-panel-body-padding-x: 0;
    --dxbl-drawer-panel-body-padding-y: 1rem;
}

[b-4akonaanki] .navigation-drawer > .dxbl-drawer-panel > .dxbl-drawer-footer {
    --dxbl-drawer-panel-footer-justify-content: center;
    border-top: none;
    padding-bottom: 1.5rem;
    background: none;
}

/* Menüleiste immer sichtbar - auch auf schmalen Fenstern (kein Ausblenden mehr per Media Query) */
[b-4akonaanki] .navigation-drawer > .dxbl-drawer-panel {
    display: flex;
}
/* _content/RegDBKS/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-2vz34d2grk] {
    height: 100%;
    font-family: var(--bs-font-sans-serif, var(--DS-font-family-sans-serif));
}

[b-2vz34d2grk] .content {
    overflow: auto;
    display: flex;
    flex-direction: column;
}

[b-2vz34d2grk] .icon-back {
    --icon-mask-image: var(--icon-back-mask-image);
}

[b-2vz34d2grk] .icon-close {
    --icon-mask-image: var(--icon-close-mask-image);
}

[b-2vz34d2grk] .icon-menu {
    --icon-mask-image: var(--icon-menu-mask-image);
}

[b-2vz34d2grk] .icon-log-in {
    --icon-mask-image: var(--icon-log-in-mask-image);
}

[b-2vz34d2grk] .icon-log-out {
    --icon-mask-image: var(--icon-log-out-mask-image);
}

[b-2vz34d2grk] .icon-user {
    --icon-mask-image: var(--icon-user-mask-image);
}

[b-2vz34d2grk] .docs-icon {
    --icon-mask-image: var(--icon-docs-mask-image);
}

[b-2vz34d2grk] .demos-icon {
    --icon-mask-image: var(--icon-demos-mask-image);
}

[b-2vz34d2grk] .footer-button:hover .demos-icon {
    background-color: var(--dxbl-btn-hover-color);
}

[b-2vz34d2grk] .footer-button:hover .docs-icon {
    background-color: var(--dxbl-btn-hover-color);
}

/* Seiteninhalt: ohne Hamburger-Zeile darüber, deshalb oben nur ein schmaler Rand */
.seite[b-2vz34d2grk] {
    padding: 1rem 1.5rem 1.5rem;
}

.logo[b-2vz34d2grk] {
    width: 12rem !important;
    height: auto !important;
    object-fit: contain;
}

/* ─────────── Drawer-Footer mit User-Info + InfoHub/Abmelden ─────────── */
[b-2vz34d2grk] .drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

[b-2vz34d2grk] .user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 4px;
}

[b-2vz34d2grk] .user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--rm-gelb, #FFD500);
    color: var(--rm-anthrazit, #444F50);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

[b-2vz34d2grk] .user-text {
    flex: 1;
    min-width: 0;
}

[b-2vz34d2grk] .user-name {
    color: #fff;
    font-weight: 500;
    font-size: 0.88rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.2;
}

[b-2vz34d2grk] .user-role {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 3px;
}
/* Anonyme Variante des User-Widgets (solange keine Authentifizierung eingebaut ist) */
[b-2vz34d2grk] .user-avatar-anon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

[b-2vz34d2grk] .user-info-anon .user-name {
    color: rgba(255, 255, 255, 0.75);
    font-style: italic;
}
/* _content/RegDBKS/Components/Layout/NavMenu.razor.rz.scp.css */
#sidebar[b-tskqvyh5vm] {
    min-width: 15rem;
    max-width: 15rem;
    transition: transform 0.1s ease-out;
    height: 100%;
    max-height: 100%;
    display: block;
    background: inherit;
}

.logo[b-tskqvyh5vm] {
    text-align: center;
}

[b-tskqvyh5vm] .menu.display-mobile {
    margin-bottom: 2rem;
}

[b-tskqvyh5vm] .menu.display-iam {
    margin-bottom: 2rem;
}

[b-tskqvyh5vm] .menu {
    --dxbl-menu-bottom-left-border-radius: 0;
    --dxbl-menu-bottom-right-border-radius: 0;
    --dxbl-menu-top-left-border-radius: 0;
    --dxbl-menu-top-right-border-radius: 0;

    background-color: inherit;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    [b-tskqvyh5vm] .menu .dxbl-menu-item-list {
        gap: 0.5rem;
    }

[b-tskqvyh5vm] .menu-item {
    color: #ECEDED;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: var(--rm-radius, 2px);
    transition: background-color 0.2s ease;
}

[b-tskqvyh5vm] .menu-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

[b-tskqvyh5vm] .menu-item.active {
    /* RM-Look: Signalgelb markiert den aktiven Punkt (inset-Balken → kein Layout-Shift). */
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: inset 3px 0 0 var(--rm-gelb, #FFD500);
    color: #fff;
}

/* Meldungssystem: rotes Badge am Menüpunkt "Meldungen", solange ein Fehler offen ist */
[b-tskqvyh5vm] .menu-badge-fehler {
    margin-left: auto;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    background: var(--rm-rot, #C53030);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

[b-tskqvyh5vm] .icon {
    margin-left: 0.5rem;
    margin-right: 0.7rem;
}

[b-tskqvyh5vm] .home-icon {
    --icon-mask-image: var(--icon-home-mask-image);
}

[b-tskqvyh5vm] .weather-icon {
    --icon-mask-image: var(--icon-weather-mask-image);
}

[b-tskqvyh5vm] .counter-icon {
    --icon-mask-image: var(--icon-counter-mask-image);
}

[b-tskqvyh5vm] .settings-icon {
    --icon-mask-image: var(--icon-settings-mask-image);
}

[b-tskqvyh5vm] .demos-icon {
    --icon-mask-image: var(--icon-demos-mask-image);
}

[b-tskqvyh5vm] .docs-icon {
    --icon-mask-image: var(--icon-docs-mask-image);
}

[b-tskqvyh5vm] .import-icon {
    --icon-mask-image: var(--icon-import-mask-image);
}

[b-tskqvyh5vm] .log-in-icon {
    --icon-mask-image: var(--icon-log-in-mask-image);
}

[b-tskqvyh5vm] .log-out-icon {
    --icon-mask-image: var(--icon-log-out-mask-image);
}

[b-tskqvyh5vm] .user-icon {
    --icon-mask-image: var(--icon-user-mask-image);
}

@media (max-width: 768px) {
    #sidebar[b-tskqvyh5vm] {
        min-width: inherit;
        max-width: inherit;
        display: block;
    }

    .logo[b-tskqvyh5vm] {
        text-align: inherit;
    }
}
/* _content/RegDBKS/Components/Pages/Index.razor.rz.scp.css */
[b-5wsh5ljmb8] .welcome-gridlayout {
    margin: auto;
    width: auto;
    height: auto;
}

[b-5wsh5ljmb8] .welcome-gridlayout .dxbl-gridlayout-root {
    align-content: center;
    justify-content: center;
}

[b-5wsh5ljmb8] .title {
    text-align: center;
}

[b-5wsh5ljmb8] .welcome-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

[b-5wsh5ljmb8] .welcome-card {
    width: 26.25rem;
    height: 15rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -2px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s;
    border-radius: var(--rm-radius, 2px);
    color: var(--card-accent, var(--bs-link-color, var(--DS-primary-90)));
    gap: 1.5rem;
    text-decoration: none;
    position: relative;
}

    [b-5wsh5ljmb8] .welcome-card:hover {
        box-shadow: 0px 20px 25px -5px rgba(0, 0, 0, 0.1), 0px 8px 10px -6px rgba(0, 0, 0, 0.1);
    }

    [b-5wsh5ljmb8] .welcome-card .welcome-card-img {
        width: 6.5rem;
        height: 6.5rem;
    }

    [b-5wsh5ljmb8] .welcome-card .welcome-card-text {
        font-size: 1.75rem;
        font-weight: 600;
        letter-spacing: 0em;
        text-align: center;
        text-decoration: unset;
    }

    [b-5wsh5ljmb8] .welcome-card .welcome-card-back {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bs-body-color, var(--DS-color-content-neutral-default-rest));
        opacity: 0.05;
        border-radius: var(--rm-radius, 2px);
        z-index: -2;
    }
/* _content/RegDBKS/Components/Pages/KundenSuchen.razor.rz.scp.css */
/* Zwei Spalten: links schmal Kundenliste + Geräte Cache, rechts die Kundendetails.
   minmax(0, 1fr) verhindert, dass breite Inhalte (Grid, RAW-Daten) die rechte Spalte über den Rand schieben. */
.suche-raster[b-quvm7wxd8q] {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.suche-liste[b-quvm7wxd8q],
.suche-details[b-quvm7wxd8q] {
    min-width: 0;
}

/* Gefundene Kunden: kompakt - bei mehr Treffern scrollt die Liste */
.suche-liste[b-quvm7wxd8q]  .kunden-liste {
    height: 300px;
}

/* Geräte-Cache-Knöpfe unter der Kundenliste, volle Spaltenbreite */
.geraete-cache[b-quvm7wxd8q] {
    display: flex;
    flex-direction: column;
}

.geraete-cache[b-quvm7wxd8q]  .dxbl-btn {
    width: 100%;
}

/* Berechtigte Produkte: höchstens 5 Zeilen hoch, darüber scrollt das Grid. Im Browser gemessen (Fluent, Größe Medium):
   Kopf 33px + 5 Zeilen à 32px + Rand = 12.5rem; die 6. Zeile ist gerade angeschnitten und zeigt, dass es weitergeht. */
.suche-details[b-quvm7wxd8q]  .produkt-liste {
    max-height: 12.5rem;
}

/* Schmale Fenster: untereinander, die Kundenliste dann niedriger */
@media (max-width: 991.98px) {
    .suche-raster[b-quvm7wxd8q] {
        grid-template-columns: minmax(0, 1fr);
    }

    .suche-liste[b-quvm7wxd8q]  .kunden-liste {
        height: 220px;
    }
}

/* Kundendetails als Text (nur lesen): gleiche Höhe auch ohne Wert, lange Werte (E-Mail) brechen um */
.feld-wert[b-quvm7wxd8q] {
    display: block;
    min-height: 1.9rem;
    padding: 0.3rem 0.1rem;
    border-bottom: 1px solid var(--rm-border, #D9DDDE);
    overflow-wrap: anywhere;
}

/* Suchfelder zum Anhaken - auf breiten Fenstern mehrspaltig */
.suchfelder > summary[b-quvm7wxd8q] {
    cursor: pointer;
    user-select: none;
}

.suchfelder-raster[b-quvm7wxd8q] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.35rem 1.5rem;
}

/* DevExpress kürzt Feldbeschriftungen ab 992px auf eine Zeile mit "…" - hier umbrechen lassen, sonst werden
   "VU oder alte Firma Nummer" und "VU oder alte Ansprechpartner Nummer" in der schmalen rechten Spalte ununterscheidbar */
.suche-details[b-quvm7wxd8q]  .dxbl-fl-item > .dxbl-fl-cpt {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

/* Ganze Seite höchstens 1600px breit - auf breiten Bildschirmen liegen die Felder sonst weit auseinander */
.suche-seite[b-quvm7wxd8q] {
    max-width: 1600px;
}

/* Kurzfassung des letzten Geräte-Cache-Ergebnisses unter den Knöpfen */
.cache-ergebnis[b-quvm7wxd8q] {
    font-size: 0.82rem;
    padding: 0.5rem 0.6rem;
    background: var(--rm-flaeche-2, #F4F5F5);
    border-left: 3px solid var(--rm-gruen, #2F855A);
    border-radius: var(--rm-radius, 2px);
    overflow-wrap: anywhere;
}

.cache-ergebnis-warnung[b-quvm7wxd8q] {
    border-left-color: var(--rm-rot, #C53030);
}

/* XAVER-Rohdaten im Ergebnisfenster: umbrechen statt über den Fensterrand ragen, bei langer Antwort scrollen */
.roh-daten[b-quvm7wxd8q] {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    max-height: 18rem;
    overflow: auto;
    margin: 0;
    padding: 0.5rem 0.6rem;
    font-size: 0.8rem;
    background: var(--rm-flaeche-2, #F4F5F5);
    border-radius: var(--rm-radius, 2px);
}
