/* /Components/Dialogs/CleanupDbDialog.razor.rz.scp.css */
.custom-dialog-overlay[b-xj2umg00ld] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.cleanup-dialog-container[b-xj2umg00ld] {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 80vh;
}

.cleanup-dialog-header[b-xj2umg00ld] {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: 1.5rem;
}

.cleanup-dialog-header h3[b-xj2umg00ld] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

.cleanup-dialog-body[b-xj2umg00ld] {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.info-text[b-xj2umg00ld] {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.alert-error[b-xj2umg00ld] {
    background: #fee;
    color: #c00;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    border: 1px solid #fcc;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.search-section[b-xj2umg00ld] {
    margin-bottom: 1.5rem;
}

.search-input[b-xj2umg00ld] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    color: #1f2937;
    box-sizing: border-box;
}

.search-input:focus[b-xj2umg00ld] {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.button-group[b-xj2umg00ld] {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.btn-select-all[b-xj2umg00ld],
.btn-deselect-all[b-xj2umg00ld] {
    flex: 1;
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #1f2937;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.btn-select-all:hover[b-xj2umg00ld] {
    background: #f3f4f6;
    border-color: #28a745;
    color: #28a745;
}

.btn-deselect-all:hover[b-xj2umg00ld] {
    background: #f3f4f6;
    border-color: #6b7280;
}

.lots-list[b-xj2umg00ld] {
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    max-height: 300px;
    overflow-y: auto;
}

.no-lots[b-xj2umg00ld] {
    padding: 2rem 1rem;
    text-align: center;
    color: #9ca3af;
}

.lot-checkbox[b-xj2umg00ld] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: background 0.2s ease;
}

.lot-checkbox:hover[b-xj2umg00ld] {
    background: #f9fafb;
}

.lot-checkbox input[type="checkbox"][b-xj2umg00ld] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #28a745;
    flex-shrink: 0;
}

.lot-name[b-xj2umg00ld] {
    font-weight: 600;
    color: #1f2937;
    flex: 1;
}

.lot-count[b-xj2umg00ld] {
    font-size: 0.85rem;
    color: #9ca3af;
}

.selection-summary[b-xj2umg00ld] {
    padding: 1rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #1f2937;
}

.selection-summary strong[b-xj2umg00ld] {
    color: #28a745;
    font-weight: 700;
}

.selection-summary span[b-xj2umg00ld] {
    color: #6b7280;
    margin-left: 0.5rem;
}

.cleanup-dialog-footer[b-xj2umg00ld] {
    border-top: 1px solid #e5e7eb;
    padding: 1rem 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    background: #f9fafb;
}

.btn-dialog-delete[b-xj2umg00ld] {
    background-color: #dc2626;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.btn-dialog-delete:hover:not(:disabled)[b-xj2umg00ld] {
    background-color: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-dialog-delete:disabled[b-xj2umg00ld] {
    background-color: #d1d5db;
    cursor: not-allowed;
}

.btn-dialog-cancel-gray[b-xj2umg00ld] {
    background-color: #6b7280;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.btn-dialog-cancel-gray:hover[b-xj2umg00ld] {
    background-color: #4b5563;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .cleanup-dialog-container[b-xj2umg00ld] {
        width: 95%;
        max-height: 90vh;
    }

    .cleanup-dialog-header[b-xj2umg00ld],
    .cleanup-dialog-body[b-xj2umg00ld],
    .cleanup-dialog-footer[b-xj2umg00ld] {
        padding: 1rem;
    }

    .cleanup-dialog-header h3[b-xj2umg00ld] {
        font-size: 1.1rem;
    }

    .button-group[b-xj2umg00ld] {
        flex-direction: column;
    }
}
/* /Components/Dialogs/CreateUserDialog.razor.rz.scp.css */
.custom-dialog-overlay[b-bm5jgn1amu] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.create-user-dialog-container[b-bm5jgn1amu] {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 450px;
    width: 90%;
    padding: 0;
    overflow: hidden;
}

.create-user-dialog-header[b-bm5jgn1amu] {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: 1.5rem;
}

.create-user-dialog-header h3[b-bm5jgn1amu] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

.create-user-dialog-body[b-bm5jgn1amu] {
    padding: 2rem 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.alert-error[b-bm5jgn1amu] {
    background: #fee;
    color: #c00;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    border: 1px solid #fcc;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.form-group[b-bm5jgn1amu] {
    margin-bottom: 1.5rem;
}

.form-group label[b-bm5jgn1amu] {
    display: block;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control[b-bm5jgn1amu] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    color: #1f2937;
    box-sizing: border-box;
}

.form-control:focus[b-bm5jgn1amu] {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.privilege-checkboxes[b-bm5jgn1amu] {
    display: flex;
    gap: 1.5rem;
}

.checkbox-label[b-bm5jgn1amu] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    color: #374151;
}

.checkbox-label input[type="checkbox"][b-bm5jgn1amu] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #28a745;
}

.create-user-dialog-footer[b-bm5jgn1amu] {
    border-top: 1px solid #e5e7eb;
    padding: 1rem 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    background: #f9fafb;
}

.btn-dialog-validate[b-bm5jgn1amu] {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.btn-dialog-validate:hover[b-bm5jgn1amu] {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-dialog-cancel-gray[b-bm5jgn1amu] {
    background-color: #6b7280;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.btn-dialog-cancel-gray:hover[b-bm5jgn1amu] {
    background-color: #4b5563;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .create-user-dialog-container[b-bm5jgn1amu] {
        width: 95%;
    }

    .create-user-dialog-header[b-bm5jgn1amu],
    .create-user-dialog-body[b-bm5jgn1amu],
    .create-user-dialog-footer[b-bm5jgn1amu] {
        padding: 1rem;
    }

    .create-user-dialog-header h3[b-bm5jgn1amu] {
        font-size: 1.1rem;
    }
}
/* /Components/Dialogs/EditUserDialog.razor.rz.scp.css */
.custom-dialog-overlay[b-xthmje0lsf] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.edit-user-dialog-container[b-xthmje0lsf] {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 450px;
    width: 90%;
    padding: 0;
    overflow: hidden;
}

.edit-user-dialog-header[b-xthmje0lsf] {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: 1.5rem;
}

.edit-user-dialog-header h3[b-xthmje0lsf] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

.edit-user-dialog-body[b-xthmje0lsf] {
    padding: 2rem 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.alert-error[b-xthmje0lsf] {
    background: #fee;
    color: #c00;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    border: 1px solid #fcc;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.alert-success[b-xthmje0lsf] {
    background: #efe;
    color: #0c0;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    border: 1px solid #cfc;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.form-group[b-xthmje0lsf] {
    margin-bottom: 1.5rem;
}

.form-group label[b-xthmje0lsf] {
    display: block;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control[b-xthmje0lsf] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    color: #1f2937;
    box-sizing: border-box;
}

.form-control:focus[b-xthmje0lsf] {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.form-control.readonly[b-xthmje0lsf] {
    background: #f3f4f6;
    cursor: not-allowed;
}

.privilege-checkboxes[b-xthmje0lsf] {
    display: flex;
    gap: 1.5rem;
}

.checkbox-label[b-xthmje0lsf] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    color: #374151;
}

.checkbox-label input[type="checkbox"][b-xthmje0lsf] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #28a745;
}

.edit-user-dialog-footer[b-xthmje0lsf] {
    border-top: 1px solid #e5e7eb;
    padding: 1rem 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    background: #f9fafb;
}

.btn-dialog-validate[b-xthmje0lsf] {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.btn-dialog-validate:hover[b-xthmje0lsf] {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-dialog-cancel-gray[b-xthmje0lsf] {
    background-color: #6b7280;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.btn-dialog-cancel-gray:hover[b-xthmje0lsf] {
    background-color: #4b5563;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .edit-user-dialog-container[b-xthmje0lsf] {
        width: 95%;
    }

    .edit-user-dialog-header[b-xthmje0lsf],
    .edit-user-dialog-body[b-xthmje0lsf],
    .edit-user-dialog-footer[b-xthmje0lsf] {
        padding: 1rem;
    }

    .edit-user-dialog-header h3[b-xthmje0lsf] {
        font-size: 1.1rem;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
html[b-jipl106ttu], body[b-jipl106ttu] {
    margin: 0;
    padding: 0;
    height: 100%;
    background: #ffffff;
}

.page[b-jipl106ttu] {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: #ffffff;
}

/* Main content area */
main[b-jipl106ttu] {
    flex: 1;
    padding-top: 4.8rem;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
    background: #ffffff;
}

article.content[b-jipl106ttu] {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Responsive */
@media (max-width: 640.98px) {
    main[b-jipl106ttu] {
        padding-top: 4.5rem;
    }
}

@media (min-width: 641px) {
    main[b-jipl106ttu] {
        margin-left: 220px;
    }
}

.top-row .page-title[b-jipl106ttu] { color: #fff; }

@media (max-width: 640.98px) {
    .top-row[b-jipl106ttu] { justify-content: space-between; }
    .top-row[b-jipl106ttu]  a, .top-row[b-jipl106ttu]  .btn-link { margin-left: 0; }
    .sidebar[b-jipl106ttu] { width: 100%; position: static; height: auto; }
    main[b-jipl106ttu] { padding-top: 3.8rem; }
}

@media (min-width: 641px) {
    .page[b-jipl106ttu] { flex-direction: row; /* sidebar à gauche */ }
    .sidebar[b-jipl106ttu] {
        width: 220px;
        height: 100vh;
        min-height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 100;
        background: #2d3748 !important;
        margin: 0;
        padding: 0;
        border-right: 1px solid #42506a;
    }
    .top-row[b-jipl106ttu] { position: sticky; top: 0; z-index: 1; }
    .top-row.auth[b-jipl106ttu]  a:first-child { flex: 1; text-align: right; width: 0; }

    /* push main content to the right of sidebar */
    main[b-jipl106ttu] { padding-top: 4.8rem; margin-left: 220px; }
    .top-row[b-jipl106ttu], article[b-jipl106ttu] { padding-left: 2rem !important; padding-right: 1.5rem !important; }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ============================================
   NAVMENU - CSS PROPRE ET ORGANISÉ
   ============================================ */

/* ============================================
   RESET GLOBAL
   ============================================ */
html[b-8i7vyx45zk], body[b-8i7vyx45zk] {
    margin: 0;
    padding: 0;
    height: 100%;
}

:host[b-8i7vyx45zk] {
    display: block;
}

/* ============================================
   HEADER PRINCIPAL (TOUJOURS VISIBLE)
   ============================================ */
.main-header[b-8i7vyx45zk] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.92) 0%, rgba(79, 143, 192, 0.78) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    z-index: 1100;
}

.main-header .app-title[b-8i7vyx45zk] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f4f6f8;
    flex: 1;
    text-align: center;
    margin: 0 0.5rem;
}

/* ============================================
   BURGER BUTTON - BASE
   ============================================ */
.burger[b-8i7vyx45zk] {
    width: 45px;
    height: 45px;
    min-width: 45px;
    min-height: 45px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    flex-direction: column;
    padding: 0;
    transition: all 160ms ease;
    flex-shrink: 0;
}

.burger:hover[b-8i7vyx45zk] {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
}

.burger:active[b-8i7vyx45zk] {
    transform: scale(0.95);
}

.burger span[b-8i7vyx45zk] {
    display: block;
    width: 24px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 200ms ease;
}

/* Par défaut : burger desktop visible, mobile caché */
.burger.desktop-burger[b-8i7vyx45zk] {
    display: flex;
}

.burger.mobile-burger[b-8i7vyx45zk] {
    display: none;
}

/* ============================================
   DESKTOP SIDEBAR (ÉCRANS LARGES)
   ============================================ */
@media (min-width: 641px) {
    .burger.desktop-burger[b-8i7vyx45zk] {
        display: flex !important;
    }
    
    .burger.mobile-burger[b-8i7vyx45zk] {
        display: none !important;
    }
    
    .nav-sidebar-desktop[b-8i7vyx45zk] {
        display: block !important;
        position: fixed;
        top: 4.5rem;
        left: 0;
        width: 220px;
        height: calc(100vh - 4.5rem);
        z-index: 300;
        background: #2d3748;
        box-shadow: 2px 0 8px rgba(79, 143, 192, 0.07);
        transition: width 220ms cubic-bezier(.2, .9, .2, 1);
        overflow-x: hidden;
    }
    
    .nav-sidebar-desktop.collapsed[b-8i7vyx45zk] {
        width: 60px;
    }
    
    .nav-links-mobile[b-8i7vyx45zk] {
        display: none !important;
    }
}

/* ============================================
   MOBILE MENU (PETITS ÉCRANS)
   ============================================ */
@media (max-width: 640.98px) {
    /* BURGER MOBILE VISIBLE, DESKTOP CACHÉ */
    .burger.mobile-burger[b-8i7vyx45zk] {
        display: flex !important;
    }
    
    .burger.desktop-burger[b-8i7vyx45zk] {
        display: none !important;
    }
    
    /* SIDEBAR DESKTOP CACHÉE SUR MOBILE */
    .nav-sidebar-desktop[b-8i7vyx45zk] {
        display: none !important;
    }
    
    /* MENU MOBILE - ANIMATION DEPUIS LE HAUT */
    .nav-links-mobile[b-8i7vyx45zk] {
        position: fixed !important;
        z-index: 1200 !important;
        left: 0 !important;
        right: 0 !important;
        top: 4.5rem !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: calc(100vh - 4.5rem) !important;
        background: #ffffff !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        padding: 1.5rem 0;
        overflow-y: auto;
        margin: 0 !important;
        border-radius: 0 !important;

        /* ANIMATION VERTICALE : CACHÉ AU-DESSUS */
        transform: translateY(-100%) !important;
        opacity: 0;
        visibility: hidden;
        transition: transform 350ms cubic-bezier(0.4, 0, 0.2, 1), 
                    opacity 250ms ease-in-out,
                    visibility 0ms linear 350ms;
        will-change: transform, opacity;
    }
    
    /* MENU OUVERT : GLISSE VERS LE BAS */
    .nav-links-mobile.open[b-8i7vyx45zk] {
        transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
        transition: transform 350ms cubic-bezier(0.4, 0, 0.2, 1), 
                    opacity 250ms ease-in-out,
                    visibility 0ms linear 0ms;
    }
    
    /* MENU FERMÉ */
    .nav-links-mobile.collapsed[b-8i7vyx45zk] {
        transform: translateY(-100%) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    
    /* STYLE DES LIENS DU MENU MOBILE */
    .nav-links-mobile .nav-item[b-8i7vyx45zk] {
        margin: 0.5rem 1rem;
    }

    .nav-links-mobile .nav-item .nav-link[b-8i7vyx45zk],
    .nav-links-mobile .nav-item .btn-as-link[b-8i7vyx45zk] {
        width: 100%;
        padding: 1rem 1.5rem;
        border-radius: 12px;
        font-size: 1.1rem;
        font-weight: 500;
        background: #f9fafb;
        border: 1px solid #e5e7eb;
        color: #1f2937;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 1rem;
        transition: all 180ms ease;
        cursor: pointer;
        text-decoration: none;
    }

    .nav-links-mobile .nav-item .nav-link:hover[b-8i7vyx45zk],
    .nav-links-mobile .nav-item .btn-as-link:hover[b-8i7vyx45zk] {
        background: #f3f4f6;
        border-color: #d1d5db;
        transform: translateX(4px);
    }

    .nav-links-mobile .nav-item .nav-link.active[b-8i7vyx45zk] {
        background: #e0e7ff;
        border-color: #c7d2fe;
        color: #3730a3;
        font-weight: 600;
    }

    .nav-links-mobile .nav-item svg[b-8i7vyx45zk],
    .nav-links-mobile .nav-item .bi[b-8i7vyx45zk] {
        flex-shrink: 0;
        width: 24px;
        height: 24px;
    }
    
    /* BOUTON AUTH MOBILE */
    .nav-links-mobile .auth-btn-mobile[b-8i7vyx45zk] {
        width: 100%;
        padding: 1rem 1.5rem;
        border-radius: 12px;
        font-size: 1.1rem;
        font-weight: 600;
        border: 2px solid;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        transition: all 180ms ease;
        cursor: pointer;
        text-decoration: none;
    }

    /* CONNEXION (vert) */
    .nav-links-mobile .auth-btn-mobile.auth-connect[b-8i7vyx45zk] {
        background: linear-gradient(135deg, rgba(52, 211, 153, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
        border-color: rgba(52, 211, 153, 0.5);
        color: #6ee7b7;
    }

    .nav-links-mobile .auth-btn-mobile.auth-connect:hover[b-8i7vyx45zk] {
        background: linear-gradient(135deg, rgba(52, 211, 153, 0.25) 0%, rgba(16, 185, 129, 0.25) 100%);
        border-color: rgba(52, 211, 153, 0.7);
        color: #a7f3d0;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(52, 211, 153, 0.35);
    }

    /* DÉCONNEXION (orange/rouge) */
    .nav-links-mobile .auth-btn-mobile.auth-disconnect[b-8i7vyx45zk] {
        background: linear-gradient(135deg, rgba(251, 146, 60, 0.15) 0%, rgba(249, 115, 22, 0.15) 100%);
        border-color: rgba(251, 146, 60, 0.5);
        color: #fdba74;
    }

    .nav-links-mobile .auth-btn-mobile.auth-disconnect:hover[b-8i7vyx45zk] {
        background: linear-gradient(135deg, rgba(251, 146, 60, 0.25) 0%, rgba(249, 115, 22, 0.25) 100%);
        border-color: rgba(251, 146, 60, 0.7);
        color: #fed7aa;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(251, 146, 60, 0.35);
    }
}

/* ============================================
   OVERLAY (FOND SOMBRE QUAND MENU OUVERT)
   ============================================ */
.nav-overlay[b-8i7vyx45zk] {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1199;
    opacity: 1;
    transition: opacity 180ms ease-in-out;
}

/* ============================================
   STYLES DES LIENS (SIDEBAR DESKTOP)
   ============================================ */
.nav-item[b-8i7vyx45zk] {
    padding: 0.25rem 0;
}

.nav-item[b-8i7vyx45zk]  a {
    color: #f4f6f8;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 6px;
    height: 2.5rem;
    padding: 0 0.5rem;
    text-decoration: none;
    transition: background 180ms ease, color 180ms ease;
}

.nav-item[b-8i7vyx45zk]  a:hover {
    background: rgba(79, 143, 192, 0.15);
}

.nav-item[b-8i7vyx45zk]  a.active {
    background: rgba(79, 143, 192, 0.25);
    font-weight: 600;
}

/* ============================================
   BOUTON AUTH (SIDEBAR DESKTOP)
   ============================================ */
.auth-btn[b-8i7vyx45zk],
.main-auth-btn[b-8i7vyx45zk] {
    background: rgba(79, 143, 192, 0.2);
    color: #f4f6f8;
    border: 1px solid rgba(79, 143, 192, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 180ms ease;
    cursor: pointer;
    display: block;
}

.auth-btn:hover[b-8i7vyx45zk],
.main-auth-btn:hover[b-8i7vyx45zk] {
    background: rgba(79, 143, 192, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 143, 192, 0.2);
}

/* ============================================
   ICONS BOOTSTRAP
   ============================================ */
.bi[b-8i7vyx45zk] {
    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-8i7vyx45zk] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23f4f6f8' 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-list[b-8i7vyx45zk] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23f4f6f8' class='bi bi-list' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M2.5 12.5a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1h-10a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1h-10a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1h-10a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

/* Icônes sombres pour menu mobile sur fond blanc */
@media (max-width: 640.98px) {
    .nav-links-mobile .bi-house-door-fill-nav-menu[b-8i7vyx45zk] {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%231f2937' 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");
    }

    .nav-links-mobile .bi-list[b-8i7vyx45zk] {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%231f2937' class='bi bi-list' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M2.5 12.5a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1h-10a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1h-10a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1h-10a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *[b-8i7vyx45zk] {
        transition: none !important;
        animation: none !important;
    }
}
/* /Components/Pages/AdminUsers.razor.rz.scp.css */
.admin-container[b-fm9i82p30r] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background: #ffffff;
}

.admin-header[b-fm9i82p30r] {
    margin-bottom: 2rem;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 1rem;
}

.admin-header h1[b-fm9i82p30r] {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
}

.loading-text[b-fm9i82p30r] {
    text-align: center;
    color: #6b7280;
    padding: 2rem;
}

.admin-actions[b-fm9i82p30r] {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-action[b-fm9i82p30r] {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.btn-add[b-fm9i82p30r] {
    background-color: #28a745;
    color: white;
}

.btn-add:hover[b-fm9i82p30r] {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-cleanup[b-fm9i82p30r] {
    background-color: #dc2626;
    color: white;
}

.btn-cleanup:hover[b-fm9i82p30r] {
    background-color: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.users-section[b-fm9i82p30r] {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.section-title[b-fm9i82p30r] {
    margin: 0 0 1.5rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

.users-grid[b-fm9i82p30r] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
}

.user-card[b-fm9i82p30r] {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}

.user-card:hover[b-fm9i82p30r] {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #28a745;
}

.user-card-header[b-fm9i82p30r] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.user-login[b-fm9i82p30r] {
    flex: 1;
    cursor: pointer;
}

.login-text[b-fm9i82p30r] {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.user-login:hover .login-text[b-fm9i82p30r] {
    background: #f3f4f6;
    color: #28a745;
}

.user-levels[b-fm9i82p30r] {
    display: flex;
    gap: 0.5rem;
}

.level-badge[b-fm9i82p30r] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 1.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 0.25rem;
    color: white;
}

.level-1[b-fm9i82p30r] {
    background-color: #60a5fa;
}

.level-2[b-fm9i82p30r] {
    background-color: #fbbf24;
    color: #1f2937;
}

.level-3[b-fm9i82p30r] {
    background-color: #ef4444;
}

.user-card-footer[b-fm9i82p30r] {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

.btn-card-edit[b-fm9i82p30r],
.btn-card-delete[b-fm9i82p30r] {
    flex: 1;
    padding: 0.5rem;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-weight: 600;
}

.btn-card-edit[b-fm9i82p30r] {
    background-color: #3b82f6;
    color: white;
}

.btn-card-edit:hover[b-fm9i82p30r] {
    background-color: #1d4ed8;
    transform: scale(1.05);
}

.btn-card-delete[b-fm9i82p30r] {
    background-color: #ef4444;
    color: white;
}

.btn-card-delete:hover[b-fm9i82p30r] {
    background-color: #dc2626;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .admin-container[b-fm9i82p30r] {
        padding: 1rem;
    }

    .admin-header h1[b-fm9i82p30r] {
        font-size: 1.5rem;
    }

    .admin-actions[b-fm9i82p30r] {
        flex-direction: column;
    }

    .btn-action[b-fm9i82p30r] {
        width: 100%;
    }

    .users-grid[b-fm9i82p30r] {
        grid-template-columns: 1fr;
    }

    .user-card-header[b-fm9i82p30r] {
        flex-direction: column;
        align-items: flex-start;
    }

    .user-levels[b-fm9i82p30r] {
        width: 100%;
        justify-content: flex-start;
    }
}
/* /Components/Pages/Chargement.razor.rz.scp.css */
/* Container principal */
.chargement-container[b-qqxurec599] {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background: #ffffff;
}

/* Titre principal */
.chargement-title[b-qqxurec599] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 2rem 0;
    text-align: left;
}

/* Messages de chargement */
.loading-text[b-qqxurec599] {
    color: #6b7280;
    font-size: 0.95rem;
    margin: 1rem 0;
}

/* Carte de profil */
.profil-card[b-qqxurec599] {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

/* En-tête du profil */
.profil-header[b-qqxurec599] {
    padding: 1.25rem;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.profil-info h2[b-qqxurec599] {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
}

.profil-info p[b-qqxurec599] {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0.25rem 0;
}

/* Actions */
.profil-actions[b-qqxurec599] {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.btn-validate[b-qqxurec599],
.btn-incomplete[b-qqxurec599] {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-validate[b-qqxurec599] {
    background: #10b981;
    color: #ffffff;
}

.btn-validate:hover[b-qqxurec599] {
    background: #059669;
}

.btn-incomplete[b-qqxurec599] {
    background: #ef4444;
    color: #ffffff;
}

.btn-incomplete:hover[b-qqxurec599] {
    background: #dc2626;
}

/* Zone des images */
.profil-images[b-qqxurec599] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: #ffffff;
}

.image-container[b-qqxurec599] {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #ffffff;
}

.image-container:first-child[b-qqxurec599],
.image-container:last-child[b-qqxurec599] {
    background: #6d4c3d;
}

.image-container:nth-child(2)[b-qqxurec599] {
    background: #ffffff;
}

.profil-image[b-qqxurec599] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.profil-image:hover[b-qqxurec599] {
    opacity: 0.9;
}

.image-placeholder[b-qqxurec599] {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    background: #f3f4f6;
    gap: 0.5rem;
}

.image-placeholder span[b-qqxurec599] {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Modal image styles */
.modal-img-overlay[b-qqxurec599] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    cursor: pointer;
    padding: 2rem;
}

.modal-content[b-qqxurec599] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 90vw;
    max-height: 90vh;
    cursor: default;
}

.modal-img[b-qqxurec599] {
    max-width: 80vw;
    max-height: 70vh;
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    padding: 1rem;
}

.modal-info[b-qqxurec599] {
    background: #ffffff;
    padding: 1.5rem 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 300px;
}

.modal-info h3[b-qqxurec599] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 1rem 0;
}

.modal-info p[b-qqxurec599] {
    font-size: 0.95rem;
    color: #4b5563;
    margin: 0.5rem 0;
}

.modal-info p strong[b-qqxurec599] {
    color: #1f2937;
    font-weight: 600;
}

.modal-info p em[b-qqxurec599] {
    color: #9ca3af;
}

.close-modal-btn[b-qqxurec599] {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 3rem;
    line-height: 1;
    color: #1f2937;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2100;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.close-modal-btn:hover[b-qqxurec599] {
    opacity: 0.5;
}

/* Responsive mobile */
@media (max-width: 640.98px) {
    .chargement-container[b-qqxurec599] {
        padding: 1rem 0.5rem;
    }

    .chargement-title[b-qqxurec599] {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .profil-header[b-qqxurec599] {
        flex-direction: column;
        padding: 1rem;
    }

    .profil-info h2[b-qqxurec599] {
        font-size: 0.95rem;
    }

    .profil-info p[b-qqxurec599] {
        font-size: 0.8rem;
    }

    .profil-actions[b-qqxurec599] {
        width: 100%;
        justify-content: flex-end;
    }

    .btn-validate[b-qqxurec599],
    .btn-incomplete[b-qqxurec599] {
        width: 45px;
        height: 45px;
    }
}

/* Bouton dédié pour le modal de détail */
.btn-detail-info[b-qqxurec599] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b7280;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-detail-info:hover[b-qqxurec599] {
    background: #e5e7eb;
    color: #374151;
}

/* Modal de détail des barres */
.modal-detail-overlay[b-qqxurec599] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
}

.modal-detail-content[b-qqxurec599] {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1.75rem;
    max-width: 480px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.06);
}

.modal-detail-content h2[b-qqxurec599] {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.25rem 0;
    padding-right: 2.5rem;
}

.detail-subtitle[b-qqxurec599] {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 0 0.25rem 0;
}

.detail-section[b-qqxurec599] {
    margin-top: 1.25rem;
}

.detail-section h3[b-qqxurec599] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 0.625rem 0;
    padding-bottom: 0.375rem;
    border-bottom: 1px solid #e5e7eb;
}

.detail-pvc[b-qqxurec599] {
    font-size: 0.875rem;
    color: #1f2937;
    font-weight: 500;
    margin: 0.3rem 0;
    padding: 0.375rem 0.625rem;
    background: #f0fdf4;
    border-left: 3px solid #10b981;
    border-radius: 0 0.25rem 0.25rem 0;
}

.detail-bars-list[b-qqxurec599] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.detail-bar-row[b-qqxurec599] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.375rem 0.625rem;
    background: #f9fafb;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.detail-bar-row:nth-child(even)[b-qqxurec599] {
    background: #f3f4f6;
}

.bar-number[b-qqxurec599] {
    font-weight: 600;
    color: #6b7280;
    min-width: 1.75rem;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.bar-equals[b-qqxurec599] {
    color: #d1d5db;
    font-weight: 300;
}

.bar-length[b-qqxurec599] {
    font-weight: 600;
    color: #1f2937;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 640.98px) {
    .modal-detail-content[b-qqxurec599] {
        padding: 1.25rem;
        max-height: 90vh;
    }
}
/* /Components/Pages/DashboardSchirmer.razor.rz.scp.css */
.dashboard-container[b-uehedkj8pk] {
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.dashboard-header[b-uehedkj8pk] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #3498db;
}

.dashboard-header h2[b-uehedkj8pk] {
    margin: 0;
    color: #2c3e50;
}

.date-selector[b-uehedkj8pk] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-selector label[b-uehedkj8pk] {
    font-weight: 600;
    margin: 0;
}

.date-selector input[b-uehedkj8pk] {
    width: 180px;
}

.loading-spinner[b-uehedkj8pk] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.kpi-grid[b-uehedkj8pk] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.kpi-card[b-uehedkj8pk] {
    display: flex;
    align-items: center;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transition: transform 0.2s;
}

.kpi-card:hover[b-uehedkj8pk] {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.kpi-card.production[b-uehedkj8pk] {
    background: linear-gradient(135deg, #38ef7d 0%, #11998e 100%);
}

.kpi-card.lots[b-uehedkj8pk] {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.kpi-card.rate[b-uehedkj8pk] {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.kpi-card.repairs[b-uehedkj8pk] {
    background: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
}

.kpi-card.alarms[b-uehedkj8pk] {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
}

.kpi-icon[b-uehedkj8pk] {
    font-size: 48px;
    margin-right: 20px;
}

.kpi-content[b-uehedkj8pk] {
    flex: 1;
}

.kpi-label[b-uehedkj8pk] {
    font-size: 14px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.kpi-value[b-uehedkj8pk] {
    font-size: 36px;
    font-weight: bold;
}

.kpi-sub[b-uehedkj8pk] {
    font-size: 13px;
    opacity: 0.85;
    margin-top: 2px;
}

.kpi-clickable[b-uehedkj8pk] {
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.kpi-clickable:hover[b-uehedkj8pk] {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

/* ===== Alarm Modal ===== */
.modal-backdrop[b-uehedkj8pk] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1040;
}

.alarms-modal[b-uehedkj8pk] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1050;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    width: 90%;
    max-width: 900px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.alarms-modal-header[b-uehedkj8pk] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: #fff;
}

.alarms-modal-header.lots-modal-header[b-uehedkj8pk] {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.alarms-modal-header h4[b-uehedkj8pk] {
    margin: 0;
    font-size: 18px;
}

.btn-close-modal[b-uehedkj8pk] {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    font-size: 18px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    line-height: 1;
    transition: background 0.15s;
}

.btn-close-modal:hover[b-uehedkj8pk] {
    background: rgba(255,255,255,0.4);
}

.alarms-modal-body[b-uehedkj8pk] {
    overflow-y: auto;
    padding: 20px 24px;
    flex: 1;
}

.alarms-table[b-uehedkj8pk] {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.alarms-table thead th[b-uehedkj8pk] {
    background: #f1f3f5;
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
    white-space: nowrap;
}

.alarms-table tbody tr[b-uehedkj8pk] {
    border-bottom: 1px solid #e9ecef;
    transition: background 0.1s;
}

.alarms-table tbody tr:hover[b-uehedkj8pk] {
    background: #f8f9fa;
}

.alarms-table td[b-uehedkj8pk] {
    padding: 9px 12px;
    vertical-align: middle;
}

.alarm-time[b-uehedkj8pk] {
    font-family: monospace;
    font-size: 13px;
    white-space: nowrap;
}

.alarm-details[b-uehedkj8pk] {
    max-width: 280px;
    word-break: break-word;
    font-size: 12px;
    color: #555;
}

.alarm-badge[b-uehedkj8pk] {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.alarm-p1[b-uehedkj8pk] { background: #fee2e2; color: #b91c1c; }
.alarm-p2[b-uehedkj8pk] { background: #ffedd5; color: #c2410c; }
.alarm-p3[b-uehedkj8pk] { background: #fef9c3; color: #92400e; }

.alarm-badge.alarm-p1[b-uehedkj8pk] { background: #fca5a5; color: #7f1d1d; }
.alarm-badge.alarm-p2[b-uehedkj8pk] { background: #fdba74; color: #7c2d12; }
.alarm-badge.alarm-p3[b-uehedkj8pk] { background: #fde047; color: #713f12; }

.dashboard-grid[b-uehedkj8pk] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.chart-card[b-uehedkj8pk] {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.chart-card h4[b-uehedkj8pk] {
    margin-top: 0;
    margin-bottom: 20px;
    color: #2c3e50;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 10px;
}

.pie-chart[b-uehedkj8pk] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.pie-legend[b-uehedkj8pk] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.legend-item[b-uehedkj8pk] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legend-color[b-uehedkj8pk] {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.legend-label[b-uehedkj8pk] {
    font-size: 14px;
    font-weight: 500;
}

.pie-extra-note[b-uehedkj8pk] {
    font-size: 12px;
    color: #666;
    background: #f1f3f5;
    border-radius: 6px;
    padding: 6px 12px;
    text-align: center;
    border-left: 3px solid #28a745;
}

.events-timeline[b-uehedkj8pk] {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.timeline-event[b-uehedkj8pk] {
    display: flex;
    gap: 15px;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    background: #f8f9fa;
    transition: all 0.2s;
}

.timeline-event:hover[b-uehedkj8pk] {
    background: #e9ecef;
    transform: translateX(5px);
}

.timeline-event.event-state[b-uehedkj8pk] {
    border-left-color: #3498db;
}

.timeline-event.event-alarm[b-uehedkj8pk] {
    border-left-color: #ffc107;
}

.timeline-event.event-lot[b-uehedkj8pk] {
    border-left-color: #28a745;
}

.timeline-event.event-data[b-uehedkj8pk] {
    border-left-color: #6c757d;
}

.event-time[b-uehedkj8pk] {
    font-weight: bold;
    color: #2c3e50;
    min-width: 80px;
}

.event-details[b-uehedkj8pk] {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.event-details strong[b-uehedkj8pk] {
    margin-right: 10px;
}

.stats-detail[b-uehedkj8pk] {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.stats-detail h4[b-uehedkj8pk] {
    margin-top: 0;
    margin-bottom: 20px;
    color: #2c3e50;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 10px;
}

.stats-grid[b-uehedkj8pk] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-item[b-uehedkj8pk] {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.stat-label[b-uehedkj8pk] {
    font-size: 13px;
    color: #7f8c8d;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value[b-uehedkj8pk] {
    font-size: 28px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .dashboard-grid[b-uehedkj8pk] {
        grid-template-columns: 1fr;
    }

    .kpi-grid[b-uehedkj8pk] {
        grid-template-columns: 1fr;
    }

    .stats-grid[b-uehedkj8pk] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* ============================================
   PAGE HOME - DESIGN ÉPURÉ
   ============================================ */

.home-container[b-jnvm6d4i9a] {
    padding: 1.5rem 1rem;
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    min-height: calc(100vh - 4.5rem);
}

/* ============================================
   EN-TÊTE
   ============================================ */
.home-header[b-jnvm6d4i9a] {
    margin-bottom: 1.5rem;
}

.welcome-title[b-jnvm6d4i9a] {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 1rem 0;
}

.stat-text[b-jnvm6d4i9a] {
    font-size: 1rem;
    color: #374151;
    margin: 0.5rem 0;
    font-weight: 400;
}

.recap-title[b-jnvm6d4i9a] {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin: 1.5rem 0 1rem 0;
}

/* ============================================
   TABLEAU RÉCAP
   ============================================ */
.recap-table-container[b-jnvm6d4i9a] {
    width: 100%;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.recap-table-header[b-jnvm6d4i9a] {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    background: #f3f4f6;
    font-weight: 600;
    font-size: 1rem;
    color: #1f2937;
    padding: 0.75rem 1rem;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.recap-table-row[b-jnvm6d4i9a] {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #374151;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    transition: background 120ms ease;
}

.recap-table-row:nth-child(even)[b-jnvm6d4i9a] {
    background: #f9fafb;
}

.recap-table-row:hover[b-jnvm6d4i9a] {
    background: #f3f4f6;
}

.recap-table-total[b-jnvm6d4i9a] {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    background: #f3f4f6;
    border-top: 2px solid #d1d5db;
    border-bottom: 1px solid #e5e7eb;
}

.col-lot[b-jnvm6d4i9a],
.col-etat[b-jnvm6d4i9a],
.col-pieces[b-jnvm6d4i9a] {
    display: flex;
    align-items: center;
}

.col-pieces[b-jnvm6d4i9a] {
    justify-content: flex-start;
}

.total-label[b-jnvm6d4i9a] {
    font-weight: 700;
}

.total-value[b-jnvm6d4i9a] {
    font-weight: 700;
}

/* ============================================
   BOUTON FIN DE JOURNÉE
   ============================================ */
.btn-fin-journee[b-jnvm6d4i9a] {
    margin-top: 2rem;
    padding: 0.85rem 2rem;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 180ms ease;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
    display: block;
    width: auto;
}

.btn-fin-journee:hover[b-jnvm6d4i9a] {
    background: #1d4ed8;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
    transform: translateY(-2px);
}

.btn-fin-journee:active[b-jnvm6d4i9a] {
    transform: translateY(0);
}

/* ============================================
   MESSAGES
   ============================================ */
.loading-text[b-jnvm6d4i9a],
.no-data-text[b-jnvm6d4i9a] {
    font-size: 1rem;
    color: #6b7280;
    padding: 2rem 0;
    text-align: center;
}

.alert[b-jnvm6d4i9a] {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
}

.alert-success[b-jnvm6d4i9a] {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.alert-danger[b-jnvm6d4i9a] {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 640.98px) {
    .home-container[b-jnvm6d4i9a] {
        padding: 1rem 0.75rem;
    }

    .welcome-title[b-jnvm6d4i9a] {
        font-size: 1.5rem;
    }

    .recap-title[b-jnvm6d4i9a] {
        font-size: 1.1rem;
    }

    .recap-table-header[b-jnvm6d4i9a],
    .recap-table-row[b-jnvm6d4i9a],
    .recap-table-total[b-jnvm6d4i9a] {
        grid-template-columns: 2fr 2fr 1.2fr;
        padding: 0.65rem 0.75rem;
        font-size: 0.95rem;
    }

    .btn-fin-journee[b-jnvm6d4i9a] {
        width: 100%;
        padding: 1rem;
    }
}
/* /Components/Pages/Manquant.razor.rz.scp.css */
/* Container principal */
.chargement-container[b-d33cv2bzjy] {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background: #ffffff;
}

/* Titre principal */
.chargement-title[b-d33cv2bzjy] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 2rem 0;
    text-align: left;
}

/* Messages */
.loading-text[b-d33cv2bzjy],
.no-data-text[b-d33cv2bzjy] {
    color: #6b7280;
    font-size: 0.95rem;
    margin: 1rem 0;
    text-align: center;
}

/* Carte de profil */
.profil-card[b-d33cv2bzjy] {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

/* En-tête du profil */
.profil-header[b-d33cv2bzjy] {
    padding: 1.25rem;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.profil-info h2[b-d33cv2bzjy] {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
}

.profil-info p[b-d33cv2bzjy] {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0.25rem 0;
}

/* Actions */
.profil-actions[b-d33cv2bzjy] {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.btn-validate[b-d33cv2bzjy],
.btn-incomplete[b-d33cv2bzjy] {
    padding: 8px 12px;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Bouton Valider Tout - VERT */
.btn-validate[b-d33cv2bzjy] {
    background-color: #28a745;
    color: white;
}

.btn-validate:hover[b-d33cv2bzjy] {
    background-color: #218838;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

/* Bouton Valider Partiel - JAUNE */
.btn-incomplete[b-d33cv2bzjy] {
    background-color: #ffc107;
    color: white;
}

.btn-incomplete:hover[b-d33cv2bzjy] {
    background-color: #e0a800;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(255, 193, 7, 0.3);
}

/* Zone des images */
.profil-images[b-d33cv2bzjy] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: #ffffff;
}

.image-container[b-d33cv2bzjy] {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #ffffff;
}

.image-container:first-child[b-d33cv2bzjy],
.image-container:last-child[b-d33cv2bzjy] {
    background: #6d4c3d;
}

.image-container:nth-child(2)[b-d33cv2bzjy] {
    background: #ffffff;
}

.profil-image[b-d33cv2bzjy] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.profil-image:hover[b-d33cv2bzjy] {
    opacity: 0.9;
}

.image-placeholder[b-d33cv2bzjy] {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    background: #f3f4f6;
    gap: 0.5rem;
}

.image-placeholder span[b-d33cv2bzjy] {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Modal image styles */
.modal-img-overlay[b-d33cv2bzjy] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    cursor: pointer;
    padding: 2rem;
}

.modal-content[b-d33cv2bzjy] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 90vw;
    max-height: 90vh;
    cursor: default;
}

.modal-img[b-d33cv2bzjy] {
    max-width: 80vw;
    max-height: 70vh;
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    padding: 1rem;
}

.modal-info[b-d33cv2bzjy] {
    background: #ffffff;
    padding: 1.5rem 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 300px;
}

.modal-info h3[b-d33cv2bzjy] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 1rem 0;
}

.modal-info p[b-d33cv2bzjy] {
    font-size: 0.95rem;
    color: #4b5563;
    margin: 0.5rem 0;
}

.modal-info p strong[b-d33cv2bzjy] {
    color: #1f2937;
    font-weight: 600;
}

.modal-info p em[b-d33cv2bzjy] {
    color: #9ca3af;
}

.close-modal-btn[b-d33cv2bzjy] {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 3rem;
    line-height: 1;
    color: #1f2937;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2100;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.close-modal-btn:hover[b-d33cv2bzjy] {
    opacity: 0.5;
}

/* Responsive mobile */
@media (max-width: 640.98px) {
    .chargement-container[b-d33cv2bzjy] {
        padding: 1rem 0.5rem;
    }

    .chargement-title[b-d33cv2bzjy] {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .profil-header[b-d33cv2bzjy] {
        flex-direction: column;
        padding: 1rem;
    }

    .profil-info h2[b-d33cv2bzjy] {
        font-size: 0.95rem;
    }

    .profil-info p[b-d33cv2bzjy] {
        font-size: 0.8rem;
    }

    .profil-actions[b-d33cv2bzjy] {
        width: 100%;
        justify-content: flex-end;
    }

    .btn-validate[b-d33cv2bzjy],
    .btn-incomplete[b-d33cv2bzjy] {
        width: 45px;
        height: 45px;
    }
}
/* /Components/Pages/Prepa.razor.rz.scp.css */
/* Container principal */
.prepa-container[b-jf9lt4sdam] {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background: #ffffff;
}

/* Titre principal */
.prepa-title[b-jf9lt4sdam] {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 2rem 0;
    text-align: left;
}

/* Section des lots */
.prepa-section[b-jf9lt4sdam] {
    background: #ffffff;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
}

/* Titre de section */
.section-title[b-jf9lt4sdam] {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 1rem 0;
}

/* Messages de chargement et vide */
.loading-text[b-jf9lt4sdam],
.empty-text[b-jf9lt4sdam] {
    color: #6b7280;
    font-size: 0.95rem;
    margin: 1rem 0;
}

/* Liste des lots */
.lots-list[b-jf9lt4sdam] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Item de lot */
.lot-item[b-jf9lt4sdam] {
    padding: 1rem 1.25rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    font-size: 1rem;
    color: #1f2937;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lot-item:hover[b-jf9lt4sdam] {
    background: #f9fafb;
    border-color: #d1d5db;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

/* Bouton "Afficher la suite" */
.btn-afficher-suite[b-jf9lt4sdam] {
    width: 100%;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-afficher-suite:hover[b-jf9lt4sdam] {
    background: #1d4ed8;
}

.btn-afficher-suite:active[b-jf9lt4sdam] {
    background: #1e40af;
}

/* Responsive mobile */
@media (max-width: 640.98px) {
    .prepa-container[b-jf9lt4sdam] {
        padding: 1rem 0.5rem;
    }

    .prepa-title[b-jf9lt4sdam] {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .prepa-section[b-jf9lt4sdam] {
        padding: 1rem;
    }

    .section-title[b-jf9lt4sdam] {
        font-size: 1rem;
    }

    .lot-item[b-jf9lt4sdam] {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }

    .btn-afficher-suite[b-jf9lt4sdam] {
        font-size: 0.95rem;
        padding: 0.675rem 1.25rem;
    }
}
        font-size: 1rem;[b-jf9lt4sdam]
    }
    .prepa-table th:last-child[b-jf9lt4sdam],
    .prepa-table td:last-child[b-jf9lt4sdam] {
        padding-right: 0.5rem;
    }
    .prepa-table th:first-child[b-jf9lt4sdam],
    .prepa-table td:first-child[b-jf9lt4sdam] {
        padding-left: 0.5rem;
    }
}
/* /Components/Pages/SuiviCommandes.razor.rz.scp.css */
.suivi-container[b-57m9wfwy8j] {
    padding: 20px;
    max-width: 1600px;
    margin: 0 auto;
}

.suivi-header[b-57m9wfwy8j] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #3498db;
}

.suivi-header h2[b-57m9wfwy8j] {
    margin: 0;
    color: #2c3e50;
}

.view-toggle[b-57m9wfwy8j] {
    display: flex;
    gap: 10px;
}

.view-toggle button[b-57m9wfwy8j] {
    min-width: 120px;
}

.loading-spinner[b-57m9wfwy8j] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.tracking-table-container[b-57m9wfwy8j] {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow-x: auto;
}

.tracking-table[b-57m9wfwy8j] {
    width: 100%;
    border-collapse: collapse;
}

.tracking-table thead[b-57m9wfwy8j] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.tracking-table th[b-57m9wfwy8j] {
    padding: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.tracking-table th:first-child[b-57m9wfwy8j] {
    text-align: left;
    min-width: 150px;
}

.tracking-table th:last-child[b-57m9wfwy8j] {
    border-right: none;
}

.tracking-table tbody tr[b-57m9wfwy8j] {
    border-bottom: 1px solid #ecf0f1;
    transition: background-color 0.2s;
}

.tracking-table tbody tr:hover[b-57m9wfwy8j] {
    background-color: #f8f9fa;
}

.tracking-table td[b-57m9wfwy8j] {
    padding: 15px;
    text-align: center;
    font-size: 24px;
    border-right: 1px solid #ecf0f1;
}

.tracking-table td:first-child[b-57m9wfwy8j] {
    text-align: left;
    font-size: 16px;
}

.tracking-table td:last-child[b-57m9wfwy8j] {
    border-right: none;
}

.lot-name[b-57m9wfwy8j],
.pvc-name[b-57m9wfwy8j] {
    font-weight: 600;
    color: #2c3e50;
}

.lot-list[b-57m9wfwy8j] {
    font-size: 13px !important;
    color: #7f8c8d;
    text-align: left !important;
    max-width: 200px;
}

.stage-completed[b-57m9wfwy8j] {
    background-color: #d4edda;
    color: #155724;
}

.stage-pending[b-57m9wfwy8j] {
    background-color: #fff3cd;
    color: #856404;
}

@media (max-width: 1200px) {
    .tracking-table[b-57m9wfwy8j] {
        font-size: 12px;
    }

    .tracking-table td[b-57m9wfwy8j] {
        padding: 10px;
        font-size: 20px;
    }

    .tracking-table th[b-57m9wfwy8j] {
        padding: 10px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .suivi-header[b-57m9wfwy8j] {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .view-toggle[b-57m9wfwy8j] {
        width: 100%;
    }

    .view-toggle button[b-57m9wfwy8j] {
        flex: 1;
    }

    .tracking-table th[b-57m9wfwy8j],
    .tracking-table td[b-57m9wfwy8j] {
        padding: 8px;
        font-size: 11px;
    }

    .tracking-table td[b-57m9wfwy8j] {
        font-size: 18px;
    }
}
/* /Components/Pages/XmlTest.razor.rz.scp.css */
.xml-test-container[b-e0mdii4tk4] {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: #f5f5f5;
    min-height: 100vh;
}

.xml-test-container h1[b-e0mdii4tk4] {
    color: #333;
    margin-bottom: 2rem;
    border-bottom: 3px solid #007bff;
    padding-bottom: 0.5rem;
}

.section[b-e0mdii4tk4] {
    background: white;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.section h2[b-e0mdii4tk4] {
    color: #007bff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.section h3[b-e0mdii4tk4] {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 0.5rem;
}

.info-box[b-e0mdii4tk4] {
    background: #f8f9fa;
    padding: 1rem;
    margin: 0.5rem 0;
    border-radius: 4px;
    border-left: 4px solid #6c757d;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9rem;
}

.info-box strong[b-e0mdii4tk4] {
    display: block;
    color: #495057;
    margin-bottom: 0.5rem;
}

.info-box.success[b-e0mdii4tk4] {
    background: #d4edda;
    border-left-color: #28a745;
}

.info-box.error[b-e0mdii4tk4] {
    background: #f8d7da;
    border-left-color: #dc3545;
}

.info-box pre[b-e0mdii4tk4] {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    margin: 0.5rem 0 0 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.test-item[b-e0mdii4tk4] {
    border: 2px solid #dee2e6;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 6px;
    background: #ffffff;
}

.file-name[b-e0mdii4tk4] {
    background: #e9ecef;
    padding: 0.5rem 1rem;
    margin: 0.3rem 0;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', monospace;
}

.success[b-e0mdii4tk4] {
    color: #28a745;
    font-weight: bold;
}

.error[b-e0mdii4tk4] {
    color: #dc3545;
    font-weight: bold;
}

.section.error[b-e0mdii4tk4] {
    background: #f8d7da;
    border: 2px solid #dc3545;
}

.section.error h2[b-e0mdii4tk4] {
    color: #721c24;
}
/* /Components/Shared/ConfirmDialog.razor.rz.scp.css */
.custom-dialog-overlay[b-enwesonbbs] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn-b-enwesonbbs 0.2s ease-in;
}

.custom-dialog-container[b-enwesonbbs] {
    background-color: #2d2d2d;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    min-width: 400px;
    max-width: 600px;
    animation: slideIn-b-enwesonbbs 0.3s ease-out;
}

.custom-dialog-header[b-enwesonbbs] {
    padding: 20px 24px;
    border-bottom: 1px solid #444;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dialog-icon[b-enwesonbbs] {
    font-size: 28px;
}

.custom-dialog-header h3[b-enwesonbbs] {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
}

.custom-dialog-body[b-enwesonbbs] {
    padding: 24px;
    color: #e0e0e0;
    font-size: 14px;
    line-height: 1.6;
}

.custom-dialog-footer[b-enwesonbbs] {
    padding: 16px 24px;
    border-top: 1px solid #444;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn-dialog-confirm[b-enwesonbbs] {
    padding: 10px 24px;
    background: linear-gradient(135deg, #1e88e5, #1565c0);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-dialog-confirm:hover[b-enwesonbbs] {
    background: linear-gradient(135deg, #1976d2, #0d47a1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.4);
}

.btn-dialog-cancel[b-enwesonbbs] {
    padding: 10px 24px;
    background-color: #555;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-dialog-cancel:hover[b-enwesonbbs] {
    background-color: #666;
    transform: translateY(-1px);
}

@keyframes fadeIn-b-enwesonbbs {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn-b-enwesonbbs {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
/* /Components/Shared/MissingBarsDialog.razor.rz.scp.css */
.custom-dialog-overlay[b-s96p1c4u6w] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn-b-s96p1c4u6w 0.2s ease-in;
}

.missing-dialog-container[b-s96p1c4u6w] {
    background-color: #f5f5f5;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    min-width: 420px;
    max-width: 500px;
    animation: slideIn-b-s96p1c4u6w 0.3s ease-out;
}

@keyframes fadeIn-b-s96p1c4u6w {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.missing-dialog-header[b-s96p1c4u6w] {
    padding: 20px 24px;
    background: linear-gradient(135deg, #424242, #212121);
    border-radius: 12px 12px 0 0;
    color: white;
}

.missing-dialog-header h3[b-s96p1c4u6w] {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.missing-dialog-info[b-s96p1c4u6w] {
    padding: 16px 24px;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
}

.missing-dialog-info p[b-s96p1c4u6w] {
    margin: 0;
    color: #424242;
    font-size: 14px;
}

.missing-dialog-body[b-s96p1c4u6w] {
    padding: 24px;
    background-color: #ffffff;
    text-align: center;
}

.label-count[b-s96p1c4u6w] {
    margin: 0 0 20px 0;
    color: #616161;
    font-size: 14px;
}

.counter-container[b-s96p1c4u6w] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.btn-counter[b-s96p1c4u6w] {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #757575, #616161);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-counter:hover:not(:disabled)[b-s96p1c4u6w] {
    background: linear-gradient(135deg, #616161, #424242);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-counter:disabled[b-s96p1c4u6w] {
    opacity: 0.4;
    cursor: not-allowed;
}

.counter-display[b-s96p1c4u6w] {
    width: 80px;
    height: 56px;
    background-color: #f5f5f5;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    color: #212121;
}

.btn-all[b-s96p1c4u6w] {
    padding: 12px 40px;
    background: linear-gradient(135deg, #fbc02d, #f9a825);
    color: #212121;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
}

.btn-all:hover[b-s96p1c4u6w] {
    background: linear-gradient(135deg, #f9a825, #f57f17);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 192, 45, 0.4);
}

.length-info[b-s96p1c4u6w] {
    margin-top: 16px;
    color: #757575;
    font-size: 13px;
    font-style: italic;
}

.missing-dialog-footer[b-s96p1c4u6w] {
    padding: 16px 24px;
    background-color: #fafafa;
    border-radius: 0 0 12px 12px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.btn-dialog-validate[b-s96p1c4u6w] {
    padding: 12px 32px;
    background: linear-gradient(135deg, #42a5f5, #1e88e5);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-dialog-validate:hover:not(:disabled)[b-s96p1c4u6w] {
    background: linear-gradient(135deg, #1e88e5, #1565c0);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.4);
}

.btn-dialog-validate:disabled[b-s96p1c4u6w] {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-dialog-cancel-gray[b-s96p1c4u6w] {
    padding: 12px 32px;
    background: linear-gradient(135deg, #757575, #616161);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-dialog-cancel-gray:hover[b-s96p1c4u6w] {
    background: linear-gradient(135deg, #616161, #424242);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(97, 97, 97, 0.4);
}

@keyframes slideIn-b-s96p1c4u6w {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
/* /Components/Shared/PartialPreparationDialog.razor.rz.scp.css */
.custom-dialog-overlay[b-1a4ggnazow] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn-b-1a4ggnazow 0.2s ease-in;
}

.partial-dialog-container[b-1a4ggnazow] {
    background-color: #f5f5f5;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    min-width: 500px;
    max-width: 600px;
    animation: slideIn-b-1a4ggnazow 0.3s ease-out;
}

@keyframes fadeIn-b-1a4ggnazow {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn-b-1a4ggnazow {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.partial-dialog-header[b-1a4ggnazow] {
    padding: 20px 24px;
    background: linear-gradient(135deg, #424242, #212121);
    border-radius: 12px 12px 0 0;
    color: white;
}

.partial-dialog-header h3[b-1a4ggnazow] {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.partial-dialog-info[b-1a4ggnazow] {
    padding: 16px 24px;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
}

.partial-dialog-info p[b-1a4ggnazow] {
    margin: 0;
    color: #424242;
    font-size: 14px;
}

.partial-dialog-body[b-1a4ggnazow] {
    padding: 24px;
    background-color: #ffffff;
}

.stats-row[b-1a4ggnazow] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.stat-item[b-1a4ggnazow] {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    background-color: #f5f5f5;
    border-radius: 8px;
    border-left: 4px solid #42a5f5;
}

.stat-label[b-1a4ggnazow] {
    font-size: 14px;
    color: #616161;
    font-weight: 500;
}

.stat-value[b-1a4ggnazow] {
    font-size: 16px;
    color: #212121;
    font-weight: 700;
}

.question-text[b-1a4ggnazow] {
    margin: 24px 0 20px 0;
    color: #212121;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.options-container[b-1a4ggnazow] {
    display: flex;
    gap: 16px;
    margin-bottom: 8px;
}

.option-box[b-1a4ggnazow] {
    flex: 1;
    padding: 16px;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.option-yes[b-1a4ggnazow] {
    background-color: rgba(76, 175, 80, 0.08);
    border-color: rgba(76, 175, 80, 0.3);
}

.option-no[b-1a4ggnazow] {
    background-color: rgba(244, 67, 54, 0.08);
    border-color: rgba(244, 67, 54, 0.3);
}

.option-icon[b-1a4ggnazow] {
    font-size: 32px;
    margin-bottom: 8px;
    text-align: center;
}

.option-title[b-1a4ggnazow] {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.option-yes .option-title[b-1a4ggnazow] {
    color: #4caf50;
}

.option-no .option-title[b-1a4ggnazow] {
    color: #f44336;
}

.option-description[b-1a4ggnazow] {
    font-size: 13px;
    color: #616161;
    line-height: 1.5;
    text-align: center;
}

.partial-dialog-footer[b-1a4ggnazow] {
    padding: 16px 24px;
    background-color: #fafafa;
    border-radius: 0 0 12px 12px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.btn-dialog-yes[b-1a4ggnazow] {
    padding: 12px 40px;
    background: linear-gradient(135deg, #66bb6a, #4caf50);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-dialog-yes:hover[b-1a4ggnazow] {
    background: linear-gradient(135deg, #4caf50, #388e3c);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.btn-dialog-no[b-1a4ggnazow] {
    padding: 12px 40px;
    background: linear-gradient(135deg, #757575, #616161);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-dialog-no:hover[b-1a4ggnazow] {
    background: linear-gradient(135deg, #616161, #424242);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(97, 97, 97, 0.4);
}

@media (max-width: 640px) {
    .partial-dialog-container[b-1a4ggnazow] {
        min-width: 90%;
        max-width: 90%;
    }

    .options-container[b-1a4ggnazow] {
        flex-direction: column;
    }

    .partial-dialog-footer[b-1a4ggnazow] {
        flex-direction: column;
    }

    .btn-dialog-yes[b-1a4ggnazow],
    .btn-dialog-no[b-1a4ggnazow] {
        width: 100%;
    }
}
/* /Components/Shared/TranslucentCard.razor.rz.scp.css */
/* Reuse admin-content styles for consistency with Administration page */
.admin-content[b-jb7isu3ppi] { /* existing styles in Home.razor.css already cover visuals */ z-index: auto !important; }
.admin-content .card-header h4[b-jb7isu3ppi] { margin: 0; color: #fff; font-size:1.25rem; }
.admin-content .card-body[b-jb7isu3ppi] { padding-top: 0.5rem; }

.translucent-card[b-jb7isu3ppi], .TranslucentCard[b-jb7isu3ppi] {
    z-index: auto !important;
}
