/* /Layout/HomeLayout.razor.rz.scp.css */
.page[b-8j55f6in5e] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-8j55f6in5e] {
    flex: 1;
    width: 100%;
}

.top-row[b-8j55f6in5e] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.top-row[b-8j55f6in5e]  a,
.top-row[b-8j55f6in5e]  .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
}

.top-row[b-8j55f6in5e]  a:hover,
.top-row[b-8j55f6in5e]  .btn-link:hover {
    text-decoration: underline;
}

.top-row[b-8j55f6in5e]  a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640px) {
    .top-row[b-8j55f6in5e] {
        justify-content: space-between;
    }

    .top-row[b-8j55f6in5e]  a,
    .top-row[b-8j55f6in5e]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 640px) {
    .page[b-8j55f6in5e] {
        flex-direction: row;
    }

    .top-row[b-8j55f6in5e] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-8j55f6in5e]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-8j55f6in5e],
    article[b-8j55f6in5e] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-8j55f6in5e] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-8j55f6in5e] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* -- Hero section image en haut */
.hero-container[b-8j55f6in5e] {
    position: relative;
    height: 80vh;
    min-height: 280px;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.hero-bg[b-8j55f6in5e] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.75);
}

.hero-fade[b-8j55f6in5e] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #111 100%);
    pointer-events: none;
}

@media screen and (max-width: 640px) {
    .hero-container[b-8j55f6in5e] {
        height: 60vh;
    }
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-auetxm2gmc] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-auetxm2gmc] {
    flex: 1;
    width: 100%;
}

.sidebar[b-auetxm2gmc] {
    /* background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%); */
    background-color: rgb(20, 20, 20);
    position: fixed;
    transform: translateX(-100%);
    transition: transform 0.6s ease-out;
    z-index: 900;
    height: 100vh;
    box-shadow: 10px 0 10px white;
}

.top-row[b-auetxm2gmc] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.top-row[b-auetxm2gmc]  a,
.top-row[b-auetxm2gmc]  .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
}

.top-row[b-auetxm2gmc]  a:hover,
.top-row[b-auetxm2gmc]  .btn-link:hover {
    text-decoration: underline;
}

.top-row[b-auetxm2gmc]  a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640px) {
    .top-row[b-auetxm2gmc] {
        justify-content: space-between;
    }

    .top-row[b-auetxm2gmc]  a,
    .top-row[b-auetxm2gmc]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-auetxm2gmc] {
        flex-direction: row;
    }

    .sidebar[b-auetxm2gmc] {
        width: 250px;
        height: 100vh;
        /* position: sticky; */
        top: 0;
    }

    .top-row[b-auetxm2gmc] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-auetxm2gmc]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-auetxm2gmc],
    article[b-auetxm2gmc] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-auetxm2gmc] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-auetxm2gmc] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Layout/MainMenu.razor.rz.scp.css */
#mainNavbar[b-34bie76fvo]{
    position: fixed;
    left: 0;
    right: 0;
    height: var(--mainmenu-height, 60px);
    z-index: 1900;
    transition: top 0.18s none, height 0.7s ease;
}

#mainNavbar[b-34bie76fvo],
#mainNavbar .navbar-nav[b-34bie76fvo],
#mainNavbar .nav-item[b-34bie76fvo],
#mainNavbar .mainmenu-link[b-34bie76fvo] {
    min-height: 60px; /* sécurité */
    margin: 0;
    padding: 0;
    /* top:666.25px;  /*remove this if want the menu to be at the top*/
}

#mainNavbar .navbar-nav[b-34bie76fvo],
#mainNavbar .nav-item[b-34bie76fvo],
#mainNavbar .mainmenu-link[b-34bie76fvo] {
    height: 100% !important;
}

#mainNavbar .navbar-nav[b-34bie76fvo] {
    width: 100%;
    display: flex;
    flex-direction: row;
}

#mainNavbar .nav-item[b-34bie76fvo] {
    flex: 1 1 0;                 /* chaque case la même largeur */
    display: flex;
    align-items: stretch;
}

#mainNavbar .mainmenu-link[b-34bie76fvo] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;         /* centrage vertical */
    justify-content: center;     /* centrage horizontal */
    border-radius: 0;
    font-size: 1.08em;
    color: #ddd !important;
    background: none;
    border: none;
    transition: background 0.15s ease, color 0.15s;
}

#mainNavbar .mainmenu-link .bi[b-34bie76fvo] {
    font-size: 1.1em;
    margin-right: 0.4em;
}

/* Effet hover */
#mainNavbar .mainmenu-link:hover[b-34bie76fvo],
#mainNavbar .mainmenu-link.active[b-34bie76fvo],
#mainNavbar .mainmenu-link:focus[b-34bie76fvo],
#mainNavbar .mainmenu-link:active[b-34bie76fvo] {
    background: rgba(255,255,255,0.23) !important;
    color: #fff !important;
}

/* Quand la navbar est en bas = totalement opaque */
#mainNavbar.navbar.navbar-dark.opaque .mainmenu-link:hover[b-34bie76fvo] {
    background: rgba(255,255,255,0.13);
    color: #fff !important;
}

/* Responsive */
@media (max-width: 900px) {
    #mainNavbar .mainmenu-link[b-34bie76fvo] {
        font-size: 1em;
        padding: 0.4em 0.6em;
    }
}
@media (max-width: 800px) {
    #mainNavbar .navbar-nav[b-34bie76fvo] {
        flex-direction: column;
        height: auto;
    }
    #mainNavbar .nav-item[b-34bie76fvo] {
        flex: unset;
        width: 100%;
    }
    #mainNavbar .mainmenu-link[b-34bie76fvo] {
        justify-content: center;
        font-size: 1.05em;
        /* height: 49px; */
        min-height: 42px;
    }
}
@media (max-width: 600px) {
    #mainNavbar .mainmenu-link span.ms-1[b-34bie76fvo] {
        display: none;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.top-row[b-aplafr472t] {
    min-height: 3.5rem;
    background-color: rgba(0, 0, 0, 0.4);
}

.navbar-brand[b-aplafr472t] {
    font-size: 1.1rem;
}

.bi[b-aplafr472t] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-aplafr472t] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-aplafr472t] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-aplafr472t] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-aplafr472t] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

.nav-item:first-of-type[b-aplafr472t] {
    padding-top: 1rem;
}

.nav-item:last-of-type[b-aplafr472t] {
    padding-bottom: 1rem;
}

.nav-section[b-aplafr472t]  .nav-link {
    color: #d7d7d7;
    background: none;
    border: none;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    width: 100%;
}

.nav-section[b-aplafr472t]  a.active {
    background-color: rgba(255, 255, 255, 0.37);
    color: white;
}

.nav-section[b-aplafr472t]  .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.nav-scrollable[b-aplafr472t] {
    padding-top: 140px;
    padding-left: 10px;
}

@media screen and (max-width: 600px) {
    .nav-scrollable[b-aplafr472t] {
        padding-top: 40px;
    }
    .sidebar[b-aplafr472t]{
        margin-top: 60px;
    }
}

.nav-header[b-aplafr472t]{
    color: rgb(130, 130, 130);
}
/* /Layout/SideBar.razor.rz.scp.css */
#overlay[b-8zy62zrvbv] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.0);
    width: 100%;
    height: 100%;
    z-index: 800;
    display: none;
}

.sidebar[b-8zy62zrvbv] {
    /* background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%); */
    background-color: rgb(20, 20, 20);
    position: fixed;
    transform: translateX(-300px);
    transition: transform 0.6s ease-out;
    z-index: 900;
    height: 100vh;
    box-shadow: 10px 0 10px rgba(200, 200, 200, 0.5);
}

/*
-------------------------animation icone menu
*/
#menu-toggle:checked~.sidebar[b-8zy62zrvbv] {
    transform: translateX(0);
}

#menu-toggle:checked~label[for="menu-toggle"][b-8zy62zrvbv]  {
    transform: translateX(150px);
    transition: transform 0.4s 0.2s ease;
}

#menu-toggle:not(:checked)~label[for="menu-toggle"][b-8zy62zrvbv]  {
    transform: translateX(0px);
    transition: transform 0.4s ease;
}

#menu-toggle:checked~#overlay[b-8zy62zrvbv] {
    display: block;
}

/* Le label entier devient la zone cliquable */
label[for="menu-toggle"][b-8zy62zrvbv] {
    position: fixed;
    /* ou fixed si nécessaire */
    top: 80px;

    /* Taille de la zone cliquable */
    width: 60px;
    /* largeur plus grande que l’icône */
    height: 60px;
    /* hauteur plus grande que l’icône */
    display: flex;
    /* pour centrer l’icône dedans */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2000;
    /* au-dessus du reste */
}

.menu-icon[b-8zy62zrvbv] {
    width: 25px;
    height: 25px;
    position: fixed;
    cursor: pointer;
    display: inline-block;
    z-index: 1100;
    padding-top: 20px;
    padding-left: 20px;
}

@media (max-width: 600px) {
    label[for="menu-toggle"][b-8zy62zrvbv] {
        top: 60px;
    }

    #menu-toggle:checked~label[for="menu-toggle"][b-8zy62zrvbv]  {
        transform: translateX(180px);
        transition: transform 0.4s 0.2s ease;
    }

    #menu-toggle:not(:checked)~label[for="menu-toggle"][b-8zy62zrvbv]  {
        transform: translateX(0px);
        transition: transform 0.4s ease;
    }

    .sidebar[b-8zy62zrvbv] {
        padding-top: 80px;
        width: 250px;
        height: 100vh;
        top: 0;
        overflow-y: auto;
        overflow-x: hidden;
        scrollbar-width: thin;
        background-color: rgb(30, 30, 30);
    }

    /* Scrollbar discrète pour chrome/safari */
    .sidebar[b-8zy62zrvbv]::-webkit-scrollbar {
        width: 8px;
    }

    .sidebar[b-8zy62zrvbv]::-webkit-scrollbar-track {
        background: transparent;
    }

    .sidebar[b-8zy62zrvbv]::-webkit-scrollbar-thumb {
        background-color: darkgrey;
        border-radius: 4px;
    }

    /* Scrollbar pour Firefox */
    .sidebar[b-8zy62zrvbv] {
        scrollbar-width: thin;
        scrollbar-color: darkgrey transparent;
    }
}

@media (max-height: 800px) {
    label[for="menu-toggle"][b-8zy62zrvbv] {
        top: 60px;
    }

    #menu-toggle:checked~label[for="menu-toggle"][b-8zy62zrvbv]  {
        transform: translateX(190px);
        transition: transform 0.4s 0.2s ease;
    }

    #menu-toggle:not(:checked)~label[for="menu-toggle"][b-8zy62zrvbv]  {
        transform: translateX(0px);
        transition: transform 0.4s ease;
    }

    .sidebar[b-8zy62zrvbv] {
        /* padding-top: 20px; */
        width: 250px;
        height: 100vh;
        top: 0;
        overflow-y: auto;
        overflow-x: hidden;
        scrollbar-width: thin;
        background-color: rgb(30, 30, 30);
    }

    /* Scrollbar discrète pour chrome/safari */
    .sidebar[b-8zy62zrvbv]::-webkit-scrollbar {
        width: 8px;
    }

    .sidebar[b-8zy62zrvbv]::-webkit-scrollbar-track {
        background: transparent;
    }

    .sidebar[b-8zy62zrvbv]::-webkit-scrollbar-thumb {
        background-color: darkgrey;
        border-radius: 4px;
    }

    /* Scrollbar pour Firefox */
    .sidebar[b-8zy62zrvbv] {
        scrollbar-width: thin;
        scrollbar-color: darkgrey transparent;
    }
}

.menu-icon span[b-8zy62zrvbv],
.menu-icon span[b-8zy62zrvbv]::before,
.menu-icon span[b-8zy62zrvbv]::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #FFF;
    border-radius: 2px;
    transition: 0.6s;
}

.menu-icon span[b-8zy62zrvbv] {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.menu-icon span[b-8zy62zrvbv]::before {
    content: "";
    top: -7px;
    left: 0;
}

.menu-icon span[b-8zy62zrvbv]::after {
    content: "";
    top: 7px;
    left: 0;
}

/* Masque la checkbox */
#menu-toggle[b-8zy62zrvbv] {
    display: none;
}

/* Animation hamburger -> croix */
#menu-toggle:checked+label .menu-icon span[b-8zy62zrvbv] {
    background-color: transparent;
}

#menu-toggle:checked+label .menu-icon span[b-8zy62zrvbv]::before {
    transform: rotate(45deg);
    top: 0;
}

#menu-toggle:checked+label .menu-icon span[b-8zy62zrvbv]::before,
#menu-toggle:checked+label .menu-icon span[b-8zy62zrvbv]::after {
    background-color: #FFF;
}

#menu-toggle:checked+label .menu-icon span[b-8zy62zrvbv]::after {
    transform: rotate(-45deg);
    top: 0;
}
