/* _content/NexFlux/Components/Layout/LoginLayout.razor.rz.scp.css */
#blazor-error-ui[b-y7y3qoh0xl] {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    bottom: 0;
    box-shadow: 0 -4px 20px rgba(239, 68, 68, 0.4);
    display: none;
    left: 0;
    padding: 1rem 1.5rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

    #blazor-error-ui .dismiss[b-y7y3qoh0xl] {
        cursor: pointer;
        position: absolute;
        right: 1rem;
        top: 0.75rem;
        font-size: 1.5rem;
        opacity: 0.8;
        transition: opacity 0.3s ease;
    }

    #blazor-error-ui .dismiss:hover[b-y7y3qoh0xl] {
        opacity: 1;
    }
/* _content/NexFlux/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-y3kfk6z2uj] {
    position: relative;
    min-height: 100vh;
    padding-top: var(--header-h);
}

main[b-y3kfk6z2uj] {
    background: transparent;
}

/* ---------- En-tête pleine largeur ---------- */
.app-header[b-y3kfk6z2uj] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    z-index: 200;
    display: flex;
    align-items: stretch;
    background: rgba(0, 0, 20, 0.92);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 204, 255, 0.3);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
}

.app-header-brand[b-y3kfk6z2uj] {
    display: flex;
    align-items: center;
    flex: 0 0 var(--sidebar-w);
    padding: 0 1.5rem;
    border-right: 1px solid rgba(0, 204, 255, 0.35);
}

.app-header-brand .navbar-brand[b-y3kfk6z2uj] {
    margin: 0;
    text-decoration: none;
}

.app-header-main[b-y3kfk6z2uj] {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 2rem;
}

.app-breadcrumb ol[b-y3kfk6z2uj] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.app-breadcrumb li + li[b-y3kfk6z2uj]::before {
    content: '›';
    margin-right: 0.5rem;
    color: var(--text-muted);
}

.app-breadcrumb a[b-y3kfk6z2uj] {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.app-breadcrumb a:hover[b-y3kfk6z2uj] {
    color: #ffffff;
}

.app-breadcrumb span[aria-current][b-y3kfk6z2uj] {
    color: #ffffff;
    font-weight: 600;
}

/* La déconnexion est dans la sidebar sur grand écran */
.app-header-logout[b-y3kfk6z2uj] {
    display: none;
}

/* ---------- Sidebar (panneau de navigation) ---------- */
.sidebar[b-y3kfk6z2uj] {
    position: fixed;
    top: var(--header-h);
    left: 0;
    bottom: 0;
    width: var(--sidebar-w);
    z-index: 100;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sidebar-user[b-y3kfk6z2uj] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(0, 204, 255, 0.25);
    background: rgba(0, 0, 20, 0.55);
}

.sidebar-user-avatar[b-y3kfk6z2uj] {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid var(--blue-cyan);
    background: rgba(0, 204, 255, 0.12);
    box-shadow: 0 0 14px rgba(0, 204, 255, 0.35);
    color: var(--blue-cyan);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

.sidebar-user-info[b-y3kfk6z2uj] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.sidebar-user-label[b-y3kfk6z2uj] {
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.sidebar-user-name[b-y3kfk6z2uj] {
    overflow: hidden;
    color: #ffffff;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (min-width: 641px) {
    main[b-y3kfk6z2uj] {
        margin-left: var(--sidebar-w);
        width: calc(100% - var(--sidebar-w));
        min-height: calc(100vh - var(--header-h));
    }

    article[b-y3kfk6z2uj] {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

@media (max-width: 640.98px) {
    .app-header-brand[b-y3kfk6z2uj] {
        flex: 1;
        padding: 0 1rem;
        border-right: none;
    }

    /* Laisse la place au bouton du menu, fixé en haut à droite */
    .app-header-main[b-y3kfk6z2uj] {
        flex: 0 0 auto;
        padding: 0 5rem 0 0;
    }

    .app-breadcrumb[b-y3kfk6z2uj] {
        display: none;
    }

    .app-header-logout[b-y3kfk6z2uj] {
        display: inline-flex;
    }

    .sidebar[b-y3kfk6z2uj] {
        position: static;
        width: auto;
        border: none;
        box-shadow: none;
        /* backdrop-filter fait de la sidebar le repère du bouton de menu (position: fixed) */
        backdrop-filter: none;
    }

    .sidebar-user[b-y3kfk6z2uj] {
        display: none;
    }
}

#blazor-error-ui[b-y3kfk6z2uj] {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    bottom: 0;
    box-shadow: 0 -4px 20px rgba(239, 68, 68, 0.4);
    display: none;
    left: 0;
    padding: 1rem 1.5rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

    #blazor-error-ui .dismiss[b-y3kfk6z2uj] {
        cursor: pointer;
        position: absolute;
        right: 1rem;
        top: 0.75rem;
        font-size: 1.5rem;
        opacity: 0.8;
        transition: opacity 0.3s ease;
    }

    #blazor-error-ui .dismiss:hover[b-y3kfk6z2uj] {
        opacity: 1;
    }
/* _content/NexFlux/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-8zb88bmg7u] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: fixed;
    top: calc((var(--header-h) - 2.5rem) / 2);
    right: 1rem;
    z-index: 300;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-8zb88bmg7u] {
    background-color: rgba(255, 255, 255, 0.5);
}

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

.bi[b-8zb88bmg7u] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    line-height: 1;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-8zb88bmg7u] {
    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-8zb88bmg7u] {
    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-8zb88bmg7u] {
    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-8zb88bmg7u] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

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

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

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

.nav-item[b-8zb88bmg7u]  a.active {
    background: linear-gradient(135deg, rgba(0, 204, 255, 0.2), rgba(0, 0, 255, 0.2));
    color: white;
}

.nav-item[b-8zb88bmg7u]  .nav-link:hover:not(.active) {
    background-color: rgba(255,255,255,0.06);
    color: white;
}

.nav-scrollable[b-8zb88bmg7u] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-8zb88bmg7u] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-8zb88bmg7u] {
        display: none;
    }

    .nav-scrollable[b-8zb88bmg7u] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Prend la hauteur restante de la sidebar (le bloc utilisateur reste en bas) */
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
    }
}
/* _content/NexFlux/Components/Pages/Login.razor.rz.scp.css */
.login-container[b-uo1kzv25lj] {
    min-height: 100vh;
    display: flex;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--dark-bg-start) 0%, var(--dark-bg-end) 100%);
}

/* Deux tiers : vidéo */
.login-media[b-uo1kzv25lj] {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 30% 40%, rgba(0, 102, 255, 0.35), transparent 60%),
                linear-gradient(180deg, var(--dark-bg-start) 0%, var(--dark-bg-end) 100%);
}

.login-video[b-uo1kzv25lj] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-media-shade[b-uo1kzv25lj] {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 20, 0.2) 0%, rgba(0, 0, 20, 0.2) 65%, rgba(0, 0, 20, 0.7) 100%);
}

/* Logos des voitures en fondu enchaîné très lent, derrière le formulaire (3 logos, cycle de 36 s, fondu de 6 s) */
.login-logos[b-uo1kzv25lj] {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.login-logo[b-uo1kzv25lj] {
    grid-area: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    opacity: 0;
    animation: login-logo-cycle-b-uo1kzv25lj 36s ease-in-out infinite both;
}

.login-logo:nth-child(2)[b-uo1kzv25lj] {
    animation-delay: 12s;
}

.login-logo:nth-child(3)[b-uo1kzv25lj] {
    animation-delay: 24s;
}

.login-logo img[b-uo1kzv25lj] {
    width: min(96%, 440px);
    height: auto;
    max-height: 72vh;
    object-fit: contain;
    opacity: 0.55;
    filter: blur(4px) drop-shadow(0 0 30px rgba(0, 204, 255, 0.55));
}

@keyframes login-logo-cycle-b-uo1kzv25lj {
    0% {
        opacity: 0;
    }
    16.67% {
        opacity: 1;
    }
    33.33% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/* Un tiers : connexion */
.login-panel[b-uo1kzv25lj] {
    flex: 0 0 33.333%;
    min-width: 380px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 3rem;
    overflow: hidden;
    background: linear-gradient(180deg, var(--dark-bg-start) 0%, var(--dark-bg-end) 100%);
    border-left: 1px solid rgba(0, 204, 255, 0.25);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6);
}

/* Formulaire directement dans le panneau, sans carte */
.login-card[b-uo1kzv25lj] {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 380px;
    animation: fadeInUp-b-uo1kzv25lj 0.6s ease;
}

@keyframes fadeInUp-b-uo1kzv25lj {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header[b-uo1kzv25lj] {
    padding: 0 0 2.5rem;
    text-align: center;
    position: relative;
}

.login-header[b-uo1kzv25lj]::after {
    content: '';
    display: block;
    width: 64px;
    height: 3px;
    margin: 1.5rem auto 0;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--blue-cyan), var(--blue-electric));
    box-shadow: 0 0 20px rgba(0, 204, 255, 0.6);
}

.login-mark[b-uo1kzv25lj] {
    display: block;
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1.25rem;
    filter: drop-shadow(0 0 18px rgba(0, 204, 255, 0.5));
}

.login-title[b-uo1kzv25lj] {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    margin: 0 0 0.5rem;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.login-subtitle[b-uo1kzv25lj] {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.login-body[b-uo1kzv25lj] {
    padding: 0;
}

.form-group[b-uo1kzv25lj] {
    margin-bottom: 1.5rem;
}

.form-group:last-of-type[b-uo1kzv25lj] {
    margin-bottom: 2rem;
}

.w-100[b-uo1kzv25lj] {
    width: 100%;
}

.me-2[b-uo1kzv25lj] {
    margin-right: 0.5rem;
}

@media (max-width: 1280px) {
    .login-title[b-uo1kzv25lj] {
        font-size: 2.3rem;
        letter-spacing: 3px;
    }
}

@media (max-width: 900px) {
    .login-logo img[b-uo1kzv25lj] {
        width: min(80%, 420px);
        opacity: 0.3;
    }

    .login-media[b-uo1kzv25lj] {
        position: absolute;
        inset: 0;
    }

    .login-media-shade[b-uo1kzv25lj] {
        background: rgba(0, 0, 20, 0.45);
    }

    .login-panel[b-uo1kzv25lj] {
        flex: 1 1 100%;
        min-width: 0;
        background: rgba(0, 0, 20, 0.7);
        backdrop-filter: blur(10px);
        border-left: none;
        box-shadow: none;
    }
}

@media (max-width: 576px) {
    .login-panel[b-uo1kzv25lj] {
        padding: 1.5rem;
    }

    .login-title[b-uo1kzv25lj] {
        font-size: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-video[b-uo1kzv25lj] {
        display: none;
    }

    .login-logo[b-uo1kzv25lj] {
        animation: none;
    }

    .login-logo:first-child[b-uo1kzv25lj] {
        opacity: 1;
    }
}
