/* SahelTech premium admin theme — shared by every authenticated backend screen. */
:root,
body[data-app-theme] {
  color-scheme: dark;
  --erp-shell-ink: #f8fafc !important;
  --erp-shell-panel: #071018 !important;
  --erp-shell-panel-soft: #0b141d !important;
  --erp-shell-panel-raised: #101923 !important;
  --erp-shell-accent: #ff8a00 !important;
  --erp-shell-accent-strong: #ff6a00 !important;
  --erp-shell-accent-rgb: 255, 138, 0 !important;
  --erp-shell-text: #ffffff !important;
  --erp-shell-muted: #9aa4b2 !important;
  --erp-shell-nav-text: #d5dbe3 !important;
  --erp-shell-nav-active-text: #ffffff !important;
  --erp-shell-content-bg-start: #071018 !important;
  --erp-shell-content-bg-end: #050b11 !important;
  --erp-shell-sidebar-bg-start: #03090e !important;
  --erp-shell-sidebar-bg-mid: #071018 !important;
  --erp-shell-sidebar-bg-end: #050c12 !important;
  --erp-shell-topbar-bg-start: #071018 !important;
  --erp-shell-topbar-bg-mid: #08121b !important;
  --erp-shell-topbar-bg-end: #0b141d !important;
  --erp-shell-nav-active-start: #ff9f1c !important;
  --erp-shell-nav-active-mid: #ff7a00 !important;
  --erp-shell-nav-active-end: #b84b00 !important;
  --erp-shell-dropdown-bg: #101923 !important;
  --erp-shell-dropdown-text: #f8fafc !important;
  --erp-shell-title: #ffffff !important;
  --erp-shell-sidebar-shadow: 18px 0 42px rgba(0, 0, 0, .32) !important;
  --erp-shell-topbar-shadow: 0 14px 32px rgba(0, 0, 0, .24) !important;
}
.saheltech-route-progress { position:fixed; top:0; left:0; right:0; z-index:11000; height:3px; pointer-events:none; opacity:0; overflow:hidden; }
.saheltech-route-progress span { display:block; width:18%; height:100%; background:linear-gradient(90deg,#ff6a00,#ffb347); box-shadow:0 0 14px rgba(255,138,0,.75); transform:translateX(-120%); }
.saheltech-route-progress.is-loading { opacity:1; }
.saheltech-route-progress.is-loading span { animation:saheltechRouteProgress 1.15s cubic-bezier(.4,0,.2,1) infinite; }
.saheltech-route-progress.is-complete span { width:100%; transform:translateX(0); animation:none; transition:width .18s ease,transform .18s ease; }
@keyframes saheltechRouteProgress { 0%{transform:translateX(-120%)} 55%{transform:translateX(240%)} 100%{transform:translateX(620%)} }

html, body, .page-wrapper, .page-inner, .page-content-wrapper,
.erp-content-wrapper, .page-content, .erp-content {
  background: #071018 !important;
  color: #f8fafc !important;
}

.erp-content-wrapper {
  background:
    radial-gradient(circle at 82% 0, rgba(255, 138, 0, .07), transparent 27rem),
    linear-gradient(145deg, #071018 0%, #050b11 100%) !important;
}

.page-header.erp-topbar, .erp-sidebar {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.erp-sidebar .page-logo { min-height: 92px !important; }
.erp-sidebar .page-logo img { max-height: 58px !important; max-width: 178px !important; object-fit: contain; }
.erp-sidebar .nav-menu > li > a { border-radius: 10px !important; padding: .76rem .86rem !important; }
.erp-sidebar .nav-menu > li > a:hover { background: rgba(255, 138, 0, .11) !important; color: #ffb347 !important; transform: translateX(2px); }
.erp-sidebar .saheltech-site-manager > a { border-color:rgba(255,138,0,.12) !important; background:rgba(255,138,0,.045) !important; }
.erp-sidebar .saheltech-site-manager > a::after { content:'SITE'; margin-left:auto; padding:2px 6px; color:#ffb347; background:rgba(255,138,0,.1); border:1px solid rgba(255,138,0,.16); border-radius:5px; font-size:.52rem; font-weight:850; letter-spacing:.08em; }
.erp-sidebar .saheltech-site-manager.active > a,
.erp-sidebar .saheltech-site-manager.open > a { background:linear-gradient(135deg,#b94b00,#ff7800) !important; }
.erp-sidebar .saheltech-site-manager.active > a::after,
.erp-sidebar .saheltech-site-manager.open > a::after { color:#fff; background:rgba(0,0,0,.16); border-color:rgba(255,255,255,.18); }
.saheltech-site-hub { max-width:1500px; margin:auto; }
.saheltech-site-hub-head { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:20px; padding:24px; background:radial-gradient(circle at 85% 0,rgba(255,138,0,.13),transparent 24rem),linear-gradient(145deg,#101923,#0b141d); border:1px solid rgba(255,255,255,.075); border-radius:16px; }
.saheltech-site-hub-kicker { color:#ff9b24; font-size:.68rem; font-weight:850; letter-spacing:.1em; text-transform:uppercase; }
.saheltech-site-hub h1 { margin:4px 0 7px; color:#fff; font-size:clamp(1.55rem,2.4vw,2.25rem); }.saheltech-site-hub-head p{margin:0;color:#a8b2c1}.saheltech-site-hub-actions{display:flex;flex-wrap:wrap;gap:9px}
.saheltech-site-stat-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; margin-bottom:18px; }
.saheltech-site-stat-grid>a { display:flex;align-items:center;gap:14px;padding:18px;color:#e5e7eb!important;background:linear-gradient(145deg,#101923,#0b141d);border:1px solid rgba(255,255,255,.075);border-radius:13px }.saheltech-site-stat-grid>a:hover{border-color:rgba(255,138,0,.28);transform:translateY(-2px);text-decoration:none}.saheltech-site-stat-grid>a>i{display:grid;place-items:center;width:48px;height:48px;color:#ff8a00;background:rgba(255,138,0,.11);border-radius:11px;font-size:1.3rem}.saheltech-site-stat-grid span{display:grid}.saheltech-site-stat-grid strong{color:#fff;font-size:1.5rem;line-height:1.1}.saheltech-site-stat-grid small{color:#8995a3}
.saheltech-site-page-panel { padding:20px;background:linear-gradient(145deg,#101923,#0b141d);border:1px solid rgba(255,255,255,.075);border-radius:14px }.saheltech-site-page-panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.saheltech-site-page-panel h2{margin:3px 0 0;color:#fff;font-size:1.05rem}.saheltech-site-page-panel-head>a{color:#ff9b24!important}.saheltech-site-page-grid{display:grid;gap:7px}.saheltech-site-page-grid article{display:grid;grid-template-columns:38px 1fr auto 32px;align-items:center;gap:11px;padding:11px;background:rgba(255,255,255,.018);border:1px solid rgba(255,255,255,.055);border-radius:9px}.saheltech-site-page-icon{display:grid;place-items:center;width:38px;height:38px;color:#ff8a00;background:rgba(255,138,0,.1);border-radius:8px}.saheltech-site-page-grid h3{margin:0;color:#fff;font-size:.82rem}.saheltech-site-page-grid p{margin:2px 0 0;color:#7f8a98;font-size:.7rem}.saheltech-site-page-grid article>a{color:#ff9b24!important}.saheltech-site-page-status{padding:4px 8px;border-radius:999px;font-size:.64rem;font-weight:750}.saheltech-site-page-status.is-live{color:#4ade80;background:rgba(34,197,94,.11)}.saheltech-site-page-status.is-draft{color:#fbbf24;background:rgba(245,158,11,.11)}
.saheltech-subscription-strip{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px;padding:18px 20px;background:linear-gradient(135deg,rgba(139,92,246,.1),#101923 40%,#0b141d);border:1px solid rgba(139,92,246,.18);border-radius:13px}.saheltech-subscription-strip h2{margin:3px 0;color:#fff;font-size:1rem}.saheltech-subscription-strip p{margin:0;color:#9aa4b2;font-size:.76rem}.saheltech-subscription-strip>div:last-child{display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:1199.98px){.saheltech-site-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:991.98px){.saheltech-site-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.saheltech-site-hub-head{align-items:flex-start;flex-direction:column}.saheltech-subscription-strip{align-items:flex-start;flex-direction:column}.saheltech-subscription-strip>div:last-child{width:100%}}@media(max-width:575.98px){.saheltech-site-stat-grid{grid-template-columns:1fr}.saheltech-site-page-grid article{grid-template-columns:38px 1fr 28px}.saheltech-site-page-status{grid-column:2}.saheltech-site-hub-actions{width:100%}.saheltech-site-hub-actions .btn,.saheltech-subscription-strip .btn{flex:1}}

/* Visual editor mirrors the real public site inside the CMS hub. */
.saheltech-visual-editor{margin-bottom:18px;overflow:hidden;background:linear-gradient(145deg,#101923,#0b141d);border:1px solid rgba(255,255,255,.075);border-radius:16px;box-shadow:0 20px 55px rgba(0,0,0,.2)}
.saheltech-visual-editor-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:22px 24px;border-bottom:1px solid rgba(255,255,255,.07)}
.saheltech-visual-editor-head h2{margin:4px 0 5px;color:#fff;font-size:1.25rem}.saheltech-visual-editor-head p{max-width:680px;margin:0;color:#96a2b1;font-size:.82rem}
.saheltech-visual-editor-actions{display:grid;grid-template-columns:minmax(190px,250px) auto;align-items:end;gap:8px}.saheltech-visual-editor-actions label{grid-column:1/-1;margin:0;color:#8f9baa;font-size:.67rem;font-weight:800;text-transform:uppercase}.saheltech-visual-editor-actions .form-select{min-height:40px;color:#e8edf3;background-color:#111c27;border-color:rgba(255,255,255,.12)}
.saheltech-preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 16px;background:#081019;border-bottom:1px solid rgba(255,255,255,.07)}
.saheltech-preview-devices,.saheltech-preview-tools{display:flex;align-items:center;gap:6px}.saheltech-preview-devices button,.saheltech-preview-tools button,.saheltech-preview-tools a{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:7px 11px;color:#9ba7b6;background:transparent;border:1px solid transparent;border-radius:7px;font-size:.72rem;font-weight:800;cursor:pointer}.saheltech-preview-devices button:hover,.saheltech-preview-devices button.is-active,.saheltech-preview-tools button:hover,.saheltech-preview-tools a:hover{color:#fff;background:rgba(255,138,0,.12);border-color:rgba(255,138,0,.22);text-decoration:none}.saheltech-preview-devices button.is-active{color:#ff9b24}
.saheltech-preview-status{display:inline-flex;align-items:center;gap:6px;margin-right:5px;color:#4ade80;font-size:.68rem;font-weight:750}.saheltech-preview-status .fa-spinner{color:#ff9b24}.saheltech-preview-stage{position:relative;display:flex;justify-content:center;min-height:680px;padding:18px;background:radial-gradient(circle at 50% 0,rgba(255,138,0,.07),transparent 30rem),#050b11}.saheltech-preview-stage::after{content:"";position:absolute;inset:18px;z-index:2;pointer-events:none;border-radius:8px;background:rgba(5,11,17,.42);opacity:0;transition:opacity .18s ease}.saheltech-preview-stage.is-loading::after{opacity:1}.saheltech-preview-stage iframe{width:100%;height:680px;background:#fff;border:0;border-radius:8px;box-shadow:0 18px 48px rgba(0,0,0,.38);transition:width .28s ease,border-radius .28s ease}.saheltech-preview-stage[data-device=tablet] iframe{width:768px}.saheltech-preview-stage[data-device=mobile] iframe{width:390px;border-radius:18px}.saheltech-preview-empty{display:grid;place-items:center;align-content:center;gap:12px;color:#84909e;text-align:center}.saheltech-preview-empty i{font-size:2.4rem}.saheltech-preview-note{padding:10px 18px;color:#84909e;background:#081019;border-top:1px solid rgba(255,255,255,.06);font-size:.7rem}.saheltech-preview-note i{margin-right:6px;color:#ff9b24}
@media(max-width:991.98px){.saheltech-visual-editor-head{align-items:flex-start;flex-direction:column}.saheltech-visual-editor-actions{width:100%}.saheltech-preview-stage{min-height:590px;padding:12px}.saheltech-preview-stage iframe{height:590px}.saheltech-preview-toolbar{align-items:flex-start;flex-direction:column}}
@media(max-width:575.98px){.saheltech-visual-editor-actions{grid-template-columns:1fr}.saheltech-visual-editor-actions label{grid-column:auto}.saheltech-visual-editor-actions .btn{width:100%}.saheltech-preview-devices,.saheltech-preview-tools{width:100%}.saheltech-preview-devices button{flex:1;justify-content:center}.saheltech-preview-devices span{display:none}.saheltech-preview-tools>*{flex:1;justify-content:center}.saheltech-preview-stage{min-height:540px;padding:8px}.saheltech-preview-stage iframe{width:100%!important;height:540px;border-radius:8px!important}}
.saheltech-preview-workspace{display:grid;grid-template-columns:minmax(0,1fr) 280px;min-height:720px;background:#050b11}.saheltech-preview-workspace .saheltech-preview-stage{min-width:0;margin:0;overflow:auto}.saheltech-preview-browser{width:calc(100% / var(--preview-zoom,1));max-width:none;transform:scale(var(--preview-zoom,1));transform-origin:top center;transition:width .24s ease,transform .24s ease}.saheltech-preview-stage[data-device=tablet] .saheltech-preview-browser{width:768px}.saheltech-preview-stage[data-device=mobile] .saheltech-preview-browser{width:390px}.saheltech-preview-browserbar{display:flex;align-items:center;gap:6px;height:34px;padding:0 11px;background:#111b25;border-bottom:1px solid rgba(255,255,255,.07);border-radius:9px 9px 0 0}.saheltech-preview-browserbar>i{width:8px;height:8px;border-radius:50%;background:#ff6474}.saheltech-preview-browserbar>i:nth-child(2){background:#f8b84e}.saheltech-preview-browserbar>i:nth-child(3){background:#35d399}.saheltech-preview-browserbar>span{overflow:hidden;margin-left:8px;padding:4px 10px;color:#7f8c9c;background:#071018;border-radius:6px;font-size:.62rem;text-overflow:ellipsis;white-space:nowrap}.saheltech-preview-browser iframe{display:block;width:100%!important;border-radius:0 0 9px 9px!important}.saheltech-preview-scale{display:flex;align-items:center;gap:6px;margin-left:auto}.saheltech-preview-scale button{display:grid;place-items:center;width:30px;height:30px;color:#9ba7b6;background:transparent;border:1px solid rgba(255,255,255,.08);border-radius:7px}.saheltech-preview-scale input{width:90px;accent-color:#ff8a00}.saheltech-preview-scale output,.saheltech-preview-dimensions{color:#8794a3;font-size:.64rem;font-weight:750}.saheltech-preview-inspector{background:linear-gradient(180deg,#0e1822,#09121a);border-left:1px solid rgba(255,255,255,.075)}.saheltech-preview-inspector-head{padding:20px;border-bottom:1px solid rgba(255,255,255,.07)}.saheltech-preview-inspector-head h3{margin:5px 0 2px;color:#fff;font-size:1rem}.saheltech-preview-inspector-head p{margin:0;color:#7f8b99;font-size:.68rem}.saheltech-preview-inspector-metrics{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:12px}.saheltech-preview-inspector-metrics span{display:grid;padding:10px;color:#84919f;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.06);border-radius:8px;font-size:.62rem}.saheltech-preview-inspector-metrics strong{color:#fff;font-size:1.15rem}.saheltech-preview-inspector-block{padding:8px 12px 12px}.saheltech-preview-inspector-block h4{margin:0 0 8px;color:#8b98a7;font-size:.63rem;letter-spacing:.08em;text-transform:uppercase}.saheltech-preview-section-list{display:grid;gap:5px;max-height:390px;overflow:auto}.saheltech-preview-section-list>p{padding:14px;color:#788593;font-size:.7rem;text-align:center}.saheltech-preview-section-list button{display:grid;grid-template-columns:26px 1fr 20px;align-items:center;gap:7px;width:100%;padding:9px;color:#aab5c1;background:transparent;border:1px solid transparent;border-radius:8px;text-align:left}.saheltech-preview-section-list button>span{color:#687686;font-size:.58rem}.saheltech-preview-section-list button>strong{overflow:hidden;font-size:.7rem;text-overflow:ellipsis;white-space:nowrap}.saheltech-preview-section-list button>i{color:#5f6d7b}.saheltech-preview-section-list button:hover,.saheltech-preview-section-list button.is-active{color:#fff;background:rgba(255,138,0,.1);border-color:rgba(255,138,0,.16)}.saheltech-preview-section-list button.is-active>i{color:#ff9b24}.saheltech-preview-inspector-actions{display:grid;gap:7px;padding:12px;border-top:1px solid rgba(255,255,255,.07)}.saheltech-visual-editor:fullscreen{padding:18px;background:#050b11}.saheltech-visual-editor:fullscreen .saheltech-preview-workspace{height:calc(100vh - 190px)}.saheltech-visual-editor:fullscreen .saheltech-preview-stage{height:100%;min-height:0}.saheltech-visual-editor:fullscreen .saheltech-preview-stage iframe{height:calc(100vh - 260px)}
@media(max-width:1199.98px){.saheltech-preview-workspace{grid-template-columns:1fr}.saheltech-preview-inspector{border-top:1px solid rgba(255,255,255,.075);border-left:0}.saheltech-preview-inspector-metrics{grid-template-columns:repeat(2,minmax(0,140px))}.saheltech-preview-section-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:none}.saheltech-preview-inspector-actions{grid-template-columns:repeat(2,minmax(0,220px))}}
@media(max-width:767.98px){.saheltech-preview-toolbar{gap:9px}.saheltech-preview-scale{order:3;width:100%;margin:0}.saheltech-preview-scale input{flex:1}.saheltech-preview-dimensions{display:none}.saheltech-preview-tools span:not(.saheltech-preview-status){display:none}.saheltech-preview-workspace{min-height:580px}.saheltech-preview-section-list{grid-template-columns:1fr}.saheltech-preview-inspector-actions{grid-template-columns:1fr}}
.erp-sidebar .nav-menu > li.active > a,
.erp-sidebar .nav-menu > li.open > a {
  background: linear-gradient(135deg, #b94b00, #ff7800) !important;
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(255, 106, 0, .24) !important;
}

.page-content h1, .page-content h2, .page-content h3, .page-content h4,
.page-content h5, .page-content h6, .page-title, .subheader-title,
.panel-hdr h2, label { color: #fff !important; }
.text-dark, .text-body { color: #f8fafc !important; }
.text-muted, .help-block, small, .form-text { color: #9aa4b2 !important; }
a { transition: color .18s ease, opacity .18s ease; }
.page-content a:not(.btn):not(.nav-link) { color: #ff9b24; }

.panel, .card, .modal-content, .dropdown-menu, .popover,
.well, .ibox, .widget, .list-group-item, .jumbotron {
  background: linear-gradient(145deg, rgba(16, 25, 35, .97), rgba(10, 19, 28, .97)) !important;
  color: #f8fafc !important;
  border: 1px solid rgba(255, 255, 255, .08) !important;
  border-radius: 12px !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .17) !important;
}
.panel-hdr, .card-header, .modal-header, .modal-footer,
.panel-footer, .card-footer {
  background: rgba(255, 255, 255, .018) !important;
  border-color: rgba(255, 255, 255, .08) !important;
  color: #fff !important;
}

.table { color: #dce2e9 !important; background: transparent !important; }
.table thead th, .table th {
  color: #aeb7c3 !important;
  background: #0b141d !important;
  border-color: rgba(255, 255, 255, .08) !important;
  font-size: .72rem;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.table td { border-color: rgba(255, 255, 255, .065) !important; vertical-align: middle; }
.table-striped tbody tr:nth-of-type(odd) { background: rgba(255, 255, 255, .018) !important; }
.table-hover tbody tr:hover { color: #fff !important; background: rgba(255, 138, 0, .065) !important; }

.form-control, .custom-select, select, textarea, input[type='text'], input[type='email'],
input[type='password'], input[type='number'], input[type='search'], input[type='date'],
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
  color: #f8fafc !important;
  background: #071018 !important;
  border: 1px solid rgba(255, 255, 255, .11) !important;
  border-radius: 9px !important;
}
.form-control:focus, .custom-select:focus, select:focus, textarea:focus, input:focus {
  background: #08131c !important;
  border-color: #ff8a00 !important;
  box-shadow: 0 0 0 3px rgba(255, 138, 0, .14) !important;
}
.form-control::placeholder, input::placeholder, textarea::placeholder { color: #657181 !important; }
.select2-dropdown, .select2-results__option { background: #101923 !important; color: #e5e7eb !important; }
.select2-results__option--highlighted { background: #ff7800 !important; color: #fff !important; }

.btn { border-radius: 9px !important; font-weight: 650; box-shadow: none !important; }
.btn-primary, .bg-primary, .badge-primary {
  color: #fff !important;
  background: linear-gradient(135deg, #ff8a00, #e65c00) !important;
  border-color: #ff8a00 !important;
}
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-default, .btn-secondary, .btn-light {
  color: #e5e7eb !important;
  background: #101923 !important;
  border-color: rgba(255, 255, 255, .11) !important;
}
.badge { border-radius: 999px !important; padding: .38em .66em; }
.pagination .page-link { color: #dce2e9; background: #101923; border-color: rgba(255,255,255,.08); }
.pagination .active .page-link { color: #fff; background: #ff7800; border-color: #ff7800; }

.dropdown-item { color: #dce2e9 !important; }
.dropdown-item:hover, .dropdown-item:focus { color: #fff !important; background: rgba(255, 138, 0, .12) !important; }
.erp-theme-launcher { display: none !important; }
.erp-topbar { min-height: 76px !important; padding-inline: 18px !important; }
.erp-topbar .header-icon, .erp-topbar .header-btn { width: 42px !important; height: 42px !important; border: 1px solid transparent; }
.erp-topbar .header-icon:hover, .erp-topbar .header-btn:hover { border-color: rgba(255,138,0,.2) !important; }
.erp-topbar .profile-image { width: 38px !important; height: 38px !important; object-fit: cover; border: 2px solid rgba(255,138,0,.55); }
.saheltech-admin-footer { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:52px; margin:0 22px; color:#7f8a98; font-size:.72rem; border-top:1px solid rgba(255,255,255,.065); }
.saheltech-admin-footer-status { display:inline-flex; align-items:center; gap:8px; }
.saheltech-admin-footer-status i { width:8px; height:8px; border-radius:50%; background:#22c55e; box-shadow:0 0 12px rgba(34,197,94,.55); }
.saheltech-command-trigger { display:flex; align-items:center; gap:10px; width:min(300px,28vw); margin-left:auto; padding:10px 12px; color:#9aa4b2; background:#071018; border:1px solid rgba(255,255,255,.11); border-radius:10px; }
.saheltech-new-action { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:42px; margin-left:12px; padding:0 18px; color:#fff !important; background:linear-gradient(135deg,#ff8a00,#e65c00); border:1px solid #ff8a00; border-radius:9px; box-shadow:0 9px 24px rgba(255,106,0,.22); font-weight:750; }
.saheltech-new-action:hover { color:#fff !important; filter:brightness(1.08); transform:translateY(-1px); text-decoration:none; }
.saheltech-command-trigger span { flex:1; text-align:left; }.saheltech-command-trigger kbd,.saheltech-command-dialog kbd{padding:2px 6px;color:#aeb7c3;background:#18232f;border:1px solid rgba(255,255,255,.1);border-radius:5px;font:600 .65rem Inter,sans-serif}
.saheltech-command-backdrop { position:fixed; inset:0; z-index:10050; display:grid; place-items:start center; padding:12vh 16px 16px; background:rgba(1,5,9,.78); backdrop-filter:blur(8px); }
.saheltech-command-backdrop[hidden] { display:none !important; }
.saheltech-command-dialog { width:min(620px,100%); max-height:72vh; overflow:hidden; color:#f8fafc; background:#101923; border:1px solid rgba(255,255,255,.1); border-radius:16px; box-shadow:0 30px 90px rgba(0,0,0,.55); }
.saheltech-command-search { display:flex; align-items:center; gap:12px; padding:15px 17px; border-bottom:1px solid rgba(255,255,255,.08); }.saheltech-command-search i{color:#ff8a00}.saheltech-command-search input{flex:1;color:#fff;background:transparent;border:0;outline:0;font-size:1rem}.saheltech-command-search input::placeholder{color:#718091}
.saheltech-command-body { padding:12px; overflow:auto; max-height:55vh; }.saheltech-command-body h2{padding:2px 8px 8px;margin:0;color:#8793a1;font-size:.68rem;letter-spacing:.09em;text-transform:uppercase}
.saheltech-command-list { display:grid; gap:4px; }.saheltech-command-list a{display:grid;grid-template-columns:38px 1fr;align-items:center;gap:11px;padding:10px;color:#e5e7eb!important;border-radius:9px}.saheltech-command-list a>i{display:grid;place-items:center;width:38px;height:38px;color:#ff8a00;background:rgba(255,138,0,.1);border-radius:9px}.saheltech-command-list a span{display:grid}.saheltech-command-list a small{color:#8995a3}.saheltech-command-list a:hover,.saheltech-command-list a.is-active{color:#fff!important;background:rgba(255,138,0,.1);text-decoration:none}
.saheltech-command-list a.is-create{border:1px solid rgba(34,197,94,.08)}.saheltech-command-list a.is-create>i{color:#4ade80;background:rgba(34,197,94,.11)}.saheltech-command-list a.is-create:hover,.saheltech-command-list a.is-create.is-active{background:rgba(34,197,94,.09)}
.saheltech-crm-profile { min-height:calc(100vh - 76px); color:#dce2e9; background:#071018; }
.saheltech-crm-profile #js-inbox-menu { width:290px; min-width:290px; background:linear-gradient(180deg,#0b141d,#08111a) !important; border-right:1px solid rgba(255,255,255,.075); }
.saheltech-crm-profile > .flex-grow-1,
.saheltech-crm-profile .bg-white { background:#071018 !important; }
.saheltech-crm-profile #js-inbox-menu img { width:112px; height:112px; object-fit:cover; border-radius:24px !important; border:2px solid rgba(255,138,0,.38); box-shadow:0 14px 34px rgba(0,0,0,.3); }
.saheltech-crm-profile #js-inbox-menu .svg-icon:first-child { display:grid; place-items:center; width:112px; height:112px; margin:auto; padding:20px; color:#ff8a00; background:rgba(255,138,0,.1); border:1px solid rgba(255,138,0,.22); border-radius:24px; }
.saheltech-crm-profile .clx-side-menu-item { margin:3px 10px; padding:10px 13px !important; color:#aeb7c3 !important; background:transparent !important; border:1px solid transparent; border-radius:9px !important; }
.saheltech-crm-profile .clx-side-menu-item:hover { color:#ffb347 !important; background:rgba(255,138,0,.07) !important; }
.saheltech-crm-profile .clx-side-menu-item.active { color:#fff !important; background:linear-gradient(135deg,#b94b00,#ff7800) !important; border-color:rgba(255,255,255,.1); box-shadow:0 9px 22px rgba(255,106,0,.18); }
.saheltech-crm-profile .clx-side-menu-item .svg-icon,
.saheltech-crm-profile .clx-side-menu-item svg { color:currentColor !important; fill:currentColor !important; }
.saheltech-crm-profile .position-absolute.pos-top.w-100.panel { margin:16px !important; width:calc(100% - 32px) !important; background:linear-gradient(145deg,#101923,#0b141d) !important; border:1px solid rgba(255,255,255,.075) !important; border-radius:13px !important; }
.saheltech-crm-profile .subheader-title { color:#fff !important; }
.saheltech-crm-profile .loader { color:#ff8a00 !important; }
@media(max-width:991.98px){.saheltech-crm-profile #js-inbox-menu{width:280px;min-width:280px}.saheltech-crm-profile .position-absolute.pos-top.w-100.panel{margin:10px!important;width:calc(100% - 20px)!important}}
.saheltech-command-empty{padding:36px 12px;margin:0;color:#8995a3;text-align:center}.saheltech-command-footer{display:flex;justify-content:flex-end;gap:18px;padding:10px 15px;color:#7f8a98;background:#0b141d;border-top:1px solid rgba(255,255,255,.07);font-size:.68rem}.saheltech-command-footer span{display:flex;align-items:center;gap:5px}.saheltech-command-open{overflow:hidden}
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select { color:#f8fafc !important; background:#071018 !important; border:1px solid rgba(255,255,255,.11) !important; border-radius:8px !important; }
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter { color:#9aa4b2 !important; }
.dataTables_wrapper .dataTables_paginate .paginate_button { color:#cbd3dd !important; background:#101923 !important; border:1px solid rgba(255,255,255,.07) !important; border-radius:7px !important; }
.dataTables_wrapper .dataTables_paginate .paginate_button.current { color:#fff !important; background:linear-gradient(135deg,#ff8a00,#d95800) !important; border-color:#ff8a00 !important; }
.saheltech-media-dropzone, .dropzone {
  display:grid; place-items:center; min-height:260px;
  background:rgba(7,16,24,.68) !important;
  border:1px dashed rgba(255,138,0,.42) !important;
  border-radius:12px !important;
  transition:background .18s ease,border-color .18s ease;
}
.saheltech-media-dropzone:hover, .dropzone.dz-drag-hover { background:rgba(255,138,0,.055) !important; border-color:#ff8a00 !important; }
.dropzone .dz-message { color:#9aa4b2 !important; margin:0 !important; text-align:center; }
.dropzone .dz-message i { display:block; margin-bottom:12px; color:#ff8a00; font-size:2.4rem; }
.dropzone .dz-message h3 { color:#fff !important; font-size:1rem; }
.dropzone .dz-preview { background:#101923 !important; border:1px solid rgba(255,255,255,.08); border-radius:10px; }
.saheltech-media-thumb { width:88px; height:66px; object-fit:cover; border-radius:9px; border:1px solid rgba(255,255,255,.09); background:#071018; }
.saheltech-media-page .table td { padding-block:11px !important; }
.saheltech-media-meta-form { display:grid; gap:7px; min-width:220px; }
.saheltech-media-meta-form .btn { justify-self:start; }
.saheltech-media-details { display:grid; gap:4px; min-width:130px; color:#9aa4b2; font-size:.72rem; }
.saheltech-media-details strong { color:#e5e7eb; }
.saheltech-media-details time { color:#718091; }
.tox.tox-tinymce, .note-editor, .mce-container {
  border:1px solid rgba(255,255,255,.1) !important;
  border-radius:10px !important;
  overflow:hidden;
}
.tox .tox-editor-header, .tox .tox-toolbar, .tox .tox-toolbar__primary,
.tox .tox-menubar, .tox .tox-statusbar { background:#101923 !important; border-color:rgba(255,255,255,.07) !important; }
.tox .tox-tbtn, .tox .tox-mbtn, .tox .tox-statusbar__path-item { color:#cbd3dd !important; }
.tox .tox-tbtn:hover, .tox .tox-tbtn--enabled, .tox .tox-mbtn:hover { color:#fff !important; background:rgba(255,138,0,.12) !important; }
.cms-sync-image { background:#0b141d !important; border:1px solid rgba(255,255,255,.08) !important; border-radius:10px !important; }
.cms-sync-image img { background:#071018; border-radius:8px; }
.cms-sync-image code { color:#ffb347 !important; }
.invoice-total, .invoice-total tbody, .invoice-total tr, .invoice-total td {
  background:transparent !important;
  border-color:rgba(255,255,255,.07) !important;
  color:#dce2e9 !important;
}
.invoice-total tr:last-child td { color:#fff !important; font-size:1.05rem; font-weight:750; }
.invoice-status-pill { border:1px solid transparent !important; border-radius:999px !important; font-weight:750 !important; letter-spacing:.01em; }
.invoice-status-pill--paid { color:#4ade80 !important; background:rgba(34,197,94,.12) !important; border-color:rgba(34,197,94,.22) !important; }
.invoice-status-pill--unpaid { color:#f87171 !important; background:rgba(239,68,68,.12) !important; border-color:rgba(239,68,68,.22) !important; }
.invoice-status-pill--partial { color:#fbbf24 !important; background:rgba(245,158,11,.12) !important; border-color:rgba(245,158,11,.22) !important; }
.invoice-status-pill--cancelled, .invoice-status-pill--neutral { color:#aeb7c3 !important; background:rgba(148,163,184,.1) !important; border-color:rgba(148,163,184,.18) !important; }
.daterangepicker { color:#e5e7eb !important; background:#101923 !important; border:1px solid rgba(255,255,255,.1) !important; border-radius:11px !important; box-shadow:0 22px 55px rgba(0,0,0,.4) !important; }
.daterangepicker .calendar-table { background:#101923 !important; border-color:rgba(255,255,255,.06) !important; }
.daterangepicker td.available:hover, .daterangepicker th.available:hover { color:#fff !important; background:rgba(255,138,0,.12) !important; }
.daterangepicker td.active, .daterangepicker td.active:hover { color:#fff !important; background:#ff7800 !important; }
.daterangepicker td.in-range { color:#fff !important; background:rgba(255,138,0,.1) !important; }
.daterangepicker td.off { color:#566170 !important; background:#0b141d !important; }
.swal2-popup { color:#f8fafc !important; background:#101923 !important; border:1px solid rgba(255,255,255,.09) !important; border-radius:13px !important; }
.swal2-title, .swal2-html-container { color:#f8fafc !important; }
.swal2-confirm { background:linear-gradient(135deg,#ff8a00,#d95800) !important; border-radius:9px !important; }
.swal2-cancel { color:#e5e7eb !important; background:#26313d !important; border-radius:9px !important; }
#toast-container > div, .toast { color:#f8fafc !important; background-color:#101923 !important; border:1px solid rgba(255,255,255,.09) !important; border-radius:10px !important; box-shadow:0 16px 38px rgba(0,0,0,.32) !important; }
#toast-container > .toast-success { border-left:3px solid #22c55e !important; }
#toast-container > .toast-error { border-left:3px solid #ef4444 !important; }
#toast-container > .toast-warning { border-left:3px solid #f59e0b !important; }
#toast-container > .toast-info { border-left:3px solid #3b82f6 !important; }
.modal-backdrop.show { opacity:.72 !important; backdrop-filter:blur(3px); }
.invoice-view-banner {
  display:flex !important; align-items:center; justify-content:space-between; gap:20px;
  padding:18px 20px !important;
  background:linear-gradient(135deg,rgba(255,138,0,.12),rgba(16,25,35,.98) 42%,rgba(8,16,24,.98)) !important;
  border:1px solid rgba(255,138,0,.18) !important; border-radius:13px !important;
}
.invoice-view-banner__eyebrow { color:#ff9b24 !important; font-size:.72rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.invoice-view-banner h3 { margin:.2rem 0 !important; color:#fff !important; }
.invoice-view-banner p { margin:0 !important; color:#9aa4b2 !important; }
.invoice-view-banner__meta { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:10px; }
.invoice-view-banner__pill { display:grid; gap:3px; min-width:125px; padding:10px 12px; background:rgba(7,16,24,.65) !important; border:1px solid rgba(255,255,255,.075); border-radius:9px; }
.invoice-view-banner__pill span { color:#84909e; font-size:.67rem; text-transform:uppercase; }
.invoice-view-banner__pill strong { color:#fff; font-size:.8rem; }
.invoice-top-metrics { display:flex !important; margin-bottom:1rem; }
.invoice-top-metric { height:100%; padding:15px; background:linear-gradient(145deg,#101923,#0b141d) !important; border:1px solid rgba(255,255,255,.075) !important; border-radius:11px !important; }
.invoice-top-metric > span, .invoice-top-metric small { color:#8f9aa8 !important; }
.invoice-top-metric > strong { display:block; margin:.3rem 0; color:#fff !important; font-size:1.05rem; }
.invoice-enhanced .invoice-operational-card,
.invoice-enhanced .invoice-party-card,
.invoice-enhanced .invoice-meta-card,
.invoice-enhanced .invoice-total-card,
.invoice-enhanced .invoice-payment-meta,
.invoice-support-card {
  color:#dce2e9 !important; background:#0b141d !important;
  border:1px solid rgba(255,255,255,.075) !important; border-radius:10px !important;
}
.invoice-enhanced .invoice-meta-card .value,
.invoice-enhanced .invoice-payment-meta .value,
.invoice-enhanced .invoice-total-card .invoice-main-total,
.invoice-enhanced .invoice-operational-card h5,
.invoice-support-title { color:#fff !important; }
.invoice-enhanced .invoice-items,
.invoice-enhanced .invoice-summary-table,
.invoice-related-table { color:#dce2e9 !important; background:transparent !important; }
.invoice-enhanced .invoice-items thead th,
.invoice-related-table th { color:#aeb7c3 !important; background:#071018 !important; border-color:rgba(255,255,255,.075) !important; }
.invoice-enhanced .invoice-items tbody td,
.invoice-enhanced .invoice-summary-table tbody td,
.invoice-related-table td { border-color:rgba(255,255,255,.065) !important; }
.invoice-top-link-card__label { color:#fff !important; }
.invoice-document-header { border-color:rgba(255,255,255,.075) !important; }
.invoice-view-shell { color:#e8edf3 !important; }
.invoice-view-shell p,
.invoice-view-shell address,
.invoice-view-shell li,
.invoice-view-shell td,
.invoice-view-shell dd { color:#cbd3dd !important; }
.invoice-view-shell h1, .invoice-view-shell h2, .invoice-view-shell h3,
.invoice-view-shell h4, .invoice-view-shell h5, .invoice-view-shell h6,
.invoice-view-shell dt, .invoice-view-shell label,
.invoice-view-shell strong:not(.invoice-chip) { color:#fff !important; }
.invoice-view-shell .text-muted,
.invoice-view-shell small,
.invoice-view-shell .small { color:#aeb7c3 !important; opacity:1 !important; }
.invoice-view-shell hr { border-color:rgba(255,255,255,.09) !important; opacity:1 !important; }
.invoice-view-shell .invoice-notes-card,
.invoice-view-shell .tab-content,
.invoice-view-shell .list-group-item,
.invoice-view-shell .well { color:#dce2e9 !important; background:#0b141d !important; }
.invoice-view-shell .dropdown-menu a,
.invoice-view-shell .dropdown-item a { color:#e5e7eb !important; }
.invoice-view-shell .dropdown-item:hover a,
.invoice-view-shell .dropdown-item:focus a { color:#fff !important; }
.invoice-view-shell .table a { color:#ffb347 !important; }
.invoice-view-shell .form-control[readonly] { color:#d5dbe3 !important; background:#0d1822 !important; opacity:1 !important; }
.invoice-view-shell .badge.bg-info { color:#dbeafe !important; background:rgba(59,130,246,.18) !important; }
.invoice-view-shell .btn-outline-primary { color:#ffb347 !important; border-color:rgba(255,138,0,.48) !important; }
.invoice-view-shell .btn-outline-primary:hover { color:#fff !important; background:#ff7800 !important; }
.invoice-view-shell .invoice-top-link-card__hint { display:block !important; margin:.45rem 0 0; color:#9aa4b2 !important; font-size:.74rem; }
.invoice-view-shell .invoice-command-bar { padding:12px !important; background:#0b141d !important; border:1px solid rgba(255,255,255,.075) !important; border-radius:11px !important; }
.invoice-view-shell .invoice-command-bar > .btn-group { gap:7px !important; }
.invoice-view-shell .invoice-command-bar .btn { min-height:34px; }
.invoice-view-shell .invoice-summary { color:#dce2e9 !important; }
.invoice-view-shell .invoice-grand-row td { color:#fff !important; background:rgba(255,138,0,.08) !important; border-top:1px solid rgba(255,138,0,.25) !important; font-size:1rem; font-weight:800; }
.invoice-view-shell .invoice-status-badge { opacity:1 !important; }
.invoice-view-shell .invoice-chip--paid { color:#86efac !important; background:rgba(34,197,94,.15) !important; }
.invoice-view-shell .invoice-chip--unpaid { color:#fca5a5 !important; background:rgba(239,68,68,.15) !important; }
.invoice-view-shell .invoice-chip--partial { color:#fde68a !important; background:rgba(245,158,11,.15) !important; }
.invoice-view-shell .invoice-chip--cancelled,
.invoice-view-shell .invoice-chip--neutral { color:#d1d5db !important; background:rgba(148,163,184,.13) !important; }
:focus-visible { outline:2px solid #ff8a00 !important; outline-offset:3px !important; }
.btn:focus-visible, .form-control:focus-visible, .nav-link:focus-visible,
.erp-sidebar a:focus-visible { box-shadow:0 0 0 4px rgba(255,138,0,.17) !important; }
.table-responsive { border-radius:10px; scrollbar-gutter:stable; }
.table-responsive .table { min-width:680px; }
.panel-toolbar .btn, .card-header .btn { white-space:nowrap; }
.nav-tabs { border-color: rgba(255,255,255,.08) !important; }
.nav-tabs .nav-link { color: #9aa4b2 !important; border: 0 !important; }
.nav-tabs .nav-link.active { color: #ff9b24 !important; background: transparent !important; border-bottom: 2px solid #ff8a00 !important; }

.alert { color: #f8fafc !important; border-radius: 10px !important; border-width: 1px !important; }
.alert-info { background: rgba(59,130,246,.12) !important; border-color: rgba(59,130,246,.3) !important; }
.alert-success { background: rgba(34,197,94,.12) !important; border-color: rgba(34,197,94,.3) !important; }
.alert-danger { background: rgba(239,68,68,.12) !important; border-color: rgba(239,68,68,.3) !important; }
.close { color: #fff !important; text-shadow: none !important; }

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: #071018; }
::-webkit-scrollbar-thumb { background: #293440; border: 2px solid #071018; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #ff7800; }

@media (max-width: 991.98px) {
  .panel, .card { border-radius: 10px !important; }
  .page-content { padding-left: 1rem !important; padding-right: 1rem !important; }
  .saheltech-admin-footer { margin:0 16px; }
}
@media (max-width:575.98px) {
  .saheltech-admin-footer { align-items:flex-start; flex-direction:column; justify-content:center; padding-block:12px; }
  .page-content { padding-top:1rem !important; }
  .panel-hdr, .card-header { align-items:flex-start !important; gap:10px; padding:14px !important; }
  .panel-toolbar { display:flex; flex-wrap:wrap; gap:6px; }
  .modal-dialog { margin:.65rem !important; }
  .modal-content { max-height:calc(100vh - 1.3rem); overflow:auto; }
  .dataTables_wrapper .dataTables_length,
  .dataTables_wrapper .dataTables_filter { float:none !important; width:100%; text-align:left !important; }
  .dataTables_wrapper .dataTables_filter input { width:100% !important; margin:.45rem 0 .75rem !important; }
  .invoice-view-banner { align-items:flex-start; flex-direction:column; }
  .invoice-view-banner__meta { justify-content:flex-start; width:100%; }
  .invoice-view-banner__pill { flex:1 1 120px; }
  .invoice-command-bar > .btn-group { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .invoice-command-bar .btn { width:100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .saheltech-route-progress { display:none !important; }
}

/* Authentication, recovery and onboarding screens. */
.page-content-wrapper.auth-scene {
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 138, 0, .14), transparent 22rem),
    radial-gradient(circle at 86% 80%, rgba(255, 179, 71, .07), transparent 26rem),
    linear-gradient(145deg, #03090e, #071018 52%, #0b141d) !important;
}
.auth-topbar { background: rgba(3, 9, 14, .78) !important; border-bottom: 1px solid rgba(255,255,255,.07) !important; }
.auth-topbar::after, .auth-panel::before { background: linear-gradient(90deg, transparent, #ff8a00, #ffb347, transparent) !important; }
.auth-panel {
  background: linear-gradient(155deg, rgba(16,25,35,.97), rgba(7,16,24,.96)) !important;
  border: 1px solid rgba(255,255,255,.09) !important;
  box-shadow: 0 28px 70px rgba(0,0,0,.38), 0 0 0 1px rgba(255,138,0,.035) !important;
}
.auth-panel h1, .auth-panel h2, .auth-panel label { color: #fff !important; }
.auth-panel p, .auth-footer { color: #9aa4b2 !important; }
.auth-panel .btn-primary { background: linear-gradient(105deg, #ff9b24, #ff7800 52%, #c84e00) !important; }
.auth-panel a { color: #ff9b24 !important; }
.auth-ambient .orb { background: rgba(255,138,0,.12) !important; filter: blur(2px); }

/* Les documents imprimes et exports navigateur restent sobres et lisibles. */
@media print {
  :root { color-scheme:light !important; }
  html, body, .page-wrapper, .page-inner, .page-content-wrapper,
  .erp-content-wrapper, .page-content, .erp-content,
  .panel, .card, .panel-hdr, .card-header, .panel-content,
  .invoice-total, .invoice-total tbody, .invoice-total tr, .invoice-total td {
    color:#111827 !important;
    background:#fff !important;
    background-image:none !important;
    box-shadow:none !important;
  }
  .erp-sidebar, .erp-topbar, .saheltech-admin-footer,
  .page-content-overlay, .btn, .panel-toolbar, .no-print { display:none !important; }
  .page-content-wrapper, .erp-content-wrapper { margin:0 !important; padding:0 !important; }
  .page-content { padding:0 !important; }
  .panel, .card { border:0 !important; }
  .table, .table td, .table th { color:#111827 !important; background:#fff !important; border-color:#d1d5db !important; }
  .table thead th { color:#374151 !important; }
  a { color:#111827 !important; text-decoration:none !important; }
}

/* Site manager suite: CMS, media and projects share a coherent interface. */
.saheltech-cms-page{overflow:hidden;border:1px solid rgba(255,255,255,.075)!important;border-radius:16px!important;box-shadow:0 20px 50px rgba(0,0,0,.2)!important}
.saheltech-cms-page>.panel-hdr{min-height:68px;padding:14px 20px!important;background:radial-gradient(circle at 88% 0,rgba(255,138,0,.11),transparent 22rem),#0d1721!important;border-bottom:1px solid rgba(255,255,255,.07)!important}
.saheltech-cms-page>.panel-hdr .card-title{margin:0;color:#fff!important;font-size:1.1rem;font-weight:800}.saheltech-cms-page .panel-toolbar .btn-group{display:flex;flex-wrap:wrap;gap:7px}.saheltech-cms-page .panel-toolbar .btn{border-radius:7px!important}
.saheltech-cms-page .panel-content{padding:22px!important}.saheltech-cms-page h4{display:flex;align-items:center;gap:9px;margin-top:8px!important;color:#f8fafc!important;font-size:.95rem;font-weight:800}.saheltech-cms-page h4::before{content:"";width:4px;height:18px;border-radius:999px;background:#ff8a00}.saheltech-cms-page hr{border-color:rgba(255,255,255,.08)!important}
.saheltech-cms-page .form-control,.saheltech-cms-page .form-select{min-height:43px;border-radius:8px!important}.saheltech-cms-page textarea.form-control{min-height:96px}.saheltech-cms-page label{margin-bottom:6px;color:#dfe6ee!important;font-size:.76rem;font-weight:750}.saheltech-cms-page .text-muted{color:#8e9aa8!important}
.saheltech-cms-page .table-responsive{border:1px solid rgba(255,255,255,.07);border-radius:11px}.saheltech-cms-page .table{margin:0!important}.saheltech-cms-page .table thead th{padding:12px 14px!important;background:#08111a!important;border-color:rgba(255,255,255,.07)!important;color:#aeb8c5!important;font-size:.67rem;letter-spacing:.06em;text-transform:uppercase}.saheltech-cms-page .table tbody td{padding:13px 14px!important;vertical-align:middle;border-color:rgba(255,255,255,.055)!important}.saheltech-cms-page code{padding:4px 7px;color:#ffb45c!important;background:rgba(255,138,0,.09);border-radius:5px}
.saheltech-cms-status{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:.67rem;font-weight:800}.saheltech-cms-status.is-live{color:#4ade80;background:rgba(34,197,94,.12)}.saheltech-cms-status.is-draft{color:#fbbf24;background:rgba(245,158,11,.12)}
.saheltech-cms-empty{padding:38px 20px!important;text-align:center!important}.saheltech-cms-empty i,.saheltech-cms-empty strong,.saheltech-cms-empty span{display:block}.saheltech-cms-empty i{margin-bottom:9px;color:#ff8a00;font-size:1.8rem}.saheltech-cms-empty strong{color:#e8edf3}.saheltech-cms-empty span{margin-top:4px;color:#84909e;font-size:.75rem}
.saheltech-cms-editor .cms-sync-section,.saheltech-cms-editor .cms-post-preview{color:#dbe3ec!important;background:#0b141d!important;border-color:rgba(255,255,255,.08)!important}.saheltech-cms-editor .cms-sync-section h5,.saheltech-cms-editor .cms-post-preview h1,.saheltech-cms-editor .cms-post-preview h2,.saheltech-cms-editor .cms-post-preview h3{color:#fff!important}.saheltech-cms-editor .cms-post-preview{max-height:560px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.02)}
.saheltech-media-page>.col-md-4,.saheltech-media-page>.col-md-8{margin-bottom:18px}.saheltech-media-page .panel{height:100%;overflow:hidden;border-radius:16px!important}.saheltech-media-page .panel-hdr{min-height:62px;background:#0d1721!important}.saheltech-media-page .panel-content{padding:18px!important}.saheltech-media-page .table-responsive{overflow-x:auto;border:1px solid rgba(255,255,255,.07);border-radius:11px}.saheltech-media-page td:last-child .btn{min-width:96px}.saheltech-media-page .dataTables_filter input{min-height:38px;border-radius:8px!important}
/* Projects uses light cards; keep global dark rules from making text unreadable. */
.projects-index{color:#12263f!important}.projects-index .projects-index-shell,.projects-index .projects-summary-card,.projects-index .project-card{background:#fff!important;color:#12263f!important}.projects-index .projects-index-shell{background:linear-gradient(180deg,#f7faff 0%,#eef4fb 100%)!important}.projects-index .projects-summary-value,.projects-index .project-card h3,.projects-index .project-card-title,.projects-index label{color:#12263f!important}.projects-index .projects-summary-label,.projects-index .project-card-label,.projects-index .text-muted,.projects-index small{color:#62758a!important}.projects-index .projects-hero,.projects-index .projects-hero-title,.projects-index .projects-hero-pill,.projects-index .projects-hero-stat-value{color:#fff!important}.projects-index .projects-hero-text,.projects-index .projects-hero-label,.projects-index .projects-hero-stat-title,.projects-index .projects-hero-stat-note{color:rgba(255,255,255,.78)!important}.projects-index .projects-hero{background:linear-gradient(135deg,#123c69 0%,#1a6985 52%,#2ca58d 100%)!important}
@media(max-width:767.98px){.saheltech-cms-page>.panel-hdr{align-items:flex-start;flex-direction:column;gap:10px}.saheltech-cms-page .panel-toolbar,.saheltech-cms-page .panel-toolbar .btn-group{width:100%}.saheltech-cms-page .panel-toolbar .btn{flex:1}.saheltech-cms-page .panel-content{padding:14px!important}.saheltech-cms-page .table thead{display:none}.saheltech-cms-list .table,.saheltech-cms-list .table tbody,.saheltech-cms-list .table tr,.saheltech-cms-list .table td{display:block;width:100%}.saheltech-cms-list .table tr{padding:10px 0;border-bottom:1px solid rgba(255,255,255,.07)}.saheltech-cms-list .table tr:last-child{border-bottom:0}.saheltech-cms-list .table td{padding:7px 12px!important;border:0!important;text-align:left!important}.saheltech-cms-list .table td:last-child{display:flex;flex-wrap:wrap;gap:7px}.saheltech-cms-list .table td:last-child .btn{flex:1}.saheltech-media-page{display:block}.saheltech-media-page>.col-md-4,.saheltech-media-page>.col-md-8{width:100%;max-width:none}.projects-index-content{padding:1rem!important}}
.saheltech-media-chooser .card{overflow:hidden;border:1px solid rgba(255,255,255,.08)!important;border-radius:14px!important}.saheltech-media-chooser .card-body{padding:18px}.saheltech-media-chooser h3{margin-bottom:15px;color:#fff!important}.saheltech-media-chooser .saheltech-media-thumb{width:86px;height:64px;object-fit:cover;border-radius:8px}
@media print{.saheltech-cms-page,.saheltech-media-page .panel{border:0!important;box-shadow:none!important}.saheltech-cms-page>.panel-hdr{background:#fff!important}.saheltech-cms-page>.panel-hdr .card-title,.saheltech-cms-page h4,.saheltech-cms-page label{color:#111827!important}.saheltech-cms-page .panel-toolbar{display:none!important}}

/* Site manager navigation and high-contrast states. */
.erp-sidebar .saheltech-site-manager>.nav-second-level,
.erp-sidebar .saheltech-site-manager>ul{margin:0 12px 10px!important;padding:8px!important;background:#08111a!important;border:1px solid rgba(255,255,255,.07)!important;border-radius:0 0 12px 12px!important;box-shadow:0 16px 30px rgba(0,0,0,.18)!important}
.erp-sidebar .saheltech-site-manager>ul>li>a{min-height:42px!important;padding:10px 14px!important;color:#9da9b8!important;background:transparent!important;border:0!important;border-radius:7px!important;font-size:.78rem!important}
.erp-sidebar .saheltech-site-manager>ul>li>a:hover{color:#fff!important;background:rgba(255,138,0,.1)!important;transform:none!important}
.saheltech-site-hub>.alert{margin-bottom:18px!important;padding:14px 17px!important;color:#f8d38a!important;background:rgba(245,158,11,.1)!important;border:1px solid rgba(245,158,11,.28)!important;border-radius:11px!important}.saheltech-site-hub>.alert i{margin-right:7px;color:#fbbf24}
.saheltech-site-hub-actions .btn-outline-primary{color:#ff9b24!important;background:rgba(255,138,0,.06)!important;border-color:rgba(255,138,0,.38)!important}.saheltech-site-hub-actions .btn-outline-primary:hover{color:#fff!important;background:#d85a00!important;border-color:#ff7800!important}
.saheltech-visual-editor-actions .btn-primary{min-height:40px;white-space:nowrap}.saheltech-preview-stage[data-device=desktop] iframe{width:100%!important}.saheltech-preview-toolbar button{appearance:none;-webkit-appearance:none}

/* Strong overrides for legacy sidebar and synchronized CMS blocks. */
body .page-sidebar.erp-sidebar li.saheltech-site-manager ul.nav.nav-second-level{display:block;margin:0 12px 12px!important;padding:8px!important;background:#08111a!important;background-image:none!important;border:1px solid rgba(255,255,255,.08)!important;border-top:0!important;border-radius:0 0 12px 12px!important}
body .page-sidebar.erp-sidebar li.saheltech-site-manager ul.nav.nav-second-level>li{margin:0!important;padding:0!important;background:transparent!important}
body .page-sidebar.erp-sidebar li.saheltech-site-manager ul.nav.nav-second-level>li>a{display:flex;align-items:center;min-height:43px!important;margin:0!important;padding:10px 14px!important;color:#9da9b8!important;background:transparent!important;background-image:none!important;border:0!important;border-radius:7px!important;box-shadow:none!important}
body .page-sidebar.erp-sidebar li.saheltech-site-manager ul.nav.nav-second-level>li>a:hover{color:#fff!important;background:rgba(255,138,0,.11)!important}
body .page-content .panel.saheltech-cms-editor .cms-sync-section{color:#dbe3ec!important;background:#0b141d!important;background-image:none!important;border:1px solid rgba(255,255,255,.09)!important;box-shadow:none!important}
body .page-content .panel.saheltech-cms-editor .cms-sync-section h5{color:#fff!important}
body .page-content .panel.saheltech-cms-editor .cms-sync-section p,
body .page-content .panel.saheltech-cms-editor .cms-sync-section li{color:#c5cfda!important}
.saheltech-cms-editor .cms-sync-gallery{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}.saheltech-cms-editor .cms-sync-image{min-width:0}.saheltech-cms-editor .cms-sync-image code{max-height:88px;overflow:auto;overflow-wrap:anywhere;word-break:break-word;font-size:.68rem;line-height:1.45;scrollbar-width:thin}
.saheltech-cms-editor>.panel-hdr{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px}.saheltech-cms-editor>.panel-hdr .panel-toolbar{margin-left:auto}@media(max-width:767.98px){.saheltech-cms-editor>.panel-hdr{align-items:flex-start!important}.saheltech-cms-editor>.panel-hdr .panel-toolbar{margin-left:0}}

/* CMS tables stay dark despite Bootstrap striped-table defaults. */
body .page-content .panel.saheltech-cms-page table.table tbody tr,
body .page-content .panel.saheltech-cms-page table.table tbody td{color:#dce4ed!important;background:#0b141d!important;background-image:none!important}
body .page-content .panel.saheltech-cms-page table.table tbody tr:nth-child(even) td{background:#0d1822!important}
body .page-content .panel.saheltech-cms-page table.table tbody tr:hover td{background:#111f2b!important}
body .page-content .panel.saheltech-cms-page table.table tbody td{border-color:rgba(255,255,255,.065)!important}
body .page-content .panel.saheltech-cms-page table.table tbody a:not(.btn){color:#ff9b24!important}
.saheltech-cms-page .btn-dark{color:#fff!important;background:#172431!important;border-color:#2b3b4c!important}.saheltech-cms-page .btn-dark:hover{background:#d85a00!important;border-color:#ff7800!important}
.saheltech-cms-page .btn-outline-secondary{color:#aeb9c6!important;background:transparent!important;border-color:#586574!important}.saheltech-cms-page .btn-outline-secondary:hover{color:#fff!important;background:#273543!important;border-color:#718092!important}
.saheltech-cms-editor .cms-edit-group{padding:18px;background:rgba(255,255,255,.018);border:1px solid rgba(255,255,255,.075);border-radius:12px}.saheltech-cms-editor .cms-sync-section{padding:18px!important}.saheltech-cms-editor .cms-sync-section+.cms-sync-section{margin-top:14px}.saheltech-cms-editor #btnSavePost{position:sticky;bottom:18px;z-index:8;display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;margin:22px 0 0 auto;padding:10px 20px;box-shadow:0 12px 30px rgba(255,107,0,.28)}@media(max-width:767.98px){.saheltech-cms-editor #btnSavePost{width:100%;bottom:10px}}

/* Media library: remove legacy white DataTables surfaces. */
body .page-content .saheltech-media-page .dataTables_wrapper{padding:0!important;color:#dce4ed!important;background:#0b141d!important;border-radius:11px!important}
body .page-content .saheltech-media-page table.table thead th{color:#aeb8c5!important;background:#08111a!important;border-color:rgba(255,255,255,.07)!important}
body .page-content .saheltech-media-page table.table tbody tr,
body .page-content .saheltech-media-page table.table tbody td{color:#dce4ed!important;background:#0b141d!important;background-image:none!important;border-color:rgba(255,255,255,.06)!important}
body .page-content .saheltech-media-page table.table tbody tr:nth-child(even) td{background:#0d1822!important}
body .page-content .saheltech-media-page table.table tbody tr:hover td{background:#111f2b!important}
.saheltech-media-page .saheltech-media-details{color:#b1bdca!important}.saheltech-media-page .saheltech-media-details strong{color:#f1f5f9!important}.saheltech-media-page .saheltech-media-details time{color:#8f9cab!important}
.saheltech-media-page .dataTables_length,.saheltech-media-page .dataTables_filter,.saheltech-media-page .dataTables_info,.saheltech-media-page .dataTables_paginate{padding:10px!important;color:#9eabb9!important;background:#0b141d!important}.saheltech-media-page .dataTables_filter input,.saheltech-media-page .dataTables_length select{color:#e7edf4!important;background:#08111a!important;border-color:#354454!important}
.saheltech-media-page .paginate_button{color:#aeb9c6!important;background:#111c27!important;border-color:#2d3c4c!important}.saheltech-media-page .paginate_button.current{color:#fff!important;background:#d85a00!important;border-color:#ff7800!important}
.erp-sidebar .saheltech-site-manager>ul>li.active>a,
body .page-sidebar.erp-sidebar li.saheltech-site-manager ul.nav.nav-second-level>li.active>a{color:#fff!important;background:rgba(255,138,0,.14)!important;box-shadow:inset 3px 0 0 #ff7800!important}
.saheltech-media-page>.col-md-4 .panel{position:sticky;top:86px;height:auto!important}.saheltech-media-page>.col-md-8 .panel{height:auto!important}@media(max-width:767.98px){.saheltech-media-page>.col-md-4 .panel{position:static}}

/* Subscriptions: align the legacy light component with the Sahel Tech dark UI. */
body .page-content .subscription-experience{--sub-ink:#f3f6f9;--sub-muted:#9aa7b6;--sub-line:rgba(255,255,255,.09);--sub-soft-line:rgba(255,255,255,.075);--sub-card:#0b141d;--sub-card-soft:linear-gradient(180deg,#0e1923,#09121a);--sub-accent:#ff8a00;--sub-accent-soft:rgba(255,138,0,.13);--sub-accent-strong:#ffad45;--sub-shadow:0 22px 52px rgba(0,0,0,.25);--sub-shadow-soft:0 12px 28px rgba(0,0,0,.2)}
body .page-content .subscription-experience .sub-shell{max-width:1440px;margin:2rem auto 4rem}
body .page-content .subscription-experience .sub-primary-btn{color:#fff!important;background:linear-gradient(105deg,#ff9b24,#ff7800 55%,#cf5100)!important;box-shadow:0 14px 30px rgba(255,120,0,.22)!important;border-radius:10px!important}
body .page-content .subscription-experience .sub-primary-btn:hover{box-shadow:0 17px 34px rgba(255,120,0,.3)!important}
body .page-content .subscription-experience .sub-filter-tab{color:#aeb9c6!important;background:#101b25!important;border-color:#2b3948!important}
body .page-content .subscription-experience .sub-filter-tab:hover{color:#fff!important;background:#172431!important;border-color:#526171!important}
body .page-content .subscription-experience .sub-filter-tab.is-active{color:#fff!important;background:rgba(255,138,0,.16)!important;border-color:rgba(255,138,0,.55)!important;box-shadow:inset 0 0 0 1px rgba(255,138,0,.08)}
body .page-content .subscription-experience .sub-table-shell{background:#0b141d!important;border-color:rgba(255,255,255,.085)!important;border-radius:14px!important;box-shadow:0 18px 42px rgba(0,0,0,.22)!important}
body .page-content .subscription-experience .sub-table-shell .dataTables_wrapper{padding:0!important;color:#dce4ed!important;background:#0b141d!important}
body .page-content .subscription-experience .sub-table-shell .dataTables_wrapper>.row{margin:0!important;padding:11px 12px;border-bottom:1px solid rgba(255,255,255,.065)}
body .page-content .subscription-experience .sub-table-shell .dataTables_wrapper>.row:last-child{border-top:1px solid rgba(255,255,255,.065);border-bottom:0}
body .page-content .subscription-experience .sub-table-shell table.table thead th{padding:13px 12px!important;color:#aeb8c5!important;background:#071018!important;border-color:rgba(255,255,255,.075)!important;white-space:normal}
body .page-content .subscription-experience .sub-table-shell table.table tbody tr,
body .page-content .subscription-experience .sub-table-shell table.table tbody td{color:#dce4ed!important;background:#0b141d!important;background-image:none!important;border-color:rgba(255,255,255,.06)!important}
body .page-content .subscription-experience .sub-table-shell table.table tbody tr:nth-child(even) td{background:#0d1822!important}
body .page-content .subscription-experience .sub-table-shell table.table tbody tr:hover td{background:#111f2b!important}
body .page-content .subscription-experience .dataTables_filter label{color:#9eabb9!important}
body .page-content .subscription-experience .dataTables_filter input{min-height:40px;color:#eef3f8!important;background:#071018!important;border:1px solid #334252!important;border-radius:8px!important}
body .page-content .subscription-experience .dataTables_info{color:#97a4b3!important}
body .page-content .subscription-experience .dt-buttons{display:flex;flex-wrap:wrap;gap:7px}
body .page-content .subscription-experience .dt-buttons .btn{margin:0!important;color:#dce4ed!important;background:#15212c!important;border:1px solid #334252!important;border-radius:7px!important}
body .page-content .subscription-experience .dt-buttons .btn:hover{color:#fff!important;background:#d85a00!important;border-color:#ff7800!important}
body .page-content .subscription-experience .dataTables_paginate .paginate_button{color:#aeb9c6!important;background:#111c27!important;border-color:#2d3c4c!important;border-radius:7px!important}
body .page-content .subscription-experience .dataTables_paginate .paginate_button.current{color:#fff!important;background:#d85a00!important;border-color:#ff7800!important}
body .page-content .subscription-experience .sub-chip{color:#d9e2ec!important;background:rgba(59,130,246,.12)!important;border-color:rgba(96,165,250,.18)!important}
body .page-content .subscription-experience .sub-status-success{color:#5ee6ad!important;background:rgba(16,185,129,.13)!important}
body .page-content .subscription-experience .sub-data-actions .btn{border-radius:7px!important}
@media(max-width:767.98px){body .page-content .subscription-experience .sub-shell{margin-top:1rem;padding:0}.subscription-experience .sub-toolbar{align-items:stretch}.subscription-experience .sub-primary-btn{width:100%}.subscription-experience .sub-filter-tabs{gap:7px}.subscription-experience .sub-filter-tab{flex:1 1 calc(50% - 7px)}body .page-content .subscription-experience .sub-table-shell .dataTables_wrapper>.row{padding:9px}.subscription-experience .sub-table-shell{overflow-x:auto}}

/* Projects portfolio: remove the isolated light canvas and restore brand continuity. */
body .page-content .subheader .subheader-title svg{margin-right:9px}body .page-content .subheader .subheader-title svg path,body .page-content .subheader .subheader-title svg rect:not(:first-child){fill:#ff8a00!important}
body .page-content .projects-index{--projects-ink:#f2f5f8;--projects-muted:#98a5b4;--projects-line:rgba(255,255,255,.08);--projects-card-shadow:0 18px 42px rgba(0,0,0,.24);--projects-shell:linear-gradient(180deg,#0c1620 0%,#08111a 100%);color:#dce4ed!important}
body .page-content .projects-index .projects-index-shell{overflow:hidden;color:#dce4ed!important;background:linear-gradient(180deg,#0d1721,#08111a)!important;border:1px solid rgba(255,255,255,.075)!important;border-radius:16px!important;box-shadow:0 22px 52px rgba(0,0,0,.22)!important}
body .page-content .projects-index .projects-index-content{padding:22px!important}
body .page-content .projects-index .projects-hero{background:radial-gradient(circle at 90% 5%,rgba(255,138,0,.18),transparent 24rem),linear-gradient(125deg,#101d29 0%,#123043 55%,#3e260f 100%)!important;border:1px solid rgba(255,138,0,.17)!important;border-radius:16px!important;box-shadow:0 20px 44px rgba(0,0,0,.24)!important}
body .page-content .projects-index .projects-hero-stat{background:rgba(4,13,21,.38)!important;border-color:rgba(255,255,255,.11)!important;border-radius:12px!important}
body .page-content .projects-index .projects-hero-actions .btn{border-radius:8px!important}body .page-content .projects-index .projects-hero-actions .btn-light{color:#fff!important;background:linear-gradient(105deg,#ff9b24,#ff7800)!important;border-color:#ff8a00!important}
body .page-content .projects-index .projects-summary-card,body .page-content .projects-index .project-card{color:#dce4ed!important;background:linear-gradient(155deg,#101a24,#0b141d)!important;border:1px solid rgba(255,255,255,.075)!important;border-radius:13px!important;box-shadow:0 14px 34px rgba(0,0,0,.2)!important}
body .page-content .projects-index .projects-summary-card:hover,body .page-content .projects-index .project-card:hover{border-color:rgba(255,138,0,.24)!important;box-shadow:0 18px 42px rgba(0,0,0,.28)!important}
body .page-content .projects-index .projects-summary-value,body .page-content .projects-index .project-card h3,body .page-content .projects-index .project-card-title,body .page-content .projects-index .project-card-title a,body .page-content .projects-index .projects-section-title{color:#f5f7fa!important}
body .page-content .projects-index .projects-summary-label,body .page-content .projects-index .project-card-label{color:#ffad45!important}
body .page-content .projects-index .projects-summary-note,body .page-content .projects-index .projects-section-text,body .page-content .projects-index .project-card-client,body .page-content .projects-index .project-card-summary{color:#98a5b4!important}
body .page-content .projects-index .projects-summary-icon{color:#ff9b24!important;background:rgba(255,138,0,.11)!important}
body .page-content .projects-index .projects-summary-progress,body .page-content .projects-index .project-card-progress{background:#1b2936!important}body .page-content .projects-index .projects-summary-progress>span,body .page-content .projects-index .project-card-progress>span{background:linear-gradient(90deg,#ff7800,#ffb347)!important}
body .page-content .projects-index .projects-filter-toolbar,body .page-content .projects-index .project-card-metric,body .page-content .projects-index .project-card-progress-wrap{color:#dce4ed!important;background:#08121b!important;border-color:rgba(255,255,255,.075)!important}
body .page-content .projects-index .projects-filter-input,body .page-content .projects-index .projects-filter-select{color:#e8edf3!important;background:#08111a!important;border-color:#354454!important}
body .page-content .projects-index .projects-filter-chip{color:#aeb9c6!important;background:#111c27!important;border-color:#2d3c4c!important}body .page-content .projects-index .projects-filter-chip.is-active{color:#fff!important;background:rgba(255,138,0,.16)!important;border-color:rgba(255,138,0,.5)!important}
body .page-content .projects-index .project-card-metric-label,body .page-content .projects-index .project-card-progress-label,body .page-content .projects-index .project-team-empty{color:#8997a7!important}body .page-content .projects-index .project-card-metric-value,body .page-content .projects-index .project-card-progress-value{color:#e8edf3!important}
@media(max-width:767.98px){body .page-content .projects-index .projects-index-content{padding:12px!important}body .page-content .projects-index .projects-hero{padding:20px!important}.projects-hero-title{font-size:1.75rem!important}.projects-hero-statgrid{grid-template-columns:1fr!important}}

/* Sidebar accordion: every module uses the same dark submenu surface. */
body .page-sidebar.erp-sidebar #clx-navigation-menu>li>ul.nav.nav-second-level{margin:0 12px 10px!important;padding:8px!important;background:#08111a!important;background-image:none!important;border:1px solid rgba(255,255,255,.075)!important;border-top:0!important;border-radius:0 0 12px 12px!important;box-shadow:0 14px 30px rgba(0,0,0,.2)!important}
body .page-sidebar.erp-sidebar #clx-navigation-menu>li>ul.nav.nav-second-level>li{margin:0!important;padding:0!important;background:transparent!important}
body .page-sidebar.erp-sidebar #clx-navigation-menu>li>ul.nav.nav-second-level>li>a{display:flex!important;align-items:center;min-height:41px!important;margin:0!important;padding:9px 14px!important;color:#9da9b8!important;background:transparent!important;background-image:none!important;border:0!important;border-radius:7px!important;box-shadow:none!important;font-size:.78rem!important;line-height:1.35!important}
body .page-sidebar.erp-sidebar #clx-navigation-menu>li>ul.nav.nav-second-level>li>a:hover{color:#fff!important;background:rgba(255,138,0,.1)!important}
body .page-sidebar.erp-sidebar #clx-navigation-menu>li>ul.nav.nav-second-level>li.active>a{color:#fff!important;background:rgba(255,138,0,.14)!important;box-shadow:inset 3px 0 0 #ff7800!important}
body .page-sidebar.erp-sidebar #clx-navigation-menu>li.open:not(.active)>a{color:#d5dde6!important;background:#101a24!important;box-shadow:none!important}

/* SahelTech Enterprise Design System v3 — canonical semantic tokens. */
:root,body[data-app-theme]{
  --st-color-canvas:#050b11;--st-color-surface:#0b141d;--st-color-surface-raised:#101b26;
  --st-color-border:rgba(255,255,255,.08);--st-color-border-strong:rgba(255,255,255,.14);
  --st-color-text:#f8fafc;--st-color-text-muted:#98a5b4;--st-color-brand:#ff8a00;
  --st-color-brand-strong:#ee6200;--st-color-success:#35d399;--st-color-warning:#f8b84e;
  --st-color-danger:#ff6474;--st-color-info:#58a6ff;
  --st-space-1:4px;--st-space-2:8px;--st-space-3:12px;--st-space-4:16px;
  --st-space-5:20px;--st-space-6:24px;--st-space-8:32px;--st-space-10:40px;
  --st-radius-sm:8px;--st-radius-md:12px;--st-radius-lg:16px;--st-radius-xl:22px;
  --st-shadow-sm:0 8px 22px rgba(0,0,0,.16);--st-shadow-md:0 18px 46px rgba(0,0,0,.24);
  --st-shadow-focus:0 0 0 3px rgba(255,138,0,.16);--st-motion-fast:160ms;
  --st-motion-base:240ms;--st-ease:cubic-bezier(.22,1,.36,1);--st-content-max:1540px;
}
.st-eyebrow{color:var(--st-color-brand);font-size:.66rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.st-surface{color:var(--st-color-text);background:linear-gradient(145deg,var(--st-color-surface-raised),var(--st-color-surface));border:1px solid var(--st-color-border);border-radius:var(--st-radius-lg);box-shadow:var(--st-shadow-sm)}
.st-stack{display:grid;gap:var(--st-space-4)}.st-cluster{display:flex;flex-wrap:wrap;align-items:center;gap:var(--st-space-3)}
.st-enterprise-rail{display:grid;grid-template-columns:minmax(190px,1.3fr) repeat(7,minmax(105px,1fr));gap:8px;width:min(var(--st-content-max),100%);margin:0 auto 16px;padding:9px;background:rgba(7,16,24,.72);border:1px solid var(--st-color-border);border-radius:var(--st-radius-lg);box-shadow:var(--st-shadow-sm);backdrop-filter:blur(16px)}
.st-enterprise-rail__intro{display:grid;align-content:center;padding:9px 11px}.st-enterprise-rail__intro>strong{font-size:.92rem}.st-enterprise-rail__intro>small{color:var(--st-color-text-muted);font-size:.64rem}
.st-enterprise-rail>a{display:flex;align-items:center;gap:9px;min-width:0;padding:10px;color:#dce4ed!important;background:rgba(255,255,255,.02);border:1px solid transparent;border-radius:10px;transition:transform var(--st-motion-fast) var(--st-ease),background var(--st-motion-fast),border-color var(--st-motion-fast)}
.st-enterprise-rail>a:hover{color:#fff!important;background:rgba(255,138,0,.08);border-color:rgba(255,138,0,.18);transform:translateY(-1px);text-decoration:none}.st-enterprise-rail>a>i{color:var(--st-color-brand);font-size:1rem}.st-enterprise-rail>a>span{display:grid;min-width:0;color:var(--st-color-text-muted);font-size:.62rem}.st-enterprise-rail>a strong{color:#fff;font-size:1.02rem;line-height:1.1}.st-enterprise-rail>a small{overflow:hidden;color:#7f8c9c;font-size:.56rem;text-overflow:ellipsis;white-space:nowrap}.st-enterprise-rail>a.has-alert{background:rgba(255,100,116,.07);border-color:rgba(255,100,116,.2)}.st-enterprise-rail>a.has-alert i,.st-enterprise-rail>a.has-alert small{color:var(--st-color-danger)}
@media(max-width:1399.98px){.st-enterprise-rail{grid-template-columns:repeat(4,minmax(0,1fr))}.st-enterprise-rail__intro{grid-column:span 4}}
@media(max-width:767.98px){.st-enterprise-rail{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:12px}.st-enterprise-rail__intro{grid-column:span 2}.st-enterprise-rail>a{min-height:58px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
/* ================================================================
   SahelTech POS — caisse lisible et cohérente avec le thème sombre
   ================================================================ */
.st-pos-screen {
    --st-pos-surface: #101a25;
    --st-pos-surface-raised: #14212e;
    --st-pos-surface-soft: #0b141d;
    --st-pos-border: rgba(148, 163, 184, 0.18);
    --st-pos-text: #f8fafc;
    --st-pos-muted: #9aa9ba;
}

.st-pos-screen > #ibox_form > .col-md-12 > .panel,
.st-pos-screen .panel-container,
.st-pos-screen .panel-content {
    background: transparent !important;
}

.st-pos-screen .panel-hdr {
    background: linear-gradient(135deg, #111c28, #0c151f) !important;
    border: 1px solid var(--st-pos-border) !important;
    border-radius: 16px 16px 0 0;
}

.st-pos-screen .panel-hdr h2,
.st-pos-screen label,
.st-pos-screen .form-label,
.st-pos-screen .pos_checkout_title,
.st-pos-screen .pos_advanced_heading {
    color: var(--st-pos-text) !important;
}

.st-pos-screen .pos_primary_controls,
.st-pos-screen .pos_invoice_details,
.st-pos-screen .pos_mode_banner,
.st-pos-screen .pos_checkout_card,
.st-pos-screen .pos_advanced_panel {
    color: var(--st-pos-text) !important;
    background: linear-gradient(145deg, rgba(20, 33, 46, 0.98), rgba(11, 20, 29, 0.98)) !important;
    border: 1px solid var(--st-pos-border) !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.st-pos-screen .pos_primary_controls {
    padding: 18px 18px 4px;
}

.st-pos-screen .pos_mode_banner {
    border-left: 3px solid #ff8500 !important;
}

.st-pos-screen .text-muted,
.st-pos-screen .help-block,
.st-pos-screen .pos_checkout_hint,
.st-pos-screen .pos_cart_preview_header_meta,
.st-pos-screen .pos_advanced_hint,
.st-pos-screen .pos_mode_hint {
    color: var(--st-pos-muted) !important;
    opacity: 1 !important;
}

.st-pos-screen .form-control,
.st-pos-screen .form-select,
.st-pos-screen .input-group-text,
.st-pos-screen .select2-selection,
.st-pos-screen .pos_primary_controls .bg-light {
    color: var(--st-pos-text) !important;
    background-color: #08121c !important;
    border-color: rgba(148, 163, 184, 0.22) !important;
}

.st-pos-screen .form-control::placeholder {
    color: #718096 !important;
    opacity: 1;
}

.st-pos-screen .form-control:focus,
.st-pos-screen .form-select:focus {
    border-color: #ff8500 !important;
    box-shadow: 0 0 0 3px rgba(255, 133, 0, 0.14) !important;
}

.st-pos-screen .pos_summary_metric,
.st-pos-screen .pos_tender_status,
.st-pos-screen .pos_checkout_customer,
.st-pos-screen .pos_cart_preview_summary,
.st-pos-screen .pos_cart_preview_empty,
.st-pos-screen .pos_cart_preview_item,
.st-pos-screen .pos_hold_card {
    color: var(--st-pos-text) !important;
    background: rgba(255, 255, 255, 0.045) !important;
    border-color: rgba(148, 163, 184, 0.16) !important;
}

.st-pos-screen .pos_summary_metric_total {
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.24), rgba(16, 185, 129, 0.18)) !important;
}

.st-pos-screen .pos_summary_metric span,
.st-pos-screen .pos_tender_status_label {
    color: var(--st-pos-muted);
    opacity: 1;
}

.st-pos-screen .pos_item {
    color: var(--st-pos-text) !important;
    background: linear-gradient(155deg, #172534, #101a25) !important;
    border-color: rgba(148, 163, 184, 0.18) !important;
}

.st-pos-screen .pos_item:hover,
.st-pos-screen .pos_item:focus-visible {
    border-color: #ff8500 !important;
    box-shadow: 0 14px 30px rgba(255, 122, 0, 0.15) !important;
}

.st-pos-screen .pos_item .pos_item_meta {
    color: var(--st-pos-muted);
    opacity: 1;
}

.st-pos-screen .pos_item .pos_item_price {
    color: #ff9a2e;
}

.st-pos-screen .btn-outline-secondary {
    color: #d7e0ea !important;
    border-color: rgba(148, 163, 184, 0.38) !important;
    background: rgba(255, 255, 255, 0.025) !important;
}

.st-pos-screen .btn-outline-secondary:hover,
.st-pos-screen .btn-outline-secondary:focus {
    color: #fff !important;
    border-color: #ff8500 !important;
    background: rgba(255, 133, 0, 0.14) !important;
}

.st-pos-screen .pos_quick_cash .btn {
    min-height: 48px;
    border-radius: 10px;
}

.st-pos-screen .pos_checkout_total_card {
    color: #fff !important;
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.22), rgba(16, 185, 129, 0.18)) !important;
    border-color: rgba(255, 154, 46, 0.32) !important;
}

.st-pos-screen .pos_catalog_panel #block_items:empty::after {
    content: "Aucun article à afficher";
    color: var(--st-pos-muted);
}

.st-pos-screen .alert-warning {
    color: #ffd899 !important;
    background: rgba(245, 158, 11, 0.12) !important;
    border-color: rgba(245, 158, 11, 0.3) !important;
}

@media (max-width: 991.98px) {
    .st-pos-screen .pos_primary_controls {
        padding: 14px 14px 2px;
    }

    .st-pos-screen .pos_sidebar_stack {
        position: static;
    }
}
