.app-header{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:24px;
    padding:18px 24px;
    background:#161616;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.app-header .brand{
    display:flex;
    align-items:center;
    gap:12px;
    flex:0 0 auto;
    color:#fff;
    text-decoration:none;
}

.app-header .brand-icon{
    font-size:30px;
    line-height:1;
}

.app-header .brand-main{
    font-size:18px;
    font-weight:800;
    line-height:1.1;
}

.app-header .brand-sub{
    display:block;
    margin-top:3px;
    font-size:12px;
    opacity:.55;
}

.app-header .main-nav{
    display:flex;
    align-items:center;
    flex-wrap:nowrap;
    gap:6px;
    flex:1 1 auto;
    margin:0;
}

.app-header .nav-link{
    display:inline-flex;
    align-items:center;
    padding:9px 11px;
    border-radius:10px;
    color:rgba(255,255,255,.72);
    text-decoration:none;
    white-space:nowrap;
    font-size:13px;
    font-weight:700;
}

.app-header .nav-link:hover{
    background:rgba(255,255,255,.06);
    color:#fff;
}

.app-header .nav-link.active{
    background:rgba(255,255,255,.11);
    color:#fff;
}

.app-header .header-status{
    flex:0 0 auto;
    margin-left:auto;
}

.app-header .header-storage{
    min-width:145px;
}

.app-header .header-storage-line{
    display:flex;
    justify-content:space-between;
    gap:12px;
    align-items:center;
    font-size:12px;
}

.app-header .header-storage-bar{
    height:6px;
    margin:6px 0;
    overflow:hidden;
    border-radius:999px;
    background:rgba(255,255,255,.08);
}

.app-header .header-storage-fill{
    height:100%;
    border-radius:999px;
    background:rgba(255,255,255,.72);
}

.app-header .header-storage.warning .header-storage-fill{
    background:#d3a84d;
}

.app-header .header-storage.danger .header-storage-fill{
    background:#d55c5c;
}

@media (max-width:1000px){
    .app-header{
        flex-wrap:wrap;
    }

    .app-header .main-nav{
        order:3;
        width:100%;
        overflow-x:auto;
        padding-bottom:3px;
    }
}

/* ===== METRIQUES : LIGNE COMPLETE SOUS LE HEADER ===== */

.app-header .header-metrics{
    flex:0 0 100% !important;
    width:100% !important;
    box-sizing:border-box;
    display:flex !important;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:8px 14px;
}

