
:root{--ink:#10162f;--primary:#5b5ce2;--violet:#7c3aed;--bg:#f5f7fb;--card:#fff;--muted:#667085;--line:#e5e7ef;--green:#16a34a;--red:#dc2626;--orange:#f59e0b}
*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;background:var(--bg);color:#151923}button,input,select{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}
.top{background:var(--ink);color:#dbe1ff;text-align:center;font-size:11px;padding:8px}.nav{height:74px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:20px;padding:0 5%;position:sticky;top:0;z-index:60}.logo{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,var(--primary),var(--violet));color:#fff;font-weight:900;box-shadow:0 10px 25px #5b5ce233}.brand{display:flex;align-items:center;gap:10px;white-space:nowrap}.brand b{font-size:14px}.brand small{display:block;color:#98a2b3;font-size:9px;letter-spacing:1px;margin-top:2px}.search{flex:1;max-width:610px;position:relative}.search input{width:100%;padding:12px 43px 12px 15px;border:1px solid var(--line);border-radius:12px;background:#f8f9fc;outline:none;font-size:11px}.search span{position:absolute;right:14px;top:10px}.navlinks{display:flex;gap:18px;font-size:11px;font-weight:800;color:#475467}.actions{display:flex;gap:8px;margin-left:auto}.iconbtn{border:1px solid var(--line);background:#fff;border-radius:11px;padding:10px 12px;position:relative}.count{position:absolute;right:-6px;top:-7px;background:#ef4444;color:#fff;border-radius:20px;padding:3px 6px;font-size:8px}.adminbtn{background:var(--ink);color:#fff;border:0;border-radius:11px;padding:11px 14px;font-size:10px;font-weight:800}
.hero{background:linear-gradient(120deg,#0b1023,#202c68 55%,#4c1d95);color:#fff;padding:65px 7%;display:grid;grid-template-columns:1.1fr .9fr;gap:45px;align-items:center}.eyebrow{color:#c8c7ff;font-size:10px;letter-spacing:2px;font-weight:900}.hero h1{font-size:clamp(40px,6vw,70px);line-height:1;margin:14px 0}.hero p{max-width:650px;color:#d7dced;line-height:1.7;font-size:14px}.heroBtns{display:flex;gap:10px;margin-top:24px}.btn{border:0;border-radius:11px;padding:12px 18px;font-size:11px;font-weight:900}.btnwhite{background:#fff;color:#20275c}.btntrans{background:#ffffff10;border:1px solid #ffffff25;color:#fff}.heroPanel{border:1px solid #ffffff20;background:#ffffff0c;border-radius:24px;padding:17px;backdrop-filter:blur(14px);box-shadow:0 30px 70px #0005}.heroPanel img{width:100%;height:330px;object-fit:contain;border-radius:16px;background:#fff}.heroTag{display:flex;justify-content:space-between;margin-top:12px;font-size:11px}.heroTag b{font-size:15px}
.container{max-width:1280px;margin:auto;padding:45px 5%}.head{text-align:center;margin-bottom:24px}.head h2{margin:0 0 7px;font-size:28px}.head p{margin:0;color:var(--muted);font-size:11px}.cats{display:flex;gap:9px;overflow:auto;padding-bottom:5px;margin-bottom:22px}.cat{white-space:nowrap;border:1px solid var(--line);background:#fff;border-radius:10px;padding:9px 14px;font-size:10px;font-weight:800}.cat.active{background:var(--ink);color:#fff;border-color:var(--ink)}
.products{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.product{background:#fff;border:1px solid var(--line);border-radius:17px;overflow:hidden;box-shadow:0 8px 30px #10182808;transition:.2s}.product:hover{transform:translateY(-4px);box-shadow:0 15px 40px #10182814}.pic{height:205px;background:#f7f8fb;display:grid;place-items:center;overflow:hidden;position:relative}.pic img{width:100%;height:100%;object-fit:contain}.tag{position:absolute;left:10px;top:10px;background:#fff;border-radius:8px;padding:5px 8px;font-size:8px;font-weight:900;color:var(--primary);box-shadow:0 5px 15px #0001}.pbody{padding:14px}.pbody small{color:var(--muted);font-size:9px}.pbody h3{font-size:13px;margin:6px 0;min-height:31px}.price{font-weight:900;font-size:17px}.stock{color:var(--green);font-size:9px;margin-top:4px}.buyrow{display:flex;gap:7px;margin-top:12px}.buyrow button{flex:1;border:0;border-radius:9px;padding:9px;font-size:9px;font-weight:900}.add{background:#eef0ff;color:#4c45c9}.buy{background:var(--ink);color:#fff}
.features{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.feature{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px}.feature b{display:block;margin:10px 0 6px;font-size:13px}.feature p{color:var(--muted);font-size:10px;line-height:1.6;margin:0}
.banner{background:linear-gradient(120deg,#111936,#42207d);color:#fff;border-radius:22px;padding:35px;display:flex;justify-content:space-between;align-items:center;gap:20px}.banner h2{margin:0 0 7px}.banner p{margin:0;color:#cdd3e6;font-size:11px}
footer{background:var(--ink);color:#aeb7ce;padding:35px 6%;font-size:10px}.foot{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}.foot h3{color:#fff;font-size:13px}.foot p{line-height:1.8}

.drawer{position:fixed;inset:0;background:#070b16a8;z-index:100;display:none}.drawer.open{display:block}.cartbox{position:absolute;right:0;top:0;height:100%;width:min(440px,100%);background:#fff;padding:20px;overflow:auto;box-shadow:-20px 0 60px #0003}.carthead{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:15px}.cartitem{display:grid;grid-template-columns:60px 1fr auto;gap:10px;padding:14px 0;border-bottom:1px solid var(--line)}.cartitem img{width:60px;height:60px;object-fit:contain;background:#f7f8fb;border-radius:9px}.cartitem h4{margin:3px 0;font-size:11px}.cartitem small{color:var(--muted);font-size:9px}.qty{display:flex;align-items:center;gap:6px;margin-top:6px}.qty button{width:23px;height:23px;border:1px solid var(--line);background:#fff;border-radius:6px}.summary{padding-top:15px}.sumrow{display:flex;justify-content:space-between;margin:9px 0;font-size:11px}.total{font-size:17px;font-weight:900;border-top:1px solid var(--line);padding-top:12px}.checkout{width:100%;background:var(--ink);color:#fff;border:0;padding:13px;border-radius:11px;font-weight:900;margin-top:10px}.empty{text-align:center;color:var(--muted);padding:60px 10px;font-size:12px}
.modal{position:fixed;inset:0;background:#060a15c9;z-index:200;display:none;place-items:center;padding:16px}.modal.show{display:grid}.modalbox{background:#fff;width:min(460px,100%);border-radius:20px;padding:24px;max-height:90vh;overflow:auto}.close{float:right;border:0;background:#f1f2f6;width:32px;height:32px;border-radius:8px}.field{margin:11px 0}.field label{display:block;font-size:9px;font-weight:900;margin-bottom:5px}.field input,.field textarea,.field select{width:100%;padding:10px;border:1px solid var(--line);border-radius:9px;font-size:11px;outline:none}.checkoutgrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.full{grid-column:1/-1}.notice{background:#f5f6ff;color:#4c45c9;border-radius:10px;padding:10px;font-size:9px;line-height:1.5}.error{color:var(--red);font-size:10px;display:none;margin-top:7px}

#admin{display:none}.side{position:fixed;left:0;top:0;bottom:0;width:245px;background:linear-gradient(180deg,#0b1020,#111831);color:#fff;padding:18px 14px;z-index:250}.side a{display:block;color:#cbd1e2;padding:11px;border-radius:9px;font-size:10px;font-weight:800;margin:2px 0}.side a.active,.side a:hover{background:#ffffff12;color:#fff}.side label{display:block;color:#727e9b;font-size:8px;letter-spacing:1.5px;margin:18px 10px 7px}.side .exit{position:absolute;bottom:18px;left:14px;right:14px;border:1px solid #ffffff14;background:#ffffff09;color:#fff;border-radius:9px;padding:10px}.adminmain{margin-left:245px;min-height:100vh}.adminbar{height:68px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 25px}.admincontent{padding:25px}.view{display:none}.view.active{display:block}.adminhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.adminhead h2{margin:0;font-size:21px}.adminhead p{margin:4px 0;color:var(--muted);font-size:10px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.stat{background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px}.stat small{font-size:9px;color:var(--muted)}.stat b{display:block;font-size:22px;margin:7px 0}.panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px;margin-top:13px}.panel h3{font-size:12px;margin:0 0 14px}.adminGrid{display:grid;grid-template-columns:1.5fr 1fr;gap:13px}.bars{height:220px;display:flex;align-items:end;gap:9px;border-bottom:1px solid var(--line);padding:10px}.bars i{flex:1;background:linear-gradient(#7778ef,#5b5ce2);border-radius:6px 6px 0 0}.tablewrap{overflow:auto}.table{width:100%;border-collapse:collapse;min-width:650px}.table th,.table td{padding:10px;border-bottom:1px solid var(--line);text-align:left;font-size:10px}.table th{font-size:8px;color:#98a2b3;text-transform:uppercase}.pill{font-size:8px;padding:4px 7px;border-radius:20px;font-weight:900}.ok{background:#ecfdf3;color:#15803d}.warn{background:#fffbeb;color:#b45309}.bad{background:#fef2f2;color:#b91c1c}.adminform{display:grid;grid-template-columns:1fr 1fr;gap:12px}.adminform input,.adminform select{width:100%;padding:10px;border:1px solid var(--line);border-radius:9px;font-size:10px}.adminform label{display:block;font-size:9px;font-weight:900;margin-bottom:5px}.mobilemenu{display:none}
@media(max-width:1050px){.products{grid-template-columns:repeat(3,1fr)}.features{grid-template-columns:repeat(2,1fr)}.navlinks{display:none}.hero{grid-template-columns:1fr}.adminGrid{grid-template-columns:1fr}}
@media(max-width:760px){.nav{padding:0 12px}.brand small{display:none}.search{display:none}.hero{padding:50px 6%}.heroPanel{display:none}.products{grid-template-columns:repeat(2,1fr)}.pic{height:170px}.banner{display:block}.banner .btn{margin-top:17px}.side{transform:translateX(-100%);transition:.2s}.side.open{transform:none}.adminmain{margin-left:0}.mobilemenu{display:block;border:1px solid var(--line);background:#fff;border-radius:8px;padding:8px}.admincontent{padding:15px 12px}.stats{grid-template-columns:repeat(2,1fr)}.adminform{grid-template-columns:1fr}.full{grid-column:auto}.foot{grid-template-columns:1fr 1fr}}
@media(max-width:450px){.products{grid-template-columns:1fr 1fr}.product h3{font-size:12px}.price{font-size:15px}.features{grid-template-columns:1fr}.foot{grid-template-columns:1fr}.hero h1{font-size:42px}}

/* ===== PREMIUM ERNA GRAFIKA UPGRADE ===== */
.hero{position:relative;overflow:hidden;isolation:isolate}
.hero:before,.hero:after{content:"";position:absolute;border-radius:50%;filter:blur(2px);opacity:.22;z-index:-1}
.hero:before{width:420px;height:420px;right:-120px;top:-160px;background:#8b5cf6;box-shadow:0 0 100px #8b5cf6}
.hero:after{width:300px;height:300px;left:-120px;bottom:-170px;background:#22d3ee;box-shadow:0 0 90px #22d3ee}
.heroPanel{transform:translateY(0);transition:.35s}
.heroPanel:hover{transform:translateY(-6px)}
.heroPanel img{box-shadow:0 18px 55px #0003}
.eyebrow{display:inline-flex;padding:7px 11px;border:1px solid #ffffff2a;border-radius:99px;background:#ffffff0d}
.hero h1{letter-spacing:-2.5px}
.market-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:25px}
.market-stat{border:1px solid #ffffff18;background:#ffffff0a;border-radius:14px;padding:13px}
.market-stat b{display:block;font-size:16px;color:#fff}.market-stat span{font-size:8px;color:#aeb8d3}
.promo-strip{margin-top:-22px;position:relative;z-index:10;padding:0 5%}
.promo-inner{max-width:1180px;margin:auto;background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:0 15px 45px #10182810;display:grid;grid-template-columns:repeat(3,1fr);overflow:hidden}
.promo-item{padding:15px 18px;display:flex;align-items:center;gap:11px;border-right:1px solid var(--line)}.promo-item:last-child{border-right:0}
.promo-item b{font-size:10px}.promo-item span{display:block;color:var(--muted);font-size:8px;margin-top:3px}
.section{scroll-margin-top:95px}
.product{position:relative}.product:after{content:"";position:absolute;inset:0;border-radius:17px;pointer-events:none;box-shadow:inset 0 0 0 1px #ffffff00;transition:.2s}.product:hover:after{box-shadow:inset 0 0 0 1px #5b5ce233}
.feature{transition:.2s}.feature:hover{transform:translateY(-3px);box-shadow:0 14px 35px #1018280c}
.adminmain{background:#f4f6fb}.adminbar{box-shadow:0 3px 18px #10182808}
.side{box-shadow:12px 0 40px #0002}.side a{transition:.18s}.side a.active{background:linear-gradient(90deg,#ffffff16,#ffffff05);border-left:3px solid #8b8ff5;padding-left:8px}
.side label{margin-top:16px}
.kpi{background:linear-gradient(135deg,#fff,#f7f8ff)}
.hrline{height:1px;background:var(--line);margin:15px 0}
.avatar{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(135deg,#5b5ce2,#8b5cf6);color:#fff;font-weight:900}
.admincard-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.mini-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px}.mini-card small{color:var(--muted);font-size:8px}.mini-card b{display:block;font-size:18px;margin-top:6px}
.actionbar{display:flex;gap:8px;flex-wrap:wrap}
.actionbar .btn{padding:9px 13px}
@media(max-width:760px){.market-stats{grid-template-columns:repeat(2,1fr)}.promo-inner{grid-template-columns:1fr}.promo-item{border-right:0;border-bottom:1px solid var(--line)}.promo-item:last-child{border-bottom:0}.admincard-grid{grid-template-columns:1fr}}


/* ===== ERP PREMIUM SETTINGS ===== */
.settings-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.settings-tab{border:1px solid var(--line);background:#fff;border-radius:10px;padding:9px 13px;font-size:9px;font-weight:900}
.settings-tab.active{background:var(--ink);color:#fff;border-color:var(--ink)}
.switch{position:relative;display:inline-block;width:42px;height:23px}.switch input{display:none}.slider{position:absolute;inset:0;background:#d0d5dd;border-radius:30px;cursor:pointer}.slider:before{content:"";position:absolute;width:17px;height:17px;left:3px;top:3px;background:#fff;border-radius:50%;transition:.2s}.switch input:checked+.slider{background:#5b5ce2}.switch input:checked+.slider:before{transform:translateX(19px)}
.color-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.theme-card{border:1px solid var(--line);border-radius:14px;background:#fff;padding:12px;cursor:pointer}.theme-card:hover{box-shadow:0 12px 28px #10182812}.theme-preview{height:52px;border-radius:10px;margin-bottom:8px}.theme-card b{font-size:10px}.theme-card small{display:block;color:var(--muted);font-size:8px;margin-top:3px}
.sales-switch{display:flex;gap:7px;margin-bottom:12px}.sales-switch button{border:1px solid var(--line);background:#fff;border-radius:9px;padding:9px 14px;font-size:9px;font-weight:900}.sales-switch button.active{background:var(--ink);color:#fff}
.receipt-box{background:#fafbff;border:1px dashed #cbd1e2;border-radius:12px;padding:14px;margin-top:12px}.receipt-box b{font-size:18px}.user-badge{font-size:8px;padding:4px 7px;border-radius:20px;background:#eef0ff;color:#4c45c9;font-weight:900}
@media(max-width:760px){.color-grid{grid-template-columns:repeat(2,1fr)}}


/* ===== SIDEBAR MENU RAPID & PREMIUM ===== */
.sidebar .menu-group{margin:0 10px 16px}
.sidebar .menu-group label{display:block;padding:7px 12px 6px;font-size:8px;letter-spacing:1.4px;font-weight:900;color:#98a2b3}
.sidebar .menu-group a{display:flex;align-items:center;gap:10px;min-height:38px;padding:9px 12px;margin:2px 0;border-radius:10px;color:#344054;text-decoration:none;font-size:10px;font-weight:750;transition:.18s ease}
.sidebar .menu-group a:hover{background:#f2f4f7;color:var(--ink);transform:translateX(2px)}
.sidebar .menu-group a.active,.sidebar .menu-group a[aria-current="page"]{background:var(--ink);color:#fff;box-shadow:0 6px 16px rgba(16,24,40,.12)}
.sidebar{overflow-y:auto;scrollbar-width:thin}
.sidebar::-webkit-scrollbar{width:5px}.sidebar::-webkit-scrollbar-thumb{background:#d0d5dd;border-radius:10px}
@media(max-width:760px){
  .sidebar .menu-group{margin-bottom:12px}
  .sidebar .menu-group a{min-height:40px;font-size:10px}
}


/* ===== ADMIN MENU: MAIN + SUB MENU, MOBILE FRIENDLY ===== */
.side{width:250px;flex:0 0 250px;background:#fff;border-right:1px solid var(--line);padding:18px 10px 14px;position:fixed;left:0;top:0;bottom:0;z-index:90;overflow-y:auto;scrollbar-width:thin}
.side .brand{padding:5px 10px 18px!important;margin-bottom:4px;border-bottom:1px solid var(--line)}
.admin-nav{display:flex;flex-direction:column;gap:7px}
.nav-group{border:1px solid transparent;border-radius:12px;background:transparent}
.nav-group[open]{background:#f8f9fc;border-color:#edf0f5}
.nav-group summary{list-style:none;display:flex;align-items:center;gap:9px;min-height:42px;padding:10px 11px;cursor:pointer;border-radius:11px;color:#475467}
.nav-group summary::-webkit-details-marker{display:none}
.nav-group summary span{width:22px;text-align:center;font-size:14px}
.nav-group summary b{flex:1;font-size:8px;letter-spacing:.8px;font-weight:950}
.nav-group summary i{font-style:normal;font-size:12px;color:#98a2b3;transition:.18s}
.nav-group:not([open]) summary i{transform:rotate(-90deg)}
.nav-group[open] summary{color:var(--ink)}
.nav-sub{padding:2px 7px 8px 42px;display:flex;flex-direction:column;gap:2px}
.nav-sub a{position:relative;display:flex;align-items:center;min-height:36px;padding:8px 10px;border-radius:9px;color:#667085;font-size:9.5px;font-weight:750;transition:.15s}
.nav-sub a:before{content:"";position:absolute;left:-17px;width:5px;height:5px;border-radius:50%;background:#cbd1dc}
.nav-sub a:hover{background:#fff;color:var(--ink);transform:translateX(2px)}
.nav-sub a.active{background:var(--ink);color:#fff;box-shadow:0 7px 18px rgba(16,24,40,.12)}
.nav-sub a.active:before{background:var(--primary)}
.side .exit{width:calc(100% - 12px);margin:14px 6px 5px;padding:11px;border:1px solid #fee2e2;background:#fff5f5;color:#dc2626;border-radius:10px;font-size:9px;font-weight:900}
.adminmain{margin-left:250px}
@media(max-width:760px){
  .side{width:285px;max-width:86vw;transform:translateX(-105%);transition:transform .22s ease;box-shadow:18px 0 45px rgba(16,24,40,.14)}
  .side.open{transform:translateX(0)}
  .adminmain{margin-left:0}
  .nav-group summary{min-height:46px;padding:11px 12px}
  .nav-sub a{min-height:40px;font-size:10px}
}


/* ===== ERNA GRAFIKA GRUP BRANDING ===== */
.brand-logo{width:46px;height:46px;object-fit:contain;display:block;border-radius:12px;background:#fff}
.brand-wrap{display:flex!important;align-items:center;gap:10px}
.brand-wrap .brand-text{display:flex;flex-direction:column;min-width:0}
.brand-wrap .brand-text strong{font-size:11px;line-height:1.15;color:var(--ink);font-weight:950}
.brand-wrap .brand-text small{font-size:7px;color:#98a2b3;font-weight:800;margin-top:3px}
.top-logo{height:34px;width:34px;object-fit:contain;border-radius:8px}
.login-logo{width:82px;height:82px;object-fit:contain;border-radius:18px;margin:0 auto 12px;display:block}

/* Final repair layer */
html,body{margin:0;padding:0}body{font-family:Inter,Arial,sans-serif}.brand img{width:42px;height:42px;object-fit:contain}.brand{display:flex!important;align-items:center;gap:10px;text-decoration:none}.brand small{display:block;font-size:8px;color:#8b96ad;margin-top:3px}.menu-group{margin-bottom:15px}.menu-title{display:block;color:#98a2b3;font-size:8px;letter-spacing:1.5px;font-weight:900;margin:15px 10px 7px}.btn{cursor:pointer;border:0;border-radius:9px;padding:9px 12px;font-weight:800}.field input,.field textarea,.field select{width:100%;box-sizing:border-box}.productImg img{width:100%;height:100%;object-fit:contain}.productImg{overflow:hidden;background:#f8f9fc}.productBody span{display:block;color:var(--muted);font-size:9px;margin:5px 0}.productBody small{color:#8b96ad;font-size:8px}.checkout:disabled{opacity:.5;cursor:not-allowed}.admincontent{min-height:calc(100vh - 68px)}


/* =========================================================
   FINAL REPAIR - ERNA GRAFIKA GRUP
   Fixes admin visibility, sidebar contrast, mobile layout,
   marketplace product cards and cart drawer.
   ========================================================= */

/* Admin layout */
#admin { display:block !important; min-height:100vh; }
.admincontent { min-height:calc(100vh - 68px); background:#f5f7fb; }
.admincontent > .view,
.admincontent > section.view { display:block !important; }

/* Sidebar used by current admin.php */
.side {
  width:250px !important;
  background:#fff !important;
  color:#1d2939 !important;
  border-right:1px solid #e5e7eb !important;
  box-shadow:8px 0 28px rgba(16,24,40,.06) !important;
  overflow-y:auto !important;
  padding:14px 10px !important;
}
.side .brand { color:#101828 !important; }
.side .brand b { color:#101828 !important; }
.side .brand small { color:#98a2b3 !important; }
.side .menu-group { margin-bottom:12px; }
.side .menu-title {
  color:#98a2b3 !important;
  font-size:8px !important;
  font-weight:900 !important;
  letter-spacing:1.5px !important;
  padding:0 8px !important;
}
.side .menu-group > a {
  color:#344054 !important;
  background:transparent !important;
  display:block !important;
  padding:10px 9px !important;
  border-radius:9px !important;
  font-size:10px !important;
  font-weight:800 !important;
}
.side .menu-group > a:hover {
  background:#f3f4f8 !important;
  color:#101828 !important;
}
.side .menu-group > a.active {
  background:#10162f !important;
  color:#fff !important;
  box-shadow:0 5px 14px rgba(16,24,40,.12) !important;
}
.side .exit {
  position:relative !important;
  left:auto !important;
  right:auto !important;
  bottom:auto !important;
  display:block !important;
  width:auto !important;
  margin:16px 4px 6px !important;
  color:#b42318 !important;
  background:#fff5f5 !important;
}

/* Make every included module visible even when it does not have .active */
.admincontent .view { display:block !important; }

/* Forms and tables */
.adminform { align-items:end; }
.adminform input,
.adminform select,
.adminform textarea {
  background:#fff;
  color:#101828;
}
.panel { overflow:hidden; }

/* Marketplace */
.productImg {
  height:205px;
  display:grid;
  place-items:center;
  background:#f7f8fb;
  position:relative;
}
.productImg img {
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
.productBody { padding:14px; }
.productBody h3 {
  font-size:13px;
  margin:6px 0;
  min-height:31px;
  line-height:1.3;
}
.productBody b {
  display:block;
  font-size:17px;
  font-weight:900;
  color:#10162f;
}
.productBody span {
  display:block;
  color:#16a34a;
  font-size:9px;
  margin:5px 0;
}
.productBody .btn {
  width:100%;
  margin-top:9px;
  background:#10162f;
  color:#fff;
}
.noimg {
  color:#98a2b3;
  font-size:12px;
  font-weight:900;
}

/* Cart */
.drawer.show { display:block !important; }
.cartitem {
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
}
.cartitem > div:first-child {
  display:flex;
  flex-direction:column;
  gap:4px;
}
.cartitem button {
  border:1px solid #e5e7eb;
  background:#fff;
  border-radius:6px;
  min-width:25px;
  min-height:25px;
}

/* Better hero image */
.heroPanel img {
  display:block;
  width:100%;
  height:330px;
  object-fit:contain;
}

/* Mobile */
@media(max-width:760px){
  .side {
    width:285px !important;
    max-width:86vw !important;
    transform:translateX(-105%) !important;
    transition:transform .22s ease !important;
  }
  .side.open { transform:translateX(0) !important; }
  .adminmain { margin-left:0 !important; }
  .adminbar { padding:0 14px !important; }
  .admincontent { padding:14px 10px !important; }
  .adminhead { align-items:flex-start; gap:10px; }
  .adminhead h2 { font-size:18px; }
  .adminform { grid-template-columns:1fr !important; }
  .stats { grid-template-columns:1fr 1fr !important; }
  .table { min-width:680px; }
  .productImg { height:165px; }
}
/* Product CRUD premium */
.paneltitle{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:14px}.paneltitle h3{margin:0 0 4px}.paneltitle small{color:#98a2b3;font-size:9px}.product-create-panel{border-top:3px solid var(--ink)}.product-form textarea{width:100%;box-sizing:border-box;padding:10px;border:1px solid var(--line);border-radius:9px;font-size:10px;resize:vertical}.formhint{display:block;color:#98a2b3;font-size:8px;margin-top:4px}.uploadbox{position:relative}.uploadbox>input[type=file]{width:100%;box-sizing:border-box;padding:11px;border:1px dashed #cbd5e1;border-radius:10px;background:#f8fafc;font-size:10px}.imagepreview{margin-top:8px;min-height:100px;border:1px solid var(--line);border-radius:10px;background:#f8fafc;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#98a2b3;font-size:10px;overflow:hidden}.imagepreview img{max-width:100%;max-height:160px;object-fit:contain}.imagepreview small{font-size:8px}.product-submit{display:flex;align-items:center;gap:12px}.product-submit span{font-size:9px;color:#667085}.product-table td{vertical-align:middle}.product-table td small{display:block;color:#98a2b3;font-size:8px;margin-top:3px;max-width:220px}.thumb{width:42px;height:42px;object-fit:contain;border-radius:7px;border:1px solid var(--line);background:#f8fafc;display:inline-grid;place-items:center}.thumb.empty{color:#98a2b3}.dangerbtn{font-size:8px;background:#fff1f0!important;color:#b42318!important;border:1px solid #fecdca!important;padding:7px 8px!important}@media(max-width:760px){.paneltitle{align-items:flex-start}.product-submit{display:block}.product-submit .btn{width:100%;margin-bottom:7px}.product-table{min-width:1000px}}

/* Product action buttons */
.product-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:180px}
.product-actions form{margin:0}
.iconbtn{display:inline-flex!important;align-items:center;justify-content:center;gap:5px;border:1px solid #e4e7ec;background:#fff;color:#344054;border-radius:8px;padding:7px 9px;font-size:9px;font-weight:900;text-decoration:none;cursor:pointer;transition:.15s;white-space:nowrap}
.iconbtn svg,.actionbar svg,.product-detail h3 svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.iconbtn:hover{transform:translateY(-1px);box-shadow:0 3px 9px rgba(16,24,40,.09)}
.iconbtn.view{color:#175cd3;background:#eff8ff;border-color:#b2ddff}
.iconbtn.edit{color:#6941c6;background:#f9f5ff;border-color:#d6bbfb}
.iconbtn.delete{color:#b42318;background:#fff1f0;border-color:#fecdca}
.product-detail{display:grid;grid-template-columns:300px 1fr;gap:28px;padding:24px}
.detail-photo{height:320px;border:1px solid #eaecf0;border-radius:16px;background:#f8fafc;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#98a2b3;font-weight:800}
.detail-photo img{width:100%;height:100%;object-fit:contain}
.detail-info h2{margin:12px 0 8px;font-size:25px}.detail-info p{color:#667085;line-height:1.6}
.detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:22px}.detail-grid div{padding:13px;border:1px solid #eaecf0;border-radius:10px;background:#fcfcfd}.detail-grid small{display:block;color:#98a2b3;font-size:8px;font-weight:900;letter-spacing:.6px;margin-bottom:6px}.detail-grid b{font-size:12px}
.actionbar{display:flex;gap:9px;margin-top:20px}.actionbar form{margin:0}.actionbar .btn{display:inline-flex;align-items:center;gap:6px}
.current-image{display:flex;align-items:center;gap:14px;margin-bottom:10px}.current-image img{width:90px;height:90px;object-fit:contain;border:1px solid #eaecf0;border-radius:10px;background:#f8fafc}.checkimage{display:flex!important;align-items:center;gap:7px;font-size:10px!important;color:#b42318}
@media(max-width:760px){.product-actions{min-width:0}.iconbtn span{display:none}.iconbtn{width:34px;height:34px;padding:0}.product-detail{grid-template-columns:1fr;padding:14px}.detail-photo{height:240px}.detail-grid{grid-template-columns:1fr 1fr}.actionbar{flex-wrap:wrap}.product-table{min-width:950px}}


/* ===== FINAL CART BUTTON FIX ===== */
.actions{display:flex;align-items:center;gap:9px;margin-left:auto}
.cartbtn{
  position:relative !important;
  width:48px !important;
  height:44px !important;
  display:grid !important;
  place-items:center !important;
  padding:0 !important;
  border:1px solid #dfe3eb !important;
  border-radius:12px !important;
  background:#fff !important;
  color:#10162f !important;
  box-shadow:0 5px 16px rgba(16,24,40,.06) !important;
  transition:all .18s ease !important;
}
.cartbtn:hover{transform:translateY(-1px);border-color:#cfd5e1 !important;box-shadow:0 9px 22px rgba(16,24,40,.10) !important}
.cartbtn:active{transform:translateY(0)}
.cartbtn svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.cartbtn .count{
  position:absolute !important;
  right:-5px !important;
  top:-6px !important;
  min-width:18px !important;
  height:18px !important;
  padding:0 5px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#ef4444 !important;
  color:#fff !important;
  border:2px solid #fff !important;
  border-radius:999px !important;
  font-size:8px !important;
  line-height:1 !important;
  font-weight:900 !important;
  box-shadow:0 3px 8px rgba(239,68,68,.25) !important;
}
.cartbtn .count:empty{display:none !important}
.cartbtn .count[data-zero="1"]{display:none !important}

/* Cart drawer opened by JavaScript */
.drawer.show{display:block !important}
.cartbox{animation:cartIn .2s ease-out}
@keyframes cartIn{from{transform:translateX(20px);opacity:.7}to{transform:translateX(0);opacity:1}}
.carthead h3{margin:0;font-size:17px}
.cartitem{grid-template-columns:56px 1fr auto !important;align-items:center !important}
.cartitem img{width:56px !important;height:56px !important}
.cartitem .cartinfo{min-width:0}
.cartitem .cartinfo b{display:block;font-size:11px;line-height:1.35}
.cartitem .cartinfo small{display:block;margin-top:3px}
.cartitem .cartqty{display:flex;align-items:center;gap:6px;white-space:nowrap}
.cartitem .cartqty button{width:26px;height:26px;border:1px solid var(--line);background:#fff;border-radius:7px;font-weight:900}
.carttotal{display:flex;justify-content:space-between;align-items:center;padding:16px 0 5px;font-size:12px}
@media(max-width:760px){
  .actions{gap:6px}
  .cartbtn{width:44px !important;height:40px !important}
  .adminbtn{padding:10px 11px !important}
  .cartbox{width:min(430px,100%);padding:16px}
}

/* =========================================================
   ERNA GRAFIKA GRUP — PREMIUM ADMIN UI v3
   Visual system based on the supplied dashboard mockup.
   This layer only changes presentation/navigation; PHP modules
   and MySQL tables remain untouched.
   ========================================================= */
.admin-page{--admin-navy:#062653;--admin-blue:#087cff;--admin-blue2:#1268e8;--admin-bg:#f4f7fc;--admin-card:#fff;--admin-text:#13244a;--admin-muted:#6f7f9d;--admin-line:#e3eaf5;--admin-shadow:0 8px 28px rgba(25,61,110,.07);background:var(--admin-bg);color:var(--admin-text);overflow-x:hidden}
.admin-page *{box-sizing:border-box}.admin-shell{min-height:100vh}.premium-sidebar{position:fixed!important;inset:0 auto 0 0!important;width:255px!important;background:linear-gradient(180deg,#032453 0%,#06356f 54%,#062957 100%)!important;color:#fff!important;padding:0!important;z-index:300!important;overflow-y:auto!important;overflow-x:hidden!important;border-right:1px solid rgba(255,255,255,.08)!important;box-shadow:12px 0 38px rgba(4,31,74,.18)!important;scrollbar-width:thin}.premium-sidebar::-webkit-scrollbar{width:5px}.premium-sidebar::-webkit-scrollbar-thumb{background:#ffffff2c;border-radius:10px}.side-brand{height:82px;padding:13px 17px;border-bottom:1px solid rgba(255,255,255,.10);display:flex;align-items:center}.side-brand-link{display:flex!important;align-items:center!important;gap:10px!important;width:100%;color:#fff!important}.side-brand-link img{width:48px!important;height:48px!important;object-fit:contain!important}.side-brand-link span{display:flex;flex-direction:column}.side-brand-link strong{font-size:13px;letter-spacing:.1px;color:#fff}.side-brand-link small{font-size:9px;letter-spacing:.8px;color:#5ec5ff;margin-top:4px;font-weight:900}.admin-nav{padding:12px 9px 110px}.nav-group{margin:0 0 8px}.group-toggle{width:100%;border:0;background:transparent;color:#d6e7ff;display:flex;align-items:center;justify-content:space-between;padding:9px 11px 7px;text-align:left;cursor:pointer}.group-label{font-size:9px;letter-spacing:1.25px;font-weight:950}.group-chevron{font-size:14px;line-height:1;transition:transform .18s ease;color:#9fc4ef}.nav-group:not(.is-open) .group-chevron{transform:rotate(-90deg)}.submenu{display:grid;grid-template-rows:1fr;transition:grid-template-rows .2s ease;overflow:hidden}.nav-group:not(.is-open) .submenu{grid-template-rows:0fr}.submenu>*{min-height:0}.nav-item{position:relative;display:flex!important;align-items:center!important;gap:10px!important;min-height:38px!important;padding:8px 11px!important;margin:2px 0!important;border-radius:9px!important;color:#d6e4f7!important;font-size:10px!important;font-weight:800!important;transition:.16s ease!important}.nav-item:hover{background:rgba(255,255,255,.08)!important;color:#fff!important;transform:none!important}.nav-item.active{background:linear-gradient(90deg,#1386ff,#086ce7)!important;color:#fff!important;box-shadow:0 6px 18px rgba(0,112,255,.28)!important}.nav-icon{width:19px;height:19px;display:grid;place-items:center;flex:0 0 19px}.nav-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.nav-badge{margin-left:auto;min-width:20px;height:20px;border-radius:10px;background:#ff3f58;color:#fff;display:grid;place-items:center;font-size:8px;font-style:normal;font-weight:950}.side-bottom{position:absolute;left:9px;right:9px;bottom:10px;z-index:4}.premium-card{display:flex!important;align-items:center;gap:8px;background:linear-gradient(135deg,#0d4b91,#0a64bd);border:1px solid #26a5ff;border-radius:11px;padding:8px 9px;color:#fff!important;box-shadow:0 10px 25px #001b4d55}.premium-card .crown{font-size:22px;color:#ffd438}.premium-card span:nth-child(2){display:flex;flex-direction:column;flex:1}.premium-card b{font-size:9px}.premium-card small{font-size:7px;color:#d6eaff;margin-top:2px}.premium-card .go{font-size:18px;color:#a9dcff}.premium-sidebar .exit{position:relative!important;inset:auto!important;width:100%!important;margin:7px 0 0!important;border:0!important;background:rgba(255,255,255,.05)!important;color:#dbeafe!important;text-align:center;padding:8px!important;border-radius:9px!important;font-size:9px!important}.premium-sidebar .exit span{margin-right:4px}.adminmain{margin-left:255px!important;min-height:100vh!important;background:var(--admin-bg)!important}.premium-topbar{position:sticky;top:0;z-index:180;height:58px!important;padding:0 20px!important;background:rgba(255,255,255,.96)!important;border-bottom:1px solid var(--admin-line)!important;box-shadow:0 2px 16px rgba(31,64,104,.06)!important;display:flex!important;align-items:center!important;gap:16px!important}.mobilemenu{display:grid!important;place-items:center;width:34px;height:34px;border:0;background:transparent;color:#16345f;font-size:21px;cursor:pointer}.global-search{height:38px;max-width:580px;flex:1;position:relative;display:flex;align-items:center;background:#f8faff;border:1px solid #dbe5f3;border-radius:10px}.global-search .search-icon{font-size:25px;line-height:1;color:#16477f;margin:0 8px 2px 12px}.global-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:#19335d;font-size:10px;padding:0 6px}.global-search kbd{font:700 9px Arial,sans-serif;color:#637696;border:1px solid #cbd7e7;background:#fff;border-radius:6px;padding:4px 7px;margin-right:6px}.top-actions{margin-left:auto;display:flex;align-items:center;gap:4px}.top-icon{position:relative;border:0;background:transparent;color:#143a6b;width:35px;height:35px;border-radius:9px;font-size:19px;cursor:pointer}.top-icon:hover{background:#f0f5fc}.top-icon.has-badge b{position:absolute;right:1px;top:0;min-width:16px;height:16px;padding:0 4px;border-radius:10px;background:#ef3349;color:#fff;font-size:7px;display:grid;place-items:center}.profile{height:46px;border-left:1px solid #e5ebf3;margin-left:7px;padding-left:14px;display:flex;align-items:center;gap:8px;min-width:190px}.avatar{width:35px;height:35px;border-radius:50%;background:linear-gradient(135deg,#1785ff,#0b5bd5);display:grid;place-items:center;color:#fff;font-size:18px;border:2px solid #e5f2ff}.profile>div:nth-child(2){display:flex;flex-direction:column;min-width:0}.profile strong{font-size:10px;color:#122c52;white-space:nowrap}.profile small{font-size:7px;color:#7a8aa6;margin-top:3px;white-space:nowrap}.online-dot{width:8px;height:8px;background:#19c47a;border-radius:50%;margin-left:auto}.admincontent{padding:10px 18px 22px!important;min-height:calc(100vh - 58px)!important;background:var(--admin-bg)!important}.toast-alert{position:fixed;right:20px;top:70px;z-index:500;max-width:360px;box-shadow:0 12px 30px rgba(0,0,0,.12)}
/* Dashboard mockup */
.dashboard-hero{position:relative;min-height:154px;border:1px solid #d8e7fa;border-radius:15px;background:linear-gradient(115deg,#f6fbff 0%,#e7f4ff 55%,#d8ecff 100%);overflow:hidden;padding:22px 25px;display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:12px;box-shadow:var(--admin-shadow)}.dashboard-hero:after{content:"";position:absolute;right:-70px;top:-110px;width:430px;height:300px;border-radius:50%;background:linear-gradient(135deg,#d8eaff,#fff0);opacity:.8}.dashboard-hero-copy{position:relative;z-index:2;max-width:560px}.dashboard-hero-copy .eyebrow{font-size:9px;color:#0874de;letter-spacing:1.3px;font-weight:950}.dashboard-hero-copy h1{font-size:26px;line-height:1.12;margin:7px 0 7px;color:#102c61}.dashboard-hero-copy p{margin:0;color:#60789c;font-size:10px;line-height:1.5}.hero-checks{position:relative;z-index:2;display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.hero-checks span{font-size:8px;color:#0d4c91;font-weight:900;background:#fff;border:1px solid #d7e7fa;padding:6px 8px;border-radius:20px}.dashboard-hero-art{position:relative;z-index:2;display:flex;align-items:center;gap:10px;min-width:280px}.mini-product{width:74px;height:104px;background:#fff;border-radius:9px;box-shadow:0 8px 18px #0b4b8b18;border:1px solid #d9e7f5;display:grid;place-items:center;overflow:hidden;transform:rotate(-3deg)}.mini-product:nth-child(2){transform:rotate(4deg);width:88px;height:116px}.mini-product img{width:100%;height:100%;object-fit:contain}.hero-slogan{font-size:12px;line-height:1.2;color:#0872dc;font-weight:950;font-style:italic;max-width:170px}.mock-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin-bottom:12px}.mock-stat{background:#fff;border:1px solid var(--admin-line);border-radius:13px;min-height:88px;padding:13px;display:flex;align-items:center;gap:11px;box-shadow:var(--admin-shadow);position:relative;overflow:hidden}.mock-stat:after{content:"";position:absolute;right:-25px;bottom:-25px;width:90px;height:90px;border-radius:50%;background:#087cff0a}.stat-icon{width:44px;height:44px;border-radius:11px;display:grid;place-items:center;color:#fff;font-size:21px;flex:0 0 44px}.stat-icon.blue{background:linear-gradient(135deg,#12a7ff,#0874e9)}.stat-icon.green{background:linear-gradient(135deg,#11cf9c,#00a970)}.stat-icon.orange{background:linear-gradient(135deg,#ffb51c,#f27b00)}.stat-icon.purple{background:linear-gradient(135deg,#9b4dff,#6731d6)}.mock-stat small{font-size:7px;color:#71819c;font-weight:900}.mock-stat strong{display:block;font-size:19px;color:#142d5a;margin:4px 0}.mock-stat em{font-style:normal;font-size:7px;color:#0db078;font-weight:900}.mock-stat .danger{color:#f04444}.mock-grid{display:grid;grid-template-columns:1.65fr 1fr 1fr;gap:11px;margin-bottom:12px}.mock-panel{background:#fff;border:1px solid var(--admin-line);border-radius:13px;padding:13px;box-shadow:var(--admin-shadow);min-width:0}.mock-panel.wide{grid-column:span 1}.mock-panel-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}.mock-panel-head h3{margin:0;font-size:11px;color:#162e5a;display:flex;align-items:center;gap:7px}.mock-panel-head h3 span{color:#087cff;font-size:15px}.mock-panel-head a,.mock-panel-head select{font-size:8px;color:#0872df;border:0;background:transparent;font-weight:900}.chart{height:185px;display:flex;align-items:stretch;gap:8px}.chart-y{width:46px;display:flex;flex-direction:column;justify-content:space-between;padding:4px 0 18px;text-align:right;color:#8998b0;font-size:7px}.bars-chart{flex:1;display:flex;align-items:flex-end;gap:10px;border-left:1px solid #e3eaf4;border-bottom:1px solid #dbe5f0;padding:8px 5px 0}.bar-col{flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:4px;min-width:24px}.bar-stack{height:145px;width:100%;display:flex;align-items:flex-end;justify-content:center;gap:3px}.bar{width:40%;max-width:18px;border-radius:4px 4px 0 0}.bar.sales{background:linear-gradient(#2ca4ff,#0876e8)}.bar.buy{background:linear-gradient(#2bd4a7,#0aa87f)}.bar-col small{font-size:7px;color:#73839f;white-space:nowrap}.legend{display:flex;gap:14px;justify-content:flex-end;margin-bottom:4px}.legend span{font-size:7px;color:#71819c}.legend i{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:4px}.legend .l1{background:#168cf2}.legend .l2{background:#16b88c}.donut-wrap{display:flex;align-items:center;gap:15px;min-height:185px}.donut{width:135px;height:135px;border-radius:50%;background:conic-gradient(#168cf2 0 34%,#15bd91 34% 58%,#f7a30b 58% 76%,#7540df 76% 91%,#a9b6c8 91% 100%);position:relative;flex:0 0 135px}.donut:after{content:"";position:absolute;inset:29px;border-radius:50%;background:#fff}.donut-center{position:absolute;inset:0;z-index:2;display:grid;place-items:center;text-align:center;color:#132d5d;font-weight:950;font-size:18px}.donut-center small{display:block;font-size:7px;color:#7c8ca6;font-weight:800;margin-bottom:2px}.donut-legend{display:flex;flex-direction:column;gap:8px;flex:1}.donut-legend span{font-size:8px;color:#536986;display:flex;align-items:center;justify-content:space-between;gap:8px}.dot{width:9px;height:9px;border-radius:50%;display:inline-block;margin-right:5px}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.quick{min-height:65px;border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid transparent;font-size:8px;font-weight:900}.quick b{font-size:18px;line-height:1}.quick.q1{background:#e9f7ff;color:#0874dd;border-color:#cdeaff}.quick.q2{background:#e8fff8;color:#08a879;border-color:#c9f3e5}.quick.q3{background:#fff4e5;color:#ef8200;border-color:#ffe0ad}.quick.q4{background:#f4ecff;color:#7540df;border-color:#e2d1ff}.lower-grid{display:grid;grid-template-columns:1.55fr 1fr 1fr;gap:11px}.mock-table{width:100%;border-collapse:collapse}.mock-table th,.mock-table td{border-bottom:1px solid #edf1f6;padding:7px 5px;text-align:left;font-size:7.5px;white-space:nowrap}.mock-table th{font-size:6.5px;text-transform:uppercase;color:#8a9ab4}.mock-table td{color:#304766}.status{display:inline-flex;padding:4px 7px;border-radius:12px;font-size:6.5px;font-weight:950}.status.green{background:#dcfaee;color:#08a16f}.status.blue{background:#e4f4ff;color:#0b7adf}.status.orange{background:#fff1d9;color:#d77a00}.low-list{display:flex;flex-direction:column;gap:7px}.low-row{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:8px;padding:7px 0;border-bottom:1px solid #edf1f6}.low-row b{font-size:8px;color:#304766}.low-row small{font-size:7px;color:#e34a4a;font-weight:900}.buy-small{border:1px solid #ffb5b5;background:#fff8f8;color:#e33e3e;border-radius:6px;padding:4px 7px;font-size:7px;font-weight:900}.activity{position:relative;padding-left:17px}.activity:before{content:"";position:absolute;left:4px;top:4px;bottom:4px;width:2px;background:#dbe7f5}.activity-row{position:relative;padding:0 0 11px 9px}.activity-row:before{content:"";position:absolute;left:-16px;top:3px;width:8px;height:8px;border-radius:50%;background:#168cf2;box-shadow:0 0 0 3px #e8f3ff}.activity-row:nth-child(2):before{background:#12b989}.activity-row:nth-child(3):before{background:#f59d0a}.activity-row:nth-child(4):before{background:#7540df}.activity-row b{font-size:8px;color:#294262;display:block}.activity-row small{font-size:7px;color:#8a99b0;display:block;margin-top:2px}.admin-footer{padding:12px 2px 4px;color:#7d8da7;font-size:8px;display:flex;justify-content:space-between}.admin-footer a{color:#627694;margin-left:13px}
/* Generic module polish */
.admincontent .view{max-width:100%!important}.admincontent .adminhead{padding:4px 3px 10px}.admincontent .adminhead h2{font-size:20px;color:#102b59}.admincontent .adminhead p{font-size:9px;color:#7485a0}.admincontent .panel{border-radius:13px;border-color:var(--admin-line);box-shadow:var(--admin-shadow)}.admincontent .stat{border-radius:13px;box-shadow:var(--admin-shadow)}.admincontent .btn{background:#0b2d61;color:#fff;border-radius:9px}.admincontent .table th{color:#8798b1}.admincontent .table td{color:#344d6b}.admincontent input,.admincontent select,.admincontent textarea{border-color:#dce5f0!important;border-radius:8px!important;background:#fff!important}.sidebar-overlay{display:none}
/* Mobile */
@media(max-width:1050px){.premium-sidebar{width:245px!important}.adminmain{margin-left:245px!important}.mock-grid,.lower-grid{grid-template-columns:1fr 1fr}.mock-grid .mock-panel:first-child{grid-column:span 2}.mock-grid .mock-panel:last-child{grid-column:span 2}.mock-stat-grid{grid-template-columns:1fr 1fr}.profile{min-width:0}.profile>div:nth-child(2),.online-dot{display:none}}
@media(max-width:760px){.premium-sidebar{width:min(300px,86vw)!important;transform:translateX(-105%)!important;transition:transform .22s ease!important}.premium-sidebar.open{transform:translateX(0)!important}.sidebar-overlay.show{display:block;position:fixed;inset:0;background:rgba(2,18,42,.48);z-index:250}.adminmain{margin-left:0!important}.premium-topbar{height:58px!important;padding:0 10px!important;gap:8px!important}.global-search{max-width:none}.global-search kbd{display:none}.top-actions{gap:0}.desktop-only{display:none}.profile{border-left:0;padding-left:3px}.profile .avatar{width:33px;height:33px}.admincontent{padding:8px 9px 18px!important}.dashboard-hero{padding:18px;min-height:auto}.dashboard-hero-art{display:none}.dashboard-hero-copy h1{font-size:23px}.mock-stat-grid{grid-template-columns:1fr 1fr;gap:8px}.mock-stat{min-height:78px;padding:10px}.stat-icon{width:38px;height:38px;flex-basis:38px}.mock-stat strong{font-size:15px}.mock-grid,.lower-grid{grid-template-columns:1fr}.mock-grid .mock-panel:first-child,.mock-grid .mock-panel:last-child{grid-column:span 1}.donut-wrap{justify-content:center;flex-wrap:wrap}.nav-group{margin-bottom:5px}.group-toggle{padding-top:10px}.admincontent .adminhead{align-items:flex-start}.tablewrap{overflow-x:auto}.admin-footer{flex-direction:column;gap:5px}.toast-alert{left:10px;right:10px;top:65px;max-width:none}.adminform{grid-template-columns:1fr!important}}
@media(max-width:430px){.mock-stat-grid{grid-template-columns:1fr}.dashboard-hero-copy h1{font-size:21px}.hero-checks span{font-size:7px}.global-search input{font-size:9px}.top-icon{width:31px}.top-actions .top-icon:nth-child(2){display:none}}

/* Theme settings — supplied mockup recreation */
.theme-page{padding:2px 2px 14px}.theme-breadcrumb{height:36px;display:flex;align-items:center;gap:7px;color:#6c7f9e;font-size:10px}.theme-breadcrumb span{color:#087cff}.theme-breadcrumb b{color:#a4b0c2}.theme-breadcrumb strong{color:#17325e}.theme-hero{min-height:133px;border:1px solid #d5e6fa;border-radius:15px;background:linear-gradient(110deg,#f7fbff,#e8f5ff 65%,#d9efff);display:grid;grid-template-columns:1.15fr 1fr .65fr;align-items:center;gap:18px;padding:17px 22px;position:relative;overflow:hidden;box-shadow:var(--admin-shadow)}.theme-hero:after{content:"";position:absolute;right:20%;top:-140px;width:300px;height:300px;border-radius:50%;background:#cde7ff66}.theme-kicker{font-size:7px;font-weight:950;letter-spacing:1.5px;color:#0876e4}.theme-hero h2{font-size:25px;color:#122b59;margin:6px 0 6px}.theme-hero p{font-size:10px;color:#5e7598;margin:0}.theme-hero-art{display:flex;align-items:center;justify-content:center;gap:12px;position:relative;z-index:2}.fake-monitor{width:116px;height:76px;border:6px solid #19385f;border-bottom-width:10px;border-radius:6px;background:#fff;box-shadow:0 8px 15px #173e6a18;position:relative}.fake-monitor:before{content:"";position:absolute;inset:8px;background:linear-gradient(135deg,#edf7ff,#fff)}.fake-monitor:after{content:"";position:absolute;bottom:-17px;left:45px;width:20px;height:8px;background:#2c527e;border-radius:0 0 4px 4px}.fake-monitor i{position:absolute;width:9px;height:9px;border-radius:50%;background:#1c9bff;left:13px;top:15px;z-index:2}.theme-hero-art>div:last-child{display:flex;flex-direction:column;color:#0a62bd;font-style:italic}.theme-hero-art b{font-size:15px}.theme-hero-art strong{font-size:17px}.theme-hero-art small{font-size:8px;color:#6480a3;margin-top:6px;font-style:normal}.theme-quote{position:relative;z-index:2;background:#ffffffa8;border:1px solid #d7e9fa;border-radius:12px;padding:13px;color:#0870d9;font-size:8px;line-height:1.55}.theme-quote>b{font-size:9px}.theme-quote>small{display:block;color:#6c84a4;margin-top:5px}.theme-card{background:#fff;border:1px solid var(--admin-line);border-radius:15px;padding:17px 19px;margin-top:12px;box-shadow:var(--admin-shadow)}.theme-section-title{display:flex;align-items:center;gap:10px;margin-bottom:13px}.theme-section-title>span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#eef7ff;color:#087cff;font-size:16px}.theme-section-title h3{margin:0;color:#152e5b;font-size:13px}.theme-section-title small{display:block;color:#8a9ab3;font-size:8px;margin-top:3px}.theme-form{display:grid;grid-template-columns:1fr 1fr 300px;gap:12px;align-items:stretch}.theme-select-box{border:1px solid #dce6f2;background:#f8fbff;border-radius:11px;padding:11px}.theme-select-box label{display:block;color:#637897;font-size:8px;font-weight:950;margin-bottom:7px}.theme-select-box select{width:100%;height:39px;border:1px solid #dce6f2!important;border-radius:8px!important;background:#fff!important;color:#192e52;font-size:10px;font-weight:800}.theme-select-box small{display:block;color:#7285a1;font-size:8px;margin-top:6px}.theme-save{border:1px solid #e0e9f3;background:#f8fbff;border-radius:11px;padding:11px;display:flex;align-items:center}.theme-save-btn{width:100%;height:56px;border:0;border-radius:10px;background:linear-gradient(135deg,#117df0,#0862d8);color:#fff;display:flex;align-items:center;justify-content:center;gap:11px;cursor:pointer;box-shadow:0 9px 18px #087cff24}.theme-save-btn>b{font-size:18px}.theme-save-btn span{display:flex;flex-direction:column;align-items:flex-start}.theme-save-btn strong{font-size:11px}.theme-save-btn small{font-size:7px;color:#d9ecff;margin-top:3px}.theme-previews{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.theme-preview{position:relative;border:1px solid #dce6f2;background:#fff;border-radius:11px;padding:7px;text-align:left;cursor:pointer;transition:.16s}.theme-preview:hover{transform:translateY(-2px);box-shadow:0 8px 18px #173e6a10}.theme-preview.selected{border:2px solid #1686ff;padding:6px;box-shadow:0 8px 20px #1686ff1c}.preview-screen{height:82px;border-radius:7px;background:#f5f8fc;border:1px solid #e1e8f1;display:flex;overflow:hidden;position:relative}.pv-side{width:22%;background:#0a315f}.pv-main{flex:1;padding:8px;display:grid;grid-template-columns:repeat(3,1fr);gap:4px;position:relative}.pv-main i{height:13px;background:#dfeeff;border-radius:3px}.pv-chart{position:absolute;left:8px;right:8px;bottom:8px;height:27px;background:linear-gradient(165deg,transparent 44%,#4c9eff 45%,#4c9eff 49%,transparent 50%),linear-gradient(15deg,transparent 44%,#7a8cff 45%,#7a8cff 49%,transparent 50%);border-bottom:1px solid #ccd9e8}.preview-check{position:absolute;right:5px;top:5px;width:19px;height:19px;border-radius:50%;background:#1686ff;color:#fff;display:grid;place-items:center;font-size:11px;font-weight:900}.theme-preview>strong{display:block;font-size:10px;color:#172f5b;margin:7px 3px 3px}.theme-preview>small{display:block;color:#7285a0;font-size:8px;margin:0 3px}.swatches{display:flex;gap:5px;margin:9px 3px 2px}.swatches i{width:13px;height:13px;border-radius:50%;background:#173f7c}.swatches i:nth-child(2){background:#1c73d9}.swatches i:nth-child(3){background:#7770ea}.swatches i:nth-child(4){background:#9c3cdb}.theme-royal .pv-side{background:#1465c7}.theme-royal .swatches i{background:#1976e5}.theme-royal .swatches i:nth-child(2){background:#36a8ed}.theme-royal .swatches i:nth-child(3){background:#63c8ee}.theme-royal .swatches i:nth-child(4){background:#173f7c}.theme-emerald .pv-side{background:#08765f}.theme-emerald .swatches i{background:#087f70}.theme-emerald .swatches i:nth-child(2){background:#10ad94}.theme-emerald .swatches i:nth-child(3){background:#0ccab1}.theme-emerald .swatches i:nth-child(4){background:#2c7b25}.theme-sunset .pv-side{background:#ed3e15}.theme-sunset .swatches i{background:#ef351b}.theme-sunset .swatches i:nth-child(2){background:#ff6b17}.theme-sunset .swatches i:nth-child(3){background:#ff9515}.theme-sunset .swatches i:nth-child(4){background:#ffbd1b}.theme-purple .pv-side{background:#5d22ca}.theme-purple .swatches i{background:#5d22ca}.theme-purple .swatches i:nth-child(2){background:#8a42ee}.theme-purple .swatches i:nth-child(3){background:#b243e9}.theme-purple .swatches i:nth-child(4){background:#ff4e9d}.theme-dark .preview-screen{background:#101924}.theme-dark .pv-side{background:#08121e}.theme-dark .pv-main i{background:#1d344d}.theme-dark .pv-chart{border-color:#31506c}.theme-dark .swatches i{background:#0f3e62}.theme-dark .swatches i:nth-child(2){background:#2e6189}.theme-dark .swatches i:nth-child(3){background:#1b2b3d}.theme-dark .swatches i:nth-child(4){background:#07121e}.theme-tip{margin-top:12px;border:1px solid #d6eaff;border-radius:13px;background:linear-gradient(90deg,#eff9ff,#f9fcff);padding:13px 16px;display:flex;align-items:center;gap:11px}.tip-icon{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:#0e88e9;color:#fff;font-weight:950}.theme-tip>div:nth-child(2){flex:1}.theme-tip strong{font-size:10px;color:#17325e}.theme-tip p{font-size:8px;color:#7185a2;margin:3px 0 0}.theme-tip button{border:1px solid #d8e4f0;background:#fff;border-radius:10px;padding:8px 13px;color:#18345e;display:flex;flex-direction:column;align-items:flex-start;cursor:pointer}.theme-tip button:first-letter{color:#087cff}.theme-tip button b{font-size:8px}.theme-tip button small{font-size:7px;color:#8292aa;margin-top:2px}@media(max-width:1050px){.theme-hero{grid-template-columns:1fr 1fr}.theme-quote{display:none}.theme-form{grid-template-columns:1fr 1fr}.theme-save{grid-column:span 2}.theme-previews{grid-template-columns:repeat(3,1fr)}}@media(max-width:760px){.theme-hero{grid-template-columns:1fr;padding:16px}.theme-hero-art{display:none}.theme-hero h2{font-size:21px}.theme-form{grid-template-columns:1fr}.theme-save{grid-column:auto}.theme-previews{grid-template-columns:1fr 1fr}.theme-tip{align-items:flex-start;flex-wrap:wrap}.theme-tip button{margin-left:38px;width:calc(100% - 38px)}}

/* =========================================================
   GLOBAL ERP THEME ENGINE
   Theme is selected from Settings > Theme and applied to
   the entire admin interface and marketplace through body
   classes. Existing database/modules remain untouched.
   ========================================================= */
:root{
  --theme-primary:#147bea;
  --theme-primary-2:#0a5fd0;
  --theme-accent:#21a8ff;
  --theme-soft:#eaf4ff;
  --theme-sidebar:#06295a;
  --theme-sidebar-2:#0b4a8f;
  --theme-ink:#102b54;
  --theme-bg:#f3f7fc;
}
body.theme-navy{--theme-primary:#147bea;--theme-primary-2:#075fc9;--theme-accent:#35b4ff;--theme-soft:#eaf4ff;--theme-sidebar:#052452;--theme-sidebar-2:#0a4c8f;--theme-ink:#102b54;--theme-bg:#f3f7fc}
body.theme-royal{--theme-primary:#2563eb;--theme-primary-2:#1d4ed8;--theme-accent:#60a5fa;--theme-soft:#eff6ff;--theme-sidebar:#0b2d6b;--theme-sidebar-2:#174ea6;--theme-ink:#102d62;--theme-bg:#f3f6ff}
body.theme-emerald{--theme-primary:#0eaa83;--theme-primary-2:#07866b;--theme-accent:#2dd4bf;--theme-soft:#eafaf6;--theme-sidebar:#063f3a;--theme-sidebar-2:#08745f;--theme-ink:#0c3f39;--theme-bg:#f1f8f6}
body.theme-sunset{--theme-primary:#f97316;--theme-primary-2:#ea580c;--theme-accent:#fb923c;--theme-soft:#fff4ea;--theme-sidebar:#6a260b;--theme-sidebar-2:#b94a12;--theme-ink:#54200e;--theme-bg:#fff7f1}
body.theme-purple{--theme-primary:#7c3aed;--theme-primary-2:#6d28d9;--theme-accent:#a78bfa;--theme-soft:#f5efff;--theme-sidebar:#29105f;--theme-sidebar-2:#5420a5;--theme-ink:#30105f;--theme-bg:#f7f4ff}
body.theme-dark{--theme-primary:#38bdf8;--theme-primary-2:#0284c7;--theme-accent:#67e8f9;--theme-soft:#17283b;--theme-sidebar:#061321;--theme-sidebar-2:#0b263c;--theme-ink:#e5f1ff;--theme-bg:#0b1420}

/* Admin surfaces */
.admin-page{background:var(--theme-bg)!important;color:var(--theme-ink)}
.admin-page .premium-sidebar{background:linear-gradient(180deg,var(--theme-sidebar),var(--theme-sidebar-2))!important}
.admin-page .premium-topbar{background:color-mix(in srgb, #fff 94%, var(--theme-primary))!important}
.admin-page .admincontent{background:var(--theme-bg)!important}
.admin-page .nav-item.active{background:linear-gradient(90deg,var(--theme-primary),var(--theme-primary-2))!important;box-shadow:0 8px 20px color-mix(in srgb,var(--theme-primary) 28%,transparent)!important}
.admin-page .nav-item:hover{background:color-mix(in srgb,var(--theme-primary) 16%,transparent)!important}
.admin-page .group-chevron{color:var(--theme-accent)!important;transform:none!important;font-size:12px;font-weight:900}
.admin-page .global-search{border-color:color-mix(in srgb,var(--theme-primary) 18%,#dbe5f3)!important}
.admin-page .top-icon{color:var(--theme-primary-2)!important}
.admin-page .btn-primary,.admin-page .primary,.admin-page button[type="submit"]{--btn-theme:var(--theme-primary)}
.admin-page .theme-save-btn{background:linear-gradient(135deg,var(--theme-primary),var(--theme-primary-2))!important}
.admin-page .settings-tab.active,.admin-page .sales-switch button.active{background:var(--theme-primary-2)!important;border-color:var(--theme-primary-2)!important}

/* Marketplace surfaces use the same saved theme */
body.theme-navy .top,body.theme-royal .top,body.theme-emerald .top,body.theme-sunset .top,body.theme-purple .top,body.theme-dark .top{background:var(--theme-sidebar)!important}
body.theme-navy .adminbtn,body.theme-royal .adminbtn,body.theme-emerald .adminbtn,body.theme-sunset .adminbtn,body.theme-purple .adminbtn,body.theme-dark .adminbtn{background:var(--theme-sidebar)!important}
body.theme-navy .hero,body.theme-royal .hero,body.theme-emerald .hero,body.theme-sunset .hero,body.theme-purple .hero,body.theme-dark .hero{background:linear-gradient(120deg,var(--theme-sidebar),var(--theme-sidebar-2) 62%,var(--theme-primary-2))!important}
body.theme-navy .add,body.theme-royal .add,body.theme-emerald .add,body.theme-sunset .add,body.theme-purple .add,body.theme-dark .add{background:var(--theme-soft)!important;color:var(--theme-primary-2)!important}
body.theme-navy .buy,body.theme-royal .buy,body.theme-emerald .buy,body.theme-sunset .buy,body.theme-purple .buy,body.theme-dark .buy{background:var(--theme-sidebar)!important}
body.theme-dark.mode-dark{--bg:#0b1420;--card:#111d2b;--line:#25384c;--muted:#9fb0c3;color:#e6f1ff}
body.theme-dark.mode-dark .nav,body.theme-dark.mode-dark .product,body.theme-dark.mode-dark .feature,body.theme-dark.mode-dark .modalbox,body.theme-dark.mode-dark .cartbox,body.theme-dark.mode-dark .adminbar,body.theme-dark.mode-dark .panel,body.theme-dark.mode-dark .stat,body.theme-dark.mode-dark .theme-card{background:#111d2b!important;color:#e6f1ff!important;border-color:#25384c!important}
body.theme-dark.mode-dark .search input,body.theme-dark.mode-dark .global-search{background:#0c1825!important;color:#e6f1ff!important;border-color:#294056!important}
body.theme-dark.mode-dark .pbody small,body.theme-dark.mode-dark .head p,body.theme-dark.mode-dark .feature p,body.theme-dark.mode-dark .brand small{color:#9fb0c3!important}

/* Mode dark can be explicitly requested for every theme */
body.mode-dark:not(.theme-dark){filter:none}
body.mode-dark:not(.theme-dark) .admin-page .premium-topbar{background:#111d2b!important;color:#e6f1ff}
body.mode-dark:not(.theme-dark) .admin-page .admincontent{background:#0d1723!important}
body.mode-dark:not(.theme-dark) .admin-page .panel,body.mode-dark:not(.theme-dark) .admin-page .stat,body.mode-dark:not(.theme-dark) .admin-page .theme-card{background:#111d2b!important;color:#e6f1ff!important;border-color:#293c50!important}
body.mode-dark:not(.theme-dark) .admin-page .global-search{background:#0b1723!important;border-color:#294056!important}
body.mode-dark:not(.theme-dark) .admin-page .global-search input{color:#e6f1ff!important}
body.mode-dark:not(.theme-dark) .admin-page .table th{color:#91a5bb!important}

/* Preview selection */
.theme-preview.selected{border:2px solid var(--theme-primary)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-primary) 12%,transparent)!important}

/* Final theme propagation: shared accents across all marketplace/admin components */
body.theme-navy .cat.active,body.theme-royal .cat.active,body.theme-emerald .cat.active,body.theme-sunset .cat.active,body.theme-purple .cat.active,body.theme-dark .cat.active{background:var(--theme-sidebar)!important;border-color:var(--theme-sidebar)!important}
body.theme-navy .tag,body.theme-royal .tag,body.theme-emerald .tag,body.theme-sunset .tag,body.theme-purple .tag,body.theme-dark .tag{color:var(--theme-primary-2)!important}
body.theme-navy .stock,body.theme-royal .stock,body.theme-emerald .stock,body.theme-sunset .stock,body.theme-purple .stock,body.theme-dark .stock{color:var(--green)}
body.theme-navy .banner,body.theme-royal .banner,body.theme-emerald .banner,body.theme-sunset .banner,body.theme-purple .banner,body.theme-dark .banner{background:linear-gradient(120deg,var(--theme-sidebar),var(--theme-sidebar-2))!important}
body.theme-navy .iconbtn:hover,body.theme-royal .iconbtn:hover,body.theme-emerald .iconbtn:hover,body.theme-sunset .iconbtn:hover,body.theme-purple .iconbtn:hover,body.theme-dark .iconbtn:hover{border-color:var(--theme-primary)!important}

/* Explicit dark display mode for the marketplace */
body.mode-dark{background:#0b1420!important;color:#e6f1ff!important}
body.mode-dark .nav{background:#111d2b!important;border-color:#26394d!important}
body.mode-dark .search input{background:#0c1825!important;color:#e6f1ff!important;border-color:#294056!important}
body.mode-dark .navlinks{color:#c7d5e6!important}
body.mode-dark .product,body.mode-dark .feature,body.mode-dark .cartbox,body.mode-dark .modalbox{background:#111d2b!important;color:#e6f1ff!important;border-color:#293c50!important}
body.mode-dark .pbody small,body.mode-dark .head p,body.mode-dark .feature p,body.mode-dark .carthead,body.mode-dark .cartitem small{color:#9fb0c3!important}
body.mode-dark .pic,body.mode-dark .cartitem img{background:#0d1824!important}
body.mode-dark footer{background:#050d17!important}
body.mode-dark .cat,body.mode-dark .iconbtn{background:#111d2b!important;color:#e6f1ff!important;border-color:#293c50!important}

/* Group arrow must be literal: ▼ open / ▲ closed */
.group-chevron{display:inline-flex!important;align-items:center;justify-content:center;width:18px!important;height:18px!important;transform:none!important;font-family:Arial,sans-serif!important;font-size:12px!important;font-weight:900!important}
.nav-group.is-open .group-chevron{transform:none!important}
.nav-group:not(.is-open) .group-chevron{transform:none!important}

/* =========================================================
   ERNA GRAFIKA GRUP - 10 GLOBAL THEMES + REAL ACCORDION
   This block intentionally comes last so it overrides legacy
   styles without changing database tables.
   ========================================================= */
:root{
  --theme-primary:#147bea;--theme-primary-2:#075fc9;--theme-accent:#35b4ff;
  --theme-soft:#eaf4ff;--theme-sidebar:#052452;--theme-sidebar-2:#0a4c8f;
  --theme-ink:#102b54;--theme-bg:#f3f7fc;--theme-card:#fff;--theme-line:#dfe7f1;
}
body.theme-navy{--theme-primary:#147bea;--theme-primary-2:#075fc9;--theme-accent:#35b4ff;--theme-soft:#eaf4ff;--theme-sidebar:#052452;--theme-sidebar-2:#0a4c8f;--theme-ink:#102b54;--theme-bg:#f3f7fc}
body.theme-royal{--theme-primary:#2563eb;--theme-primary-2:#1d4ed8;--theme-accent:#60a5fa;--theme-soft:#eff6ff;--theme-sidebar:#0b2d6b;--theme-sidebar-2:#174ea6;--theme-ink:#102d62;--theme-bg:#f3f6ff}
body.theme-emerald{--theme-primary:#0eaa83;--theme-primary-2:#07866b;--theme-accent:#2dd4bf;--theme-soft:#eafaf6;--theme-sidebar:#063f3a;--theme-sidebar-2:#08745f;--theme-ink:#0c3f39;--theme-bg:#f1f8f6}
body.theme-sunset{--theme-primary:#f97316;--theme-primary-2:#ea580c;--theme-accent:#fb923c;--theme-soft:#fff4ea;--theme-sidebar:#6a260b;--theme-sidebar-2:#b94a12;--theme-ink:#54200e;--theme-bg:#fff7f1}
body.theme-purple{--theme-primary:#7c3aed;--theme-primary-2:#6d28d9;--theme-accent:#c084fc;--theme-soft:#f5efff;--theme-sidebar:#29105f;--theme-sidebar-2:#5420a5;--theme-ink:#30105f;--theme-bg:#f7f4ff}
body.theme-dark{--theme-primary:#38bdf8;--theme-primary-2:#0284c7;--theme-accent:#67e8f9;--theme-soft:#17283b;--theme-sidebar:#061321;--theme-sidebar-2:#0b263c;--theme-ink:#e5f1ff;--theme-bg:#0b1420;--theme-card:#111d2b;--theme-line:#25384c}
body.theme-teal{--theme-primary:#0f9f9a;--theme-primary-2:#087f7b;--theme-accent:#2dd4bf;--theme-soft:#e8fbfa;--theme-sidebar:#063f46;--theme-sidebar-2:#08747b;--theme-ink:#083c43;--theme-bg:#f1fbfb}
body.theme-rose{--theme-primary:#e04478;--theme-primary-2:#be185d;--theme-accent:#fb7185;--theme-soft:#fff0f5;--theme-sidebar:#5f1235;--theme-sidebar-2:#9d174d;--theme-ink:#5a1536;--theme-bg:#fff6f9}
body.theme-amber{--theme-primary:#d99000;--theme-primary-2:#b76e00;--theme-accent:#fbbf24;--theme-soft:#fff8e7;--theme-sidebar:#5c3b05;--theme-sidebar-2:#91620a;--theme-ink:#533a0a;--theme-bg:#fffbf2}
body.theme-slate{--theme-primary:#475569;--theme-primary-2:#334155;--theme-accent:#94a3b8;--theme-soft:#f1f5f9;--theme-sidebar:#172033;--theme-sidebar-2:#334155;--theme-ink:#1e293b;--theme-bg:#f5f7fa}

/* Global admin surfaces follow the selected theme. */
.admin-page{background:var(--theme-bg)!important;color:var(--theme-ink)!important}
.admin-page .premium-sidebar{background:linear-gradient(180deg,var(--theme-sidebar),var(--theme-sidebar-2))!important}
.admin-page .side-brand{border-color:rgba(255,255,255,.12)!important}
.admin-page .side-brand-link small{color:var(--theme-accent)!important}
.admin-page .group-toggle{color:#dbeafe!important}
.admin-page .group-chevron{color:var(--theme-accent)!important;transform:none!important}
.admin-page .nav-item.active{background:linear-gradient(90deg,var(--theme-primary),var(--theme-primary-2))!important}
.admin-page .nav-item:hover{background:color-mix(in srgb,var(--theme-primary) 18%,transparent)!important}
.admin-page .adminmain,.admin-page .admincontent{background:var(--theme-bg)!important}
.admin-page .premium-topbar{background:color-mix(in srgb,var(--theme-card) 94%,var(--theme-primary))!important;border-color:var(--theme-line)!important}
.admin-page .global-search{border-color:color-mix(in srgb,var(--theme-primary) 20%,#dbe5f3)!important}
.admin-page .top-icon{color:var(--theme-primary-2)!important}
.admin-page .mock-stat,.admin-page .mock-panel,.admin-page .panel,.admin-page .theme-card,.admin-page .mini-card,.admin-page .kpi{background:var(--theme-card)!important;border-color:var(--theme-line)!important}
.admin-page .mock-panel-head h3,.admin-page .theme-section-title h3,.admin-page .theme-preview>strong{color:var(--theme-ink)!important}
.admin-page .theme-save-btn,.admin-page .settings-tab.active,.admin-page .sales-switch button.active{background:linear-gradient(135deg,var(--theme-primary),var(--theme-primary-2))!important;border-color:var(--theme-primary)!important}
.admin-page .theme-preview.selected{border-color:var(--theme-primary)!important}
.admin-page .theme-tip{border-color:color-mix(in srgb,var(--theme-primary) 20%,#d6eaff)!important}

/* Landing page follows the same selected theme. */
body:not(.admin-page) .top{background:var(--theme-sidebar)!important}
body:not(.admin-page) .adminbtn{background:var(--theme-sidebar)!important}
body:not(.admin-page) .hero{background:linear-gradient(120deg,var(--theme-sidebar),var(--theme-sidebar-2) 62%,var(--theme-primary-2))!important}
body:not(.admin-page) .cat.active{background:var(--theme-sidebar)!important;border-color:var(--theme-sidebar)!important}
body:not(.admin-page) .add{background:var(--theme-soft)!important;color:var(--theme-primary-2)!important}
body:not(.admin-page) .buy{background:var(--theme-sidebar)!important}
body:not(.admin-page) .banner{background:linear-gradient(120deg,var(--theme-sidebar),var(--theme-sidebar-2))!important}
body:not(.admin-page) .product:hover:after{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--theme-primary) 35%,transparent)!important}
body:not(.admin-page) .tag{color:var(--theme-primary-2)!important}

/* True accordion. JS controls .is-open; no min-height can keep a closed menu visible. */
.admin-nav .nav-group .submenu{display:block!important;max-height:700px!important;overflow:hidden!important;opacity:1;visibility:visible;transition:max-height .24s ease,opacity .18s ease!important}
.admin-nav .nav-group:not(.is-open) .submenu{max-height:0!important;opacity:0!important;visibility:hidden!important}
.admin-nav .nav-group .group-chevron{display:inline-flex!important;align-items:center;justify-content:center;width:20px!important;height:20px!important;line-height:20px!important;transform:none!important;font-family:Arial,sans-serif!important}
.admin-nav .nav-group:not(.is-open) .group-chevron,.admin-nav .nav-group.is-open .group-chevron{transform:none!important}
.admin-nav .nav-dashboard{position:relative;display:flex!important;align-items:center!important;gap:10px!important;min-height:40px!important;margin:2px 0 12px!important;padding:9px 11px!important;border-radius:10px!important;color:#dcecff!important;text-decoration:none!important;font-size:10px!important;font-weight:850!important}
.admin-nav .nav-dashboard:hover{background:rgba(255,255,255,.09)!important;color:#fff!important}
.admin-nav .nav-dashboard.active{background:linear-gradient(90deg,var(--theme-primary),var(--theme-primary-2))!important;color:#fff!important;box-shadow:0 7px 20px color-mix(in srgb,var(--theme-primary) 28%,transparent)!important}
.admin-nav .nav-dashboard:after{content:"";position:absolute;left:9px;right:9px;bottom:-8px;height:1px;background:rgba(255,255,255,.10)}

/* 10-theme preview colors */
.theme-preview.theme-navy .pv-side{background:#052452}.theme-preview.theme-navy .swatches i{background:#147bea}.theme-preview.theme-navy .swatches i:nth-child(2){background:#075fc9}.theme-preview.theme-navy .swatches i:nth-child(3){background:#35b4ff}.theme-preview.theme-navy .swatches i:nth-child(4){background:#0a4c8f}
.theme-preview.theme-royal .pv-side{background:#0b2d6b}.theme-preview.theme-royal .swatches i{background:#2563eb}.theme-preview.theme-royal .swatches i:nth-child(2){background:#1d4ed8}.theme-preview.theme-royal .swatches i:nth-child(3){background:#60a5fa}.theme-preview.theme-royal .swatches i:nth-child(4){background:#174ea6}
.theme-preview.theme-emerald .pv-side{background:#063f3a}.theme-preview.theme-emerald .swatches i{background:#0eaa83}.theme-preview.theme-emerald .swatches i:nth-child(2){background:#07866b}.theme-preview.theme-emerald .swatches i:nth-child(3){background:#2dd4bf}.theme-preview.theme-emerald .swatches i:nth-child(4){background:#08745f}
.theme-preview.theme-sunset .pv-side{background:#6a260b}.theme-preview.theme-sunset .swatches i{background:#f97316}.theme-preview.theme-sunset .swatches i:nth-child(2){background:#ea580c}.theme-preview.theme-sunset .swatches i:nth-child(3){background:#fb923c}.theme-preview.theme-sunset .swatches i:nth-child(4){background:#b94a12}
.theme-preview.theme-purple .pv-side{background:#29105f}.theme-preview.theme-purple .swatches i{background:#7c3aed}.theme-preview.theme-purple .swatches i:nth-child(2){background:#6d28d9}.theme-preview.theme-purple .swatches i:nth-child(3){background:#c084fc}.theme-preview.theme-purple .swatches i:nth-child(4){background:#5420a5}
.theme-preview.theme-dark .preview-screen{background:#101924}.theme-preview.theme-dark .pv-side{background:#061321}.theme-preview.theme-dark .pv-main i{background:#1d344d}.theme-preview.theme-dark .swatches i{background:#38bdf8}.theme-preview.theme-dark .swatches i:nth-child(2){background:#0284c7}.theme-preview.theme-dark .swatches i:nth-child(3){background:#67e8f9}.theme-preview.theme-dark .swatches i:nth-child(4){background:#0b263c}
.theme-preview.theme-teal .pv-side{background:#063f46}.theme-preview.theme-teal .swatches i{background:#0f9f9a}.theme-preview.theme-teal .swatches i:nth-child(2){background:#087f7b}.theme-preview.theme-teal .swatches i:nth-child(3){background:#2dd4bf}.theme-preview.theme-teal .swatches i:nth-child(4){background:#08747b}
.theme-preview.theme-rose .pv-side{background:#5f1235}.theme-preview.theme-rose .swatches i{background:#e04478}.theme-preview.theme-rose .swatches i:nth-child(2){background:#be185d}.theme-preview.theme-rose .swatches i:nth-child(3){background:#fb7185}.theme-preview.theme-rose .swatches i:nth-child(4){background:#9d174d}
.theme-preview.theme-amber .pv-side{background:#5c3b05}.theme-preview.theme-amber .swatches i{background:#d99000}.theme-preview.theme-amber .swatches i:nth-child(2){background:#b76e00}.theme-preview.theme-amber .swatches i:nth-child(3){background:#fbbf24}.theme-preview.theme-amber .swatches i:nth-child(4){background:#91620a}
.theme-preview.theme-slate .pv-side{background:#172033}.theme-preview.theme-slate .swatches i{background:#475569}.theme-preview.theme-slate .swatches i:nth-child(2){background:#334155}.theme-preview.theme-slate .swatches i:nth-child(3){background:#94a3b8}.theme-preview.theme-slate .swatches i:nth-child(4){background:#64748b}

/* Dark mode for every selected color. */
body.mode-dark{--theme-card:#111d2b!important;--theme-line:#293c50!important;--theme-bg:#0b1420!important;--theme-ink:#e6f1ff!important}
body.mode-dark .admincontent,body.mode-dark .adminmain{background:#0b1420!important}
body.mode-dark .premium-topbar{background:#111d2b!important;border-color:#293c50!important}
body.mode-dark .global-search{background:#0c1825!important;border-color:#294056!important}
body.mode-dark .global-search input{color:#e6f1ff!important}
body.mode-dark .mock-stat,body.mode-dark .mock-panel,body.mode-dark .panel,body.mode-dark .theme-card,body.mode-dark .mini-card{background:#111d2b!important;color:#e6f1ff!important;border-color:#293c50!important}
body.mode-dark .mock-panel-head h3,body.mode-dark .theme-section-title h3,body.mode-dark .theme-preview>strong{color:#e6f1ff!important}
body.mode-dark .theme-preview{background:#101924!important;border-color:#293c50!important}
body.mode-dark .theme-tip{background:#111d2b!important;border-color:#293c50!important}
body.mode-dark .theme-tip strong,body.mode-dark .theme-tip p{color:#cbd5e1!important}

@media(max-width:760px){
  .admin-nav .nav-dashboard{min-height:44px!important}
  .admin-nav .nav-group .group-toggle{min-height:42px!important}
  .admin-nav .nav-group .submenu{max-height:900px!important}
  .admin-nav .nav-group:not(.is-open) .submenu{max-height:0!important}
}
\n/* FINAL MENU VISIBILITY FIX: submenu state is controlled by .is-open */\n.premium-sidebar .submenu{display:none !important;}\n.premium-sidebar .nav-group.is-open > .submenu{display:block !important;}\n.premium-sidebar .group-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;cursor:pointer;}\n.premium-sidebar .group-chevron{font-size:11px;font-weight:900;line-height:1;}\n.premium-sidebar .nav-item{display:flex !important;align-items:center;gap:9px;}\n
/* ===== PRODUCT MOCKUP UI / MYSQL PRODUCT MANAGEMENT ===== */
.product-page{--pm-blue:#1269f3;--pm-navy:#071b4a;--pm-line:#dce7f5;--pm-bg:#f7faff}.product-workspace{display:grid;grid-template-columns:minmax(0,2.05fr) minmax(300px,.95fr);gap:12px;align-items:start}.product-form-card,.product-preview-card,.product-list-card{border:1px solid var(--pm-line);border-radius:15px;background:#fff;box-shadow:0 8px 24px rgba(26,67,120,.07)}.product-card-title{display:flex;align-items:center;gap:10px;padding:0 0 12px}.product-card-title.compact{padding:0}.product-card-title h3{margin:0!important;color:#0d285b;font-size:14px}.product-card-title small{display:block;color:#6d83a2;font-size:9px;margin-top:3px}.title-icon{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;flex:0 0 34px}.title-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.title-icon.green{background:#d9fff0;color:#09ad73}.title-icon.blue{background:#e5f0ff;color:#0877ed}.title-icon.purple{background:#eee8ff;color:#6846dd}.title-icon.orange{background:#fff0d9;color:#f28b00}.db-status{margin-left:auto;color:#15905c;background:#eafbf3;border:1px solid #c6f1dd;border-radius:20px;padding:6px 9px;font-size:8px;font-weight:900}.product-form-card{padding:16px}.product-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px 14px}.field-icon{display:grid;grid-template-columns:46px 1fr;gap:9px;align-items:end}.field-icon>span{width:46px;height:46px;border:1px solid #d9e6f7;background:#f2f7ff;border-radius:9px;display:grid;place-items:center;color:#086de9}.field-icon>span svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.field-icon label{display:block;font-size:9px;font-weight:900;color:#102b59;margin-bottom:5px}.field-icon input,.field-icon select,.field-icon textarea{width:100%;box-sizing:border-box;border:1px solid #d6e2f0;border-radius:8px;background:#fff;color:#193560;padding:10px 11px;font-size:10px;outline:none}.field-icon input:focus,.field-icon select:focus,.field-icon textarea:focus{border-color:#62a4ff;box-shadow:0 0 0 3px #1686ff14}.field-icon textarea{resize:vertical}.field-icon.full{grid-column:1/-1}.field-icon input[type=file]{padding:8px}.hint,.counter{display:block;color:#7890b1;font-size:8px;margin-top:4px}.counter{text-align:right}.current-image{display:flex;gap:10px;align-items:center;margin-bottom:7px}.current-image img{width:48px;height:48px;object-fit:contain;border:1px solid var(--pm-line);border-radius:7px}.checkimage{font-size:8px!important;font-weight:700!important;color:#b42318!important}.form-actions{display:flex;gap:9px;align-items:center}.form-actions .btn{display:inline-flex;align-items:center;justify-content:center;gap:7px}.form-actions svg,.product-toolbar svg,.toolbtn svg,.btn svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.product-save{background:#08ad70!important;color:#fff!important;box-shadow:0 8px 18px #08ad7025}.product-preview-card{padding:16px}.preview-image{height:140px;border:1px dashed #c8d8ec;border-radius:9px;background:linear-gradient(180deg,#fbfdff,#f3f8fe);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#7087aa;text-align:center;overflow:hidden}.preview-image svg{width:40px;height:40px;fill:none;stroke:#91a5c4;stroke-width:1.5}.preview-image b{font-size:10px;color:#2a4b7c}.preview-image small{font-size:9px}.preview-image img{width:100%;height:100%;object-fit:contain;background:#fff}.preview-meta{margin-top:10px}.preview-meta p{display:grid;grid-template-columns:72px 10px 1fr;gap:4px;margin:7px 0;font-size:9px;color:#58709a}.preview-meta strong{color:#183866;font-weight:800}.product-list-card{padding:15px;margin-top:12px}.product-list-head{margin-bottom:11px}.product-toolbar{display:flex;gap:7px;align-items:center}.toolbtn{display:inline-flex;align-items:center;gap:6px;border-radius:8px;padding:8px 11px;text-decoration:none;font-size:9px;font-weight:900;border:1px solid #d9e4f1;background:#fff}.toolbtn.pdf{color:#df2929;background:#fff1f1;border-color:#ffcaca}.toolbtn.excel{color:#07955d;background:#ecfff6;border-color:#bcefd7}.toolbtn.margin{color:#e88300;background:#fff7e7;border-color:#ffdda5}.product-filters{display:flex;gap:8px;justify-content:flex-end;margin-bottom:9px}.filter-search{display:flex;align-items:center;gap:6px;width:230px;border:1px solid #d6e2f0;border-radius:8px;padding:7px 9px;color:#6480a5}.filter-search input{border:0;outline:0;width:100%;font-size:9px}.product-filters select{border:1px solid #d6e2f0;border-radius:8px;padding:8px 10px;font-size:9px;color:#18345e;background:#fff}.product-table{min-width:1120px}.product-table th,.product-table td{padding:8px 7px}.product-table th{background:#f5f9ff;color:#5d7294;border-top:1px solid #e1eaf5;border-bottom:1px solid #d9e4f0}.product-table tr:hover td{background:#fbfdff}.product-table td small{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stock-num{color:#08a969}.stock-num.low{color:#f07800}.margin-pill{display:inline-block;padding:5px 8px;border-radius:7px;font-size:8px;font-weight:900}.margin-pill.ok{background:#dff9ee;color:#07965f}.margin-pill.warn{background:#fff4d9;color:#b76a00}.margin-pill.bad{background:#ffebeb;color:#c52222}.product-actions{display:flex;gap:4px;min-width:185px}.product-actions form{margin:0}.iconbtn{display:inline-flex!important;align-items:center;justify-content:center;gap:4px;padding:7px 8px!important;border-radius:7px!important;font-size:8px!important;font-weight:900!important;text-decoration:none}.iconbtn svg{width:13px;height:13px}.iconbtn.view{color:#1169df;background:#eef6ff;border-color:#b9dcff}.iconbtn.edit{color:#b86a00;background:#fff7e7;border-color:#ffd99b}.iconbtn.delete{color:#dc2626;background:#fff1f1;border-color:#ffc9c9}.empty-row{text-align:center!important;padding:35px!important;color:#7184a2}.table-foot{display:flex;justify-content:space-between;align-items:center;padding-top:9px;color:#607796;font-size:8px}.table-foot select{border:1px solid #d6e2f0;border-radius:6px;padding:4px 7px}.margin-info{display:flex;gap:10px;align-items:center}.margin-info h3{margin:0 0 4px;font-size:11px}.margin-info p{margin:0;color:#667b99;font-size:9px}.secondary{background:#fff!important;color:#18345e!important;border:1px solid #d5e1ef!important}.product-detail-card{display:grid;grid-template-columns:330px 1fr;gap:22px;padding:20px}.detail-photo{min-height:330px;border:1px dashed #c8d8ec;border-radius:12px;background:#f7fbff;display:grid;place-items:center}.detail-photo img{width:100%;height:100%;max-height:330px;object-fit:contain}.detail-photo span{display:flex;flex-direction:column;align-items:center;gap:8px;color:#7a8fab;font-size:11px}.detail-photo svg{width:45px;height:45px;fill:none;stroke:currentColor;stroke-width:1.5}.detail-info h2{color:#102a59}.detail-info p{color:#687f9f;font-size:10px}.detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:15px}.detail-grid div{background:#f7faff;border:1px solid #e1eaf5;border-radius:8px;padding:10px}.detail-grid small{display:block;color:#8091aa;font-size:7px;font-weight:900;margin-bottom:4px}.detail-grid b{font-size:10px;color:#16335e}.actionbar{display:flex;gap:8px;margin-top:16px}.actionbar form{margin:0}.actionbar .btn{display:inline-flex;align-items:center;gap:7px}.dangerbtn{background:#fff1f1!important;color:#c52222!important;border:1px solid #ffcaca!important}
@media(max-width:1050px){.product-workspace{grid-template-columns:1fr}.product-preview-card{order:-1}.product-preview-card .preview-image{height:120px}.product-toolbar{flex-wrap:wrap}.product-list-head{align-items:flex-start!important}}
@media(max-width:760px){.product-form-grid{grid-template-columns:1fr}.field-icon.full{grid-column:auto}.db-status{display:none}.product-toolbar{width:100%}.product-toolbar .toolbtn{flex:1}.product-filters{justify-content:stretch}.filter-search{flex:1;width:auto}.product-detail-card{grid-template-columns:1fr}.detail-grid{grid-template-columns:1fr 1fr}.form-actions{flex-direction:column;align-items:stretch}.form-actions .btn{width:100%}}
/* =========================================================
   KATEGORI PRODUK - MOCKUP MATCH / PREMIUM UI
   ========================================================= */
.category-page{font-size:11px}.category-breadcrumb{display:flex;align-items:center;gap:7px;color:#7487a5;font-size:9px;margin:0 0 8px 2px}.category-breadcrumb strong{color:#18335f}.category-hero{position:relative;display:grid;grid-template-columns:1.15fr .9fr .72fr;align-items:center;min-height:108px;padding:15px 17px;border:1px solid #d9e9f8;border-radius:15px;background:linear-gradient(115deg,#f4fbff,#e8f6ff 54%,#f4fbff);overflow:hidden;box-shadow:var(--admin-shadow);margin-bottom:10px}.category-hero:before{content:"";position:absolute;right:23%;top:-100px;width:270px;height:220px;border-radius:50%;background:#d7edff;opacity:.55}.category-hero-copy,.category-hero-art,.category-quote{position:relative;z-index:2}.category-title-row{display:flex;align-items:center;gap:12px}.category-title-icon,.section-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;flex:0 0 38px;color:#fff;background:linear-gradient(135deg,#11c991,#05a970);box-shadow:0 7px 16px #08aa7c30}.category-title-icon svg,.section-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.category-hero h2{margin:0;color:#102b62;font-size:20px;line-height:1.1}.category-hero p{margin:5px 0 0;color:#627997;font-size:9px}.category-hero-art{display:flex;align-items:center;justify-content:center;gap:14px;color:#102d62;font-style:italic;font-size:15px;line-height:1.12;text-align:center}.folder-art{position:relative;width:116px;height:65px}.folder-art span{position:absolute;bottom:4px;width:35px;height:52px;border-radius:4px 4px 2px 2px;border:2px solid #9bb7d4;transform:skewY(-7deg);background:#e9f2fa}.folder-art span:nth-child(1){left:9px;background:#176eea;transform:rotate(-8deg) skewY(-4deg)}.folder-art span:nth-child(2){left:38px;background:#f3c328;transform:rotate(2deg)}.folder-art span:nth-child(3){left:67px;background:#7fc8b4;transform:rotate(8deg)}.folder-art i{position:absolute;right:0;bottom:2px;color:#2d76d4;font-size:26px}.category-quote{display:flex;flex-direction:column;gap:3px;justify-content:center;padding:11px 14px;border:1px solid #d8f0e4;border-radius:14px;background:linear-gradient(135deg,#f2fff9,#e8fff3);min-height:62px}.category-quote b{position:absolute;left:9px;top:4px;color:#12aa75;font-size:28px}.category-quote span{padding-left:19px;color:#12684d;font-size:10px;font-weight:900;line-height:1.35}.category-quote small{padding-left:19px;color:#789486;font-size:7px}.category-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:10px}.category-stat{position:relative;overflow:hidden;display:flex;align-items:center;gap:10px;min-height:70px;padding:10px 13px;border:1px solid var(--admin-line);border-radius:13px;background:var(--theme-card);box-shadow:var(--admin-shadow)}.category-stat .stat-icon{width:43px;height:43px;flex:0 0 43px;border-radius:11px;display:grid;place-items:center;color:#fff}.category-stat .stat-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.category-stat .stat-icon.blue{background:linear-gradient(135deg,#18a5ff,#0873e7)}.category-stat .stat-icon.green{background:linear-gradient(135deg,#12ca91,#05a873)}.category-stat .stat-icon.orange{background:linear-gradient(135deg,#ffb31c,#ef8500)}.category-stat small{display:block;color:#70839f;font-size:7px;font-weight:900}.category-stat strong{display:block;color:#142f61;font-size:19px;margin:2px 0}.category-stat em{font-style:normal;color:#09a975;font-size:7px;font-weight:900}.category-stat .orange-text{color:#e28a09}.stat-bars{margin-left:auto;display:flex;align-items:flex-end;gap:3px;height:34px;opacity:.75}.stat-bars i{display:block;width:4px;border-radius:3px 3px 0 0}.stat-bars i:nth-child(1){height:9px}.stat-bars i:nth-child(2){height:15px}.stat-bars i:nth-child(3){height:21px}.stat-bars i:nth-child(4){height:28px}.stat-bars i:nth-child(5){height:34px}.blue-bars i{background:#168cf2}.green-bars i{background:#16b88c}.orange-bars i{background:#f7a30b}.category-panel{background:var(--theme-card);border:1px solid var(--admin-line);border-radius:14px;box-shadow:var(--admin-shadow);margin-bottom:10px}.category-form-panel{padding:13px 16px}.category-panel-title{display:flex;align-items:center;gap:10px;margin-bottom:11px}.category-panel-title.compact{margin-bottom:0}.category-panel-title h3{margin:0;color:#132e5e;font-size:12px}.category-panel-title small{display:block;margin-top:3px;color:#71849f;font-size:8px}.section-icon{width:33px;height:33px;flex-basis:33px}.section-icon svg{width:18px;height:18px}.section-icon.blue{background:linear-gradient(135deg,#1ba5ff,#096fe4)}.category-help{margin-left:auto;display:flex;align-items:center;gap:6px;padding:9px 12px;border:1px solid #dceaf7;background:#f5faff;border-radius:9px;color:#7286a3;font-size:7px}.category-help svg{width:16px;height:16px;fill:none;stroke:#168cf2;stroke-width:1.8}.category-close{margin-left:auto;text-decoration:none;font-size:22px;color:#8a9bb3}.category-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px 18px}.category-field{display:flex;align-items:flex-start;gap:9px}.category-field>span{width:33px;height:33px;flex:0 0 33px;display:grid;place-items:center;border:1px solid #d9e8f7;background:#f4f9ff;border-radius:8px;color:#087bf0}.category-field>span svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.category-field>div{flex:1}.category-field label{display:block;margin:0 0 4px;color:#1d3760;font-size:8px;font-weight:900}.category-field input,.category-field select{width:100%;height:32px;padding:0 10px;border:1px solid #d6e4f2;border-radius:8px;background:#fff;color:#294465;font-size:9px;outline:none;box-sizing:border-box}.category-field input:focus,.category-field select:focus{border-color:#54a7f6!important;box-shadow:0 0 0 3px #168cf20d}.category-field small{display:block;color:#8292a9;font-size:7px;margin-top:4px}.category-form-actions{grid-column:1/-1;display:flex;align-items:center;gap:8px;margin-top:1px}.category-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;padding:0 14px;border-radius:8px;text-decoration:none;border:1px solid transparent;font-size:8px;font-weight:950;cursor:pointer;box-sizing:border-box}.category-btn svg,.action-btn svg,.action-more svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.category-btn.primary{background:linear-gradient(135deg,#0fc88c,#03a971);color:#fff;box-shadow:0 6px 13px #05a97428}.category-btn.light{background:#fff;color:#29456d;border-color:#d7e4f1}.category-btn.pdf{background:#ff3f48;color:#fff}.category-btn.excel{background:#08aa72;color:#fff}.category-list-panel{padding:11px 14px 9px}.category-list-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}.category-tools{display:flex;align-items:center;gap:7px}.category-search{height:31px;display:flex;align-items:center;gap:6px;padding:0 9px;border:1px solid #d9e5f1;border-radius:8px;background:#fff;min-width:174px}.category-search svg{width:14px;height:14px;color:#7388a5;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.category-search input{border:0!important;outline:0;width:100%;font-size:8px;color:#314a6b;background:transparent!important}.category-tools select{height:31px;border:1px solid #d9e5f1;border-radius:8px;background:#fff;padding:0 10px;color:#314a6b;font-size:8px}.category-table-wrap{overflow:auto}.category-table{width:100%;border-collapse:separate;border-spacing:0;min-width:850px}.category-table th{padding:8px 7px;text-align:left;background:#f1f7fc;color:#8798b0;font-size:6.5px;text-transform:uppercase;white-space:nowrap;border-top:1px solid #dfeaf4;border-bottom:1px solid #dfeaf4}.category-table th:first-child{border-radius:7px 0 0 7px}.category-table th:last-child{border-radius:0 7px 7px 0}.category-table td{padding:7px;border-bottom:1px solid #edf2f7;color:#304968;font-size:8px;vertical-align:middle;white-space:nowrap}.category-table td:first-child{text-align:center;color:#7a8ca5;width:35px}.category-table td:nth-child(5){text-align:center}.category-row-icon{display:grid;place-items:center;width:27px;height:27px;border-radius:7px}.category-row-icon svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8}.category-row-icon.blue{background:#e8f4ff;color:#087cf0}.category-row-icon.green{background:#e7fbf3;color:#08a878}.category-row-icon.purple{background:#f1eaff;color:#7540df}.category-row-icon.rose{background:#fff0f3;color:#e04478}.product-count{color:#087cf0}.category-status{display:inline-flex;align-items:center;justify-content:center;min-width:48px;padding:4px 8px;border-radius:12px;font-size:6.5px;font-weight:950}.category-status.active{background:#def9ec;color:#09a06c}.category-status.inactive{background:#fff0f0;color:#d53e3e}.category-actions{display:flex;align-items:center;gap:5px}.action-btn{display:inline-flex;align-items:center;justify-content:center;gap:4px;height:28px;padding:0 9px;border:1px solid transparent;border-radius:7px;text-decoration:none;font-size:7px;font-weight:900;background:#fff;cursor:pointer}.action-btn.view{color:#087cf0;border-color:#9bd0ff;background:#f7fbff}.action-btn.edit{color:#ee8b08;border-color:#ffe0a7;background:#fffaf0}.action-btn.delete{color:#e33e45;border-color:#ffb6bb;background:#fff7f7}.action-more{width:28px;height:28px;border:1px solid #dce5ef;background:#fff;border-radius:7px;color:#536b88;display:grid;place-items:center;cursor:pointer}.category-empty{text-align:center!important;padding:28px!important;color:#8798ae!important}.category-table-foot{display:flex;align-items:center;justify-content:space-between;color:#71839e;font-size:7px;padding:9px 1px 0}.category-table-foot span:last-child{display:flex;align-items:center;gap:5px}.category-table-foot select,.category-table-foot button{height:26px;border:1px solid #dbe5ef;border-radius:6px;background:#fff;color:#637995;font-size:8px}.category-table-foot button{width:26px;cursor:pointer}.category-table-foot button.current{background:#167be8;color:#fff;border-color:#167be8}
@media(max-width:1050px){.category-hero{grid-template-columns:1fr .8fr}.category-quote{display:none}.category-tools{flex-wrap:wrap}.category-list-head{align-items:flex-start;flex-direction:column}.category-tools{width:100%}.category-search{flex:1}.category-stats{grid-template-columns:1fr 1fr}.category-stat:last-child{grid-column:1/-1}.category-form-grid{grid-template-columns:1fr}}
@media(max-width:760px){.category-hero{grid-template-columns:1fr;padding:14px}.category-hero-art{display:none}.category-stats{grid-template-columns:1fr}.category-stat:last-child{grid-column:auto}.category-help{display:none}.category-tools{display:grid;grid-template-columns:1fr 1fr;width:100%}.category-search{grid-column:1/-1;width:auto}.category-form-actions{flex-wrap:wrap}.category-btn{flex:1}.category-table-foot{align-items:flex-start;gap:8px;flex-direction:column}}


/* =========================
   STOK BARANG - PREMIUM MOCKUP
   ========================= */
.inventory-page{max-width:100%;color:#102c68}
.inventory-page *{box-sizing:border-box}
.inventory-breadcrumb{display:flex;align-items:center;gap:8px;font-size:13px;margin:0 0 10px;color:#71809a}
.inventory-breadcrumb a{display:flex;align-items:center;gap:5px;color:#54709e;text-decoration:none}
.inventory-breadcrumb svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:1.8}
.inventory-breadcrumb b{color:#102c68}

.inventory-hero{position:relative;min-height:124px;border:1px solid #dcecff;border-radius:16px;overflow:hidden;background:linear-gradient(115deg,#fff 0%,#f2f8ff 48%,#eefcf8 100%);display:flex;align-items:center;justify-content:space-between;padding:18px 22px;margin-bottom:12px;box-shadow:0 3px 14px rgba(23,72,132,.06)}
.inventory-hero:after{content:"";position:absolute;right:31%;top:-75px;width:250px;height:250px;border-radius:50%;background:rgba(49,130,246,.06);pointer-events:none}
.inventory-hero-title{display:flex;align-items:center;gap:16px;position:relative;z-index:2}
.hero-icon{width:58px;height:58px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(145deg,#19c878,#04a85e);color:#fff;box-shadow:0 7px 16px rgba(0,178,105,.25)}
.hero-icon svg{width:31px;height:31px;fill:none;stroke:currentColor;stroke-width:1.7}
.inventory-hero h2{margin:0;font-size:29px;letter-spacing:-.7px;color:#102c68}
.inventory-hero p{margin:4px 0 0;font-size:13px;color:#5b7196}
.inventory-hero-art{display:flex;align-items:center;gap:25px;position:relative;z-index:2}
.hero-copy{font-size:21px;line-height:1.12;font-style:italic;color:#123d88;font-family:Georgia,serif;transform:rotate(-2deg)}
.hero-copy strong{font-size:23px}
.hero-shelf{font-size:23px;line-height:1.05;letter-spacing:4px;color:#1e7b65;opacity:.85}
.hero-quote{min-width:220px;border:1px solid #dceee9;background:rgba(255,255,255,.8);border-radius:15px;padding:10px 15px;font-size:12px;font-weight:600;color:#21456e;box-shadow:0 3px 12px rgba(40,80,110,.05)}
.hero-quote span{font-size:28px;color:#0ab77a;vertical-align:-5px}
.hero-quote small{display:block;text-align:right;margin-top:5px;color:#71809a;font-size:9px}

.inventory-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:12px}
.inventory-stat{min-height:101px;border:1px solid #dfebfa;background:#fff;border-radius:14px;padding:15px 16px;display:flex;align-items:center;gap:13px;position:relative;overflow:hidden;box-shadow:0 4px 15px rgba(35,80,130,.06)}
.inventory-stat .stat-icon{width:66px;height:66px;border-radius:14px;display:grid;place-items:center;color:#fff;flex:0 0 auto}
.inventory-stat .stat-icon svg{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.7}
.inventory-stat small{display:block;color:#627696;font-size:11px;margin-bottom:2px}
.inventory-stat b{display:block;color:#102c68;font-size:23px;line-height:1.1}
.inventory-stat span{display:block;font-size:10px;font-weight:700;margin-top:5px}
.inventory-stat i{position:absolute;right:14px;bottom:13px;font-style:normal;font-size:25px;letter-spacing:1px;opacity:.18}
.inventory-stat.blue .stat-icon{background:linear-gradient(145deg,#147cf4,#0c63dd)}.inventory-stat.blue span{color:#00aa72}.inventory-stat.blue i{color:#147cf4}
.inventory-stat.green .stat-icon,.inventory-stat.green2 .stat-icon{background:linear-gradient(145deg,#16c27b,#00a961)}.inventory-stat.green span,.inventory-stat.green2 span{color:#00a66b}.inventory-stat.green i,.inventory-stat.green2 i{color:#0ab879}
.inventory-stat.orange .stat-icon{background:linear-gradient(145deg,#ffb02c,#ff8b08)}.inventory-stat.orange span{color:#f18a10}.inventory-stat.orange i{color:#ff970f}
.inventory-stat.green2 .stat-icon{background:linear-gradient(145deg,#14c883,#06a866)}

.inventory-filter{display:flex;align-items:center;gap:10px;padding:13px 14px;border-radius:14px;margin-bottom:12px;background:#fff;border:1px solid #e0eafa;box-shadow:0 3px 13px rgba(35,80,130,.05)}
.inventory-filter .inv-search{height:40px;display:flex;align-items:center;gap:8px;border:1px solid #d8e5f5;border-radius:9px;padding:0 11px;min-width:280px;flex:1}
.inv-search svg{width:18px;height:18px;fill:none;stroke:#0b6fe9;stroke-width:2}
.inv-search input{border:0;outline:0;width:100%;font-size:12px;color:#173665;background:transparent}
.inventory-filter select{height:40px;border:1px solid #d8e5f5;border-radius:9px;padding:0 32px 0 12px;background:#fff;color:#183765;font-size:12px;outline:none;min-width:145px}
.inv-reset{height:40px;border:1px solid #d8e5f5;border-radius:9px;display:flex;align-items:center;gap:7px;padding:0 14px;text-decoration:none;color:#15386e;font-weight:700;font-size:12px;white-space:nowrap}
.inv-reset svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2}
.inv-export{display:flex;gap:8px;margin-left:auto}
.inv-btn{height:40px;border-radius:9px;padding:0 15px;border:0;display:flex;align-items:center;justify-content:center;gap:7px;text-decoration:none;font-size:12px;font-weight:800;cursor:pointer;white-space:nowrap}
.inv-btn svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9}
.inv-btn.pdf{background:#ff2e2e;color:#fff;box-shadow:0 3px 9px rgba(255,46,46,.18)}
.inv-btn.excel{background:#0bb76c;color:#fff;box-shadow:0 3px 9px rgba(11,183,108,.18)}

.inventory-table-panel{padding:0!important;border-radius:15px;overflow:hidden;border:1px solid #dfebfa;background:#fff;box-shadow:0 4px 15px rgba(35,80,130,.05)}
.inventory-table-head{display:flex;justify-content:space-between;align-items:center;padding:13px 16px 10px}
.inventory-table-head>div{display:flex;align-items:center;gap:11px}
.section-icon{width:43px;height:43px;border-radius:13px;background:linear-gradient(145deg,#13c67a,#00a966);color:#fff;display:grid;place-items:center}
.section-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8}
.inventory-table-head h3{margin:0;color:#102c68;font-size:16px}
.inventory-table-head p{margin:3px 0 0;color:#6980a2;font-size:11px}
.db-live{border:1px solid #d6f2e6;color:#099c65;background:#effcf6;border-radius:20px;padding:7px 10px;font-size:9px;font-weight:800}
.db-live i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#10ba74;margin-right:5px}

.inventory-table-wrap{overflow-x:auto;padding:0 14px}
.inventory-table{width:100%;min-width:1100px;border-collapse:separate;border-spacing:0}
.inventory-table thead th{background:#f4f8fd;color:#46648f;font-size:10px;font-weight:800;padding:10px 9px;border-top:1px solid #dce8f5;border-bottom:1px solid #dce8f5;white-space:nowrap}
.inventory-table thead th:first-child{border-radius:8px 0 0 8px}.inventory-table thead th:last-child{border-radius:0 8px 8px 0}
.inventory-table tbody td{padding:8px 9px;border-bottom:1px solid #e4ecf5;color:#173968;font-size:11px;white-space:nowrap;vertical-align:middle}
.inventory-table tbody tr:hover{background:#f9fcff}
.stock-photo{width:46px;height:36px;border:1px solid #e0e8f2;border-radius:6px;background:#f6f9fd;display:grid;place-items:center;overflow:hidden}
.stock-photo img{width:100%;height:100%;object-fit:contain}
.stock-photo svg{width:24px;height:24px;fill:none;stroke:#9aaac0;stroke-width:1.5}
.stock-code{color:#0d4f9c}.stock-number.safe{color:#06aa68}.stock-number.low{color:#ff2c2c}
.stock-badge{display:inline-flex;align-items:center;gap:4px;border-radius:8px;padding:6px 9px;font-size:10px;font-weight:800}
.stock-badge svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2}
.stock-badge.safe{background:#ddf8ed;color:#079c62}.stock-badge.low{background:#fff0d6;color:#e27c00}
.muted-dash{color:#7c8ea8}
.inventory-actions{display:flex;align-items:center;gap:7px}
.inventory-actions a{height:34px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:8px;text-decoration:none;font-size:10px;font-weight:800}
.inventory-actions svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8}
.action-view{width:78px;color:#086de5;background:#edf6ff;border:1px solid #cce2fb}
.action-edit{width:78px;color:#ee8a00;background:#fff6e6;border:1px solid #ffe0a5}
.action-more{width:36px;color:#173d72;background:#fff;border:1px solid #dce7f5}
.empty-inventory{text-align:center!important;padding:35px!important;color:#7083a0!important}

.inventory-footer{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;color:#627898;font-size:11px}
.inventory-footer .pagination{display:flex;align-items:center;gap:7px}
.inventory-footer select,.inventory-footer button{height:30px;border:1px solid #dce7f4;background:#fff;border-radius:7px;color:#29466e;padding:0 9px}
.inventory-footer button.current{background:#116ff0;color:#fff;border-color:#116ff0;font-weight:800}
.inventory-info-row{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}
.inventory-info-row>div{min-height:67px;background:#fff;border:1px solid #e1ebf6;border-radius:11px;display:grid;grid-template-columns:44px 1fr;grid-template-rows:1fr 1fr;column-gap:9px;align-items:center;padding:9px 12px;box-shadow:0 3px 12px rgba(35,80,130,.04)}
.info-icon{grid-row:1/3;width:40px;height:40px;border-radius:11px;display:grid;place-items:center}
.info-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}
.info-icon.blue{background:#edf6ff;color:#0d72ee}.info-icon.green{background:#e9fbf3;color:#0aae6d}.info-icon.orange{background:#fff3df;color:#f28a09}
.inventory-info-row b{font-size:12px;color:#0d57a7;align-self:end}.inventory-info-row small{font-size:10px;color:#71839d;align-self:start}

@media(max-width:1200px){
 .inventory-hero-art{gap:10px}.hero-copy{font-size:17px}.hero-quote{min-width:190px}
 .inventory-filter{flex-wrap:wrap}.inventory-filter .inv-search{flex:1 1 280px}.inv-export{margin-left:0}
 .inventory-stats{grid-template-columns:repeat(2,1fr)}.inventory-info-row{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
 .inventory-hero{min-height:100px}.inventory-hero-art{display:none}.inventory-hero h2{font-size:24px}
 .inventory-stats{grid-template-columns:1fr}.inventory-filter{align-items:stretch}.inventory-filter select,.inv-reset{flex:1}.inv-export{width:100%}.inv-btn{flex:1}
 .inventory-footer{gap:10px;align-items:flex-start;flex-direction:column}.inventory-info-row{grid-template-columns:1fr}
}

/* ===== SATUAN PRODUK • MOCKUP PREMIUM ===== */
.unit-page{color:#173b72}.unit-breadcrumb{display:flex;align-items:center;gap:8px;color:#5f7696;font-size:11px;margin:0 0 10px}.unit-breadcrumb strong{color:#173b72}.unit-breadcrumb b{color:#9aaac0}.unit-hero{min-height:118px;border:1px solid #dce9f7;border-radius:15px;background:linear-gradient(120deg,#f7fcff 0%,#eaf5ff 47%,#effcf7 100%);position:relative;overflow:hidden;display:grid;grid-template-columns:1.1fr 1fr .65fr;align-items:center;padding:12px 18px;box-shadow:0 5px 18px rgba(38,82,130,.05);margin-bottom:12px}.unit-hero:after{content:"";position:absolute;right:23%;top:-65px;width:230px;height:230px;border-radius:50%;background:rgba(255,255,255,.55)}.unit-title-row{display:flex;align-items:center;gap:14px;position:relative;z-index:2}.unit-title-icon{width:54px;height:54px;border-radius:16px;background:linear-gradient(145deg,#10c979,#00a863);color:#fff;display:grid;place-items:center;box-shadow:0 7px 16px rgba(0,177,105,.22)}.unit-title-icon svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.7}.unit-hero h2{margin:0;color:#0e2d69;font-size:25px;line-height:1.1}.unit-hero p{margin:5px 0 0;color:#577195;font-size:11px}.unit-hero-art{text-align:center;position:relative;z-index:2}.unit-hero-art strong{font-size:22px;color:#173c74;font-style:italic;font-family:Georgia,serif;line-height:1.05}.unit-art{display:flex;justify-content:center;gap:13px;margin-top:7px;color:#2b8c70;font-size:20px}.unit-art i{font-style:normal}.unit-quote{justify-self:end;position:relative;z-index:2;border:1px solid #d6ebdf;background:rgba(255,255,255,.72);border-radius:14px;padding:10px 14px;min-width:220px}.unit-quote b{font-size:34px;color:#0bb879;line-height:20px;vertical-align:top}.unit-quote span{font-weight:800;font-size:11px;color:#225077;line-height:1.35;display:inline-block}.unit-quote small{display:block;text-align:right;margin-top:5px;color:#6e829c;font-size:9px}.unit-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:12px}.unit-stat{min-height:88px;border:1px solid #dfebfa;background:#fff;border-radius:13px;padding:13px 16px;display:flex;align-items:center;gap:13px;position:relative;overflow:hidden;box-shadow:0 4px 15px rgba(35,80,130,.06)}.unit-stat .stat-icon{width:56px;height:56px;border-radius:13px;display:grid;place-items:center;color:#fff;flex:0 0 auto}.unit-stat .stat-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.7}.unit-stat .stat-icon.blue{background:linear-gradient(145deg,#147cf4,#0b64df)}.unit-stat .stat-icon.green{background:linear-gradient(145deg,#14c980,#00a866)}.unit-stat .stat-icon.orange{background:linear-gradient(145deg,#ffb52c,#ff8a08)}.unit-stat small{display:block;color:#627696;font-size:10px}.unit-stat strong{display:block;color:#102c68;font-size:22px;line-height:1.1}.unit-stat em{display:block;color:#09a86a;font-size:9px;font-style:normal;font-weight:700;margin-top:4px}.unit-stat .orange-text{color:#ef8a09}.stat-bars{margin-left:auto;display:flex;align-items:end;gap:4px;height:48px;opacity:.2}.stat-bars i{display:block;width:5px;border-radius:4px 4px 0 0}.blue-bars i{background:#1679ee}.green-bars i{background:#0ab574}.orange-bars i{background:#ff9410}.stat-bars i:nth-child(1){height:12px}.stat-bars i:nth-child(2){height:20px}.stat-bars i:nth-child(3){height:28px}.stat-bars i:nth-child(4){height:37px}.stat-bars i:nth-child(5){height:47px}.unit-panel{background:#fff;border:1px solid #dfebfa;border-radius:14px;box-shadow:0 4px 15px rgba(35,80,130,.05);margin-bottom:12px;overflow:hidden}.unit-form-panel{padding:14px 16px}.unit-panel-title{display:flex;align-items:center;gap:10px;margin-bottom:12px}.unit-panel-title .section-icon{flex:0 0 auto}.unit-panel-title h3{margin:0;color:#102d68;font-size:16px}.unit-panel-title small{display:block;color:#6b809e;font-size:10px;margin-top:2px}.unit-close{margin-left:auto;text-decoration:none;font-size:25px;color:#8091a8}.unit-help{margin-left:auto;border:1px solid #dbe9f7;background:#f2f8ff;border-radius:10px;padding:9px 12px;color:#577195;font-size:9px;display:flex;align-items:center;gap:6px}.unit-help svg{width:16px;height:16px;fill:none;stroke:#0b73e8;stroke-width:1.8}.unit-form-grid{display:grid;grid-template-columns:1fr 1.25fr 1fr;gap:10px 18px;align-items:end}.unit-field{display:grid;grid-template-columns:48px 1fr;gap:10px;align-items:center}.unit-field>span{width:48px;height:45px;border-radius:10px;background:#f2f7fd;border:1px solid #dce9f6;color:#0871eb;display:grid;place-items:center}.unit-field>span svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8}.unit-field label{display:block;font-weight:800;font-size:10px;color:#173969;margin-bottom:5px}.unit-field input,.unit-field select{height:38px;width:100%;box-sizing:border-box;border:1px solid #d5e3f2;border-radius:8px;outline:none;padding:0 11px;color:#173969;font-size:11px;background:#fff}.unit-field input:focus,.unit-field select:focus{border-color:#2482ee;box-shadow:0 0 0 3px rgba(36,130,238,.08)}.unit-field small{display:block;color:#7185a0;font-size:8px;margin-top:3px}.unit-form-actions{display:flex;gap:9px;align-items:center}.unit-btn{height:38px;border-radius:8px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:6px;text-decoration:none;border:1px solid #d9e6f3;font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap}.unit-btn svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9}.unit-btn.primary{background:#09b76e;color:#fff;border-color:#09b76e;box-shadow:0 4px 10px rgba(9,183,110,.18)}.unit-btn.light{background:#fff;color:#173b72}.unit-btn.pdf{background:#ff3434;color:#fff;border-color:#ff3434}.unit-btn.excel{background:#09b76e;color:#fff;border-color:#09b76e}.unit-list-panel{padding:0}.unit-list-head{display:flex;align-items:center;justify-content:space-between;padding:13px 14px 10px;gap:10px}.unit-panel-title.compact{margin:0}.unit-tools{display:flex;align-items:center;gap:8px}.unit-search{height:36px;width:180px;border:1px solid #d8e5f4;border-radius:8px;display:flex;align-items:center;padding:0 10px;gap:6px}.unit-search svg{width:16px;height:16px;fill:none;stroke:#47749e;stroke-width:2}.unit-search input{border:0;outline:0;width:100%;font-size:10px;color:#173969}.unit-tools select{height:36px;border:1px solid #d8e5f4;border-radius:8px;background:#fff;padding:0 10px;color:#173969;font-size:10px}.unit-table-wrap{overflow-x:auto;padding:0 14px}.unit-table{width:100%;min-width:1040px;border-collapse:separate;border-spacing:0}.unit-table th{background:#f4f8fd;color:#46648f;font-size:9px;font-weight:800;padding:9px;border-top:1px solid #dce8f5;border-bottom:1px solid #dce8f5;text-align:left;white-space:nowrap}.unit-table th:first-child{border-radius:8px 0 0 8px}.unit-table th:last-child{border-radius:0 8px 8px 0}.unit-table td{padding:8px 9px;border-bottom:1px solid #e4ecf5;color:#173968;font-size:10px;white-space:nowrap;vertical-align:middle}.unit-table tbody tr:hover{background:#f9fcff}.unit-table td:first-child,.unit-table td:nth-child(5){text-align:center}.product-count{color:#1672df}.unit-status{display:inline-flex;border-radius:9px;padding:5px 9px;font-size:9px;font-weight:800}.unit-status.active{background:#dff8ec;color:#0a9e64}.unit-status.inactive{background:#ffe8e8;color:#dc3f4a}.unit-actions{display:flex;align-items:center;gap:5px}.action-btn,.action-more{height:32px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:5px;text-decoration:none;font-size:9px;font-weight:800;cursor:pointer}.action-btn svg,.action-more svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8}.action-btn{padding:0 10px;border:1px solid}.action-btn.view{color:#0b6fe5;background:#edf6ff;border-color:#cde2fb}.action-btn.edit{color:#ee8a00;background:#fff6e5;border-color:#ffe1ad}.action-btn.delete{color:#e53935;background:#fff0f0;border-color:#ffc8c8}.action-more{width:32px;border:1px solid #dce7f5;background:#fff;color:#173d72}.unit-table form{margin:0}.unit-empty{text-align:center!important;padding:32px!important;color:#7185a0!important}.unit-table-foot{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;color:#627898;font-size:10px}.unit-table-foot select,.unit-table-foot button{height:28px;border:1px solid #dce7f4;background:#fff;border-radius:7px;color:#29466e;padding:0 8px}.unit-table-foot button.current{background:#116ff0;color:#fff;border-color:#116ff0;font-weight:800}.unit-detail-panel{padding:14px 16px}.unit-detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.unit-detail-grid>div{background:#f7faff;border:1px solid #e0eaf5;border-radius:9px;padding:11px}.unit-detail-grid small{display:block;color:#7085a0;font-size:8px;margin-bottom:5px}.unit-detail-grid b{font-size:11px;color:#173b72}.unit-detail-actions{display:flex;gap:8px;margin-top:12px}.unit-page .section-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center}.unit-page .section-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8}
@media(max-width:1100px){.unit-hero{grid-template-columns:1fr}.unit-hero-art,.unit-quote{display:none}.unit-form-grid{grid-template-columns:1fr 1fr}.unit-form-actions{grid-column:1/-1}.unit-tools{flex-wrap:wrap}.unit-list-head{align-items:flex-start;flex-direction:column}.unit-stats{grid-template-columns:1fr}.unit-detail-grid{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.unit-form-grid{grid-template-columns:1fr}.unit-form-actions{grid-column:auto}.unit-tools,.unit-search{width:100%}.unit-tools .unit-btn,.unit-tools select{flex:1}.unit-detail-grid{grid-template-columns:1fr}}

/* =========================================================
   CUSTOMER PREMIUM - MOCKUP MATCH
   ========================================================= */
.customer-page{color:#173b72;font-family:Inter,Arial,sans-serif}
.customer-breadcrumb{display:flex;align-items:center;gap:8px;color:#5f7696;font-size:11px;margin:0 0 10px}.customer-breadcrumb strong{color:#173b72}.customer-breadcrumb b{color:#9aaac0}
.customer-hero{min-height:122px;border:1px solid #dce9f7;border-radius:15px;background:linear-gradient(120deg,#f7fcff 0%,#eaf5ff 46%,#effcf7 100%);position:relative;overflow:hidden;display:grid;grid-template-columns:1.05fr .95fr .7fr;align-items:center;padding:12px 18px;box-shadow:0 5px 18px rgba(38,82,130,.05);margin-bottom:12px}.customer-hero:after{content:"";position:absolute;right:30%;top:-90px;width:260px;height:260px;border-radius:50%;background:rgba(255,255,255,.5)}
.customer-title-row{display:flex;align-items:center;gap:14px;position:relative;z-index:2}.customer-title-icon{width:55px;height:55px;border-radius:16px;background:linear-gradient(145deg,#10c979,#00a863);color:#fff;display:grid;place-items:center;box-shadow:0 7px 16px rgba(0,177,105,.22)}.customer-title-icon svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.8}.customer-hero h2{margin:0;color:#0e2d69;font-size:26px;line-height:1.1}.customer-hero p{margin:5px 0 0;color:#577195;font-size:11px}
.customer-hero-art{text-align:center;position:relative;z-index:2}.customer-hero-art strong{font-size:21px;color:#173c74;font-style:italic;font-family:Georgia,serif;line-height:1.05}.hero-line{width:150px;height:4px;background:#0ab574;transform:skew(-25deg) rotate(-4deg);margin:9px auto 0;border-radius:50%}
.customer-quote{justify-self:end;position:relative;z-index:2;border:1px solid #d6ebdf;background:rgba(255,255,255,.72);border-radius:14px;padding:10px 14px;min-width:220px}.customer-quote b{font-size:34px;color:#0bb879;line-height:20px;vertical-align:top}.customer-quote span{font-weight:800;font-size:11px;color:#225077;line-height:1.35;display:inline-block}.customer-quote small{display:block;text-align:right;margin-top:5px;color:#6e829c;font-size:9px}
.customer-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:12px}.customer-stat{min-height:88px;border:1px solid #dfebfa;background:#fff;border-radius:13px;padding:13px 16px;display:flex;align-items:center;gap:13px;position:relative;overflow:hidden;box-shadow:0 4px 15px rgba(35,80,130,.06)}.customer-stat .stat-icon{width:56px;height:56px;border-radius:13px;display:grid;place-items:center;color:#fff;flex:0 0 auto}.customer-stat .stat-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.7}.customer-stat .stat-icon.blue{background:linear-gradient(145deg,#147cf4,#0b64df)}.customer-stat .stat-icon.green{background:linear-gradient(145deg,#14c980,#00a866)}.customer-stat .stat-icon.orange{background:linear-gradient(145deg,#ffb52c,#ff8a08)}.customer-stat .stat-icon.purple{background:linear-gradient(145deg,#8148ef,#6330d8)}.customer-stat small{display:block;color:#627696;font-size:10px}.customer-stat strong{display:block;color:#102c68;font-size:22px;line-height:1.1}.customer-stat em{display:block;color:#09a86a;font-size:9px;font-style:normal;font-weight:700;margin-top:4px}.customer-stat .orange-text{color:#ef8a09}.customer-stat .purple-text{color:#7047cc}.customer-stat .stat-bars{margin-left:auto;display:flex;align-items:end;gap:4px;height:48px;opacity:.2}.customer-stat .stat-bars i{display:block;width:5px;border-radius:4px 4px 0 0}.customer-stat .blue-bars i{background:#1679ee}.customer-stat .green-bars i{background:#0ab574}.customer-stat .orange-bars i{background:#ff9410}.customer-stat .purple-bars i{background:#7941e8}.customer-stat .stat-bars i:nth-child(1){height:12px}.customer-stat .stat-bars i:nth-child(2){height:20px}.customer-stat .stat-bars i:nth-child(3){height:28px}.customer-stat .stat-bars i:nth-child(4){height:37px}.customer-stat .stat-bars i:nth-child(5){height:47px}
.customer-panel{background:#fff;border:1px solid #dfebfa;border-radius:14px;box-shadow:0 4px 15px rgba(35,80,130,.05);margin-bottom:12px;overflow:hidden}.customer-form-panel{padding:14px 16px}.customer-panel-title{display:flex;align-items:center;gap:10px;margin-bottom:12px}.customer-panel-title .section-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;flex:0 0 auto}.customer-panel-title .section-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8}.customer-panel-title .section-icon.green{background:#e4faef;color:#08a96a}.customer-panel-title .section-icon.blue{background:#eaf4ff;color:#0b70e8}.customer-panel-title h3{margin:0;color:#102d68;font-size:16px}.customer-panel-title small{display:block;color:#6b809e;font-size:10px;margin-top:2px}.customer-help{margin-left:auto;border:1px solid #dbe9f7;background:#f2f8ff;border-radius:10px;padding:9px 12px;color:#577195;font-size:9px;display:flex;align-items:center;gap:6px}.customer-help svg{width:16px;height:16px;fill:none;stroke:#0b73e8;stroke-width:1.8}.customer-close{margin-left:auto;text-decoration:none;font-size:25px;color:#8091a8}
.customer-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 28px;align-items:start}.customer-field{display:grid;grid-template-columns:48px 1fr;gap:10px;align-items:center}.customer-field.textarea{align-items:start}.customer-field>span{width:48px;height:45px;border-radius:10px;background:#f2f7fd;border:1px solid #dce9f6;color:#0871eb;display:grid;place-items:center}.customer-field>span svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8}.customer-field label{display:block;font-weight:800;font-size:10px;color:#173969;margin-bottom:5px}.customer-field label b{color:#e11d48}.customer-field input,.customer-field select,.customer-field textarea{width:100%;box-sizing:border-box;border:1px solid #d5e3f2;border-radius:8px;outline:none;padding:9px 11px;color:#173969;font-size:11px;background:#fff}.customer-field input,.customer-field select{height:38px}.customer-field textarea{resize:vertical;min-height:56px;font-family:inherit}.customer-field input:focus,.customer-field select:focus,.customer-field textarea:focus{border-color:#2482ee;box-shadow:0 0 0 3px rgba(36,130,238,.08)}.customer-form-actions{grid-column:1/-1;display:flex;gap:9px;align-items:center;margin-top:1px}.customer-btn{height:38px;border-radius:8px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none;border:1px solid #d9e6f3;font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap;box-sizing:border-box}.customer-btn svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9}.customer-btn.primary{background:#09b76e;color:#fff;border-color:#09b76e;box-shadow:0 4px 10px rgba(9,183,110,.18)}.customer-btn.light{background:#fff;color:#173b72}.customer-btn.pdf{background:#ff3434;color:#fff;border-color:#ff3434}.customer-btn.excel{background:#09b76e;color:#fff;border-color:#09b76e}
.customer-list-panel{padding:0}.customer-list-head{display:flex;align-items:center;justify-content:space-between;padding:13px 14px 10px;gap:10px}.customer-panel-title.compact{margin:0}.customer-tools{display:flex;align-items:center;gap:8px}.customer-search{height:36px;width:220px;border:1px solid #d8e5f4;border-radius:8px;display:flex;align-items:center;padding:0 10px;gap:6px;margin:0}.customer-search svg{width:16px;height:16px;fill:none;stroke:#47749e;stroke-width:2}.customer-search input{border:0;outline:0;width:100%;font-size:10px;color:#173969}.customer-filter{margin:0}.customer-filter select{height:36px;border:1px solid #d8e5f4;border-radius:8px;background:#fff;padding:0 10px;color:#173969;font-size:10px;min-width:145px}.customer-table-wrap{overflow-x:auto;padding:0 14px}.customer-table{width:100%;min-width:1250px;border-collapse:separate;border-spacing:0}.customer-table th{background:#f4f8fd;color:#46648f;font-size:9px;font-weight:800;padding:9px;border-top:1px solid #dce8f5;border-bottom:1px solid #dce8f5;text-align:left;white-space:nowrap}.customer-table th:first-child{border-radius:8px 0 0 8px}.customer-table th:last-child{border-radius:0 8px 8px 0}.customer-table td{padding:8px 9px;border-bottom:1px solid #e4ecf5;color:#173968;font-size:10px;white-space:nowrap;vertical-align:middle}.customer-table tbody tr:hover{background:#f9fcff}.customer-table td:first-child{text-align:center}.address-cell{max-width:190px;white-space:normal!important;line-height:1.35}.customer-status{display:inline-flex;border-radius:9px;padding:5px 9px;font-size:9px;font-weight:800}.customer-status.active{background:#dff8ec;color:#0a9e64}.customer-status.inactive{background:#ffe8e8;color:#dc3f4a}.type-badge{display:inline-flex;border-radius:12px;padding:5px 10px;font-size:9px;font-weight:800;background:#eaf3ff;color:#1769d0}.type-badge.individu{background:#e6faf2;color:#079b64}.type-badge.reseller{background:#f0e9ff;color:#7042d2}.wa-dot{color:#10b981;margin-left:7px;font-size:12px}.customer-actions{display:flex;align-items:center;gap:5px}.customer-actions form{margin:0}.customer-actions .action-btn{height:32px}.action-btn{padding:0 10px;border:1px solid}.action-btn.view{color:#0b6fe5;background:#edf6ff;border-color:#cde2fb}.action-btn.edit{color:#ee8a00;background:#fff6e5;border-color:#ffe1ad}.action-btn.delete{color:#e53935;background:#fff0f0;border-color:#ffc8c8}.action-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;text-decoration:none;border-radius:8px;font-size:9px;font-weight:800;cursor:pointer}.action-btn svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8}.action-more{width:32px;height:32px;border:1px solid #dce7f5;background:#fff;color:#173d72;border-radius:8px}.action-more svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8}.customer-empty{text-align:center!important;padding:32px!important;color:#7185a0!important}.customer-table-foot{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;color:#627898;font-size:10px}.customer-table-foot select,.customer-table-foot button{height:28px;border:1px solid #dce7f4;background:#fff;border-radius:7px;color:#29466e;padding:0 8px}.customer-table-foot button.current{background:#116ff0;color:#fff;border-color:#116ff0;font-weight:800}.customer-detail-panel{padding:14px 16px}.customer-detail-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.customer-detail-grid>div{background:#f7faff;border:1px solid #e0eaf5;border-radius:9px;padding:11px}.customer-detail-grid small{display:block;color:#7085a0;font-size:8px;margin-bottom:5px}.customer-detail-grid b{font-size:11px;color:#173b72;white-space:normal}.customer-detail-actions{display:flex;gap:8px;margin-top:12px}
@media(max-width:1200px){.customer-hero{grid-template-columns:1fr}.customer-hero-art,.customer-quote{display:none}.customer-stats{grid-template-columns:repeat(2,1fr)}.customer-list-head{align-items:flex-start;flex-direction:column}.customer-tools{width:100%;flex-wrap:wrap}.customer-search{flex:1}.customer-detail-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.customer-stats{grid-template-columns:1fr}.customer-form-grid{grid-template-columns:1fr}.customer-form-actions{grid-column:auto}.customer-tools{display:grid;grid-template-columns:1fr;width:100%}.customer-search{width:auto}.customer-filter select{width:100%}.customer-tools .customer-btn{width:100%}.customer-detail-grid{grid-template-columns:1fr}.customer-help{display:none}}

/* ===== SUPPLIER PREMIUM MOCKUP ===== */
.supplier-page{color:#173968}.supplier-breadcrumb{display:flex;align-items:center;gap:8px;color:#6b82a0;font-size:11px;margin:0 0 10px 2px}.supplier-breadcrumb svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8}.supplier-breadcrumb strong{color:#18386f}.supplier-breadcrumb b{color:#9aacbf;font-size:16px}
.supplier-hero{position:relative;min-height:126px;border:1px solid #dbeaf8;border-radius:16px;overflow:hidden;background:linear-gradient(115deg,#fff 0%,#f2f8ff 48%,#eefcf8 100%);display:grid;grid-template-columns:1.15fr 1fr .72fr;align-items:center;gap:20px;padding:18px 24px;margin-bottom:12px;box-shadow:0 4px 16px rgba(35,80,130,.06)}.supplier-hero:before{content:"";position:absolute;left:28%;top:-100px;width:330px;height:250px;border-radius:50%;background:rgba(43,137,235,.08);transform:rotate(-15deg)}.supplier-hero:after{content:"";position:absolute;right:27%;bottom:-110px;width:300px;height:220px;border-radius:50%;background:rgba(22,184,132,.08)}
.supplier-title-row,.supplier-hero-art,.supplier-quote{position:relative;z-index:2}.supplier-title-row{display:flex;align-items:center;gap:14px}.supplier-title-icon{width:56px;height:56px;border-radius:16px;background:linear-gradient(145deg,#7647f3,#5b22d8);color:#fff;display:grid;place-items:center;box-shadow:0 8px 18px rgba(101,54,225,.2)}.supplier-title-icon svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.8}.supplier-hero h2{margin:0;color:#0d2c6a;font-size:28px;line-height:1.05}.supplier-hero p{margin:5px 0 0;color:#5c7397;font-size:11px}.supplier-hero-art{text-align:center}.supplier-hero-art strong{display:block;font-size:21px;color:#173b76;font-style:italic;font-family:Georgia,serif;line-height:1.06}.supplier-line{width:145px;height:4px;background:#0bb478;transform:skew(-28deg) rotate(-4deg);margin:8px auto 0;border-radius:50%}.supplier-illustration{display:flex;justify-content:center;align-items:end;gap:8px;height:38px;margin-bottom:2px;opacity:.65;color:#6a87a5}.supplier-illustration span:nth-child(1){font-size:35px}.supplier-illustration span:nth-child(2){font-size:42px}.supplier-illustration span:nth-child(3){font-size:31px}.supplier-quote{justify-self:end;min-width:225px;border:1px solid #d4ebe1;background:rgba(255,255,255,.8);border-radius:14px;padding:10px 14px;box-shadow:0 4px 14px rgba(40,80,110,.05)}.supplier-quote b{font-size:34px;color:#0bb879;line-height:18px;vertical-align:top}.supplier-quote span{display:inline-block;font-size:11px;line-height:1.35;font-weight:800;color:#244c73}.supplier-quote small{display:block;text-align:right;color:#70849e;font-size:9px;margin-top:5px}
.supplier-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:12px}.supplier-stat{min-height:88px;border:1px solid #dfebfa;background:#fff;border-radius:13px;padding:13px 16px;display:flex;align-items:center;gap:13px;position:relative;overflow:hidden;box-shadow:0 4px 15px rgba(35,80,130,.06)}.supplier-stat .stat-icon{width:56px;height:56px;border-radius:13px;display:grid;place-items:center;color:#fff;flex:0 0 auto}.supplier-stat .stat-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.7}.supplier-stat .stat-icon.blue{background:linear-gradient(145deg,#167ef4,#0b64df)}.supplier-stat .stat-icon.green{background:linear-gradient(145deg,#14c980,#00a866)}.supplier-stat .stat-icon.orange{background:linear-gradient(145deg,#ffb52c,#ff8a08)}.supplier-stat .stat-icon.purple{background:linear-gradient(145deg,#8148ef,#6330d8)}.supplier-stat small{display:block;color:#627696;font-size:10px}.supplier-stat strong{display:block;color:#102c68;font-size:20px;line-height:1.15;white-space:nowrap}.supplier-stat em{display:block;color:#09a86a;font-size:9px;font-style:normal;font-weight:700;margin-top:4px}.supplier-stat .orange-text{color:#ef8a09}.supplier-stat .purple-text{color:#7047cc}.supplier-stat .stat-bars{margin-left:auto;display:flex;align-items:end;gap:4px;height:45px;opacity:.22}.supplier-stat .stat-bars i{display:block;width:5px;border-radius:4px 4px 0 0}.supplier-stat .blue-bars i{background:#1679ee}.supplier-stat .green-bars i{background:#0ab574}.supplier-stat .orange-bars i{background:#ff9410}.supplier-stat .purple-bars i{background:#7941e8}.supplier-stat .stat-bars i:nth-child(1){height:11px}.supplier-stat .stat-bars i:nth-child(2){height:19px}.supplier-stat .stat-bars i:nth-child(3){height:27px}.supplier-stat .stat-bars i:nth-child(4){height:36px}.supplier-stat .stat-bars i:nth-child(5){height:45px}
.supplier-panel{background:#fff;border:1px solid #dfebfa;border-radius:14px;box-shadow:0 4px 15px rgba(35,80,130,.05);margin-bottom:12px;overflow:hidden}.supplier-form-panel{padding:14px 16px}.supplier-panel-title{display:flex;align-items:center;gap:10px;margin-bottom:12px}.supplier-panel-title .section-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;flex:0 0 auto}.supplier-panel-title .section-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8}.supplier-panel-title .section-icon.green{background:#e4faef;color:#08a96a}.supplier-panel-title .section-icon.blue{background:#eaf4ff;color:#0b70e8}.supplier-panel-title .section-icon.purple{background:#f0e9ff;color:#7042d2}.supplier-panel-title h3{margin:0;color:#102d68;font-size:16px}.supplier-panel-title small{display:block;color:#6b809e;font-size:10px;margin-top:2px}.supplier-help{margin-left:auto;border:1px solid #dbe9f7;background:#f2f8ff;border-radius:10px;padding:9px 12px;color:#577195;font-size:9px;display:flex;align-items:center;gap:6px}.supplier-help svg{width:16px;height:16px;fill:none;stroke:#0b73e8;stroke-width:1.8}.supplier-close{margin-left:auto;text-decoration:none;font-size:25px;color:#8091a8}.supplier-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 28px;align-items:start}.supplier-field{display:grid;grid-template-columns:48px 1fr;gap:10px;align-items:center}.supplier-field.textarea{align-items:start}.supplier-field>span{width:48px;height:45px;border-radius:10px;background:#f2f7fd;border:1px solid #dce9f6;color:#0871eb;display:grid;place-items:center}.supplier-field>span svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8}.supplier-field label{display:block;font-weight:800;font-size:10px;color:#173969;margin-bottom:5px}.supplier-field label b{color:#e11d48}.supplier-field input,.supplier-field select,.supplier-field textarea{width:100%;box-sizing:border-box;border:1px solid #d5e3f2;border-radius:8px;outline:none;padding:9px 11px;color:#173969;font-size:11px;background:#fff}.supplier-field input,.supplier-field select{height:38px}.supplier-field textarea{resize:vertical;min-height:56px;font-family:inherit}.supplier-field input:focus,.supplier-field select:focus,.supplier-field textarea:focus{border-color:#2482ee;box-shadow:0 0 0 3px rgba(36,130,238,.08)}.supplier-form-actions{grid-column:1/-1;display:flex;gap:9px;align-items:center;margin-top:1px}.supplier-btn{height:38px;border-radius:8px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none;border:1px solid #d9e6f3;font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap;box-sizing:border-box}.supplier-btn svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9}.supplier-btn.primary{background:#09b76e;color:#fff;border-color:#09b76e;box-shadow:0 4px 10px rgba(9,183,110,.18)}.supplier-btn.light{background:#fff;color:#173b72}.supplier-btn.pdf{background:#ff3434;color:#fff;border-color:#ff3434}.supplier-btn.excel{background:#09b76e;color:#fff;border-color:#09b76e}
.supplier-list-panel{padding:0}.supplier-list-head{display:flex;align-items:center;justify-content:space-between;padding:13px 14px 10px;gap:10px}.supplier-panel-title.compact{margin:0}.supplier-tools{display:flex;align-items:center;gap:8px}.supplier-search{height:36px;width:220px;border:1px solid #d8e5f4;border-radius:8px;display:flex;align-items:center;padding:0 10px;gap:6px;margin:0}.supplier-search svg{width:16px;height:16px;fill:none;stroke:#47749e;stroke-width:2}.supplier-search input{border:0;outline:0;width:100%;font-size:10px;color:#173969}.supplier-filter{margin:0}.supplier-filter select{height:36px;border:1px solid #d8e5f4;border-radius:8px;background:#fff;padding:0 10px;color:#173969;font-size:10px;min-width:145px}.supplier-table-wrap{overflow-x:auto;padding:0 14px}.supplier-table{width:100%;min-width:1200px;border-collapse:separate;border-spacing:0}.supplier-table th{background:#f4f8fd;color:#46648f;font-size:9px;font-weight:800;padding:9px;border-top:1px solid #dce8f5;border-bottom:1px solid #dce8f5;text-align:left;white-space:nowrap}.supplier-table th:first-child{border-radius:8px 0 0 8px}.supplier-table th:last-child{border-radius:0 8px 8px 0}.supplier-table td{padding:8px 9px;border-bottom:1px solid #e4ecf5;color:#173968;font-size:10px;white-space:nowrap;vertical-align:middle}.supplier-table tbody tr:hover{background:#f9fcff}.supplier-table td:first-child{text-align:center}.supplier-table .address-cell{max-width:200px;white-space:normal;line-height:1.35}.supplier-status{display:inline-flex;border-radius:9px;padding:5px 9px;font-size:9px;font-weight:800}.supplier-status.active{background:#dff8ec;color:#0a9e64}.supplier-status.inactive{background:#ffe8e8;color:#dc3f4a}.supplier-actions{display:flex;align-items:center;gap:5px}.supplier-actions form{margin:0}.supplier-actions .action-btn{height:32px}.supplier-actions .action-btn svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8}.supplier-actions .action-btn{padding:0 10px;border:1px solid;display:inline-flex;align-items:center;justify-content:center;gap:5px;text-decoration:none;border-radius:8px;font-size:9px;font-weight:800;cursor:pointer}.supplier-actions .action-btn.view{color:#0b6fe5;background:#edf6ff;border-color:#cde2fb}.supplier-actions .action-btn.edit{color:#ee8a00;background:#fff6e5;border-color:#ffe1ad}.supplier-actions .action-btn.delete{color:#e53935;background:#fff0f0;border-color:#ffc8c8}.supplier-actions .action-more{width:32px;height:32px;border:1px solid #dce7f5;background:#fff;color:#173d72;border-radius:8px}.supplier-actions .action-more svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8}.supplier-empty{text-align:center!important;padding:32px!important;color:#7185a0!important}.supplier-table-foot{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;color:#627898;font-size:10px}.supplier-table-foot select,.supplier-table-foot button{height:28px;border:1px solid #dce7f4;background:#fff;border-radius:7px;color:#29466e;padding:0 8px}.supplier-table-foot button.current{background:#116ff0;color:#fff;border-color:#116ff0;font-weight:800}.supplier-detail-panel{padding:14px 16px}.supplier-detail-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.supplier-detail-grid>div{background:#f7faff;border:1px solid #e0eaf5;border-radius:9px;padding:11px}.supplier-detail-grid small{display:block;color:#7085a0;font-size:8px;margin-bottom:5px}.supplier-detail-grid b{font-size:11px;color:#173b72;white-space:normal}.supplier-detail-actions{display:flex;gap:8px;margin-top:12px}
@media(max-width:1150px){.supplier-hero{grid-template-columns:1fr .8fr}.supplier-quote{display:none}.supplier-stats{grid-template-columns:1fr 1fr}.supplier-list-head{align-items:flex-start;flex-direction:column}.supplier-tools{width:100%}.supplier-search{flex:1}.supplier-detail-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.supplier-hero{grid-template-columns:1fr;padding:14px}.supplier-hero-art{display:none}.supplier-stats{grid-template-columns:1fr}.supplier-form-grid{grid-template-columns:1fr}.supplier-help{display:none}.supplier-tools{display:grid;grid-template-columns:1fr 1fr;width:100%}.supplier-search{grid-column:1/-1;width:auto}.supplier-form-actions{flex-wrap:wrap}.supplier-btn{flex:1}.supplier-detail-grid{grid-template-columns:1fr}.supplier-table-foot{align-items:flex-start;gap:8px;flex-direction:column}}

/* PESANAN ONLINE - PREMIUM MOCKUP */
.orders-page{color:#102c68}.orders-breadcrumb{display:flex;align-items:center;gap:7px;color:#58749a;font-size:11px;margin:0 0 8px}.orders-breadcrumb svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8}.orders-breadcrumb strong{color:#102c68}.orders-hero{min-height:125px;border:1px solid #dceafb;border-radius:16px;background:linear-gradient(115deg,#f8fcff,#eef7ff 58%,#f9fffb);display:grid;grid-template-columns:1.05fr .85fr .5fr;align-items:center;overflow:hidden;position:relative;box-shadow:0 5px 20px rgba(40,90,150,.05);margin-bottom:12px}.orders-title-row{display:flex;align-items:center;gap:15px;padding:18px 22px}.orders-title-icon{width:58px;height:58px;border-radius:16px;background:linear-gradient(145deg,#16c27b,#00a866);color:#fff;display:grid;place-items:center;box-shadow:0 7px 16px rgba(0,168,102,.22);flex:none}.orders-title-icon svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.8}.orders-title-row h2{font-size:27px;line-height:1;margin:0 0 7px;color:#0d2866}.orders-title-row p{font-size:11px;line-height:1.55;margin:0;color:#56719a}.orders-hero-art{height:100%;display:flex;align-items:center;justify-content:center;gap:15px;position:relative}.orders-hero-art strong{font-size:21px;line-height:1.2;font-style:italic;font-family:cursive;color:#0e2e78;z-index:1}.orders-hero-art i{position:absolute;width:155px;height:4px;background:#0aae75;bottom:22px;left:28%;transform:rotate(-5deg);border-radius:10px}.orders-hero-bags{display:flex;gap:6px;align-items:end}.orders-hero-bags span{display:grid;place-items:center;width:40px;height:62px;border:2px solid #1c70d9;border-radius:5px;background:#fff;color:#1974dc;font-size:24px;box-shadow:0 7px 12px rgba(20,90,180,.1)}.orders-hero-bags span:nth-child(2){height:78px}.orders-quote{margin-right:18px;border-radius:15px;background:rgba(255,255,255,.8);border:1px solid #d8e9f8;padding:12px 17px;position:relative}.orders-quote b{font-size:35px;line-height:.7;color:#10b878}.orders-quote span{display:block;font-size:10px;font-weight:800;line-height:1.5;color:#123477;padding-left:10px}.orders-quote small{display:block;text-align:right;font-size:8px;margin-top:7px;color:#557096}.orders-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin-bottom:12px}.orders-stat{min-height:92px;border:1px solid #dfebfa;background:#fff;border-radius:14px;padding:13px 14px;display:flex;align-items:center;gap:11px;position:relative;overflow:hidden;box-shadow:0 4px 14px rgba(35,80,130,.05)}.orders-stat .stat-icon{width:56px;height:56px;border-radius:13px;display:grid;place-items:center;color:#fff;flex:none}.orders-stat .stat-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8}.orders-stat small{display:block;font-size:10px;color:#627696;margin-bottom:4px}.orders-stat strong{display:block;font-size:21px;color:#102c68;line-height:1}.orders-stat em{display:block;font-style:normal;font-size:8px;font-weight:800;margin-top:6px}.orders-stat.blue .stat-icon{background:linear-gradient(145deg,#147cf4,#0c63dd)}.orders-stat.blue em{color:#147cf4}.orders-stat.green .stat-icon{background:linear-gradient(145deg,#18c97e,#00a867)}.orders-stat.green em{color:#00a867}.orders-stat.orange .stat-icon{background:linear-gradient(145deg,#ffb02c,#ff8a00)}.orders-stat.orange em{color:#ef8a0b}.orders-stat.red .stat-icon{background:linear-gradient(145deg,#ff5d5d,#ee2929)}.orders-stat.red em{color:#e83c3c}.stat-bars{margin-left:auto;align-self:flex-end;display:flex;gap:3px;align-items:flex-end;opacity:.55}.stat-bars i{width:4px;border-radius:3px;background:#1590f5}.stat-bars i:nth-child(1){height:12px}.stat-bars i:nth-child(2){height:20px}.stat-bars i:nth-child(3){height:29px}.stat-bars i:nth-child(4){height:38px}.stat-bars i:nth-child(5){height:48px}.orders-stat.green .stat-bars i{background:#10b77b}.orders-stat.orange .stat-bars i{background:#ff970e}.orders-stat.red .stat-bars i{background:#ff6d79}.orders-tools{display:grid;grid-template-columns:minmax(260px,1.4fr) 1fr 1fr auto auto auto;gap:9px;align-items:center;background:#fff;border:1px solid #e1ebf6;border-radius:13px;padding:11px 13px;margin-bottom:12px;box-shadow:0 3px 12px rgba(35,80,130,.04)}.orders-search,.orders-filter,.orders-date{height:40px;border:1px solid #d7e5f5;border-radius:9px;background:#fbfdff;display:flex;align-items:center;gap:8px;padding:0 11px}.orders-search svg,.orders-date svg{width:17px;height:17px;fill:none;stroke:#0c62cc;stroke-width:2}.orders-search input,.orders-date input,.orders-filter select{border:0;outline:0;background:transparent;width:100%;height:100%;font-size:11px;color:#314f78}.orders-date input{color:#4f6b91}.orders-btn{height:40px;padding:0 14px;border-radius:9px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;font-weight:900;text-decoration:none;white-space:nowrap}.orders-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9}.orders-btn.reset{border:1px solid #d7e5f5;background:#fff;color:#173a76}.orders-btn.excel{background:#0bb76c;color:#fff}.orders-btn.pdf{background:#ff2e2e;color:#fff}.orders-panel{background:#fff;border:1px solid #dfeaf6;border-radius:14px;overflow:hidden;box-shadow:0 4px 15px rgba(35,80,130,.05)}.orders-list-head{display:flex;align-items:center;gap:12px;padding:13px 15px;border-bottom:1px solid #edf3fa}.orders-section-icon{width:43px;height:43px;border-radius:12px;background:#087cf0;color:#fff;display:grid;place-items:center}.orders-section-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}.orders-list-head h3{font-size:15px;margin:0;color:#102c68}.orders-list-head p{font-size:9px;margin:3px 0 0;color:#7085a1}.orders-table-wrap{overflow:auto}.orders-table{width:100%;border-collapse:collapse;min-width:1040px}.orders-table th{padding:10px 9px;background:#f6faff;color:#5d7698;font-size:8px;font-weight:900;text-align:left;border-bottom:1px solid #dce8f5;white-space:nowrap}.orders-table td{padding:9px;border-bottom:1px solid #edf2f7;color:#304968;font-size:9px;vertical-align:middle}.orders-table tr:hover td{background:#fbfdff}.orders-table .checkcol{width:35px;text-align:center}.orders-table input[type=checkbox]{width:15px;height:15px;accent-color:#147cf4}.order-no{color:#0b5dc2}.orders-table td small{display:block;color:#8a9bb0;font-size:8px;margin-top:3px}.product-cell{max-width:230px}.product-cell div{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:2px 0}.product-cell b{color:#0b68d7}.order-status{display:inline-flex;align-items:center;justify-content:center;min-width:67px;padding:5px 9px;border-radius:12px;font-size:8px;font-weight:900}.order-status.waiting{background:#fff4d9;color:#df8a00}.order-status.sent{background:#e3f0ff;color:#1475da}.order-status.received{background:#ddf9ec;color:#08a36d}.order-status.rejected{background:#fff0f0;color:#df3c43}.order-actions{display:flex;align-items:center;gap:5px}.order-action,.verify-btn{width:32px;height:29px;border:1px solid #d7e5f5;border-radius:7px;background:#f7fbff;color:#0c70df;display:grid;place-items:center;cursor:pointer}.order-action svg,.verify-btn svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2}.verify-btn.accept{background:#e9fbf3;color:#09a36d;border-color:#bcebd7}.verify-btn.reject{background:#fff2f2;color:#e33c45;border-color:#ffc6c9}.orders-empty{height:205px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#6f83a1}.orders-empty .empty-icon{width:62px;height:50px;background:linear-gradient(#dce9f8,#bdd0e8);clip-path:polygon(8% 28%,33% 28%,40% 17%,60% 17%,67% 28%,92% 28%,100% 39%,100% 100%,0 100%,0 39%);display:grid;place-items:center;color:#fff;font-size:22px;margin-bottom:11px}.orders-empty strong{font-size:13px;color:#102c68}.orders-empty span{font-size:10px;margin-top:4px}.refresh-btn{margin-top:14px;background:#147cf4;color:#fff;text-decoration:none;padding:9px 19px;border-radius:9px;font-size:10px;font-weight:900;display:flex;align-items:center;gap:7px;box-shadow:0 5px 13px rgba(20,124,244,.18)}.refresh-btn svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9}.orders-foot{display:flex;align-items:center;justify-content:space-between;padding:10px 13px;color:#71839e;font-size:9px}.orders-foot>div{display:flex;align-items:center;gap:7px}.orders-foot select,.orders-foot button{height:28px;border:1px solid #dbe5ef;border-radius:7px;background:#fff;color:#637995;font-size:9px}.orders-foot select{padding:0 7px}.orders-foot button{width:28px;cursor:pointer}.orders-foot button.current{background:#147cf4;color:#fff;border-color:#147cf4}.orders-bottom-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.orders-bottom-cards>div{min-height:62px;border:1px solid #e0ebf7;background:#fff;border-radius:12px;padding:10px 13px;display:flex;align-items:center;gap:10px;box-shadow:0 3px 12px rgba(35,80,130,.04)}.orders-bottom-cards span{width:39px;height:39px;border-radius:10px;display:grid;place-items:center;color:#fff;flex:none}.orders-bottom-cards svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8}.orders-bottom-cards .blue-icon{background:#147cf4}.orders-bottom-cards .green-icon{background:#08b777}.orders-bottom-cards .orange-icon{background:#ff970e}.orders-bottom-cards .purple-icon{background:#6642e9}.orders-bottom-cards strong{display:block;font-size:10px;color:#0c65d1}.orders-bottom-cards small{display:block;font-size:8px;color:#7387a1;margin-top:3px}.orders-bottom-cards b{margin-left:auto;font-size:18px;color:#102c68;white-space:nowrap}.order-detail-overlay{position:fixed;inset:0;background:rgba(11,31,67,.45);z-index:1000;display:grid;place-items:center;padding:20px}.order-detail-card{width:min(620px,100%);max-height:85vh;overflow:auto;background:#fff;border-radius:16px;padding:22px;position:relative;box-shadow:0 20px 60px rgba(0,0,0,.2);color:#304968}.order-detail-card>button{position:absolute;right:14px;top:10px;border:0;background:#f3f7fb;border-radius:50%;width:32px;height:32px;font-size:22px;color:#526b89;cursor:pointer}.order-detail-card h3{margin:0 0 6px;color:#102c68;display:flex;gap:8px;align-items:center}.order-detail-card h3 svg{width:20px;height:20px;fill:none;stroke:#147cf4;stroke-width:1.8}.order-detail-card p{font-size:10px;color:#71839e}.order-detail-card>div{padding:6px 0;font-size:10px}.detail-item,.detail-total{display:flex;justify-content:space-between;border-bottom:1px solid #edf2f7}.detail-total{font-size:13px;margin-top:8px;padding-top:10px}.order-detail-card hr{border:0;border-top:1px solid #e6eef7}.order-detail-card h4{color:#102c68;margin:13px 0 5px}
@media(max-width:1100px){.orders-hero{grid-template-columns:1fr}.orders-hero-art{display:none}.orders-quote{display:none}.orders-stats{grid-template-columns:1fr 1fr}.orders-tools{grid-template-columns:1fr 1fr}.orders-search{grid-column:1/-1}.orders-bottom-cards{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.orders-stats,.orders-bottom-cards{grid-template-columns:1fr}.orders-tools{grid-template-columns:1fr}.orders-search{grid-column:auto}.orders-title-row h2{font-size:23px}.orders-title-row p{font-size:9px}.orders-foot{align-items:flex-start;gap:8px;flex-direction:column}}
