/* /Components/Depot.razor.rz.scp.css */
.depot-zone[b-s8iirguvl5] {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    min-height: 3.5rem;
    margin-bottom: 0.75rem;
    padding: 0.75rem 1rem;
    border: 2px dashed #9db8e0;
    border-radius: 0.5rem;
    background: #f5f9ff;
    color: #3a5a8c;
    cursor: pointer;
    text-align: center;
    transition: background 0.15s, border-color 0.15s;
}

    .depot-zone:hover[b-s8iirguvl5] {
        background: #eaf1ff;
        border-color: #0d6efd;
    }

/* L'input (rendu par InputFile) couvre la zone (drop + clic) mais reste invisible.
   ::deep car l'element est genere par le composant enfant InputFile. */
[b-s8iirguvl5] .depot-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.depot-text[b-s8iirguvl5] {
    pointer-events: none;
}

/* Mode "bare" : la zone habille son contenu (ex. nom de dossier), droppable */
.depot--bare[b-s8iirguvl5] {
    display: inline-block;
}

    .depot--bare .depot-zone[b-s8iirguvl5] {
        display: inline-block; /* pas de flex/centrage : neutre au repos */
        position: relative;
        min-height: auto;
        width: auto;
        /* aire cliquable padee, compensee par une marge negative -> aucun decalage au repos */
        padding: 0.2rem 0.5rem;
        margin: -0.2rem -0.5rem;
        border: 1px dashed transparent;
        border-radius: 0.375rem;
        background: transparent;
        text-align: inherit;
        transition: background 0.12s, border-color 0.12s;
    }

        /* Survol : le pourtour se transforme (bordure pointillee + fond) */
        .depot--bare .depot-zone:hover[b-s8iirguvl5] {
            background: #dbe8ff;
            border-color: #0d6efd;
        }

/* Mode compact (dans une entete de groupe) */
.depot--compact[b-s8iirguvl5] {
    display: inline-block;
}

    .depot--compact .depot-zone[b-s8iirguvl5] {
        min-height: auto;
        width: auto;
        margin: 0;
        padding: 0.1rem 0.6rem;
        font-size: 0.75rem;
        border-width: 1px;
    }
/* /Components/FactureGroupList.razor.rz.scp.css */
.initiale[b-iby1zhv8s9] {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0d6efd;
    padding: 0.2rem 0.25rem;
    margin: 0.6rem 0 0.2rem;
    border-bottom: 2px solid #0d6efd;
}
/* /Components/FactureRow.razor.rz.scp.css */
/* Cellules a police reduite (Id, Nom facture, Fournisseur, Num facture) */
.cell-sm[b-rthwa5tu95],
.cell-sm input[b-rthwa5tu95],
.cell-sm .form-control[b-rthwa5tu95] {
    font-size: 0.8rem;
}

/* Alerte champ vide */
.field-empty[b-rthwa5tu95] {
    background: #fdecea;
}

    .field-empty input[b-rthwa5tu95],
    .field-empty .form-control[b-rthwa5tu95] {
        border-color: #dc3545;
    }

/* --- Type de facture (badge en lecture / bordure en edition) --- */
.type-input[b-rthwa5tu95] {
    min-width: 4.5rem;
    max-width: 7rem;
}

.badge.type-facture[b-rthwa5tu95] {
    background: #0d6efd;
    color: #fff;
}

.badge.type-avoir[b-rthwa5tu95] {
    background: #fd7e14;
    color: #fff;
}

.badge.type-justificatif[b-rthwa5tu95] {
    background: #d9c9f0;
    color: #4b2e83;
}

.badge.type-manquant[b-rthwa5tu95] {
    background: #dc3545;
    color: #fff;
}

.badge.type-autre[b-rthwa5tu95] {
    background: #adb5bd;
    color: #fff;
}

select.type-facture[b-rthwa5tu95] {
    border-color: #0d6efd;
    color: #0d6efd;
}

select.type-avoir[b-rthwa5tu95] {
    border-color: #fd7e14;
    color: #b35300;
}

select.type-justificatif[b-rthwa5tu95] {
    border-color: #8e6fc4;
    color: #4b2e83;
}

select.type-manquant[b-rthwa5tu95] {
    border-color: #dc3545;
    color: #dc3545;
}

/* --- Etapes (pastilles) --- */
.etape[b-rthwa5tu95] {
    color: #fff;
}

.etape.etape-validation[b-rthwa5tu95] {
    background: #0d6efd;
}

.etape.etape-rouge-pastel[b-rthwa5tu95] {
    background: #f8b4b4;
    color: #7a1f1f;
}

.etape.etape-rouge-vif[b-rthwa5tu95] {
    background: #dc3545;
}

.etape.etape-neutre[b-rthwa5tu95] {
    background: #e9ecef;
    color: #333;
}
/* /Components/FacturesGroupedTable.razor.rz.scp.css */
thead th[b-2ipwsdwxuq] {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #5a6472;
}

.group-separator td[b-2ipwsdwxuq] {
    background: #eef2f7;
    padding: 0.25rem 0.5rem;
    border-top: 2px solid #cdd6e0;
}

.group-row[b-2ipwsdwxuq] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Le nom occupe l'espace et reste colle a gauche ; le compteur part a droite */
.group-name-wrap[b-2ipwsdwxuq] {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.chevron-btn[b-2ipwsdwxuq] {
    border: none;
    background: transparent;
    cursor: pointer;
    color: #6c757d;
    padding: 0 0.25rem;
    font-size: 0.8rem;
}

.group-name[b-2ipwsdwxuq] {
    flex: 1;
    font-weight: 600;
    font-size: 0.8rem;
    color: #334;
}

.group-name--toggle[b-2ipwsdwxuq] {
    cursor: pointer;
}

/* Leger decalage des lignes de facture -> impression d'arborescence sous le dossier.
   ::deep car les lignes sont rendues par le composant FactureRow. */
[b-2ipwsdwxuq] tr[id^="facture-"] > td:first-child {
    padding-left: 1.75rem;
}
/* /Components/FacturesTable.razor.rz.scp.css */
thead th[b-3hs1qwz47y] {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #5a6472;
}
/* /Components/FournisseurEdit.razor.rz.scp.css */
.fournisseur-edit[b-fsujz50x2k] {
    position: relative;
    min-width: 12rem;
}

.fournisseur-suggestions[b-fsujz50x2k] {
    position: absolute;
    z-index: 1000;
    left: 0;
    right: 0;
    margin: 0.125rem 0 0;
    padding: 0;
    list-style: none;
    max-height: 12rem;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
}

    .fournisseur-suggestions li[b-fsujz50x2k] {
        padding: 0.25rem 0.5rem;
        cursor: pointer;
        white-space: nowrap;
    }

        .fournisseur-suggestions li:hover[b-fsujz50x2k] {
            background: #e9ecef;
        }
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-tn5a72rx28] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-tn5a72rx28] {
    flex: 1;
}

.sidebar[b-tn5a72rx28] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-tn5a72rx28] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-tn5a72rx28]  a, .top-row[b-tn5a72rx28]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-tn5a72rx28]  a:hover, .top-row[b-tn5a72rx28]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-tn5a72rx28]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-tn5a72rx28] {
        justify-content: space-between;
    }

    .top-row[b-tn5a72rx28]  a, .top-row[b-tn5a72rx28]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-tn5a72rx28] {
        flex-direction: row;
    }

    .sidebar[b-tn5a72rx28] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-tn5a72rx28] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-tn5a72rx28]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-tn5a72rx28], article[b-tn5a72rx28] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-tn5a72rx28] {
    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-tn5a72rx28] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-m0zzysyfd8] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    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-m0zzysyfd8] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-m0zzysyfd8] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-m0zzysyfd8] {
    font-size: 1.1rem;
}

.bi[b-m0zzysyfd8] {
    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-m0zzysyfd8] {
    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-m0zzysyfd8] {
    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-m0zzysyfd8] {
    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-m0zzysyfd8] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-m0zzysyfd8] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-m0zzysyfd8] {
        padding-bottom: 1rem;
    }

    .nav-item[b-m0zzysyfd8]  .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-m0zzysyfd8]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-m0zzysyfd8]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-m0zzysyfd8] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-m0zzysyfd8] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-m0zzysyfd8] {
        display: none;
    }

    .nav-scrollable[b-m0zzysyfd8] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-uw0cuqssfd],
.components-reconnect-repeated-attempt-visible[b-uw0cuqssfd],
.components-reconnect-failed-visible[b-uw0cuqssfd],
.components-pause-visible[b-uw0cuqssfd],
.components-resume-failed-visible[b-uw0cuqssfd],
.components-rejoining-animation[b-uw0cuqssfd] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-uw0cuqssfd],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-uw0cuqssfd],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-uw0cuqssfd],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-uw0cuqssfd],
#components-reconnect-modal.components-reconnect-retrying[b-uw0cuqssfd],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-uw0cuqssfd],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-uw0cuqssfd],
#components-reconnect-modal.components-reconnect-failed[b-uw0cuqssfd],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-uw0cuqssfd] {
    display: block;
}


#components-reconnect-modal[b-uw0cuqssfd] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-uw0cuqssfd 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-uw0cuqssfd 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-uw0cuqssfd 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-uw0cuqssfd]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-uw0cuqssfd 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-uw0cuqssfd {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-uw0cuqssfd {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-uw0cuqssfd {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-uw0cuqssfd] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-uw0cuqssfd] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-uw0cuqssfd] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-uw0cuqssfd] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-uw0cuqssfd] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-uw0cuqssfd] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-uw0cuqssfd] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-uw0cuqssfd 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-uw0cuqssfd] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-uw0cuqssfd {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Verdie.razor.rz.scp.css */
.verdie-center[b-brwi9h9zef] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    font-size: 1.25rem;
    color: #555;
    text-align: center;
    padding: 1rem;
}

.verdie-error[b-brwi9h9zef] {
    color: #b00020;
}

.verdie-header[b-brwi9h9zef] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.verdie-shell[b-brwi9h9zef] {
    padding: 1rem;
}

/* Onglets */
.verdie-tabs[b-brwi9h9zef] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e6e8eb;
    padding-bottom: 0;
}

.verdie-tab[b-brwi9h9zef] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    background: transparent;
    color: #5a6472;
    font-weight: 600;
    padding: 0.55rem 1rem;
    border-radius: 0.5rem 0.5rem 0 0;
    cursor: pointer;
    position: relative;
    transition: color 0.15s, background 0.15s;
}

    .verdie-tab:hover[b-brwi9h9zef] {
        color: #0d6efd;
        background: #f2f6ff;
    }

    .verdie-tab.is-active[b-brwi9h9zef] {
        color: #0d6efd;
        background: #eaf1ff;
    }

        .verdie-tab.is-active[b-brwi9h9zef]::after {
            content: "";
            position: absolute;
            left: 0.5rem;
            right: 0.5rem;
            bottom: -2px;
            height: 3px;
            background: #0d6efd;
            border-radius: 3px 3px 0 0;
        }

.verdie-tab-count[b-brwi9h9zef] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    background: #adb5bd;
    border-radius: 1rem;
}

.verdie-tab.is-active .verdie-tab-count[b-brwi9h9zef] {
    background: #0d6efd;
}

.verdie-modal-backdrop[b-brwi9h9zef] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1040;
}

.verdie-modal[b-brwi9h9zef] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1050;
    width: min(90vw, 420px);
    max-height: 80vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 0.5rem;
    padding: 1.25rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.3);
}

.verdie-modal-list[b-brwi9h9zef] {
    max-height: 50vh;
    overflow-y: auto;
}

.verdie-pdf-modal[b-brwi9h9zef] {
    position: fixed;
    inset: 3vh 3vw;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.4);
}

.verdie-pdf-head[b-brwi9h9zef] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0.75rem;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
}

.verdie-pdf-frame[b-brwi9h9zef] {
    flex: 1;
    width: 100%;
    border: none;
}

.verdie-busy[b-brwi9h9zef] {
    position: fixed;
    inset: 0;
    z-index: 1060;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
}
