@charset "UTF-8";.toast-center-center{top:50%;left:50%;transform:translate(-50%,-50%)}.toast-top-center{top:0;right:0;width:100%}.toast-bottom-center{bottom:0;right:0;width:100%}.toast-top-full-width{top:0;right:0;width:100%}.toast-bottom-full-width{bottom:0;right:0;width:100%}.toast-top-left{top:12px;left:12px}.toast-top-right{top:12px;right:12px}.toast-bottom-right{right:12px;bottom:12px}.toast-bottom-left{bottom:12px;left:12px}.toast-title{font-weight:700}.toast-message{word-wrap:break-word}.toast-message a,.toast-message label{color:#fff}.toast-message a:hover{color:#ccc;text-decoration:none}.toast-close-button{position:relative;right:-.3em;top:-.3em;float:right;font-size:20px;font-weight:700;color:#fff;text-shadow:0 1px 0 #ffffff}.toast-close-button:hover,.toast-close-button:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.4}button.toast-close-button{padding:0;cursor:pointer;background:transparent;border:0}.toast-container{pointer-events:none;position:fixed;z-index:999999}.toast-container *{box-sizing:border-box}.toast-container .ngx-toastr{position:relative;overflow:hidden;margin:0 0 6px;padding:15px 15px 15px 50px;width:300px;border-radius:3px;background-position:15px center;background-repeat:no-repeat;background-size:24px;box-shadow:0 0 12px #999;color:#fff}.toast-container .ngx-toastr:hover{box-shadow:0 0 12px #000;opacity:1;cursor:pointer}.toast-info{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOS4wNDMgOCA4IDExOS4wODMgOCAyNTZjMCAxMzYuOTk3IDExMS4wNDMgMjQ4IDI0OCAyNDhzMjQ4LTExMS4wMDMgMjQ4LTI0OEM1MDQgMTE5LjA4MyAzOTIuOTU3IDggMjU2IDh6bTAgMTEwYzIzLjE5NiAwIDQyIDE4LjgwNCA0MiA0MnMtMTguODA0IDQyLTQyIDQyLTQyLTE4LjgwNC00Mi00MiAxOC44MDQtNDIgNDItNDJ6bTU2IDI1NGMwIDYuNjI3LTUuMzczIDEyLTEyIDEyaC04OGMtNi42MjcgMC0xMi01LjM3My0xMi0xMnYtMjRjMC02LjYyNyA1LjM3My0xMiAxMi0xMmgxMnYtNjRoLTEyYy02LjYyNyAwLTEyLTUuMzczLTEyLTEydi0yNGMwLTYuNjI3IDUuMzczLTEyIDEyLTEyaDY0YzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MTAwaDEyYzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MjR6Jy8+PC9zdmc+)}.toast-error{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOSA4IDggMTE5IDggMjU2czExMSAyNDggMjQ4IDI0OCAyNDgtMTExIDI0OC0yNDhTMzkzIDggMjU2IDh6bTEyMS42IDMxMy4xYzQuNyA0LjcgNC43IDEyLjMgMCAxN0wzMzggMzc3LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwyNTYgMzEybC02NS4xIDY1LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwxMzQuNCAzMzhjLTQuNy00LjctNC43LTEyLjMgMC0xN2w2NS42LTY1LTY1LjYtNjUuMWMtNC43LTQuNy00LjctMTIuMyAwLTE3bDM5LjYtMzkuNmM0LjctNC43IDEyLjMtNC43IDE3IDBsNjUgNjUuNyA2NS4xLTY1LjZjNC43LTQuNyAxMi4zLTQuNyAxNyAwbDM5LjYgMzkuNmM0LjcgNC43IDQuNyAxMi4zIDAgMTdMMzEyIDI1Nmw2NS42IDY1LjF6Jy8+PC9zdmc+)}.toast-success{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTE3My44OTggNDM5LjQwNGwtMTY2LjQtMTY2LjRjLTkuOTk3LTkuOTk3LTkuOTk3LTI2LjIwNiAwLTM2LjIwNGwzNi4yMDMtMzYuMjA0YzkuOTk3LTkuOTk4IDI2LjIwNy05Ljk5OCAzNi4yMDQgMEwxOTIgMzEyLjY5IDQzMi4wOTUgNzIuNTk2YzkuOTk3LTkuOTk3IDI2LjIwNy05Ljk5NyAzNi4yMDQgMGwzNi4yMDMgMzYuMjA0YzkuOTk3IDkuOTk3IDkuOTk3IDI2LjIwNiAwIDM2LjIwNGwtMjk0LjQgMjk0LjQwMWMtOS45OTggOS45OTctMjYuMjA3IDkuOTk3LTM2LjIwNC0uMDAxeicvPjwvc3ZnPg==)}.toast-warning{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1NzYgNTEyJyB3aWR0aD0nNTc2JyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTU2OS41MTcgNDQwLjAxM0M1ODcuOTc1IDQ3Mi4wMDcgNTY0LjgwNiA1MTIgNTI3Ljk0IDUxMkg0OC4wNTRjLTM2LjkzNyAwLTU5Ljk5OS00MC4wNTUtNDEuNTc3LTcxLjk4N0wyNDYuNDIzIDIzLjk4NWMxOC40NjctMzIuMDA5IDY0LjcyLTMxLjk1MSA4My4xNTQgMGwyMzkuOTQgNDE2LjAyOHpNMjg4IDM1NGMtMjUuNDA1IDAtNDYgMjAuNTk1LTQ2IDQ2czIwLjU5NSA0NiA0NiA0NiA0Ni0yMC41OTUgNDYtNDYtMjAuNTk1LTQ2LTQ2LTQ2em0tNDMuNjczLTE2NS4zNDZsNy40MTggMTM2Yy4zNDcgNi4zNjQgNS42MDkgMTEuMzQ2IDExLjk4MiAxMS4zNDZoNDguNTQ2YzYuMzczIDAgMTEuNjM1LTQuOTgyIDExLjk4Mi0xMS4zNDZsNy40MTgtMTM2Yy4zNzUtNi44NzQtNS4wOTgtMTIuNjU0LTExLjk4Mi0xMi42NTRoLTYzLjM4M2MtNi44ODQgMC0xMi4zNTYgNS43OC0xMS45ODEgMTIuNjU0eicvPjwvc3ZnPg==)}.toast-container.toast-top-center .ngx-toastr,.toast-container.toast-bottom-center .ngx-toastr{width:300px;margin-left:auto;margin-right:auto}.toast-container.toast-top-full-width .ngx-toastr,.toast-container.toast-bottom-full-width .ngx-toastr{width:96%;margin-left:auto;margin-right:auto}.ngx-toastr{background-color:#030303;pointer-events:auto}.toast-success{background-color:#51a351}.toast-error{background-color:#bd362f}.toast-info{background-color:#2f96b4}.toast-warning{background-color:#f89406}.toast-progress{position:absolute;left:0;bottom:0;height:4px;background-color:#000;opacity:.4}@media all and (max-width: 240px){.toast-container .ngx-toastr.div{padding:8px 8px 8px 50px;width:11em}.toast-container .toast-close-button{right:-.2em;top:-.2em}}@media all and (min-width: 241px) and (max-width: 480px){.toast-container .ngx-toastr.div{padding:8px 8px 8px 50px;width:18em}.toast-container .toast-close-button{right:-.2em;top:-.2em}}@media all and (min-width: 481px) and (max-width: 768px){.toast-container .ngx-toastr.div{padding:15px 15px 15px 50px;width:25em}}*{box-sizing:border-box;margin:0;padding:0}body{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;background-color:#0f0f1a;color:#fff}a{text-decoration:none;color:inherit}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-track{background:#1a1a2e}::-webkit-scrollbar-thumb{background:#7c3aed;border-radius:3px}pdf-viewer{display:block;width:100%;height:100%!important}pdf-viewer,.ng2-pdf-viewer-container,.pdfViewer{height:100%!important}pdf-viewer .page{margin:0 auto 8px!important;display:block!important;visibility:visible!important;overflow:visible!important}pdf-viewer canvas{display:block!important;visibility:visible!important;max-width:100%!important}.doc-zone pdf-viewer,.apercu-doc-zone pdf-viewer{display:block!important;width:100%!important;height:100%!important}.doc-zone .ng2-pdf-viewer-container,.apercu-doc-zone .ng2-pdf-viewer-container{position:absolute!important;inset:0!important;overflow-y:auto!important;overflow-x:hidden!important;width:100%!important;height:100%!important}body.light-mode{--lm-bg: #f5f6fa;--lm-surface: #ffffff;--lm-border: #e8eaed;--lm-text: #1a1d23;--lm-text-2: #5a6072;--lm-text-3: #9095a0;--lm-accent: #0d9488;--lm-accent-light: #f0fdfa;--lm-accent-border: #99f6e4;--lm-purple: #7c3aed;--lm-shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);--lm-shadow-md: 0 4px 12px rgba(0,0,0,.08);--glass-bg: rgba(255,255,255,.55);--glass-border: rgba(255,255,255,.7);--glass-blur: blur(24px) saturate(180%);--glass-shadow: 0 8px 32px rgba(0,0,0,.1);--glass-radius: 16px;background:var(--lm-bg)!important;color:var(--lm-text)!important;animation:none!important;min-height:100vh}body.light-mode .app-shell{background:transparent!important}body.light-mode .main{overflow:visible!important;background:transparent!important}body.light-mode .content{background:transparent!important;color:var(--lm-text)!important}body.light-mode .sidebar{background:var(--lm-surface)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-right:1px solid var(--lm-border)!important;box-shadow:var(--lm-shadow-sm)!important}body.light-mode .sidebar-header{border-bottom-color:transparent!important}body.light-mode .brand-name{color:var(--lm-text)!important;font-weight:700!important}body.light-mode .brand-dot{background:var(--lm-accent)!important}body.light-mode .hamburger span{background:var(--lm-text-2)!important}body.light-mode .toggle-btn:hover{background:var(--lm-accent-light)!important}body.light-mode .separator{background:var(--lm-border)!important}body.light-mode .user-name{color:var(--lm-text)!important;font-weight:600!important}body.light-mode .user-role{color:var(--lm-text-3)!important}body.light-mode .user-block:hover{background:var(--lm-accent-light)!important}body.light-mode .avatar{background:var(--lm-accent)!important;color:#fff!important}body.light-mode .user-menu{background:#fff!important;border-color:#e8eaed!important;box-shadow:0 8px 32px #0000001f!important}body.light-mode .um-name{color:#1a1d23!important}body.light-mode .um-email{color:#5a6072!important}body.light-mode .um-divider{background:#e8eaed!important}body.light-mode .um-item{color:#374151!important}body.light-mode .um-item:hover{background:#f0fdfa!important;color:#0d9488!important}body.light-mode .um-item.um-item--danger{color:#dc2626!important}body.light-mode .um-item.um-item--danger:hover{background:#fff1f2!important}body.light-mode .um-icon{color:inherit!important}body.light-mode .nav-item{color:var(--lm-text-2)!important;border-radius:8px!important;margin:1px 8px!important}body.light-mode .nav-item:hover{background:var(--lm-accent-light)!important;color:var(--lm-accent)!important}body.light-mode .nav-item.active{background:var(--lm-accent-light)!important;color:var(--lm-accent)!important;border-left:3px solid var(--lm-accent)!important;font-weight:600!important}body.light-mode .nav-item .nav-icon{filter:invert(1) sepia(1) saturate(0) brightness(.4)!important}body.light-mode .nav-item.active .nav-icon,body.light-mode .nav-item:hover .nav-icon{filter:invert(42%) sepia(93%) saturate(400%) hue-rotate(130deg) brightness(90%)!important}body.light-mode .topbar{background:var(--lm-surface)!important;border-bottom:1px solid var(--lm-border)!important;box-shadow:var(--lm-shadow-sm)!important}body.light-mode .page-title{color:var(--lm-text)!important;font-weight:600!important}body.light-mode .icon-btn{color:var(--lm-text-2)!important}body.light-mode .icon-btn:hover{background:var(--lm-accent-light)!important;color:var(--lm-accent)!important}body.light-mode .toggle-btn{background:#fff!important;border:1px solid #e8eaed!important;box-shadow:0 2px 8px #00000014!important}body.light-mode .toggle-btn .toggle-arrow{color:#5a6072!important}body.light-mode .toggle-btn:hover{background:#f0fdfa!important;border-color:#0d9488!important}body.light-mode .toggle-btn:hover .toggle-arrow{color:#0d9488!important}body.light-mode .logout-btn{background:#fff1f2!important;color:#e11d48!important;border:1px solid #fecdd3!important}body.light-mode .logout-btn:hover{background:#ffe4e6!important}body.light-mode .stat-card,body.light-mode .chart-card,body.light-mode .table-card,body.light-mode .info-card,body.light-mode .actions-card,body.light-mode .historique-card,body.light-mode .pj-card,body.light-mode .search-section,body.light-mode .profil-card,body.light-mode .pwd-card,body.light-mode .sign-confirm-card,body.light-mode .form-card,body.light-mode .circuit-card,body.light-mode .role-card,body.light-mode .sig-card,body.light-mode .sig-existante-card{background:var(--lm-surface)!important;backdrop-filter:none!important;border:1px solid var(--lm-border)!important;box-shadow:var(--lm-shadow-sm)!important;border-radius:12px!important}body.light-mode .table-card{overflow-x:auto!important}body.light-mode h2,body.light-mode h3,body.light-mode h4{color:var(--lm-text)!important}body.light-mode p,body.light-mode li{color:var(--lm-text)}body.light-mode span:not(.badge):not(.notif-badge):not(.spinner-sm):not(.tp-col-label):not(.tp-sep-label):not(.tp-preview):not(.tp-icon):not(.tp-display):not(.tp-chevron){color:var(--lm-text)}body.light-mode .label,body.light-mode .info-label,body.light-mode .sign-label,body.light-mode .verif-label,body.light-mode .dash-sub,body.light-mode .page-sub{color:var(--lm-text-2)!important}body.light-mode .info-value{color:var(--lm-text)!important}body.light-mode .value{color:var(--lm-text)!important;font-weight:700!important;font-size:28px!important}body.light-mode .value.rejected{color:#dc2626!important}body.light-mode .value.notif{color:#d97706!important}body.light-mode .value.approuve{color:var(--lm-accent)!important}body.light-mode input,body.light-mode select,body.light-mode textarea{background:var(--lm-surface)!important;backdrop-filter:none!important;border:1px solid var(--lm-border)!important;color:var(--lm-text)!important;border-radius:8px!important;box-shadow:var(--lm-shadow-sm)!important}body.light-mode input::placeholder,body.light-mode select::placeholder,body.light-mode textarea::placeholder{color:var(--lm-text-3)!important}body.light-mode input option,body.light-mode select option,body.light-mode textarea option{background:#fff!important;color:var(--lm-text)!important}body.light-mode input:focus,body.light-mode select:focus,body.light-mode textarea:focus{border-color:var(--lm-accent)!important;outline:none!important;box-shadow:0 0 0 3px #0d94881f!important}body.light-mode .btn-primary,body.light-mode .btn-search,body.light-mode .btn-pwd{background:var(--lm-accent)!important;color:#fff!important;border:none!important;border-radius:8px!important;box-shadow:0 2px 8px #0d94884d!important}body.light-mode .btn-primary:hover,body.light-mode .btn-search:hover,body.light-mode .btn-pwd:hover{background:#0f766e!important}body.light-mode .btn-secondary{background:var(--lm-surface)!important;backdrop-filter:none!important;border:1px solid var(--lm-border)!important;color:var(--lm-text-2)!important;border-radius:8px!important;box-shadow:var(--lm-shadow-sm)!important}body.light-mode .btn-secondary:hover{border-color:var(--lm-accent)!important;color:var(--lm-accent)!important}body.light-mode .btn.sign{background:var(--lm-accent)!important;color:#fff!important}body.light-mode .btn.verify{background:#d97706!important;color:#fff!important}body.light-mode .btn.apercu{background:var(--lm-purple)!important;color:#fff!important}body.light-mode .btn.secondary{background:var(--lm-surface)!important;border:1px solid var(--lm-border)!important;color:var(--lm-text-2)!important}body.light-mode .period-btns button{border-color:var(--lm-border)!important;color:var(--lm-text-2)!important;background:var(--lm-surface)!important;border-radius:6px!important}body.light-mode .period-btns button:hover{border-color:var(--lm-accent)!important;color:var(--lm-accent)!important}body.light-mode .period-btns button.active{background:var(--lm-accent)!important;border-color:var(--lm-accent)!important;color:#fff!important}body.light-mode .table th,body.light-mode table th{color:var(--lm-text-3)!important;border-bottom:1px solid var(--lm-border)!important;background:#f9fafb!important;font-size:11px!important;text-transform:uppercase!important;letter-spacing:.5px!important;font-weight:600!important}body.light-mode .table td,body.light-mode table td{color:var(--lm-text)!important;border-bottom:1px solid var(--lm-border)!important}body.light-mode .table td a,body.light-mode table td a{color:var(--lm-accent)!important}body.light-mode .table tr:nth-child(2n) td,body.light-mode table tr:nth-child(2n) td{background:#fafafa!important}body.light-mode .table tr:hover td,body.light-mode table tr:hover td{background:var(--lm-accent-light)!important}body.light-mode .table tr:last-child td,body.light-mode table tr:last-child td{border-bottom:none!important}body.light-mode .badge{border-radius:6px!important;padding:3px 10px!important;font-weight:600!important;font-size:.72rem!important}body.light-mode .badge.grey{background:#f3f4f6!important;color:#6b7280!important;border:1px solid #e5e7eb!important}body.light-mode .badge.blue{background:#eff6ff!important;color:#2563eb!important;border:1px solid #bfdbfe!important}body.light-mode .badge.green{background:#f0fdf4!important;color:#16a34a!important;border:1px solid #bbf7d0!important}body.light-mode .badge.red{background:#fff1f2!important;color:#e11d48!important;border:1px solid #fecdd3!important}body.light-mode .badge.purple{background:#faf5ff!important;color:#7c3aed!important;border:1px solid #e9d5ff!important}body.light-mode .badge.cyan{background:#f0fdfa!important;color:#0d9488!important;border:1px solid #99f6e4!important}body.light-mode .badge.orange{background:#fffbeb!important;color:#d97706!important;border:1px solid #fde68a!important}body.light-mode .badge.active{background:#f0fdf4!important;color:#16a34a!important;border:1px solid #bbf7d0!important}body.light-mode .badge.inactive{background:#fff1f2!important;color:#e11d48!important;border:1px solid #fecdd3!important}body.light-mode .notif-dropdown{background:var(--lm-surface)!important;backdrop-filter:none!important;border:1px solid var(--lm-border)!important;box-shadow:var(--lm-shadow-md)!important}body.light-mode .notif-dropdown-header{color:var(--lm-text)!important;border-bottom-color:var(--lm-border)!important}body.light-mode .notif-msg{color:var(--lm-text)!important}body.light-mode .notif-date,body.light-mode .notif-empty{color:var(--lm-text-3)!important}body.light-mode .notif-item{border-bottom-color:var(--lm-border)!important}body.light-mode .notif-item:hover{background:#f9fafb!important}body.light-mode .notif-item.unread{border-left-color:var(--lm-accent)!important}body.light-mode .type-badge{background:var(--lm-accent-light)!important;color:var(--lm-accent)!important}body.light-mode .btn-sm{background:#f3f4f6!important;color:var(--lm-text-2)!important;border:1px solid var(--lm-border)!important}body.light-mode .notif-body p{color:var(--lm-text)!important}body.light-mode .notif-body small{color:var(--lm-text-3)!important}body.light-mode .circuit-header:hover{background:#f9fafb!important}body.light-mode .circuit-header strong{color:var(--lm-text)!important}body.light-mode .etapes-count{color:var(--lm-text-3)!important}body.light-mode .etapes-detail{border-top-color:var(--lm-border)!important}body.light-mode .etape{color:var(--lm-text-2)!important}body.light-mode .ordre{background:var(--lm-accent)!important;color:#fff!important}body.light-mode .tag{background:#f0fdfa!important;color:var(--lm-accent)!important;border:1px solid var(--lm-accent-border)!important}body.light-mode .tag.muted{background:#f3f4f6!important;color:var(--lm-text-3)!important;border-color:var(--lm-border)!important}body.light-mode .tag.last{background:#f0fdf4!important;color:#16a34a!important;border-color:#bbf7d0!important}body.light-mode .etape-row input[type=text],body.light-mode .etape-row input[type=number]{background:var(--lm-surface)!important;border-color:var(--lm-border)!important;color:var(--lm-text)!important}body.light-mode .etape-row label{color:var(--lm-text-2)!important}body.light-mode .historique-card li{border-bottom-color:var(--lm-border)!important;color:var(--lm-text-2)!important}body.light-mode .historique-card li strong{color:var(--lm-text)!important}body.light-mode .date{color:var(--lm-text-3)!important}body.light-mode .upload-zone{border-color:var(--lm-border)!important;color:var(--lm-text-2)!important;background:#f9fafb!important}body.light-mode .upload-zone:hover{border-color:var(--lm-accent)!important;background:var(--lm-accent-light)!important}body.light-mode .doc-list li{background:#f9fafb!important;border:1px solid var(--lm-border)!important}body.light-mode .doc-nom{color:var(--lm-text)!important}body.light-mode .doc-type,body.light-mode .doc-date{color:var(--lm-text-3)!important}body.light-mode ::-webkit-scrollbar-track{background:#f1f5f9!important}body.light-mode ::-webkit-scrollbar-thumb{background:#cbd5e1!important;border-radius:3px!important}body.light-mode app-custom-select .cs-trigger{background:#fff!important;border:1px solid #e8eaed!important;color:#1a1d23!important;box-shadow:0 1px 3px #0000000f!important;border-radius:8px!important}body.light-mode app-custom-select .cs-trigger:hover{border-color:#0d9488!important}body.light-mode app-custom-select .cs-trigger.open{border-color:#0d9488!important;box-shadow:0 0 0 3px #0d94881f!important}body.light-mode app-custom-select .cs-chevron,body.light-mode app-custom-select .cs-chevron svg path{color:#9095a0!important;stroke:#9095a0!important}body.light-mode app-custom-select .cs-value{color:#1a1d23!important}body.light-mode .cs-dropdown{background:#fff!important;border:1px solid #e8eaed!important;box-shadow:0 8px 24px #0000001a!important;border-radius:10px!important}body.light-mode .cs-option{color:#374151!important}body.light-mode .cs-option:hover:not(.cs-option--active){background:#f0fdfa!important;color:#0d9488!important}body.light-mode .cs-option.cs-option--active{background:#0d9488!important;color:#fff!important}@keyframes csSlideIn{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}body.light-mode .modal-overlay,body.light-mode .sign-overlay,body.light-mode .logout-overlay{background:#0f172a40!important;backdrop-filter:blur(6px)!important}body.light-mode .modal,body.light-mode .sign-modal{background:#fffc!important;backdrop-filter:blur(32px) saturate(200%)!important;-webkit-backdrop-filter:blur(32px) saturate(200%)!important;border:1px solid rgba(255,255,255,.85)!important;box-shadow:0 20px 60px #0000001f,0 2px 8px #ffffff80 inset!important;border-radius:16px!important}body.light-mode .modal-header,body.light-mode .sign-modal-header{background:transparent!important;border-bottom:1px solid rgba(0,0,0,.06)!important}body.light-mode .modal-header h3,body.light-mode .sign-modal-header h3,body.light-mode .modal-header h2{color:#1a1d23!important}body.light-mode .modal-body,body.light-mode .sign-modal-body{background:transparent!important}body.light-mode .modal-footer,body.light-mode .sign-modal-footer{background:transparent!important;border-top:1px solid rgba(0,0,0,.06)!important}body.light-mode .close-btn{color:#6b7280!important}body.light-mode .close-btn:hover{background:#0000000d!important;color:#1a1d23!important}body.light-mode .modal .field label,body.light-mode .sign-modal .field label{color:#374151!important;font-weight:500!important}body.light-mode .modal input,body.light-mode .modal select,body.light-mode .modal textarea,body.light-mode .sign-modal input,body.light-mode .sign-modal textarea{background:#ffffffd9!important;border:1px solid #e8eaed!important;color:#1a1d23!important}body.light-mode .modal input::placeholder,body.light-mode .modal select::placeholder,body.light-mode .modal textarea::placeholder,body.light-mode .sign-modal input::placeholder,body.light-mode .sign-modal textarea::placeholder{color:#9095a0!important}body.light-mode .modal .verif-row,body.light-mode .modal .verif-label{color:#374151!important}body.light-mode .modal .verif-message{color:#6b7280!important}body.light-mode .logout-modal{background:#ffffffd9!important;backdrop-filter:blur(32px) saturate(200%)!important;border:1px solid rgba(255,255,255,.85)!important;box-shadow:0 20px 60px #0000001f!important}body.light-mode .logout-modal h3{color:#1a1d23!important}body.light-mode .logout-modal p{color:#6b7280!important}body.light-mode .logout-modal .btn-cancel{background:#f3f4f6!important;border:1px solid #e5e7eb!important;color:#374151!important}body.light-mode .logout-modal .btn-cancel:hover{background:#e5e7eb!important}body.light-mode .confirm-modal{background:#fff!important;border:1px solid #e8eaed!important;box-shadow:0 20px 60px #0000001f!important}body.light-mode .confirm-modal h3{color:#1a1d23!important}body.light-mode .confirm-modal p{color:#6b7280!important}body.light-mode .confirm-cancel{background:#f3f4f6!important;border-color:#e5e7eb!important;color:#374151!important}body.light-mode .confirm-cancel:hover{background:#e5e7eb!important;color:#1a1d23!important}body.light-mode .btn-sm{background:#dbeafe!important;color:#1d4ed8!important;border:1px solid #bfdbfe!important}body.light-mode .btn-sm span{color:#1d4ed8!important}body.light-mode .btn-sm:hover{background:#bfdbfe!important}body.light-mode .btn-sm.perm{background:#fef3c7!important;color:#92400e!important;border-color:#fde68a!important}body.light-mode .btn-sm.perm span{color:#92400e!important}body.light-mode .btn-sm.perm:hover{background:#fde68a!important}body.light-mode .btn-sm.danger{background:#fee2e2!important;color:#b91c1c!important;border-color:#fecaca!important}body.light-mode .btn-sm.danger span{color:#b91c1c!important}body.light-mode .btn-sm.danger:hover{background:#fecaca!important}body.light-mode .btn-sm.activate{background:#dcfce7!important;color:#15803d!important;border-color:#bbf7d0!important}body.light-mode .btn-sm.activate span{color:#15803d!important}body.light-mode .btn-sm.activate:hover{background:#bbf7d0!important}body.light-mode .btn-sm.delete{background:#fee2e2!important;color:#991b1b!important;border-color:#fca5a5!important}body.light-mode .btn-sm.delete span{color:#991b1b!important}body.light-mode .btn-sm.delete:hover{background:#fca5a5!important}body.light-mode .toggle-btn{background:#d1d5db!important;border:none!important;box-shadow:none!important}body.light-mode .toggle-btn.on{background:#0d9488!important}body.light-mode .toggle-btn .toggle-knob{background:#fff!important;box-shadow:0 1px 3px #0003!important}input[type=password]::-ms-reveal,input[type=password]::-ms-clear{display:none!important}input[type=password]::-webkit-credentials-auto-fill-button,input[type=password]::-webkit-contacts-auto-fill-button{visibility:hidden!important;pointer-events:none!important;position:absolute!important;right:0!important}body.light-mode .etape>span:not(.ordre):not(.tag){color:#1a1a3e!important;font-weight:600!important}body.light-mode .card-header h2{color:#4444b8!important;text-shadow:none!important}body.light-mode .card-header p{color:#6b7280!important}.table-card{overflow-x:auto!important;-webkit-overflow-scrolling:touch}.table,table{min-width:600px;table-layout:auto}.table td,.table th,table td,table th{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:200px}.table td.actions,.table th:last-child,table td.actions,table th:last-child{white-space:normal;overflow:visible;max-width:none}.date-badge,.date-display{display:inline-flex;align-items:center;gap:.35rem;padding:.25rem .6rem;border-radius:6px;font-size:.8rem;font-weight:500;background:#7c3aed1a;color:#a78bfa;border:1px solid rgba(124,58,237,.2);white-space:nowrap}.date-badge:before,.date-display:before{content:"\1f4c5";font-size:.9rem}.time-badge,.time-display{display:inline-flex;align-items:center;gap:.35rem;padding:.25rem .6rem;border-radius:6px;font-size:.8rem;font-weight:500;background:#10b9811a;color:#6ee7b7;border:1px solid rgba(16,185,129,.2);white-space:nowrap}.time-badge:before,.time-display:before{content:"\1f550";font-size:.9rem}.datetime-badge,.datetime-display{display:inline-flex;align-items:center;gap:.35rem;padding:.25rem .6rem;border-radius:6px;font-size:.8rem;font-weight:500;background:#3b82f61a;color:#93c5fd;border:1px solid rgba(59,130,246,.2);white-space:nowrap}.datetime-badge:before,.datetime-display:before{content:"\1f4c6";font-size:.9rem}body.light-mode .date-badge,body.light-mode .date-display{background:#7c3aed14;color:#7c3aed;border-color:#7c3aed26}body.light-mode .time-badge,body.light-mode .time-display{background:#10b98114;color:#059669;border-color:#10b98126}body.light-mode .datetime-badge,body.light-mode .datetime-display{background:#3b82f614;color:#2563eb;border-color:#3b82f626}td .date-badge,td .time-badge,td .datetime-badge,td .date-display,td .time-display,td .datetime-display{padding:.2rem .5rem;font-size:.75rem}td .date-badge:before,td .time-badge:before,td .datetime-badge:before,td .date-display:before,td .time-display:before,td .datetime-display:before{font-size:.8rem}input[type=date]{position:relative;padding:.65rem 1rem;border-radius:8px;border:1px solid rgba(124,58,237,.3);background:#ffffff0d;color:#e5e7eb;font-size:.9rem;font-family:inherit;cursor:pointer;transition:all .2s ease;min-width:180px}input[type=date]:hover{border-color:#7c3aed80;background:#ffffff14}input[type=date]:focus{outline:none;border-color:#7c3aed;background:#ffffff1a;box-shadow:0 0 0 3px #7c3aed1a}input[type=date]::-webkit-calendar-picker-indicator{cursor:pointer;filter:invert(.8) sepia(1) saturate(5) hue-rotate(240deg);opacity:.7;transition:opacity .2s}input[type=date]::-webkit-datetime-edit-text,input[type=date]::-webkit-datetime-edit-month-field,input[type=date]::-webkit-datetime-edit-day-field,input[type=date]::-webkit-datetime-edit-year-field{color:#e5e7eb}input[type=date]::-webkit-datetime-edit-fields-wrapper{padding:0}body.light-mode input[type=date]{background:#fff;color:#1a1d23;border-color:#7c3aed33}body.light-mode input[type=date]:hover{border-color:#7c3aed66;background:#f9fafb}body.light-mode input[type=date]:focus{background:#fff;border-color:#7c3aed;box-shadow:0 0 0 3px #7c3aed1a}body.light-mode input[type=date]::-webkit-calendar-picker-indicator{filter:invert(.3) sepia(1) saturate(5) hue-rotate(240deg)}body.light-mode input[type=date]::-webkit-datetime-edit-text,body.light-mode input[type=date]::-webkit-datetime-edit-month-field,body.light-mode input[type=date]::-webkit-datetime-edit-day-field,body.light-mode input[type=date]::-webkit-datetime-edit-year-field{color:#1a1d23}input[type=date]::-webkit-calendar-picker-indicator{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");background-size:20px 20px;background-repeat:no-repeat;background-position:center;width:20px;height:20px;filter:none;opacity:.8}input[type=date]::-webkit-calendar-picker-indicator:hover{opacity:1}body.light-mode input[type=date]::-webkit-calendar-picker-indicator{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E")}.date-picker-wrapper{display:flex;flex-direction:column;gap:.5rem}.date-picker-wrapper label{font-size:.85rem;font-weight:600;color:#a78bfa;display:flex;align-items:center;gap:.4rem}.date-picker-wrapper label:before{content:"\1f4c5";font-size:1rem}body.light-mode .date-picker-wrapper label{color:#7c3aed}@media (max-width: 768px){.detail-grid,.stats-grid,.dashboard-grid,.grid-2,.grid-3{grid-template-columns:1fr!important}.stat-card,.chart-card,.table-card,.info-card,.actions-card,.historique-card,.pj-card,.search-section,.profil-card,.pwd-card,.form-card,.circuit-card,.role-card,.sig-card{padding:.85rem!important;border-radius:10px!important}.table-card{overflow-x:auto!important;-webkit-overflow-scrolling:touch}.table,table{min-width:500px;font-size:.8rem!important}.table th,.table td,table th,table td{padding:.5rem .6rem!important;font-size:.78rem!important}.page-header{flex-direction:column!important;align-items:flex-start!important;gap:.75rem!important}.page-header h2{font-size:1.1rem!important}.page-header .header-actions{width:100%;flex-wrap:wrap;gap:.5rem}.btn-primary,.btn-secondary{font-size:.85rem!important;padding:.5rem .85rem!important}.modal{width:95vw!important;max-width:95vw!important;margin:0 auto;max-height:90vh;overflow-y:auto}.modal-body{padding:.85rem!important}.modal-header{padding:.75rem .85rem!important}.filtre-statut{flex-direction:column!important;width:100%}.filtre-statut app-custom-select{width:100%}.filtre-statut button{width:100%}.date-badge,.time-badge,.datetime-badge{font-size:.7rem!important;padding:.15rem .4rem!important}.field{margin-bottom:.85rem!important}.historique-card li{flex-direction:column!important;align-items:flex-start!important;gap:.25rem}.date{float:none!important;display:block;margin-top:.2rem}}body.light-mode .tp-dropdown,body.light-mode .tp-dropdown *{box-sizing:border-box}body.light-mode .tp-dropdown{background:#fff!important;border:1px solid rgba(124,58,237,.25)!important;box-shadow:0 16px 48px #0000001f,0 0 0 1px #7c3aed14 inset!important}body.light-mode .tp-dropdown .tp-header{border-bottom-color:#e8eaed!important}body.light-mode .tp-dropdown .tp-col-label{color:#7c3aed!important}body.light-mode .tp-dropdown .tp-sep-label{color:#9095a0!important}body.light-mode .tp-dropdown .tp-divider{color:#7c3aed66!important}body.light-mode .tp-dropdown .tp-item{color:#6b7280!important;background:transparent!important}body.light-mode .tp-dropdown .tp-item:hover:not(.active){background:#7c3aed14!important;color:#1a1d23!important}body.light-mode .tp-dropdown .tp-item.active{background:linear-gradient(135deg,#7c3aed,#6d28d9)!important;color:#fff!important;box-shadow:0 3px 10px #7c3aed59!important}body.light-mode .tp-dropdown .tp-footer{border-top-color:#e8eaed!important;background:#f9fafb!important}body.light-mode .tp-dropdown .tp-preview{color:#7c3aed!important}body.light-mode .tp-dropdown .tp-close{background:#7c3aed!important;color:#fff!important}body.light-mode app-workflow .modal,app-workflow .modal{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:#1e1e30fa!important}body.light-mode app-workflow .modal{background:#fffffffa!important}
