
/* ==========================================================
   NEXORAHOST HEADER — FINAL CLEAN VERSION
   ========================================================== */


/* ----------------------------------------------------------
   SUPPRIMER LE BOUTON ADMINISTRATION DU PROFIL
   ---------------------------------------------------------- */

.nx-profile-v7 a[href*="admin.nexorahost.fr"],
.nx-profile-v8 a[href*="admin.nexorahost.fr"],
.nx-profile-final a[href*="admin.nexorahost.fr"],
.nx-profile-v5 a[href*="admin.nexorahost.fr"],
.nxp-profile a[href*="admin.nexorahost.fr"],
.profile-page a[href*="admin.nexorahost.fr"]{
    display:none !important;
}


/* ----------------------------------------------------------
   BOUTON BOUCLIER ADMIN
   ---------------------------------------------------------- */

#nx-admin-shortcut-safe{
    position:relative !important;

    top:auto !important;
    right:auto !important;
    bottom:auto !important;
    left:auto !important;

    inset:auto !important;

    transform:none !important;

    width:42px !important;
    min-width:42px !important;
    max-width:42px !important;

    height:42px !important;
    min-height:42px !important;
    max-height:42px !important;

    flex:0 0 42px !important;

    display:grid !important;
    place-items:center !important;

    padding:0 !important;

    /*
     * Petit espace avec Support à gauche
     * et le drapeau à droite.
     */
    margin:
        0
        8px
        0
        8px !important;

    border:
        1px solid
        rgba(139,92,246,.34) !important;

    border-radius:
        12px !important;

    background:
        linear-gradient(
            180deg,
            rgba(31,22,53,.98),
            rgba(18,13,34,.98)
        ) !important;

    color:
        #b08cff !important;

    text-decoration:
        none !important;

    box-sizing:
        border-box !important;

    box-shadow:
        0 8px 22px
        rgba(0,0,0,.18) !important;

    cursor:pointer !important;

    z-index:20 !important;

    overflow:hidden !important;

    transition:
        transform .16s ease,
        border-color .16s ease,
        background .16s ease !important;
}


#nx-admin-shortcut-safe:hover{
    transform:
        translateY(-1px) !important;

    border-color:
        rgba(165,126,255,.62) !important;

    background:
        rgba(43,30,73,.98) !important;
}


#nx-admin-shortcut-safe svg{
    width:18px !important;
    height:18px !important;

    display:block !important;

    margin:0 !important;

    fill:none !important;

    stroke:
        currentColor !important;

    stroke-width:
        1.8 !important;

    stroke-linecap:
        round !important;

    stroke-linejoin:
        round !important;
}


/* ----------------------------------------------------------
   DRAPEAU
   ---------------------------------------------------------- */

#nx-client-flag-picker{
    position:relative !important;

    top:auto !important;
    right:auto !important;
    bottom:auto !important;
    left:auto !important;

    inset:auto !important;

    transform:none !important;

    display:inline-flex !important;

    align-items:center !important;

    width:auto !important;

    min-width:0 !important;

    padding:0 !important;

    margin:
        0 !important;

    vertical-align:middle !important;

    z-index:20 !important;
}


#nx-client-flag-picker
.nx-client-flag-trigger{
    position:relative !important;

    top:auto !important;
    left:auto !important;

    width:42px !important;
    min-width:42px !important;
    max-width:42px !important;

    height:42px !important;
    min-height:42px !important;
    max-height:42px !important;

    padding:0 !important;
    margin:0 !important;

    display:grid !important;
    place-items:center !important;

    box-sizing:border-box !important;
}


/* ----------------------------------------------------------
   Éviter les vieux wrappers qui ajoutaient des marges
   ---------------------------------------------------------- */

#nx-header-tools,
.nx-header-tools{
    display:contents !important;
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media(max-width:700px){

    #nx-admin-shortcut-safe{
        width:39px !important;
        min-width:39px !important;
        max-width:39px !important;

        height:39px !important;
        min-height:39px !important;
        max-height:39px !important;

        flex-basis:39px !important;

        margin:
            0
            6px !important;
    }


    #nx-client-flag-picker
    .nx-client-flag-trigger{
        width:39px !important;
        min-width:39px !important;
        max-width:39px !important;

        height:39px !important;
        min-height:39px !important;
        max-height:39px !important;
    }

}

