#header {
    height: min-content;
    z-index: var(--z-index-header);
}

body.scrolled #header {
    box-shadow: 0 5px 5px var(--black-dark);
}

#header .top-bar {
    background-color: var(--black-dark);
    height: 35px;
    border-bottom: var(--border-global);
    display: flex;
}

#header .space-button-open-sidebar {
    display: none;
    width: var(--size-button-open-sidebar);
}

#header .top-bar .tab {
    --size-border-top: 2px; /* pour ajuster la taille du .tab */
    display: flex;
    align-items: center;
    width: 150px;
    min-width: max-content;
    height: calc(100% - (var(--size-border-top) - 1px));
    border-right: var(--border-global);
    border-top: var(--size-border-top) solid var(--blue);
    background-color: var(--black);
}

#header .top-bar .tab .content {
    display: flex;
    justify-content: space-between;
    flex: 1;
    margin-inline: 10px;
    gap: 10px;
}

#header .tab .xmark {
    cursor: pointer;
    line-height: 1;
    padding-inline: 5px;
    border-radius: 4px;
}
#header .tab .xmark:hover {
    background-color: var(--border-gray);
}

#header .tab .xmark svg {
    aspect-ratio: 1;
    width: var(--fs-12);
    stroke-width: 3;
}

#header .low-bar {
    opacity: .8;
    padding-inline: 10px;
    display: flex;
    justify-content: left;
}

#header .low-bar * {
    font-size: var(--fs-12);
}

#header .low-bar .path {
    display: inline-block;
}

#header .low-bar .path a:hover {
    color: #fff;
    filter: drop-shadow(0 0 .1px);
}

#header .low-bar .path .icon-class::before {
    content: '\25A1';
    color: var(--blue);
}

#header .low-bar .path span.right-arrow:has(+ .active)::before {
    content: '>';
}
#header .low-bar .path #current-id.active span::before {
    content: '\25F0\00a0';
    color: var(--orange);
}

@media screen and (max-width: 767px) {
    #header .space-button-open-sidebar {
        display: block;
    }
    #header .low-bar {
        justify-content: right;
        max-width: 80%;
        margin-left: auto;
        line-height: 1.6;
    }
}