:root{--navy:#0a1c34;--navy-soft:#132c4b;--teal:#12c8d9;--ink:#152d47;--muted:#75869a;--bg:#f4f7fb;--border:#e7edf3;--shadow:0 12px 35px #0928400b;--font:'Cairo',Tahoma,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);font-family:var(--font);color:var(--ink);font-size:13px}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}img{max-width:100%}[hidden]{display:none!important}.primary-btn,.secondary-btn{border:0;border-radius:11px;padding:11px 18px;font-size:12px;font-weight:900;transition:.2s;display:inline-flex;justify-content:center;align-items:center;gap:8px}.primary-btn{color:#062b40;background:linear-gradient(110deg,#16d3df,#58bffd);box-shadow:0 8px 18px #13bcd31e}.primary-btn:hover{filter:brightness(1.06);transform:translateY(-2px)}.primary-btn:disabled{opacity:.6;cursor:progress}.secondary-btn{background:#eef8fb;color:#007f9a;border:1px solid #d1eff4}.secondary-btn:hover{background:#d9f5fa}.full{width:100%}.error-message{color:#ca4545;font-size:12px}.login-screen{min-height:100vh;background:radial-gradient(circle at 20% 10%,#16537e 0,transparent 35%),linear-gradient(140deg,#07142b,#0b2948 70%,#0a4d60);display:grid;place-items:center;padding:22px;position:relative;overflow:hidden}.login-orbit{position:absolute;height:500px;width:500px;border:1px solid #19dbe026;border-radius:50%;top:-170px;right:-180px;box-shadow:0 0 0 55px #18deed0a,0 0 0 110px #18deed05}.orb-2{right:auto;left:-230px;top:auto;bottom:-260px}.login-card{position:relative;z-index:1;background:#fff;border-radius:25px;padding:37px;width:min(425px,100%);box-shadow:0 35px 100px #00101f70}.login-brand{display:flex;align-items:center;gap:12px;border-bottom:1px solid #e8eef2;padding-bottom:22px;margin-bottom:25px}.login-brand img{width:55px;height:55px}.login-brand h1{font-size:21px;margin:0;line-height:1.2}.login-brand h1 span{color:#09b7c9}.login-brand small{color:#899bad}.login-kicker{color:#0aaab9;font-weight:900;font-size:11px}.login-card h2{font-size:27px;margin:5px 0}.login-card p{font-size:12px;line-height:2;color:#8292a2}.login-card label,.form-grid label,.security-form label,.entity-form label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:900;color:#3c5770}.login-card label{margin:23px 0}.login-card input,.form-grid input,.form-grid textarea,.form-grid select,.security-form input,.entity-form input,.entity-form textarea,.entity-form select,.table-tools input{padding:11px 13px;background:#fbfcff;border:1px solid #dfe7ef;outline:none;border-radius:11px;min-height:44px;max-width:100%;color:#15354e}.login-card input:focus,.form-grid input:focus,.form-grid textarea:focus,.security-form input:focus,.entity-form input:focus,.entity-form textarea:focus,.table-tools input:focus{border-color:#15c3d5;box-shadow:0 0 0 3px #13d9df13}.back-to-store{display:block;text-align:center;margin-top:20px;color:#788fa4;font-weight:800;font-size:12px}.admin-layout{display:flex;min-height:100vh}.sidebar{width:255px;flex-shrink:0;background:var(--navy);color:#a9bfd3;position:fixed;right:0;top:0;bottom:0;display:flex;flex-direction:column;z-index:50;box-shadow:-8px 0 30px #06223c1c}.sidebar-brand{height:90px;padding:18px 23px;display:flex;align-items:center;gap:10px;border-bottom:1px solid #24405e}.sidebar-brand img{width:47px;height:47px}.sidebar-brand b{color:#fff;font-size:16px;display:block}.sidebar-brand small{color:#5bb9cc;font-size:10px}.sidebar-caption{font-size:10px;color:#53748f;font-weight:900;margin:29px 23px 10px}.side-nav{display:flex;flex-direction:column;gap:4px;padding:0 13px}.side-link{border:0;background:none;color:#95b1c7;display:flex;gap:13px;align-items:center;text-align:right;padding:12px 16px;border-radius:11px;font-size:12px;font-weight:800;transition:.2s}.side-link:hover,.side-link.active{background:#154265;color:#33e0e9}.side-icon{display:grid;place-items:center;font-size:19px;width:21px;color:inherit}.side-count{margin-right:auto;background:#ffae65;color:#07263e;padding:1px 8px;border-radius:11px}.sidebar-bottom{margin-top:auto;padding:19px;display:flex;flex-direction:column;gap:10px;border-top:1px solid #23415d}.sidebar-bottom a,.sidebar-bottom button{border:1px solid #27496a;background:#10304d;color:#c3daea;border-radius:11px;padding:11px 12px;text-align:right;font-size:12px;font-weight:800}.sidebar-bottom .logout-btn{color:#fdc2c2}.main-area{margin-right:255px;min-width:0;flex:1}.admin-header{height:91px;display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fff;padding:0 36px;border-bottom:1px solid #e7edf3;position:sticky;top:0;z-index:25}.header-intro{display:flex;align-items:center;gap:15px}.header-intro small{font-size:10px;color:#8294a9}.header-intro h1{font-size:23px;font-weight:900;margin:0;line-height:1.3}.header-actions{display:flex;align-items:center;gap:16px}.live-indicator{background:#e8fbf3;color:#18a679;font-size:10px;font-weight:900;padding:7px 11px;border-radius:9px}.live-indicator i{display:inline-block;width:7px;height:7px;background:#31c699;border-radius:50%;margin-left:5px}.header-preview{font-size:11px;color:#2982a0;font-weight:900}.admin-avatar{height:39px;width:39px;border-radius:12px;background:#153956;color:#2ce0e7;display:grid;place-items:center;font-size:20px;font-weight:900}.menu-btn{display:none;border:none;background:#eaf4fa;padding:8px 12px;border-radius:9px}.admin-content{max-width:1500px;margin:auto;padding:35px}.admin-section{display:none;animation:rise .35s}.admin-section.active{display:block}@keyframes rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.page-description{color:#8092a4;margin-bottom:25px}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:22px}.stat-card{background:#fff;border-radius:17px;border:1px solid #e6ecf2;padding:24px;box-shadow:var(--shadow);position:relative;overflow:hidden}.stat-card:after{content:'';height:74px;width:74px;border-radius:50%;position:absolute;left:-25px;top:-28px;background:var(--stat-bg,#dff7fb)}.stat-icon{font-size:24px;color:var(--stat-color,#0da8c3)}.stat-card small{color:#8090a2;font-weight:800;display:block;margin:10px 0 0}.stat-card strong{font-size:27px;font-weight:900;line-height:1.3}.dash-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:21px}.panel{background:#fff;border:1px solid #e7edf3;border-radius:18px;box-shadow:var(--shadow);overflow:hidden;margin-bottom:21px}.panel-head{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid #edf1f6}.panel-head h3{margin:0;font-size:15px}.text-button{border:0;background:none;color:#099db2;font-weight:900;font-size:11px}.recent-orders{padding:7px 22px}.recent-order{display:flex;align-items:center;gap:12px;border-bottom:1px solid #eef1f5;padding:13px 0}.recent-order:last-child{border:0}.recent-order-icon{height:39px;width:39px;border-radius:12px;background:#edf8fd;display:grid;place-items:center;font-size:19px;color:#2c9cb5}.recent-order-text{flex:1;min-width:0}.recent-order-text b{display:block;font-size:11px}.recent-order-text small{display:block;color:#91a0af}.mini-status{font-size:10px;padding:5px 9px;border-radius:20px;background:#e9f4fb;color:#2f92ac;font-weight:900}.category-statistics{padding:25px}.category-stat{margin-bottom:19px}.category-stat-head{display:flex;justify-content:space-between;margin-bottom:7px;font-weight:800;font-size:11px}.category-stat-head span:last-child{color:#8c9cad}.stat-track{height:9px;background:#ecf2f7;border-radius:8px;overflow:hidden}.stat-fill{height:100%;background:linear-gradient(90deg,#0bcddd,#4576e9);border-radius:8px}.help-callout{margin-top:16px;display:flex;gap:15px;align-items:center;padding:24px;border:1px solid #bdeaf0;border-radius:16px;background:linear-gradient(90deg,#e5f9fa,#f7fcff)}.callout-icon{width:47px;height:47px;border-radius:13px;background:#cdf3f5;color:#0b9eb3;display:grid;place-items:center;flex-shrink:0;font-size:25px}.help-callout div{flex:1}.help-callout strong{font-size:14px}.help-callout p{color:#638599;margin:4px 0 0;font-size:11px;line-height:1.8}.section-action-header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}.section-action-header h2{font-size:20px;margin:0 0 4px}.section-action-header p{font-size:12px;color:#8290a0;margin:0}.table-tools{display:flex;align-items:center;justify-content:space-between;padding:20px}.table-tools input{min-width:300px}.table-count{color:#8293a4;font-size:12px}.table-scroller{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:right}th{font-size:11px;color:#7b8da1;background:#f8fafc;padding:14px 18px}td{padding:13px 18px;border-bottom:1px solid #edf1f5;font-size:11px;color:#526a80}tr:last-child td{border-bottom:0}.table-product{display:flex;align-items:center;gap:10px;max-width:285px}.table-product strong{color:#223c53;font-size:11px;display:block;overflow:hidden;text-overflow:ellipsis;max-width:190px}.table-product small{font-size:10px;color:#99a8b6}.thumb-small{height:47px;width:47px;border-radius:11px;flex-shrink:0;background:#e8f7fb;object-fit:cover;display:grid;place-items:center;color:#13b4c6;font-size:24px}.table-actions{display:flex;align-items:center;gap:6px}.table-actions button{border:1px solid #e3edf3;border-radius:8px;padding:6px 9px;background:#f6fbfd;color:#327f97;font-size:10px;font-weight:900}.table-actions button.delete{color:#bf5863;background:#fff5f5;border-color:#fae1e1}.stock-pill{padding:5px 9px;border-radius:9px;background:#e9f8ee;color:#2caa73;font-size:10px;font-weight:900}.stock-pill.out{background:#fff0f0;color:#d75d5d}.stock-pill.unknown{background:#edf2f7;color:#718498}.status-select{border:1px solid #e1eaf3;border-radius:8px;padding:6px;background:#fff;font-size:10px;color:#49697d}.video-admin-list{padding:10px 22px}.video-admin-row{display:flex;align-items:center;gap:18px;padding:17px 0;border-bottom:1px solid #eaf0f4}.video-admin-row:last-child{border:0}.video-admin-thumb{height:76px;width:113px;flex-shrink:0;border-radius:11px;background:#143956;color:#34d8ea;display:grid;place-items:center;font-size:30px;overflow:hidden}.video-admin-thumb img{width:100%;height:100%;object-fit:cover}.video-admin-body{flex:1;min-width:0}.video-admin-body h4{font-size:13px;margin:0}.video-admin-body a{font-size:10px;color:#099db6;word-break:break-all}.form-panel{padding:26px 29px}.form-heading{display:flex;gap:13px;align-items:center;margin-bottom:22px;border-bottom:1px solid #eef2f6;padding-bottom:20px}.form-heading>span{width:43px;height:43px;background:#e8f8fc;border-radius:12px;display:grid;place-items:center;font-size:25px;color:#08a6bb}.form-heading h3{margin:0;font-size:16px}.form-heading p{font-size:11px;color:#92a1af;margin:2px 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px}.form-grid label small{font-size:10px;color:#8c9baa;font-weight:500;line-height:1.8}.form-grid .span2{grid-column:span 2}.form-grid textarea,.entity-form textarea{resize:vertical;min-height:82px}.upload-preview{display:grid;place-items:center;border:1px dashed #d5e6ec;border-radius:12px;background:#f5fafc;min-height:65px}.upload-preview img{max-height:75px;object-fit:contain}.save-settings{margin-top:25px}.import-panel{padding:35px;text-align:center}.import-symbol{font-size:46px;height:85px;width:85px;background:#e7f9fc;color:#05abc0;border-radius:24px;display:grid;place-items:center;margin:0 auto 17px}.import-panel h3{font-size:20px;margin:4px 0}.import-panel>p{color:#7e91a2;font-size:12px;max-width:650px;margin:12px auto 25px}.import-panel>input{display:block;margin:0 auto 15px;max-width:100%;font-size:12px}.import-preview{color:#16829d;font-size:12px;margin:15px auto}.import-help{text-align:right;background:#f5f9fd;border:1px solid #e3eef5;border-radius:13px;margin-top:30px;padding:22px}.import-help strong{display:block}.import-help code{display:block;direction:ltr;text-align:left;white-space:normal;word-break:break-word;padding:13px;margin:10px 0;background:#e7f0f7;border-radius:9px;font-size:12px;color:#265b80}.import-help p{font-size:11px;color:#8295a6}.security-form{max-width:620px}.security-form label{margin:19px 0}.security-note{font-size:11px;color:#788fa2;line-height:2;margin-top:22px}.dialog-layer{position:fixed;inset:0;background:#02132acc;backdrop-filter:blur(5px);display:grid;place-items:center;padding:17px;z-index:100}.dialog-card{width:min(670px,100%);max-height:calc(100vh - 40px);overflow:auto;background:#fff;border-radius:21px;box-shadow:0 30px 100px #0008}.dialog-header{padding:20px 25px;border-bottom:1px solid #eaf0f5;display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;background:#fff;z-index:2}.dialog-header h2{margin:0;font-size:19px}.dialog-close{font-size:28px;border:0;background:#f0f5f9;color:#667e90;border-radius:11px;height:38px;width:38px;line-height:1}.entity-form{padding:22px 25px}.entity-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.entity-form label{margin-bottom:12px}.entity-grid .span2{grid-column:span 2}.entity-form .check-label{display:flex;flex-direction:row;align-items:center;gap:7px}.entity-form .check-label input{min-height:0}.entity-form .form-actions{display:flex;gap:8px;margin-top:18px}.entity-form label>small{color:#8c9aa9;font-size:10px}.details-box{padding:24px;font-size:12px;line-height:2}.details-box b{color:#123958}.details-list{padding:10px;background:#f1f8fc;border-radius:10px}.details-list div{display:flex;justify-content:space-between;border-bottom:1px solid #dfeef4;padding:4px}.details-list div:last-child{border:0}.admin-toast{position:fixed;bottom:22px;left:25px;background:#092f4e;color:#fff;border:1px solid #24cfda88;padding:12px 18px;border-radius:12px;box-shadow:0 12px 30px #0002;z-index:200;opacity:0;transform:translateY(20px);transition:.25s;pointer-events:none}.admin-toast.show{opacity:1;transform:none}.empty-admin{padding:35px;text-align:center;color:#8c9baa}.side-mobile-overlay{display:none}
@media(max-width:1200px){.stat-grid{grid-template-columns:repeat(2,1fr)}.dash-grid{grid-template-columns:1fr}.admin-content{padding:25px}.sidebar{width:225px}.main-area{margin-right:225px}}
@media(max-width:800px){.sidebar{right:-260px;width:250px;transition:right .3s}.sidebar.open{right:0}.main-area{margin-right:0}.admin-header{padding:0 18px;height:74px}.menu-btn{display:block}.header-intro h1{font-size:18px}.header-actions .live-indicator,.header-actions .header-preview{display:none}.admin-content{padding:18px}.stat-grid{gap:10px}.stat-card{padding:17px}.stat-card strong{font-size:22px}.section-action-header{align-items:flex-start;flex-wrap:wrap}.form-grid{grid-template-columns:1fr}.form-grid .span2{grid-column:auto}.help-callout{flex-wrap:wrap}.table-tools input{min-width:0;width:100%}.table-tools{gap:10px}.entity-grid{grid-template-columns:1fr}.entity-grid .span2{grid-column:auto}}
@media(max-width:480px){.login-card{padding:25px}.login-card h2{font-size:22px}.stat-card small{font-size:10px}.section-action-header h2{font-size:18px}.section-action-header p{font-size:10px}.form-panel{padding:18px}.import-panel{padding:20px}.video-admin-row{gap:10px}.video-admin-thumb{width:85px;height:60px}.header-intro small{font-size:9px}}

/* Matching dashboard identity */
:root{--brand-lime:#b7f52b;--brand-navy:#071742}
.admin-sidebar{background:linear-gradient(165deg,#071742,#123578)}
.admin-sidebar .active{background:#a9ef292a;border-color:#b6f238}
.admin-sidebar a:hover{background:#c5ff3c20}
.admin-logo{color:#b7f52b}

.entity-form textarea[name="specs_lines"]{min-height:125px;font-family:inherit;line-height:1.8}
body{font-size:16px}.side-link,.primary-btn,.secondary-btn,.table-count{font-size:14px}td,th,.form-grid label,.entity-form label{font-size:14px}.page-description,.section-action-header p,.panel p{line-height:1.8}
