/* _content/AirSentinel_UserManagement/Components/Layout/EmptyLayout.razor.rz.scp.css */
.page[b-mhaie8nx0e] {
    position: relative;
    display: flex;
    flex-direction: column;
  
}

main[b-mhaie8nx0e] {
    flex: 1;
    background: #f0f2f5;
    height:100vh;
}

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

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

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

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

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

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

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

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

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

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

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

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

#blazor-error-ui[b-mhaie8nx0e] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    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-mhaie8nx0e] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/AirSentinel_UserManagement/Components/Layout/MainLayout.razor.rz.scp.css */
/* Basis-Layout f�r die ganze Seite */
.page[b-hsh0dn5vk5] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f0f2f5;
}

/* Container f�r Seitenleiste und Hauptinhalt */
.main-body[b-hsh0dn5vk5] {
    display: grid;
    grid-template-columns: 230px 1fr; /* <<< HIER: Breite der Seitenleiste reduziert */
    flex: 1;
    gap: 1rem; /* F�gt einen Abstand zwischen Men� und Inhalt hinzu */
    margin: 0 1rem; /* Richtet sich am Rand des Headers aus */
}

/* Haupt-Inhaltsbereich */
main[b-hsh0dn5vk5] {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    background-color: #ffffff; /* Wei�er Hintergrund f�r den Inhaltsbereich */
    border-radius: 15px; /* Abgerundete Ecken f�r den Inhaltsbereich */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Leichter Schatten */
}

.content[b-hsh0dn5vk5] {
    width: 100%;
    max-width: 3840px;
}

/* Kopfzeile (unver�ndert) */
.app-header[b-hsh0dn5vk5] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #0a2e5a, #001f3f);
    color: white;
    border-bottom: 3px solid #d4a406;
    border-left: 3px solid #d4a406;
    border-right: 3px solid #d4a406;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-radius: 15px 15px 15px 15px;
    margin: 1rem 1rem 0; /* <<< OBEREN Abstand des Men�s entfernt */
    position: relative;
    z-index: 10;
    margin-bottom: 5px;
}

/* Rest der CSS-Datei bleibt wie zuvor... */

.logo-container[b-hsh0dn5vk5] {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

    .logo-container img[b-hsh0dn5vk5] {
        height: 50px;
        width: auto;
    }

    .logo-container.logo-right[b-hsh0dn5vk5] {
        justify-content: flex-end;
    }

.title-container[b-hsh0dn5vk5] {
    flex: 2;
    text-align: center;
}

    .title-container h1[b-hsh0dn5vk5] {
        margin: 0;
        font-size: 2.2rem;
        font-weight: 600;
        letter-spacing: 1px;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    }

    .title-container h2[b-hsh0dn5vk5] {
        margin: 0;
        font-size: 1.1rem;
        font-weight: 300;
        color: #e0e0e0;
        letter-spacing: 0.5px;
    }

.app-footer[b-hsh0dn5vk5] {
    text-align: center;
    padding: 1rem;
    font-size: 0.8rem;
    color: #6c757d;
    background-color: transparent;
}
/* _content/AirSentinel_UserManagement/Components/Layout/NavMenu.razor.rz.scp.css */
/* Modernes, technisches Sidebar-Design (Desktop & Mobile) */

.nav-root[b-bg2lssuwz8] {
    width: 260px;
    background: linear-gradient(180deg, #ffffff, #f7f9fb);
    border-right: 1px solid rgba(10,67,120,0.08);
    color: #0A4378;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    box-sizing: border-box;
    transition: width .22s ease;
    font-family: Arial, Helvetica, sans-serif;
    position: relative;
    z-index: 30;
}

/* Container holds actual nav content so backdrop can overlay it */
.nav-container[b-bg2lssuwz8] {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Backdrop (hidden by default) */
.nav-backdrop[b-bg2lssuwz8] {
    display: none;
}

/* Mobile-specific: off-canvas Drawer */
@media (max-width: 900px) {
    .nav-root[b-bg2lssuwz8] {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 320px;
        max-width: 80%;
        transform: translateX(-100%);
        transition: transform .28s cubic-bezier(.2,.9,.3,1);
        box-shadow: 6px 0 30px rgba(5,20,40,0.18);
        border-right: none;
        background: linear-gradient(180deg, #ffffff, #f6f8fb);
        z-index: 1000;
    }

        .nav-root.mobile-open[b-bg2lssuwz8] {
            transform: translateX(0);
        }

    .nav-backdrop[b-bg2lssuwz8] {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(6,25,45,0.4);
        backdrop-filter: blur(2px);
        z-index: 900;
        opacity: 1;
        transition: opacity .18s ease;
    }

    /* Reduce width of desktop-specified inner container padding */
    .nav-root .nav-container[b-bg2lssuwz8] {
        padding-top: 20px;
    }

    /* Hide the static aside in layout on mobile: the MainLayout aside can stay but .nav-root will be fixed */
    .sidebar[b-bg2lssuwz8] {
        display: none; /* MainLayout will still render component - hiding aside avoids double layout footprints */
    }
}

/* Collapsed state: nur Icons (desktop and mobile collapsed) */
.nav-root.collapsed[b-bg2lssuwz8] {
    width: 72px;
}

/* Top: collapse button + brand */
.nav-top[b-bg2lssuwz8] {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 50;
}

.collapse-btn[b-bg2lssuwz8] {
    border: none;
    background: transparent;
    color: #0A4378;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .collapse-btn:focus[b-bg2lssuwz8] {
        outline: 2px solid rgba(10,67,120,0.18);
        outline-offset: 2px;
    }

.brand[b-bg2lssuwz8] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-logo[b-bg2lssuwz8] {
    height: 34px;
    width: auto;
}

.brand-label[b-bg2lssuwz8] {
    font-weight: 700;
    font-size: 1rem;
    color: #0A4378;
}

/* Nav list */
.nav-list[b-bg2lssuwz8] {
    list-style: none;
    padding: 8px 4px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 50;
}

/* Individual items */
.nav-item[b-bg2lssuwz8] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #0A4378;
    text-decoration: none;
    transition: background .15s ease, color .15s ease, transform .08s ease;
    position: relative;
    font-weight: 600;
}

    .nav-item .icon[b-bg2lssuwz8] {
        width: 22px;
        height: 22px;
        flex: 0 0 22px;
        color: #0A4378;
    }

    .nav-item:hover[b-bg2lssuwz8] {
        background: rgba(10,67,120,0.06);
        transform: translateY(-1px);
    }

    /* Active state: left indicator + inverted text */
    .nav-item.active[b-bg2lssuwz8],
    .nav-item.active:hover[b-bg2lssuwz8] {
        background: #0A4378;
        color: white;
        box-shadow: 0 1px 0 rgba(0,0,0,.04) inset;
    }

        .nav-item.active .icon[b-bg2lssuwz8] {
            color: white;
        }

        /* Left indicator stripe */
        .nav-item.active[b-bg2lssuwz8]::before {
            content: "";
            position: absolute;
            left: -8px;
            top: 6px;
            bottom: 6px;
            width: 6px;
            background: linear-gradient(180deg,#00A3FF,#0A4378);
            border-radius: 4px;
        }

/* Section label */
.nav-section .section-label[b-bg2lssuwz8] {
    padding: 8px 12px;
    color: rgba(10,67,120,0.6);
    font-size: 0.8rem;
    font-weight: 700;
}

/* Footer / user info */
.nav-footer[b-bg2lssuwz8] {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px dashed rgba(10,67,120,0.04);
    z-index: 50;
}

.user-info[b-bg2lssuwz8] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
}

.user-icon[b-bg2lssuwz8] {
    width: 20px;
    height: 20px;
    color: #0A4378
}

.admin-badge[b-bg2lssuwz8] {
    margin-left: 8px;
    background: #ffffff;
    color: #0A4378;
    border-radius: 6px;
    padding: 2px 6px;
    font-weight: 800;
    font-size: 0.7rem;
    border: 1px solid rgba(10,67,120,0.08);
}

/* Collapsed mode: hide labels, show tooltips via title attribute */
.nav-root.collapsed .brand-label[b-bg2lssuwz8],
.nav-root.collapsed .nav-label[b-bg2lssuwz8],
.nav-root.collapsed .section-label[b-bg2lssuwz8],
.nav-root.collapsed .user-info .nav-label[b-bg2lssuwz8],
.nav-root.collapsed .admin-badge[b-bg2lssuwz8] {
    display: none;
}

.nav-root.collapsed .nav-item[b-bg2lssuwz8] {
    justify-content: center;
    padding: 10px;
}

    /* Tooltip simple: for collapsed, show label on hover using pseudo-element */
    .nav-root.collapsed .nav-item[title]:hover[b-bg2lssuwz8]::after {
        content: attr(title);
        position: absolute;
        left: 80px;
        background: #0A4378;
        color: #fff;
        padding: 6px 10px;
        border-radius: 6px;
        white-space: nowrap;
        box-shadow: 0 6px 18px rgba(0,0,0,0.12);
        font-size: 0.85rem;
        transform: translateY(-50%);
        top: 50%;
        z-index: 40;
    }

/* Focus styles for keyboard users */
.nav-item:focus[b-bg2lssuwz8] {
    outline: 2px solid rgba(10,67,120,0.16);
    outline-offset: 2px;
    background: rgba(10,67,120,0.06);
}

/* Mobile menu button in topbar (MainLayout) */
.mobile-menu-btn[b-bg2lssuwz8] {
    display: none;
    border: none;
    background: transparent;
    color: #fff;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    border-radius: 8px;
}

    .mobile-menu-btn .icon[b-bg2lssuwz8] {
        width: 20px;
        height: 20px;
        stroke: #fff;
        fill: none;
    }

@media (max-width: 900px) {
    .mobile-menu-btn[b-bg2lssuwz8] {
        display: inline-flex;
    }
}
