@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.7t9tbfaemk.bundle.scp.css';

/* _content/BlazorSiteExtranet/Components/C_ExtranetMenu.razor.rz.scp.css */
/* =============================================================================
   Page /Menu : structure de Extranet/Vues/extranet.Master, style modernisé.
   CSS isolée (scoped) : ne s'applique qu'à Menu.razor.
   Classes préfixées "ext-" : la classe "nav" de l'Extranet existe aussi dans Bootstrap.
   ============================================================================= */

.ext-page[b-q8bofbkwso] {
    --ext-blue-dark: #0b3d66;
    --ext-blue: #165b9f;
    --ext-blue-light: #1b6ec2;
    --ext-blue-soft: #eaf2fb;
    --ext-text: #1f2937;
    --ext-muted: #6b7280;
    --ext-border: #e3e9f1;
    --ext-radius: 10px;
    --ext-shadow: 0 10px 30px rgba(11, 61, 102, .14), 0 2px 6px rgba(11, 61, 102, .08);

    max-width: 1560px;
    margin: 16px auto;
    padding: 0 16px;
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    color: var(--ext-text);
    background: #fff;
}

/* --- Bandeau mode super admin / normal --- */
.ext-mode[b-q8bofbkwso] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 8px 6px 14px;
    margin-bottom: 12px;
    border-radius: var(--ext-radius);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .02em;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
}

/* Boutons A- / A / A+ de la barre bleue : taille du texte des tableaux, à droite avant Déconnexion */
.ext-font[b-q8bofbkwso] {
    display: inline-flex;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 8px;
    overflow: hidden;
}

.ext-font + .ext-tab.last[b-q8bofbkwso] {
    margin-left: 8px;
}

.ext-font button[b-q8bofbkwso] {
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1px;
    min-width: 38px;
    height: 36px;
    padding: 0 8px 9px 8px;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, .3);
    background: transparent;
    color: #fff;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

.ext-font button:first-child[b-q8bofbkwso] { border-left: 0; }
.ext-font button:hover[b-q8bofbkwso] { background: #fff; color: var(--ext-blue); }
.ext-font button:focus-visible[b-q8bofbkwso] { outline: 2px solid #fff; outline-offset: -2px; }
.ext-font .ext-font-big[b-q8bofbkwso] { font-size: 17px; }
.ext-font .ext-font-sign[b-q8bofbkwso] { font-size: 8px; margin-bottom: 1px; }

.ext-mode.super-admin[b-q8bofbkwso] { background: linear-gradient(90deg, #c62828, #e53935); }
.ext-mode.normal[b-q8bofbkwso] { background: linear-gradient(90deg, #4b5563, #6b7280); }

.ext-mode select[b-q8bofbkwso] {
    min-width: 180px;
    padding: 4px 28px 4px 10px;
    border: 0;
    border-radius: 6px;
    font: inherit;
    font-weight: 500;
    color: var(--ext-text);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236b7280'/%3E%3C/svg%3E") no-repeat right 10px center;
    appearance: none;
    cursor: pointer;
}

/* --- En-tête --- */
.ext-header[b-q8bofbkwso] {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 85px;
}

.ext-logo-mobiltron img[b-q8bofbkwso] {
    width: 165px;
    display: block;
}

.ext-info[b-q8bofbkwso] {
    flex: 0 1 855px;
    align-self: stretch;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    padding: 0 16px;
    border-left: 4px solid var(--ext-blue-light);
    border-radius: 0 var(--ext-radius) var(--ext-radius) 0;
    background: #f5f8fc;
}

.ext-info:empty[b-q8bofbkwso] {
    background: none;
    border-left-color: transparent;
}

.ext-info.non-prod[b-q8bofbkwso] {
    background: #fdecec;
    border-left-color: #e53935;
    color: #b71c1c;
    font-weight: 600;
}

.ext-defilant[b-q8bofbkwso] {
    font-size: 14px;
    color: inherit;
}

.ext-info.non-prod .ext-defilant[b-q8bofbkwso] {
    animation: ext-scroll-up-b-q8bofbkwso 10s .1s infinite forwards;
}

@keyframes ext-scroll-up-b-q8bofbkwso {
    0% { transform: translateY(-110%); opacity: 0; }
    30% { transform: translateY(-110%); opacity: 0; }
    40% { transform: translateY(0); opacity: 1; }
    90% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(110%); opacity: 0; }
}

.ext-img-info[b-q8bofbkwso] {
    margin-left: auto;
    text-align: right;
}

.ext-img-info img[b-q8bofbkwso] {
    max-height: 72px;
    max-width: 200px;
}

.ext-img-activity[b-q8bofbkwso] {
    text-align: right;
}

.ext-img-activity img[b-q8bofbkwso] {
    max-height: 72px;
    max-width: 240px;
}

/* --- Barre de menu --- */
.ext-nav-wrapper[b-q8bofbkwso] {
    margin-top: 16px;
    border-radius: var(--ext-radius);
    background: linear-gradient(180deg, var(--ext-blue-light) 0%, var(--ext-blue) 60%, var(--ext-blue-dark) 100%);
    box-shadow: 0 4px 14px rgba(11, 61, 102, .25);
}

.ext-nav-left[b-q8bofbkwso],
.ext-nav-right[b-q8bofbkwso],
.ext-btm-bg[b-q8bofbkwso],
.menu-left[b-q8bofbkwso],
.menu-right[b-q8bofbkwso] {
    display: none;
}

.ext-tabs[b-q8bofbkwso] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 6px 8px;
    list-style: none;
}

.ext-tab[b-q8bofbkwso] {
    position: relative;
}

.ext-tab.last[b-q8bofbkwso] {
    margin-left: auto;
}

.ext-tab-link[b-q8bofbkwso] {
    display: block;
    padding: 8px 14px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

.ext-tab-link em[b-q8bofbkwso] {
    font-weight: 400;
    opacity: .8;
}

.ext-tab:hover > .ext-tab-link[b-q8bofbkwso],
.ext-tab:focus-within > .ext-tab-link[b-q8bofbkwso] {
    background: #fff;
    color: var(--ext-blue);
}

.ext-tab.last > .ext-tab-link[b-q8bofbkwso] {
    border: 1px solid rgba(255, 255, 255, .45);
}

.ext-tab:focus-visible[b-q8bofbkwso],
.ext-tab-link:focus-visible[b-q8bofbkwso] {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* --- Sous-menus (carte au survol, avec légère animation) --- */
.ext-sub[b-q8bofbkwso] {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    padding-top: 8px; /* zone tampon : le survol n'est pas perdu entre l'onglet et la carte */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
}

.ext-tab:hover > .ext-sub[b-q8bofbkwso],
.ext-tab:focus-within > .ext-sub[b-q8bofbkwso] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ext-sub ul[b-q8bofbkwso] {
    width: 380px;
    margin: 0;
    padding: 6px;
    list-style: none;
    border: 1px solid var(--ext-border);
    border-radius: var(--ext-radius);
    background: #fff;
    box-shadow: var(--ext-shadow);
}

.ext-sub li + li[b-q8bofbkwso] {
    border-top: 1px solid #f0f3f7;
}

.ext-sub li a[b-q8bofbkwso] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 8px 12px;
    border-radius: 6px;
    border-left: 3px solid transparent;
    color: var(--ext-text);
    text-decoration: none;
    transition: background-color .12s ease, border-color .12s ease;
}

.ext-item-fr[b-q8bofbkwso] {
    font-size: 14px;
    font-weight: 500;
    color: var(--ext-blue-dark);
}

.ext-item-en[b-q8bofbkwso] {
    font-size: 12px;
    color: var(--ext-muted);
}

.ext-sub li a:hover[b-q8bofbkwso],
.ext-sub li a:focus-visible[b-q8bofbkwso] {
    background: var(--ext-blue-soft);
    border-left-color: var(--ext-blue-light);
    outline: none;
}

/* Badge "New" à gauche du texte, centré verticalement (même hauteur que le badge "Old" à droite) */
.ext-sub li a[b-q8bofbkwso] {
    position: relative;
}

.ext-sub ul.ext-new-col li > a:first-child[b-q8bofbkwso] {
    padding-left: 58px; /* place du badge "New" (réservée sur toutes les lignes pour aligner les textes) */
}

.ext-new[b-q8bofbkwso] {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    display: inline-block;
    padding: 1px 7px;
    border-radius: 999px;
    background: #16a34a;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* --- Page en 2 versions : la ligne va sur la nouvelle page, badge "Old" orange à droite pour l'ancienne --- */
.ext-sub li.ext-has-old[b-q8bofbkwso] {
    position: relative;
}

.ext-sub li.ext-has-old > a:first-child[b-q8bofbkwso] {
    padding-right: 56px; /* place du badge */
}

/* Même forme que le badge "New", en orange */
.ext-sub li a.ext-old[b-q8bofbkwso] {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    display: inline-block;
    padding: 1px 7px;
    border: 0;
    border-radius: 999px;
    background: #f97316;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color .12s ease;
}

.ext-sub li a.ext-old:hover[b-q8bofbkwso],
.ext-sub li a.ext-old:focus-visible[b-q8bofbkwso] {
    background: #c2410c;
    border-left-color: transparent;
    outline: none;
}

/* --- Erreurs --- */
.ext-erreurs[b-q8bofbkwso] {
    margin-top: 16px;
    padding: 10px 14px;
    border: 1px solid #f5c2c7;
    border-radius: var(--ext-radius);
    background: #fdf2f3;
    color: #842029;
    font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
    .ext-sub[b-q8bofbkwso],
    .ext-tab-link[b-q8bofbkwso],
    .ext-sub li a[b-q8bofbkwso],
    .ext-info.non-prod .ext-defilant[b-q8bofbkwso] {
        transition: none;
        animation: none;
    }
}
/* _content/BlazorSiteExtranet/Shared/MainLayout.razor.rz.scp.css */
.page[b-opbo7lh7dj] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-opbo7lh7dj] {
    flex: 1;
}

.sidebar[b-opbo7lh7dj] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-opbo7lh7dj] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-opbo7lh7dj]  a, .top-row .btn-link[b-opbo7lh7dj] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-opbo7lh7dj] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-opbo7lh7dj] {
        display: none;
    }

    .top-row.auth[b-opbo7lh7dj] {
        justify-content: space-between;
    }

    .top-row a[b-opbo7lh7dj], .top-row .btn-link[b-opbo7lh7dj] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-opbo7lh7dj] {
        flex-direction: row;
    }

    .sidebar[b-opbo7lh7dj] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-opbo7lh7dj] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-opbo7lh7dj], article[b-opbo7lh7dj] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* _content/BlazorSiteExtranet/Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-n6s4hn85sj] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-n6s4hn85sj] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-n6s4hn85sj] {
    font-size: 1.1rem;
}

.oi[b-n6s4hn85sj] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-n6s4hn85sj] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-n6s4hn85sj] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-n6s4hn85sj] {
        padding-bottom: 1rem;
    }

    .nav-item[b-n6s4hn85sj]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-n6s4hn85sj]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-n6s4hn85sj]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-n6s4hn85sj] {
        display: none;
    }

    .collapse[b-n6s4hn85sj] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-n6s4hn85sj] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
