.navbar-header {
    background-color: transparent;
    background-image: linear-gradient(to right, rgba(var(--bb-primary-color-rgb), 1), rgba(var(--bb-primary-color-rgb), 0.9));
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.05), inset 0 -1px 0 rgba(0,0,0,.1);
    transition: transform .3s ease;
    font-size: var(--bb-header-font-size);
}

.nav-repo {
    display: none;
}

.navbar-brand span {
    color: var(--bs-navbar-color);
}

.header-img {
    display: flex;
    align-items: center;
    padding: 0;
    margin-inline-end: 0;
}

::deep .btn-fs {
    margin-top: 2px;
}

.btn-bd-download {
    font-weight: 600;
    color: var(--bb-bd-download-color);
    border-color: var(--bb-bd-download-border-color);
}

    .btn-bd-download:active,
    .btn-bd-download:hover {
        color: var(--bb-bd-download-hover-color);
        background-color: var(--bb-bd-download-hover-bg-color);
        border-color: var(--bb-bd-download-hover-border-color);
    }

.nav-link img {
    height: 24px;
    width: auto;
}

.navbar-version {
    color: var(--bs-navbar-color);
    border-right: 1px solid #dddddd40;
    padding-right: 0.5rem;
    white-space: nowrap;
    display: none;
}

::deep .bb-theme-mode .dropdown-toggle {
    color: var(--bs-navbar-color);
}

::deep .bb-theme-mode .dropdown-menu li {
    padding: 0 4px;
}

    ::deep .bb-theme-mode .dropdown-menu li button {
        border-radius: var(--bs-border-radius);
    }

::deep .bb-g-search {
    --bs-border-color: var(--bb-header-dropdown-border-color);
    --bb-border-hover-color: var(--bb-header-dropdown-border-hover-color);
    --bb-global-search-input-color: var(--bb-header-dropdown-color);
    width: var(--bb-header-select-width);
    margin-block-end: var(--bb-header-search-margin-bottom);
    font-size: 0.875rem;
}

    ::deep .bb-g-search > input {
        padding: 2px 0;
    }

@media (min-width: 768px) {
    .navbar-header {
        position: sticky;
        top: 0;
        z-index: 15;
        height: var(--bs-header-height);
    }

    ::deep .bb-g-search {
        margin-block-end: 0;
        margin-inline-end: .5rem;
    }
}

@media (min-width: 1140px) {
    .nav-repo {
        display: flex;
    }
}

@media (min-width: 1240px) {
    .navbar-version {
        display: block;
    }
}
