@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.25o87uqmvr.bundle.scp.css';

/* _content/KnowledgeServer.Admin/Components/Layout/MainLayout.razor.rz.scp.css */
/* .page {
    position: relative;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

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

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

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

    .top-row ::deep a:hover, .top-row ::deep .btn-link:hover {
        text-decoration: underline;
    }

    .top-row ::deep a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

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

    .top-row ::deep a, .top-row ::deep .btn-link {
        margin-left: 0;
    }
}

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

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth ::deep a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row, article {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
} */

#blazor-error-ui[b-whcs7ipmc6] {
    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-whcs7ipmc6] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* _content/KnowledgeServer.Admin/Components/Layout/NavMenu.razor.rz.scp.css */

/* Navbar brand styling - optimized for all themes */
.navbar-brand[b-ew89wlhemg],
[data-bs-theme="dark"] .navbar-brand[b-ew89wlhemg] {
    color: #fff !important;
}

.navbar-brand:hover[b-ew89wlhemg],
[data-bs-theme="dark"] .navbar-brand:hover[b-ew89wlhemg] {
    color: #fff !important;
    opacity: 0.8;
}

/* Navbar links styling - optimized for all themes */
.navbar-nav .nav-link[b-ew89wlhemg],
[data-bs-theme="dark"] .navbar-nav .nav-link[b-ew89wlhemg] {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
}

.navbar-nav .nav-link:hover[b-ew89wlhemg],
[data-bs-theme="dark"] .navbar-nav .nav-link:hover[b-ew89wlhemg] {
    color: #fff !important;
}


/* Version dropdown styling - using Bootstrap spacing */
.navbar-nav .dropdown-toggle[b-ew89wlhemg]::after {
    margin-left: 0.5em;
}

/* Social links styling - optimized for all themes */
.navbar-nav .nav-link svg[b-ew89wlhemg],
[data-bs-theme="dark"] .navbar-nav .nav-link svg[b-ew89wlhemg] {
    color: rgba(255, 255, 255, 0.85) !important;
}

.navbar-nav .nav-link:hover svg[b-ew89wlhemg],
[data-bs-theme="dark"] .navbar-nav .nav-link:hover svg[b-ew89wlhemg] {
    color: #fff !important;
}

/* Theme dropdown width constraints - optimized with Bootstrap utilities */
.dropdown-menu[b-ew89wlhemg] {
    min-width: 8rem;
    max-width: 12rem;
    width: auto;
}

/* Mobile responsive dropdown */
@media (max-width: 991.98px) {
    .dropdown-menu[b-ew89wlhemg] {
        min-width: 10rem;
        max-width: 14rem;
    }
}

/* Dropdown item constraints - using Bootstrap utilities */
.dropdown-item[b-ew89wlhemg] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Theme toggle button styling - optimized */
#bd-theme[b-ew89wlhemg] {
    color: rgba(255, 255, 255, 0.85) !important;
    outline: none !important;
}

#bd-theme:hover[b-ew89wlhemg] {
    color: #fff !important;
}

#bd-theme:focus[b-ew89wlhemg] {
    box-shadow: none !important;
    outline: none !important;
}

#bd-theme svg[b-ew89wlhemg] {
    color: rgba(255, 255, 255, 0.85) !important;
    fill: currentColor !important;
}

#bd-theme:hover svg[b-ew89wlhemg] {
    color: #fff !important;
    fill: currentColor !important;
}

/* Main navbar dropdown icons - dark theme visibility */
.dropdown-menu .dropdown-item svg[b-ew89wlhemg] {
    color: var(--bs-dropdown-link-color) !important;
    fill: currentColor !important;
    opacity: 1 !important;
}

.dropdown-menu .dropdown-item:hover svg[b-ew89wlhemg] {
    color: var(--bs-dropdown-link-hover-color) !important;
    fill: currentColor !important;
    opacity: 1 !important;
}

/* Dark theme specific dropdown icon visibility */
[data-bs-theme="dark"] .dropdown-menu .dropdown-item svg[b-ew89wlhemg] {
    color: #fff !important;
    fill: currentColor !important;
    opacity: 1 !important;
}

[data-bs-theme="dark"] .dropdown-menu .dropdown-item:hover svg[b-ew89wlhemg] {
    color: #fff !important;
    fill: currentColor !important;
    opacity: 1 !important;
}

/* Official Bootstrap navbar with gradient background - optimized */
.navbar[b-ew89wlhemg] {
    position: sticky !important;
    top: 0 !important;
    z-index: 1030 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Bootstrap Official CSS Variables */
:root[b-ew89wlhemg] {
    --bd-violet-rgb: 102, 16, 242;
    --offcanvas-text: rgba(255, 255, 255, 0.85);
    --offcanvas-text-hover: #fff;
    --offcanvas-border: rgba(255, 255, 255, 0.1);
}

/* Official Bootstrap navbar gradient - exact match */
.navbar[b-ew89wlhemg]:after {
    position: absolute;
    inset: 0;
    z-index: -1;
    display: block;
    content: "";
    background-image: linear-gradient(135deg, rgba(var(--bd-violet-rgb), 1), rgba(var(--bd-violet-rgb), 0.9));
}

/* Offcanvas gradient background - same as navbar */
.offcanvas[b-ew89wlhemg]:after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background-image: linear-gradient(135deg, rgba(var(--bd-violet-rgb), 1), rgba(var(--bd-violet-rgb), 0.9));
}

.offcanvas-header[b-ew89wlhemg] {
    border-bottom: 1px solid var(--offcanvas-border);
}

.offcanvas-title[b-ew89wlhemg] {
    color: #fff !important;
    font-weight: 600;
}

/* Ensure offcanvas title is white in all themes */
.offcanvas .offcanvas-title[b-ew89wlhemg],
.offcanvas-header .offcanvas-title[b-ew89wlhemg],
#offcanvasNavbarLabel[b-ew89wlhemg] {
    color: #fff !important;
}

.btn-close[b-ew89wlhemg] {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Offcanvas navigation - optimized */
.offcanvas .nav-link[b-ew89wlhemg] {
    color: #fff !important;
    font-weight: 500;
    padding: 0.5rem 0;
}

.offcanvas .nav-link:hover[b-ew89wlhemg] {
    color: #fff !important;
    opacity: 0.8;
}


/* Mobile theme toggle - using existing style */
#bd-theme-mobile[b-ew89wlhemg] {
    color: #fff !important;
    border: none !important;
    background: none !important;
    padding: 0.5rem 0 !important;
    text-decoration: none !important;
    outline: none !important;
}

#bd-theme-mobile:hover[b-ew89wlhemg] { 
    color: #fff !important; 
    opacity: 0.8;
}

#bd-theme-mobile svg[b-ew89wlhemg] { 
    color: #fff !important; 
    fill: currentColor !important; 
}

#bd-theme-mobile:hover svg[b-ew89wlhemg] { 
    color: #fff !important; 
    fill: currentColor !important; 
}

/* Theme toggle dropdown - use existing navbar styles */
.offcanvas .dropdown-menu[b-ew89wlhemg] {
    background-color: var(--bs-dropdown-bg) !important;
    border: var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color) !important;
    box-shadow: var(--bs-dropdown-box-shadow) !important;
}

.offcanvas .dropdown-item[b-ew89wlhemg] {
    color: var(--bs-dropdown-link-color) !important;
    background-color: transparent !important;
}

.offcanvas .dropdown-item:hover[b-ew89wlhemg] {
    color: var(--bs-dropdown-link-hover-color) !important;
    background-color: var(--bs-dropdown-link-hover-bg) !important;
}

.offcanvas .dropdown-item svg[b-ew89wlhemg] {
    color: var(--bs-dropdown-link-color) !important;
    fill: currentColor !important;
}

.offcanvas .dropdown-item:hover svg[b-ew89wlhemg] {
    color: var(--bs-dropdown-link-hover-color) !important;
    fill: currentColor !important;
}

/* Navbar toggler - remove all borders */
.navbar-toggler[b-ew89wlhemg],
.navbar-toggler:focus[b-ew89wlhemg],
.navbar-toggler:hover[b-ew89wlhemg],
.navbar-toggler:active[b-ew89wlhemg] {
    border: none !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Bootstrap Official offcanvas positioning */
.offcanvas-backdrop[b-ew89wlhemg] { 
    z-index: 1040 !important; 
}

.offcanvas.offcanvas-end[b-ew89wlhemg] { 
    right: 0 !important; 
    transform: translateX(100%) !important; 
}

.offcanvas.offcanvas-end.show[b-ew89wlhemg] { 
    transform: translateX(0) !important; 
}

/* _content/KnowledgeServer.Admin/Components/Pages/Sources/Sources.razor.rz.scp.css */
.form-control:focus[b-kqje5o1jzf] {
  outline: none !important;
  box-shadow: none !important;
}
