*{box-sizing:border-box}body{margin:0;background:#ecfaf4;font-family:Sellzy,Arial,sans-serif;color:#1b2631}.sellzy-app{display:flex;min-height:100vh}.sidebar{width:300px;background:#004f52;color:#fff;position:fixed;left:0;top:0;bottom:0;overflow:auto;z-index:10}.brand-row{height:94px;display:flex;align-items:center;padding:0 32px}.brand-logo img{width:128px}.sidebar-nav{padding:10px 22px 40px}.menu-heading{font-size:14px;letter-spacing:1.3px;color:#ffde35;font-weight:700;margin:28px 8px 14px;text-transform:uppercase}.menu-link{display:flex;align-items:center;gap:14px;color:#fff;text-decoration:none;padding:15px 14px;border-radius:10px;font-size:16px;font-weight:700;line-height:1.1}.menu-link.active,.menu-link:hover{background:#08736e}.menu-icon{width:24px;text-align:center;font-size:20px}.chev{margin-left:auto;font-size:20px}.submenu{display:none;margin-left:38px;padding:8px 0;border-left:2px solid rgba(255,255,255,.12)}.menu-block.open .submenu{display:block}.submenu-link{display:block;color:#fff;text-decoration:none;padding:10px 16px;font-size:15px;border-radius:8px}.submenu-link.active,.submenu-link:hover{background:rgba(255,255,255,.10)}.main-wrap{margin-left:300px;width:calc(100% - 300px);min-height:100vh}.topbar{height:94px;background:#fff;display:flex;align-items:center;padding:0 56px;gap:24px;position:sticky;top:0;z-index:9}.collapse-btn{width:44px;height:44px;border-radius:50%;border:2px solid #e6e8ec;background:#fff;font-size:36px;line-height:1;color:#1d2939;cursor:pointer}.search-box{height:52px;width:380px;border:1px solid #e5e7eb;border-radius:22px;background:#fafafa;display:flex;align-items:center;gap:10px;padding:0 18px}.search-box input{border:0;outline:0;background:transparent;width:100%;font-size:15px}.top-actions{margin-left:auto;display:flex;align-items:center;gap:20px}.flag{width:30px}.notice{position:relative;font-size:24px}.notice b{position:absolute;right:-8px;top:-8px;background:#ffba00;color:#111;font-size:12px;border-radius:50%;padding:2px 6px}.avatar{width:45px;height:45px;border-radius:50%;object-fit:cover}.profile{display:flex;flex-direction:column}.profile strong{font-size:18px}.profile small{font-size:14px}.page-content{padding:32px 40px 60px}.theme-card{background:#fff;border:1px solid #e6eaf0;border-radius:18px;padding:28px;margin-bottom:26px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px;margin-bottom:26px}.stat-card{border-radius:17px;padding:28px 30px;height:116px;display:flex;justify-content:space-between;align-items:flex-end}.stat-card h4{margin:0 0 12px;font-size:15px;font-weight:600;color:#334155}.stat-card .value{font-size:28px;font-weight:800;letter-spacing:2px}.stat-card .trend{background:#fff;border-radius:18px;padding:6px 12px;font-size:14px;font-weight:800}.bg-mint{background:#cfefed}.bg-yellow{background:#fff3a7}.bg-peach{background:#ffd9bf}.bg-pink{background:#fde8f6}.bg-blue{background:#cfe2ff}.bg-orange{background:#ffdea5}.bg-green{background:#cbf2b8}.bg-sky{background:#b6e4ff}.green{color:#008a65}.red{color:#d60030}.dashboard-grid{display:grid;grid-template-columns:2fr 1fr;gap:26px}.card-title{font-size:22px;font-weight:800;margin:0 0 8px}.muted{color:#667085}.order-status{display:grid;grid-template-columns:1.1fr 1fr;align-items:center}.legend-row{display:grid;grid-template-columns:22px 1fr 60px;align-items:center;gap:8px;margin:13px 0;font-size:16px}.dot{width:13px;height:13px;border-radius:50%}.pie{width:280px;height:280px;border-radius:50%;background:conic-gradient(#35d2c2 0 34%,#2f96e7 34% 48%,#fff252 48% 56%,#dd2b7b 56% 60%,#ff6a44 60% 67%,#8067e8 67% 72%,#d7003d 72% 80%,#006f69 80% 88%,#13a9dc 88% 100%)}.country-row{display:grid;grid-template-columns:42px 1fr 100px 80px;align-items:center;gap:10px;margin:28px 0}.country-row img{width:32px}.spark{width:90px;height:28px}.bar-chart{height:320px;display:flex;align-items:end;gap:34px;padding:25px 20px 0;border-bottom:1px solid #e5e7eb;background:repeating-linear-gradient(to top,#fff 0,#fff 49px,#eef1f5 50px)}.bar{width:30px;border-radius:9px 9px 0 0}.bar-label{text-align:center;margin-top:12px;color:#8a94a6}.bar-col{display:flex;flex-direction:column;align-items:center}.progress-row{margin:26px 0}.progress-head{display:flex;justify-content:space-between;font-size:16px;margin-bottom:14px}.progress-line{height:8px;background:#e7f4f3;border-radius:9px;overflow:hidden}.progress-line span{display:block;height:100%;border-radius:9px}.table-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.title{font-size:30px;font-weight:800;margin:0}.btn{display:inline-flex;align-items:center;gap:8px;border:0;border-radius:18px;background:#006f69;color:#fff;padding:11px 18px;font-weight:800;text-decoration:none;cursor:pointer}.btn-light{background:#f4f7fb;color:#111}.btn-red{background:#ffecef;color:#dd163b}.btn-yellow{background:#fff6d6;color:#a36d00}.data-table{width:100%;border-collapse:collapse;background:#fff;border-radius:18px;overflow:hidden}.data-table th,.data-table td{border-bottom:1px solid #edf0f4;padding:18px 22px;text-align:left;font-size:15px;vertical-align:middle}.data-table th{font-weight:800;color:#111}.thumb{width:48px;height:48px;border-radius:10px;object-fit:contain;background:#f6f7fa}.badge-success,.badge-warning,.badge-danger,.badge-soft{display:inline-flex;padding:7px 13px;border-radius:16px;font-size:13px;font-weight:800}.badge-success{background:#dff8ef;color:#00785d}.badge-warning{background:#fff5d9;color:#b77900}.badge-danger{background:#ffe7ee;color:#c40936}.badge-soft{background:#eef2f7;color:#344054}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.form-group label{display:block;font-weight:800;margin-bottom:9px}.form-control{width:100%;height:50px;border:1px solid #e5e7eb;border-radius:14px;padding:0 16px;background:#fff;font-size:15px}.form-control.textarea{height:120px;padding-top:14px}.full{grid-column:1/-1}.actions{display:flex;gap:12px;align-items:center;margin-top:22px}.alert{padding:14px 18px;border-radius:14px;margin-bottom:18px;background:#e3fff5;color:#006653;font-weight:800}.pagination{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}.pagination a{padding:10px 14px;border-radius:14px;background:#f4f7fb;text-decoration:none;color:#111}.pagination a.active{background:#c7f4e5}.mini-img{width:32px;height:22px;object-fit:cover;border-radius:2px}.sidebar-mini .sidebar{width:96px}.sidebar-mini .main-wrap{margin-left:96px;width:calc(100% - 96px)}.sidebar-mini .brand-logo img{width:54px}.sidebar-mini .menu-heading,.sidebar-mini .menu-link span:not(.menu-icon),.sidebar-mini .submenu{display:none}.sidebar-mini .menu-link{justify-content:center}@media(max-width:1100px){.stats-grid,.dashboard-grid{grid-template-columns:1fr}.sidebar{position:static;width:100%;height:auto}.main-wrap{margin-left:0;width:100%}.sellzy-app{display:block}.topbar{padding:20px;flex-wrap:wrap;height:auto}.search-box{width:100%}.form-grid{grid-template-columns:1fr}}

/* FINAL SIDEBAR EXACT THEME PATCH */
.sidebar{width:280px!important;background:#004f52!important;color:#fff!important;position:fixed!important;left:0!important;top:0!important;bottom:0!important;z-index:50!important;display:flex!important;flex-direction:column!important;overflow:visible!important;transition:width .3s ease!important}
.brand-row{height:70px!important;display:flex!important;align-items:center!important;gap:8px!important;position:relative!important;flex-shrink:0!important;padding:16px!important}
.brand-logo{display:flex!important;align-items:center!important;opacity:1!important;visibility:visible!important;transition:opacity .3s ease!important}.brand-logo img{width:114px!important;height:auto!important;max-width:none!important;display:block!important}.brand-icon{position:absolute!important;left:50%!important;transform:translateX(-50%)!important;display:flex!important;justify-content:center!important;align-items:center!important;opacity:0!important;visibility:hidden!important;transition:opacity .3s ease!important}.brand-icon img{width:32px!important;height:32px!important;max-width:none!important;display:block!important}.sidebar-toggle{position:absolute!important;right:-20px!important;top:50%!important;transform:translateY(-50%)!important;width:40px!important;height:40px!important;border:0!important;border-radius:999px!important;background:#fff!important;color:#344054!important;box-shadow:0 4px 10px rgba(16,24,40,.16)!important;display:flex!important;justify-content:center!important;align-items:center!important;z-index:60!important;cursor:pointer!important;transition:transform .3s ease!important}.sidebar-toggle svg{width:24px!important;height:24px!important}
.sidebar-nav{padding:16px 16px 40px!important;flex:1!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-gutter:stable!important}.custom-scrollbar-white::-webkit-scrollbar{width:6px!important}.custom-scrollbar-white::-webkit-scrollbar-track{background:transparent!important}.custom-scrollbar-white::-webkit-scrollbar-thumb{background:rgba(120,232,205,.78)!important;border-radius:999px!important}.custom-scrollbar-white::-webkit-scrollbar-thumb:hover{background:rgba(120,232,205,1)!important}.custom-scrollbar-white{scrollbar-width:thin!important;scrollbar-color:rgba(120,232,205,.78) transparent!important}
.menu-heading{font-size:12px!important;letter-spacing:1.9px!important;color:#ffde35!important;font-weight:700!important;margin:0 0 12px!important;padding:0 16px!important;text-transform:uppercase!important;white-space:nowrap!important;line-height:1.4!important}.menu-block{margin:0 0 4px!important}.menu-block + .menu-heading{margin-top:28px!important}.menu-link{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;color:#fff!important;text-decoration:none!important;padding:8px 12px!important;border-radius:8px!important;font-size:14px!important;font-weight:600!important;line-height:1.3!important;min-height:40px!important;transition:background .2s ease,color .2s ease!important}.menu-link:hover{background:rgba(255,255,255,.05)!important;color:#fff!important}.menu-block.open.has-children>.menu-link{background:#cdf8e5!important;color:#08786d!important}.menu-link.active{background:#08736e!important;color:#fff!important}.menu-icon{width:22px!important;height:22px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 22px!important;color:currentColor!important;font-size:0!important}.sz-icon{width:22px!important;height:22px!important;display:block!important;color:currentColor!important}.sz-icon-text{font-size:18px!important;line-height:1!important;color:currentColor!important;font-family:Arial,sans-serif!important}.menu-title{font-size:14px!important;font-weight:600!important;line-height:1.3!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;flex:1!important;color:currentColor!important}.chev{margin-left:0!important;width:16px!important;height:16px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;color:currentColor!important;flex:0 0 16px!important}.chev svg{width:16px!important;height:16px!important;transform:rotate(0deg)!important;transition:transform .2s ease!important}.menu-block.open .chev svg{transform:rotate(90deg)!important}.submenu{display:grid!important;grid-template-rows:0fr!important;opacity:0!important;margin:0!important;padding:0!important;border-left:0!important;transition:grid-template-rows .3s ease,opacity .3s ease,margin-top .3s ease!important;position:relative!important;overflow:hidden!important}.menu-block.open .submenu{grid-template-rows:1fr!important;opacity:1!important;margin-top:4px!important;overflow:visible!important}.submenu-line{position:absolute!important;left:30px!important;top:22px!important;bottom:22px!important;width:2px!important;background:rgba(152,162,179,.20)!important;z-index:0!important}.submenu-link{position:relative!important;display:block!important;text-decoration:none!important;color:#fff!important;padding:8px 8px 8px 50px!important;font-size:14px!important;font-weight:400!important;line-height:1.4!important;z-index:1!important;transition:color .2s ease!important;white-space:nowrap!important;border-radius:0!important;background:transparent!important;overflow:hidden!important}.submenu-link:hover,.submenu-link.active{color:#70d9c8!important;background:transparent!important}.submenu-dot{position:absolute!important;left:27px!important;top:14px!important;width:8px!important;height:8px!important;border-radius:999px!important;background:rgba(152,162,179,.25)!important;z-index:2!important}.submenu-link.active .submenu-dot{background:#70d9c8!important}.main-wrap{margin-left:280px!important;width:calc(100% - 280px)!important;min-height:100vh!important;transition:margin-left .3s ease,width .3s ease!important}.topbar{height:70px!important;background:#fff!important;display:flex!important;align-items:center!important;padding:0 56px!important;gap:24px!important;position:sticky!important;top:0!important;z-index:9!important}.page-content{padding:32px 40px 60px!important}body.sidebar-mini .sidebar{width:80px!important}body.sidebar-mini .main-wrap{margin-left:80px!important;width:calc(100% - 80px)!important}body.sidebar-mini .brand-logo{opacity:0!important;visibility:hidden!important}body.sidebar-mini .brand-icon{opacity:1!important;visibility:visible!important}body.sidebar-mini .sidebar-toggle{transform:translateY(-50%) rotate(180deg)!important}body.sidebar-mini .menu-heading,body.sidebar-mini .menu-title,body.sidebar-mini .chev,body.sidebar-mini .submenu{display:none!important}body.sidebar-mini .menu-link{justify-content:center!important;padding:10px 0!important}body.sidebar-mini .sidebar-nav{padding:16px 14px 40px!important}body.sidebar-mini .menu-icon{margin:0!important}@media(max-width:1100px){.sidebar{position:fixed!important;transform:translateX(-100%)!important}.main-wrap{margin-left:0!important;width:100%!important}.sellzy-app{display:block!important}.topbar{padding:20px!important;flex-wrap:wrap!important;height:auto!important}.search-box{width:100%!important}.form-grid{grid-template-columns:1fr!important}}


/* EXACT ORIGINAL SIDEBAR FROM sidebar.html - dynamic PHP render */
body{font-family:var(--font-public-sans),var(--font-urbanist),var(--font-dm-sans),Arial,sans-serif!important;background:#ecfaf4!important}.sellzy-app{display:block!important;min-height:100vh!important}.app-sidebar{width:280px!important;background:#04535c!important;color:#fff!important;overflow:visible!important}.app-sidebar .sidebar-scroll{height:calc(100vh - 70px)!important;padding:16px 16px 40px!important}.app-sidebar svg{display:block}.app-sidebar .size-5\.5{width:22px!important;height:22px!important}.app-sidebar .size-4{width:16px!important;height:16px!important}.app-sidebar .size-6{width:24px!important;height:24px!important}.app-sidebar a,.app-sidebar button{text-decoration:none!important}.app-sidebar .sidebar-section-heading{margin-top:28px!important;margin-bottom:12px!important}.app-sidebar .sidebar-section-heading:first-of-type{margin-top:0!important}.app-sidebar .text-warning-light{color:#ffe16a!important}.app-sidebar .bg-primary-dark{background:#056d6e!important}.app-sidebar .bg-primary-lighter{background:#caf8e4!important}.app-sidebar .text-primary{color:#088178!important}.app-sidebar .text-primary-light{color:#5ed9ba!important}.app-sidebar .sidebar-menu-block{margin-bottom:4px!important}.app-sidebar .sidebar-chevron{transition:transform .2s ease!important}.app-sidebar .sidebar-menu-block.is-open .sidebar-chevron{transform:rotate(90deg)!important}.custom-scrollbar-white::-webkit-scrollbar,.sidebar-scroll::-webkit-scrollbar{width:6px!important}.custom-scrollbar-white::-webkit-scrollbar-track,.sidebar-scroll::-webkit-scrollbar-track{background:transparent!important}.custom-scrollbar-white::-webkit-scrollbar-thumb,.sidebar-scroll::-webkit-scrollbar-thumb{background:#5ed9ba!important;border-radius:999px!important}.custom-scrollbar-white,.sidebar-scroll{scrollbar-width:thin!important;scrollbar-color:#5ed9ba transparent!important}.main-wrap{margin-left:280px!important;width:calc(100% - 280px)!important;min-height:100vh!important}.topbar{height:70px!important;background:#fff!important;display:flex!important;align-items:center!important;padding:0 56px!important;gap:24px!important;position:sticky!important;top:0!important;z-index:9!important}.page-content{padding:32px 40px 60px!important}body.sidebar-mini .app-sidebar{width:80px!important}body.sidebar-mini .main-wrap{margin-left:80px!important;width:calc(100% - 80px)!important}body.sidebar-mini .sidebar-logo-full{opacity:0!important;visibility:hidden!important}body.sidebar-mini .sidebar-logo-icon{opacity:1!important;visibility:visible!important}body.sidebar-mini #sidebar-collapse-btn{transform:translateY(-50%) rotate(180deg)!important}body.sidebar-mini .app-sidebar .sidebar-section-heading,body.sidebar-mini .app-sidebar span.font-medium,body.sidebar-mini .app-sidebar .sidebar-chevron,body.sidebar-mini .app-sidebar .sidebar-submenu-wrap{display:none!important}body.sidebar-mini .app-sidebar .sidebar-scroll{padding:16px 14px 40px!important}body.sidebar-mini .app-sidebar a.flex,body.sidebar-mini .app-sidebar button{justify-content:center!important;padding-left:0!important;padding-right:0!important}body.sidebar-mini .app-sidebar a.flex>svg,body.sidebar-mini .app-sidebar button svg:first-child{margin:0!important}@media(max-width:1100px){.app-sidebar{transform:translateX(-100%)!important}.main-wrap{margin-left:0!important;width:100%!important}.topbar{height:auto!important;padding:20px!important;flex-wrap:wrap!important}.search-box{width:100%!important}}

.page-head{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:18px}
.title-sm{font-size:18px;font-weight:700;color:#16213E;margin:0 0 8px}
.btn-light-danger{background:#fff2f2;color:#d92d20;border:1px solid #ffd5d2}
.compact-form{margin-top:0}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.form-grid .field{display:flex;flex-direction:column;gap:8px}.form-grid .field.full{grid-column:1/-1}.form-grid label{font-size:13px;font-weight:700;color:#16213E}.form-grid input,.form-grid select,.form-grid textarea{border:1px solid rgba(145,158,171,.25);background:#fff;border-radius:16px;padding:14px 16px;font-size:14px;color:#16213E;outline:none}.form-grid textarea{min-height:110px;resize:vertical}.cards-grid{display:grid;gap:20px}.cards-grid.two-col{grid-template-columns:repeat(2,minmax(0,1fr))}.soft-card{padding:22px}.actions-inline{display:flex;gap:10px;flex-wrap:wrap}.btn-sm{padding:8px 14px;border-radius:999px;font-size:13px;font-weight:700}.btn-light{background:#fff;border:1px solid rgba(145,158,171,.25);color:#16213E}.table-wrap{overflow:auto}.theme-table{width:100%;border-collapse:collapse}.theme-table th,.theme-table td{padding:14px 12px;border-bottom:1px solid rgba(145,158,171,.18);vertical-align:top;text-align:left}.theme-table th{font-size:13px;color:#6b7280;text-transform:uppercase;letter-spacing:.04em}.theme-table td{font-size:14px;color:#16213E}.alert{background:#ecfdf3;border:1px solid #b7ebc6;color:#067647;padding:12px 14px;border-radius:14px;margin:0 0 18px}.muted{color:#667085;font-size:13px}
@media (max-width: 992px){.form-grid,.cards-grid.two-col{grid-template-columns:1fr}}

.grid-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px}
.mini-card{background:#fff;border:1px solid rgba(145,158,171,.2);border-radius:24px;padding:18px;box-shadow:0 6px 20px rgba(16,24,40,.04)}
.mini-card h3{margin:14px 0 6px;font-size:18px;color:#22314f}
.form-grid{display:grid;gap:18px}.form-grid.two-col{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid .full{grid-column:1/-1}.form-field label{display:block;font-weight:700;color:#22314f;font-size:13px;margin:0 0 8px}.form-field input,.form-field textarea,.form-field select{width:100%;height:44px;padding:0 16px;border-radius:999px;border:1px solid rgba(145,158,171,.2);background:#fff;color:#22314f;font-size:14px;outline:none}.form-field textarea{height:auto;padding:12px 16px;border-radius:20px;resize:vertical}.form-actions{display:flex;justify-content:flex-end}.btn-outline{background:#fff;color:#22314f;border:1px solid rgba(145,158,171,.3)}
@media (max-width: 900px){.form-grid.two-col{grid-template-columns:1fr}}

/* FINAL ROUTE + HEADER THEME FIX */
:root{--sellzy-navy:#16213e;--sellzy-muted:#667085;--sellzy-border:rgba(145,158,171,.22);--sellzy-green:#04535c;--sellzy-accent:#5ed9ba;--sellzy-soft:#ecfaf4}
body{font-family:var(--font-public-sans),var(--font-urbanist),var(--font-dm-sans),Sellzy,Arial,sans-serif!important;color:var(--sellzy-navy)!important;background:var(--sellzy-soft)!important;font-size:14px!important;line-height:1.5!important}
.sellzy-topbar{height:70px!important;background:#fff!important;border-bottom:1px solid rgba(145,158,171,.08)!important;padding:0 56px!important;display:flex!important;align-items:center!important;gap:24px!important;box-shadow:none!important;z-index:20!important}
.sellzy-search{width:420px!important;max-width:42vw!important;height:52px!important;border:1px solid rgba(145,158,171,.18)!important;border-radius:24px!important;background:#fff!important;color:#1f2937!important;padding:0 18px!important;display:flex!important;align-items:center!important;gap:12px!important}
.sellzy-search input{font-size:14px!important;color:#1f2937!important;font-weight:400!important;line-height:1!important}.sellzy-search input::placeholder{color:#7b8494!important}.topbar-search-icon{width:20px!important;height:20px!important;color:#111827!important;flex:0 0 auto!important}.sellzy-top-actions{margin-left:auto!important;display:flex!important;align-items:center!important;gap:18px!important}.topbar-dropdown{position:relative!important;display:flex!important;align-items:center!important}.top-icon-btn,.profile-trigger{border:0!important;background:transparent!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;color:#0f172a!important;cursor:pointer!important;padding:0!important;position:relative!important}.top-icon-btn{width:34px!important;height:34px!important;border-radius:50%!important}.top-icon-btn:hover,.profile-trigger:hover{background:rgba(4,83,92,.06)!important}.top-icon-btn svg{width:24px!important;height:24px!important;display:block!important}.language-btn{width:auto!important;border-radius:12px!important;padding:4px 6px!important}.flag{width:32px!important;height:32px!important;border-radius:50%!important;object-fit:cover!important;display:block!important}.chevron-down{width:18px!important;height:18px!important;color:#111827!important;flex:0 0 auto!important}.top-badge{position:absolute!important;right:-5px!important;top:-7px!important;min-width:18px!important;height:18px!important;border-radius:999px!important;background:#f8bd00!important;color:#0b1220!important;font-size:11px!important;font-weight:800!important;line-height:18px!important;text-align:center!important;padding:0 4px!important}.top-badge-danger{background:#e40046!important;color:#fff!important}.avatar{width:44px!important;height:44px!important;border-radius:50%!important;object-fit:cover!important;display:block!important}.profile-trigger{height:52px!important;border-radius:14px!important;padding:4px 8px!important}.profile{display:flex!important;flex-direction:column!important;text-align:left!important;line-height:1.2!important}.profile strong{font-size:18px!important;font-weight:700!important;color:#0f172a!important;letter-spacing:0!important;line-height:1.2!important}.profile small{font-size:14px!important;font-weight:400!important;color:#0f172a!important;line-height:1.2!important;margin-top:2px!important}.topbar-menu{display:none!important;position:absolute!important;right:0!important;top:calc(100% + 12px)!important;min-width:170px!important;background:#fff!important;border:1px solid rgba(145,158,171,.18)!important;border-radius:16px!important;box-shadow:0 16px 45px rgba(16,24,40,.14)!important;padding:10px!important;z-index:100!important}.topbar-menu.is-open{display:block!important}.topbar-menu a,.topbar-menu strong{display:flex!important;align-items:center!important;gap:10px!important;padding:10px 12px!important;border-radius:12px!important;text-decoration:none!important;color:#16213e!important;font-size:14px!important;font-weight:600!important;white-space:nowrap!important}.topbar-menu a:hover{background:#f4f7fb!important}.topbar-menu img{width:22px!important;height:22px!important;border-radius:50%!important}.topbar-menu-wide{min-width:220px!important}.profile-menu{min-width:180px!important}
.page-content{color:#16213e!important}.theme-card{background:#fff!important;border:1px solid rgba(145,158,171,.16)!important;border-radius:22px!important;padding:28px!important;box-shadow:0 4px 22px rgba(16,24,40,.03)!important}.title{font-size:30px!important;font-weight:800!important;color:#16213e!important;letter-spacing:.2px!important;line-height:1.25!important}.card-title{font-size:22px!important;font-weight:800!important;color:#16213e!important;letter-spacing:.1px!important}.muted{color:#667085!important;font-size:14px!important;font-weight:400!important}.data-table th,.theme-table th{font-size:14px!important;font-weight:800!important;color:#16213e!important;text-transform:none!important;letter-spacing:0!important}.data-table td,.theme-table td{font-size:14px!important;color:#344054!important}.btn{font-size:14px!important;font-weight:800!important;border-radius:999px!important}.form-control,.form-grid input,.form-grid select,.form-grid textarea,.form-field input,.form-field textarea,.form-field select{font-family:inherit!important;font-size:14px!important;color:#16213e!important;border:1px solid rgba(145,158,171,.22)!important;background:#fff!important}.form-group label,.form-grid label,.form-field label{font-size:14px!important;color:#16213e!important;font-weight:800!important}.sidebar-scroll{scroll-behavior:auto!important}.app-sidebar a,.app-sidebar button{font-family:inherit!important}.app-sidebar .font-medium.text-sm{font-size:14px!important;font-weight:700!important}.app-sidebar .sidebar-section-heading{font-size:12px!important;font-weight:700!important;letter-spacing:1.9px!important;color:#ffe16a!important}.app-sidebar .relative.block{font-size:14px!important;font-weight:400!important;color:#fff!important}.app-sidebar .relative.block.text-primary-light{color:#5ed9ba!important}
@media(max-width:1100px){.sellzy-topbar{padding:16px 20px!important}.sellzy-search{width:100%!important;max-width:none!important}.sellzy-top-actions{width:100%!important;justify-content:flex-end!important;gap:12px!important}.profile strong{font-size:15px!important}.profile small{font-size:12px!important}}

/* EXACT HEADER + AUTO ROUTE FINAL FIX */
.sellzy-topbar{height:70px!important;background:#fff!important;border-bottom:1px solid rgba(145,158,171,.08)!important;padding:0 56px!important;display:flex!important;align-items:center!important;gap:24px!important;position:sticky!important;top:0!important;z-index:60!important;box-shadow:none!important}.sellzy-search{width:420px!important;max-width:42vw!important;height:52px!important;border:1px solid rgba(145,158,171,.18)!important;border-radius:24px!important;background:#fff!important;display:flex!important;align-items:center!important;gap:12px!important;padding:0 18px!important}.sellzy-search input{border:0!important;outline:0!important;background:transparent!important;width:100%!important;font-size:14px!important;font-weight:400!important;color:#667085!important}.topbar-search-icon{width:20px!important;height:20px!important;color:#111827!important}.sellzy-top-actions{margin-left:auto!important;display:flex!important;align-items:center!important;gap:18px!important}.topbar-dropdown{position:relative!important;display:flex!important;align-items:center!important}.top-icon-btn,.profile-trigger{border:0!important;background:transparent!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;color:#101828!important;cursor:pointer!important;position:relative!important;padding:0!important}.top-icon-btn{width:36px!important;height:36px!important;border-radius:50%!important}.top-icon-btn svg{width:24px!important;height:24px!important;display:block!important}.top-icon-btn:hover,.profile-trigger:hover{background:rgba(16,24,40,.04)!important}.language-btn{width:auto!important;border-radius:14px!important;padding:2px 5px!important}.flag{width:32px!important;height:32px!important;border-radius:50%!important;object-fit:cover!important;display:block!important}.chevron-down{width:18px!important;height:18px!important;color:#111827!important}.top-badge{position:absolute!important;right:-5px!important;top:-7px!important;min-width:18px!important;height:18px!important;border-radius:999px!important;background:#f8bd00!important;color:#101828!important;font-size:11px!important;font-weight:800!important;line-height:18px!important;text-align:center!important;padding:0 4px!important}.top-badge-danger{background:#e40046!important;color:#fff!important}.avatar{width:44px!important;height:44px!important;border-radius:50%!important;object-fit:cover!important;display:block!important}.profile-trigger{height:54px!important;border-radius:16px!important;padding:4px 8px!important}.profile{display:flex!important;flex-direction:column!important;text-align:left!important;line-height:1.2!important}.profile strong{font-size:17px!important;font-weight:700!important;color:#0f172a!important;letter-spacing:0!important;line-height:1.15!important}.profile small{font-size:13px!important;font-weight:400!important;color:#0f172a!important;line-height:1.2!important;margin-top:3px!important}.topbar-menu{display:none!important;position:absolute!important;right:0!important;top:calc(100% + 12px)!important;min-width:172px!important;background:#fff!important;border:1px solid rgba(145,158,171,.18)!important;border-radius:16px!important;box-shadow:0 18px 50px rgba(16,24,40,.14)!important;padding:10px!important;z-index:999!important}.topbar-menu.is-open{display:block!important}.topbar-menu a,.topbar-menu strong{display:flex!important;align-items:center!important;gap:10px!important;padding:10px 12px!important;border-radius:12px!important;text-decoration:none!important;color:#344054!important;font-size:14px!important;font-weight:500!important;white-space:nowrap!important}.topbar-menu a:hover{background:#f4f7fb!important}.topbar-menu img{width:22px!important;height:22px!important;border-radius:50%!important;object-fit:cover!important}.topbar-menu-wide{min-width:230px!important}.profile-menu{min-width:180px!important}.page-content{padding:32px 40px 60px!important;background:#ecfaf4!important}.theme-card{background:#fff!important;border:1px solid rgba(145,158,171,.16)!important;border-radius:22px!important;box-shadow:0 4px 22px rgba(16,24,40,.03)!important}.title{font-size:30px!important;line-height:1.25!important;font-weight:800!important;color:#16213e!important;letter-spacing:.2px!important}.card-title{font-size:22px!important;line-height:1.3!important;font-weight:800!important;color:#16213e!important}.muted{font-size:14px!important;color:#667085!important;font-weight:400!important}.app-sidebar .font-medium.text-sm{font-size:14px!important;font-weight:700!important}.app-sidebar .sidebar-section-heading{font-size:12px!important;font-weight:700!important;letter-spacing:1.9px!important;color:#ffe16a!important}.app-sidebar .relative.block{font-size:14px!important}.app-sidebar .flex.items-center.gap-3.py-2{min-height:46px!important}.app-sidebar .sidebar-menu-block>button{min-height:48px!important}.data-table th,.theme-table th{font-size:14px!important;font-weight:700!important;color:#16213e!important;text-transform:none!important;letter-spacing:0!important}.data-table td,.theme-table td{font-size:14px!important;color:#344054!important}.form-control,.form-grid input,.form-grid select,.form-grid textarea,.form-field input,.form-field textarea,.form-field select{font-size:14px!important;color:#16213e!important}.btn{font-size:14px!important;font-weight:800!important}@media(max-width:1100px){.sellzy-topbar{padding:16px 20px!important;height:auto!important;flex-wrap:wrap!important}.sellzy-search{width:100%!important;max-width:none!important}.sellzy-top-actions{width:100%!important;justify-content:flex-end!important;gap:12px!important}.profile strong{font-size:15px!important}.profile small{font-size:12px!important}}
/* Homepage manager refinement */
.homepage-manager{padding:36px!important}
.hm-alert{margin-bottom:22px!important}
.hm-manager-head{align-items:flex-start!important;border-bottom:1px solid rgba(145,158,171,.16);padding-bottom:24px;margin-bottom:22px}
.hm-manager-head .title{font-size:34px!important}
.hm-open-store{white-space:nowrap}
.hm-section-tabs{position:sticky;top:86px;z-index:8;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border:1px solid rgba(145,158,171,.16);border-radius:999px;padding:8px;margin:0 0 26px!important;box-shadow:0 10px 30px rgba(16,24,40,.05)}
.hm-section-tabs .btn{box-shadow:none!important}
.hm-section-card{padding:34px!important;border-radius:28px!important;background:linear-gradient(180deg,#fff 0%,#fbfdfc 100%)!important}
.hm-section-head,.hm-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:22px}
.hm-section-head .title-sm{font-size:22px!important;margin-bottom:6px}
.hm-editor-card{margin-top:22px!important;padding:0!important;overflow:hidden;border-radius:26px!important}
.hm-editor-head{padding:24px 28px 0;margin-bottom:16px}
.hm-editor-head .title-sm{font-size:20px!important;margin-bottom:4px}
.hm-preview-card{margin:0 28px 24px;min-height:170px;border-radius:22px;background-color:#f3f7fb;background-size:cover;background-position:center;background-repeat:no-repeat;padding:28px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;box-shadow:inset 0 0 0 1px rgba(16,24,40,.04)}
.hm-preview-hero{min-height:210px;background-size:contain;background-position:right center;background-color:#8ebdd1}
.hm-preview-card span{font-size:13px;font-weight:800;margin-bottom:8px}
.hm-preview-card strong{display:block;max-width:56%;font-size:32px;line-height:1.12;font-weight:800;letter-spacing:0}
.hm-preview-card small{display:block;max-width:58%;font-size:15px;line-height:1.5;margin-top:10px}
.hm-editor-card .form-grid{padding:0 28px 28px}
.hm-color-field .form-control[type=color]{height:52px;padding:6px;border-radius:16px;cursor:pointer}
.hm-color-field .form-control[type=color]::-webkit-color-swatch-wrapper{padding:0}
.hm-color-field .form-control[type=color]::-webkit-color-swatch{border:0;border-radius:12px}
.hm-section-card .theme-card:not(.hm-editor-card){border-radius:22px!important}
.homepage-manager .actions-inline:last-child{position:sticky;bottom:18px;z-index:8;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border:1px solid rgba(145,158,171,.16);border-radius:999px;padding:10px;box-shadow:0 16px 45px rgba(16,24,40,.12)}
@media(max-width:900px){.homepage-manager{padding:24px!important}.hm-section-tabs,.homepage-manager .actions-inline:last-child{border-radius:22px}.hm-preview-card strong,.hm-preview-card small{max-width:100%}.hm-preview-card{margin:0 18px 20px}.hm-editor-card .form-grid{padding:0 18px 22px}}

/* Blog management image preview */
.blog-image-preview-field{min-height:100%}
.blog-image-preview{height:120px;border:1px dashed rgba(145,158,171,.35);border-radius:18px;background:#f8fafc;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#667085;font-size:13px;font-weight:700}
.blog-image-preview img{width:100%;height:100%;object-fit:cover;display:block}
.blog-image-preview.is-filled{border-style:solid;background:#fff}

/* Sidebar manager */
.sidebar-manager{padding:34px!important}.sidebar-manager-head{align-items:flex-start!important}.sidebar-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0}.sidebar-stats div{border:1px solid rgba(145,158,171,.16);border-radius:18px;padding:18px;background:#f8fbfb}.sidebar-stats strong{display:block;font-size:28px;line-height:1;font-weight:800;color:#04535c}.sidebar-stats span{display:block;margin-top:8px;color:#667085;font-size:14px}.sidebar-manager-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.8fr);gap:20px}.sidebar-form-card,.sidebar-help-card{margin:0!important}.sidebar-help-list{display:grid;gap:14px}.sidebar-help-list div{border:1px solid rgba(145,158,171,.16);border-radius:16px;padding:14px;background:#fbfdfc}.sidebar-help-list strong,.sidebar-help-list span{display:block}.sidebar-help-list strong{font-size:14px;color:#16213e}.sidebar-help-list span{font-size:13px;color:#667085;margin-top:5px}.sidebar-alert-danger{background:#fff2f2!important;border-color:#ffd5d2!important;color:#d92d20!important}.sidebar-tree-card{padding:0!important;overflow:hidden}.sidebar-tree-table{border-radius:0!important}.sidebar-tree-table th{background:#fbf9ff!important}.sidebar-tree-table td{vertical-align:middle!important}.sidebar-parent-row.is-open td{background:#fbfffd}.sidebar-child-row{display:none;background:#fbfdff}.sidebar-child-row.is-visible{display:table-row}.sidebar-child-row td{border-bottom-color:rgba(94,217,186,.18)!important}.sidebar-expand-btn{width:40px;height:40px;border:1px solid rgba(115,103,240,.18);border-radius:10px;background:#fff;color:#7367f0;font-size:28px;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .2s ease,background .2s ease}.sidebar-expand-btn.is-open{transform:rotate(90deg);background:#f4f1ff}.sidebar-expand-placeholder{display:inline-block;width:40px;height:40px}.sidebar-mini-badge{margin-left:8px;padding:5px 9px!important;border-radius:8px!important;font-size:12px!important}.sidebar-child-indent{display:inline-flex;align-items:center;gap:8px;color:#667085;font-size:13px}.sidebar-child-indent:before{content:"";width:24px;height:1px;background:#5ed9ba;display:inline-block}.sidebar-tree-table .actions-inline{gap:8px}.sidebar-tree-table .btn-sm{white-space:nowrap}
@media(max-width:1100px){.sidebar-manager-grid,.sidebar-stats{grid-template-columns:1fr}.sidebar-manager{padding:24px!important}}

/* Permission-master style sidebar manager */
.sidebar-manager-page{padding:36px!important}.permission-style-head{align-items:flex-start!important;margin-bottom:22px}.permission-style-head .actions-inline{justify-content:flex-end}.btn-outline{background:#fff!important;color:#16213e!important;border:1px solid rgba(145,158,171,.28)!important}.permission-style-stats{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:26px!important}.permission-tree-card{border:1px solid rgba(145,158,171,.18);border-radius:8px;overflow:auto;background:#fff}.permission-style-table{border-radius:0!important}.permission-style-table th{background:#fbf9ff!important;border-bottom:1px solid #dfe5f2!important;font-size:14px!important}.permission-style-table td{border-bottom:1px solid #edf0f4!important;vertical-align:middle!important}.permission-parent-row{background:#f8f7ff!important;cursor:pointer}.permission-parent-row>td{border-top:1px solid #dfe5f2!important;border-bottom:1px solid #dfe5f2!important}.permission-parent-toggle{width:40px;height:40px;border:1px solid rgba(115,103,240,.18);border-radius:10px;background:#fff;color:#7367f0;font-size:28px;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s ease}.permission-parent-toggle span{display:block;transform:rotate(90deg);transition:transform .15s ease}.permission-parent-row.is-collapsed .permission-parent-toggle span{transform:rotate(0deg)}.permission-child-row.is-hidden{display:none}.permission-child-page{padding-left:44px!important;position:relative}.permission-child-page:before{content:"";position:absolute;left:18px;top:50%;width:18px;height:1px;background:#5ed9ba}.sidebar-section-note{display:block;margin-top:7px!important}.sidebar-modal{position:fixed;inset:0;display:none;align-items:flex-start;justify-content:center;background:rgba(15,23,42,.45);z-index:1000;padding:7vh 24px 40px;overflow:auto}.sidebar-modal.is-open{display:flex}.sidebar-modal-panel{width:min(720px,100%);background:#fff;border-radius:18px;border:1px solid rgba(145,158,171,.18);box-shadow:0 24px 70px rgba(16,24,40,.22);padding:24px}.sidebar-modal-wide{width:min(1120px,100%)}.sidebar-modal-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.sidebar-modal-close{width:36px;height:36px;border:0;border-radius:999px;background:#f4f7fb;color:#16213e;font-size:24px;line-height:1;cursor:pointer}.sidebar-modal-actions{margin-bottom:16px}.sidebar-modal-footer{margin-top:22px!important;justify-content:flex-end}.sidebar-modal .table-wrap{max-height:58vh;overflow:auto}.sidebar-mini-badge{vertical-align:middle}.permission-style-table code{background:#f4f7fb;border-radius:8px;padding:4px 8px;color:#344054}
@media(max-width:900px){.sidebar-manager-page{padding:24px!important}.permission-style-stats{grid-template-columns:1fr}.sidebar-modal{padding:24px 14px}.sidebar-modal-panel{padding:18px}.permission-style-head .actions-inline{justify-content:flex-start}}

/* Match HNS admin dashboard typography */
body,
button,
input,
select,
textarea,
.app-sidebar,
.sellzy-topbar,
.page-content{
  font-family:'Poppins',sans-serif!important;
  font-size:14px!important;
  line-height:1.5!important;
  font-weight:400!important;
}

.app-sidebar .font-medium.text-sm,
.app-sidebar .sidebar-menu-block>button,
.app-sidebar a.flex{
  font-size:14px!important;
  font-weight:500!important;
}

.app-sidebar .sidebar-section-heading{
  font-size:11px!important;
  font-weight:700!important;
  letter-spacing:.08em!important;
}

.app-sidebar .relative.block{
  font-size:13px!important;
  font-weight:500!important;
}

.sellzy-search input,
.topbar-menu a,
.topbar-menu strong,
.btn,
.form-control,
.form-grid input,
.form-grid select,
.form-grid textarea,
.form-field input,
.form-field textarea,
.form-field select,
.form-group label,
.form-grid label,
.form-field label{
  font-size:14px!important;
}

.profile strong{
  font-size:15px!important;
  font-weight:700!important;
}

.profile small,
.muted{
  font-size:12px!important;
}

.title{
  font-size:24px!important;
  font-weight:700!important;
  letter-spacing:0!important;
}

.card-title{
  font-size:18px!important;
  font-weight:700!important;
  line-height:1.55!important;
  letter-spacing:0!important;
}

.title-sm,
.mini-card h3,
.hm-section-head .title-sm,
.hm-editor-head .title-sm{
  font-size:18px!important;
  font-weight:700!important;
}

.stat-card h4{
  font-size:14px!important;
  font-weight:600!important;
  line-height:1.4!important;
  letter-spacing:0!important;
  color:#495057!important;
}

.stat-card .value{
  font-family:"DM Sans","DM Sans Fallback",Arial,sans-serif!important;
  font-size:24px!important;
  font-weight:700!important;
  letter-spacing:0!important;
  line-height:1.333!important;
  color:#212529!important;
}

.stat-card .trend,
.badge-success,
.badge-warning,
.badge-danger,
.badge-soft,
.btn-sm{
  font-size:12px!important;
  font-weight:700!important;
}

.stat-card .trend{
  line-height:1!important;
  padding:8px 10px!important;
}

.legend-row,
.progress-head,
.country-row{
  font-size:14px!important;
}

.legend-row strong,
.country-row strong{
  font-size:14px!important;
  font-weight:600!important;
}

.data-table th,
.theme-table th{
  font-size:11px!important;
  font-weight:700!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  color:#64748b!important;
}

.data-table td,
.theme-table td{
  font-size:14px!important;
  color:#0f172a!important;
}

.bar-label,
.sidebar-help-list span,
.sidebar-child-indent{
  font-size:12px!important;
}

@media(max-width:1100px){
  .profile strong{font-size:15px!important}
  .profile small{font-size:12px!important}
}

/* HNS admin weight normalization across all routed admin pages */
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.theme-card h1,
.theme-card h2,
.theme-card h3,
.theme-card h4,
.mini-card h3,
.title,
.title-sm,
.card-title{
  font-family:'Poppins',sans-serif!important;
  font-weight:700!important;
}

.theme-card strong,
.data-table strong,
.theme-table strong,
.country-row strong,
.legend-row strong,
.progress-head strong,
.sidebar-stats strong{
  font-weight:700!important;
}

/* CKEditor content fields */
.cke_chrome{
  border:1px solid rgba(145,158,171,.24)!important;
  border-radius:16px!important;
  overflow:hidden!important;
  box-shadow:none!important;
}

/* Backend sidebar logo hardening */
.app-sidebar{
  position:fixed!important;
  left:0!important;
  top:0!important;
  bottom:0!important;
  height:100vh!important;
  display:flex!important;
  flex-direction:column!important;
  flex-shrink:0!important;
  transition:width .3s ease!important;
}
.app-sidebar > .p-4.flex.items-center.relative.gap-2.shrink-0.h-\[70px\]{
  height:70px!important;
  padding:16px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  position:relative!important;
  flex-shrink:0!important;
}
.sidebar-logo-full{
  display:inline-flex!important;
  align-items:center!important;
  max-width:170px!important;
  opacity:1!important;
  visibility:visible!important;
  transition:opacity .3s ease,visibility .3s ease!important;
}
.sidebar-logo-full img{
  display:block!important;
  width:auto!important;
  max-width:150px!important;
  height:40px!important;
  max-height:40px!important;
  object-fit:contain!important;
}
.sidebar-logo-icon{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  transform:translate(-50%,-50%)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:40px!important;
  height:40px!important;
  opacity:0!important;
  visibility:hidden!important;
  transition:opacity .3s ease,visibility .3s ease!important;
}
.sidebar-logo-icon img{
  display:block!important;
  width:32px!important;
  height:32px!important;
  max-width:32px!important;
  max-height:32px!important;
  object-fit:contain!important;
}
#sidebar-collapse-btn{
  position:absolute!important;
  right:-20px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:40px!important;
  height:40px!important;
  border:0!important;
  border-radius:999px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}

/* Match the reference admin sidebar without depending on Tailwind utilities. */
.app-sidebar .sidebar-scroll{
  height:calc(100vh - 70px)!important;
  padding:16px 16px 40px!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
}
.app-sidebar a,
.app-sidebar button{
  font-family:'Poppins',sans-serif!important;
  text-decoration:none!important;
}
.app-sidebar .sidebar-scroll > a.flex,
.app-sidebar .sidebar-parent-toggle{
  width:100%!important;
  min-height:46px!important;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  padding:8px 16px!important;
  margin-bottom:4px!important;
  border:0!important;
  border-radius:8px!important;
  background:transparent!important;
  color:#fff!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.35!important;
  text-align:left!important;
  cursor:pointer!important;
  box-shadow:none!important;
}
.app-sidebar .sidebar-scroll > a.flex:hover,
.app-sidebar .sidebar-parent-toggle:hover{
  background:rgba(255,255,255,.05)!important;
  color:#fff!important;
}
.app-sidebar .sidebar-scroll > a.flex.bg-primary-dark,
.app-sidebar .sidebar-scroll > a.flex.active{
  background:#056d6e!important;
  color:#fff!important;
}
.app-sidebar .sidebar-parent-toggle.bg-primary-lighter,
.app-sidebar .sidebar-menu-block.is-open > .sidebar-parent-toggle{
  background:#caf8e4!important;
  color:#088178!important;
}
.app-sidebar .sidebar-parent-toggle > .flex{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  min-width:0!important;
}
.app-sidebar .sidebar-scroll > a.flex > svg,
.app-sidebar .sidebar-parent-toggle svg:first-child,
.app-sidebar .sidebar-parent-toggle > .flex > span:first-child{
  flex:0 0 22px!important;
  width:22px!important;
  height:22px!important;
  color:currentColor!important;
}
.app-sidebar .sidebar-scroll > a.flex > span,
.app-sidebar .sidebar-parent-toggle .font-medium{
  min-width:0!important;
  color:currentColor!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.35!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.app-sidebar .sidebar-section-heading{
  margin:28px 0 12px!important;
  padding:0 16px!important;
  color:#ffe16a!important;
  font-size:11px!important;
  font-weight:700!important;
  line-height:1.4!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
}
.app-sidebar .sidebar-section-heading:first-of-type{
  margin-top:0!important;
}
.app-sidebar .sidebar-submenu-wrap{
  display:grid!important;
  overflow:hidden!important;
}
.app-sidebar .sidebar-menu-block.is-open .sidebar-submenu-wrap{
  margin-top:4px!important;
}
.app-sidebar .sidebar-submenu-wrap .relative.block{
  display:block!important;
  padding:8px 8px 8px 50px!important;
  border-radius:0!important;
  background:transparent!important;
  color:#fff!important;
  font-size:14px!important;
  font-weight:500!important;
  line-height:1.4!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.app-sidebar .sidebar-submenu-wrap .relative.block:hover,
.app-sidebar .sidebar-submenu-wrap .relative.block.text-primary-light{
  color:#5ed9ba!important;
}
.app-sidebar .sidebar-submenu-wrap .absolute.left-\[30px\]{
  left:30px!important;
  top:22px!important;
  bottom:22px!important;
  width:2px!important;
  background:rgba(152,162,179,.20)!important;
}
.app-sidebar .sidebar-submenu-wrap .absolute.left-\[27px\]{
  left:27px!important;
  top:14px!important;
  width:8px!important;
  height:8px!important;
  border-radius:999px!important;
}
.app-sidebar .sidebar-chevron{
  flex:0 0 16px!important;
  width:16px!important;
  height:16px!important;
  margin-left:auto!important;
  color:currentColor!important;
  transition:transform .2s ease!important;
}
.app-sidebar .sidebar-menu-block.is-open .sidebar-chevron{
  transform:rotate(90deg)!important;
}

.cke_top{
  border-bottom:1px solid rgba(145,158,171,.16)!important;
  background:#f8fbfb!important;
}

.cke_bottom{
  border-top:1px solid rgba(145,158,171,.16)!important;
  background:#fff!important;
}

.cke_editable{
  font-family:'Poppins',Arial,sans-serif!important;
  color:#16213e!important;
  font-size:14px!important;
  line-height:1.7!important;
}

.cke_notification_warning{
  display:none!important;
}

/* Unified CMS pages workspace */
.cms-workspace{
  padding:32px!important;
}

.cms-workspace-head{
  align-items:flex-start!important;
}

.cms-page-tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  border:1px solid rgba(145,158,171,.16);
  border-radius:20px;
  background:#fbfdfc;
  padding:10px;
  margin:8px 0 24px;
}

.cms-page-tab{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:42px;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid transparent;
  color:#16213e;
  background:#fff;
  text-decoration:none;
  font-weight:700;
  box-shadow:0 4px 14px rgba(16,24,40,.04);
}

.cms-page-tab.is-active{
  background:#056d6e;
  color:#fff;
}

.cms-page-tab.is-active .badge-success,
.cms-page-tab.is-active .badge-warning{
  background:rgba(255,255,255,.18);
  color:#fff;
}

.cms-page-tab-new{
  border-color:rgba(8,129,120,.24);
  color:#088178;
}

.cms-page-detail{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:22px;
  align-items:start;
}

.cms-page-main,
.cms-page-side,
.cms-empty-state{
  border:1px solid rgba(145,158,171,.16);
  border-radius:22px;
  background:#fff;
  padding:24px;
}

.cms-page-preview{
  min-height:260px;
  color:#344054;
  font-size:15px;
  line-height:1.8;
}

.cms-page-preview h1,
.cms-page-preview h2,
.cms-page-preview h3,
.cms-page-preview h4,
.cms-page-preview p,
.cms-page-preview ul,
.cms-page-preview ol,
.cms-page-preview blockquote,
.cms-page-preview table{
  margin-top:0;
  margin-bottom:14px;
}

.cms-page-preview ul,
.cms-page-preview ol{
  padding-left:24px;
}

.cms-page-preview table{
  width:100%;
  border-collapse:collapse;
}

.cms-page-preview th,
.cms-page-preview td{
  border:1px solid rgba(145,158,171,.24);
  padding:10px;
}

.cms-page-side{
  display:grid;
  gap:14px;
}

.cms-seo-row{
  border:1px solid rgba(145,158,171,.14);
  border-radius:16px;
  padding:14px;
  background:#fbfdfc;
}

.cms-seo-row span{
  display:block;
  color:#667085;
  font-size:12px;
  font-weight:700;
  margin-bottom:6px;
}

.cms-seo-row strong,
.cms-seo-row p,
.cms-seo-row code{
  margin:0;
  color:#16213e;
  font-size:14px;
  font-weight:700;
}

.cms-empty-state{
  text-align:center;
  padding:44px;
}

@media(max-width:1000px){
  .cms-page-detail{grid-template-columns:1fr}
}

.btn,
.form-group label,
.form-grid label,
.form-field label,
.data-table th,
.theme-table th,
.badge-success,
.badge-warning,
.badge-danger,
.badge-soft{
  font-weight:600!important;
}

.stat-card .value,
.sidebar-stats strong,
.hm-preview-card strong{
  font-family:"DM Sans","DM Sans Fallback",Arial,sans-serif!important;
  font-weight:700!important;
}

.data-table,
.theme-table,
.form-grid,
.form-field,
.actions,
.pagination,
.theme-card,
.mini-card,
.alert{
  font-family:'Poppins',sans-serif!important;
}

html,
body,
.sellzy-app{
  max-width:100%!important;
  overflow-x:hidden!important;
}

.main-wrap{
  max-width:calc(100vw - 280px)!important;
  overflow-x:hidden!important;
}

body.sidebar-mini .main-wrap{
  max-width:calc(100vw - 80px)!important;
}

.page-content{
  max-width:100%!important;
  overflow-x:hidden!important;
}

/* Header/footer link editors */
.footer-link-groups{
  display:grid;
  grid-template-columns:1fr;
  gap:22px;
  min-width:0;
}

.footer-control,
.footer-control form,
.footer-control form > div{
  max-width:100%!important;
  min-width:0!important;
}

.footer-control form > div{
  grid-template-columns:minmax(180px,220px) minmax(0,1fr)!important;
}

.footer-control form > div > aside,
.footer-control form > div > div{
  min-width:0!important;
}

.footer-control .soft-card,
.footer-link-groups .soft-card{
  padding:24px!important;
}

.footer-control .table-wrap,
.footer-link-groups .table-wrap{
  overflow-x:auto;
}

.footer-control .theme-table,
.footer-link-groups .theme-table{
  min-width:0;
  table-layout:fixed;
}

.footer-control .theme-table th:nth-child(1),
.footer-link-groups .theme-table th:nth-child(1){
  width:22%;
}

.footer-control .theme-table th:nth-child(2),
.footer-link-groups .theme-table th:nth-child(2){
  width:48%;
}

.footer-control .theme-table th:nth-child(3),
.footer-link-groups .theme-table th:nth-child(3){
  width:16%;
}

.footer-control .theme-table th:nth-child(4),
.footer-link-groups .theme-table th:nth-child(4){
  width:14%;
}

.footer-control .theme-table .form-control,
.footer-link-groups .theme-table .form-control{
  width:100%!important;
  min-width:0!important;
  height:52px!important;
  border-radius:16px!important;
}

@media(max-width:1280px){
  .footer-control form > div{
    grid-template-columns:1fr!important;
  }
  .footer-control form > div > aside{
    border-right:0!important;
    border-bottom:1px solid rgba(145,158,171,.22)!important;
    padding-right:0!important;
    padding-bottom:14px!important;
  }
}

/* Compact product list filter */
.product-filter-card{
  padding:18px 22px!important;
  margin-bottom:24px!important;
}

.product-filter-grid{
  grid-template-columns:minmax(220px,1.35fr) repeat(3,minmax(150px,1fr))!important;
  gap:12px 16px!important;
  align-items:end!important;
}

.product-filter-grid .form-group{
  min-width:0!important;
}

.product-filter-grid .form-group label{
  margin-bottom:5px!important;
  font-size:12px!important;
  line-height:1.25!important;
}

.product-filter-grid .form-control{
  height:42px!important;
  border-radius:12px!important;
  padding:0 14px!important;
}

.product-filter-grid .actions{
  grid-column:auto!important;
  align-self:end!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  margin-top:0!important;
}

.product-filter-grid .actions .btn{
  min-height:42px!important;
  padding:9px 15px!important;
  border-radius:16px!important;
  white-space:nowrap!important;
}

@media(max-width:1300px){
  .product-filter-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  .product-filter-grid .actions{
    grid-column:1/-1!important;
  }
}

@media(max-width:820px){
  .product-filter-card{
    padding:16px!important;
  }
  .product-filter-grid{
    grid-template-columns:1fr!important;
  }
}

/* Earnings page */
.earning-stats-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}

.earning-stat-card{
  min-height:124px!important;
  height:auto!important;
}

.earning-card{
  border-radius:22px!important;
}

.earning-head{
  align-items:flex-start!important;
  border-bottom:1px solid rgba(145,158,171,.14);
  padding-bottom:18px;
}

.earning-toolbar{
  display:grid;
  grid-template-columns:minmax(260px,1fr) minmax(170px,220px) minmax(150px,180px);
  gap:14px;
  align-items:center;
  margin:20px 0;
}

.earning-search{
  height:48px;
  border:1px solid rgba(145,158,171,.24);
  border-radius:16px;
  background:#fbfdfc;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 16px;
  min-width:0;
}

.earning-search-icon{
  position:relative;
  width:17px;
  height:17px;
  border:2px solid #667085;
  border-radius:999px;
  flex:0 0 17px;
}

.earning-search-icon:after{
  content:"";
  position:absolute;
  width:8px;
  height:2px;
  right:-6px;
  bottom:-4px;
  background:#667085;
  border-radius:2px;
  transform:rotate(45deg);
}

.earning-search input{
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  color:#16213e;
  font-size:14px;
  min-width:0;
}

.earning-toolbar .form-control{
  height:48px!important;
  border-radius:16px!important;
  color:#16213e!important;
}

.earning-table th,
.earning-table td{
  white-space:nowrap;
}

.earning-empty{
  padding:28px 16px;
  text-align:center;
  color:#667085;
  font-weight:700;
  border-bottom:1px solid rgba(145,158,171,.18);
}

.earning-table-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  margin-top:18px;
}

.earning-table-footer .muted{
  margin:0;
}

.earning-pagination{
  margin-top:0!important;
}

.earning-pagination button{
  min-width:38px;
  min-height:38px;
  border:1px solid rgba(145,158,171,.22);
  border-radius:12px;
  background:#fff;
  color:#16213e;
  font-weight:700;
  cursor:pointer;
}

.earning-pagination button.active{
  background:#056d6e;
  border-color:#056d6e;
  color:#fff;
}

.earning-pagination button:disabled{
  opacity:.45;
  cursor:not-allowed;
}

@media(max-width:1100px){
  .earning-stats-grid,
  .earning-toolbar{
    grid-template-columns:1fr!important;
  }
}

.admin-summary-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:22px!important;
  margin-bottom:26px!important;
}

.admin-summary-card{
  min-height:118px!important;
  height:auto!important;
  align-items:flex-end!important;
  border-radius:18px!important;
  padding:24px!important;
}

.admin-summary-card h4{
  margin:0 0 10px!important;
  font-size:14px!important;
  font-weight:800!important;
  color:#344054!important;
}

.admin-summary-card .value{
  font-size:26px!important;
  font-weight:800!important;
  letter-spacing:0!important;
  color:#16213e!important;
  line-height:1.15!important;
}

.admin-summary-card .trend{
  background:#fff!important;
  border-radius:999px!important;
  padding:6px 11px!important;
  font-size:12px!important;
  font-weight:800!important;
  white-space:nowrap!important;
}

.admin-table-controls{
  display:grid!important;
  grid-template-columns:minmax(240px,1fr) minmax(150px,190px) minmax(145px,175px) auto!important;
  gap:12px!important;
  align-items:center!important;
  margin:22px 0 18px!important;
}

.admin-table-search{
  height:48px!important;
  border:1px solid rgba(145,158,171,.2)!important;
  border-radius:999px!important;
  background:#fff!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  padding:0 16px!important;
}

.admin-table-search svg{
  width:19px!important;
  height:19px!important;
  color:#344054!important;
  flex:0 0 auto!important;
}

.admin-table-search input{
  border:0!important;
  outline:0!important;
  background:transparent!important;
  width:100%!important;
  font:inherit!important;
  font-size:14px!important;
  color:#16213e!important;
}

.admin-status-filter,
.admin-page-size{
  height:48px!important;
  border-radius:999px!important;
}

.admin-table-footer{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  margin-top:18px!important;
}

.admin-table-footer .muted{
  margin:0!important;
}

.admin-table-pagination{
  margin:0!important;
  justify-content:flex-end!important;
}

.admin-table-pagination button{
  border:1px solid rgba(145,158,171,.22)!important;
  background:#fff!important;
  color:#16213e!important;
  border-radius:999px!important;
  padding:9px 13px!important;
  font-weight:800!important;
  cursor:pointer!important;
}

.admin-table-pagination button.active{
  background:#c7f4e5!important;
  border-color:#9eeacb!important;
}

.admin-table-pagination button:disabled{
  opacity:.45!important;
  cursor:not-allowed!important;
}

@media(max-width:1100px){
  .admin-summary-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .admin-table-controls{
    grid-template-columns:1fr 1fr!important;
  }
  .admin-table-controls .admin-table-search{
    grid-column:1/-1!important;
  }
  .admin-table-footer{
    align-items:flex-start!important;
    flex-direction:column!important;
  }
}

@media(max-width:640px){
  .admin-summary-grid,
  .admin-table-controls{
    grid-template-columns:1fr!important;
  }
  .admin-table-controls .btn{
    justify-content:center!important;
    width:100%!important;
  }
}

/* Backend search and sidebar interaction fixes */
.sellzy-search{
  margin:0!important;
}

.app-sidebar .sidebar-submenu-wrap{
  display:grid!important;
  grid-template-rows:0fr!important;
  opacity:0!important;
  margin-top:0!important;
  overflow:hidden!important;
  transition:grid-template-rows .25s ease,opacity .25s ease,margin-top .25s ease!important;
}

.app-sidebar .sidebar-menu-block.is-open .sidebar-submenu-wrap{
  grid-template-rows:1fr!important;
  opacity:1!important;
  margin-top:4px!important;
}

.app-sidebar .sidebar-submenu-wrap>div{
  min-height:0!important;
}
