:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}body{margin:0}#root{text-align:center;border-inline:1px solid var(--border);box-sizing:border-box;flex-direction:column;width:1126px;max-width:100%;min-height:100svh;margin:0 auto;display:flex}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}*{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth}body{color:#172033;background:#f4f6f9;font-family:Inter,Arial,Helvetica,sans-serif;overflow-x:hidden}button,input,select{font-family:inherit}button{cursor:pointer}.app{min-height:100vh;display:flex}.sidebar{color:#fff;z-index:100;background:#010d25;flex-direction:column;width:260px;min-height:100vh;padding:24px 18px;display:flex;position:fixed;top:0;bottom:0;left:0;box-shadow:5px 0 25px #010d251f}.brand{background:#010d25;border-bottom:1px solid #ffffff1f;padding:4px 10px 24px}.brand-logo{object-fit:contain;width:100%;max-width:210px;height:auto;margin:0 auto;display:block}.menu{flex-direction:column;gap:7px;margin-top:24px;display:flex}.menu-item{color:#cbd5e1;text-align:left;background:0 0;border:none;border-radius:10px;width:100%;min-height:48px;padding:13px 16px;font-size:14px;font-weight:500;transition:all .2s}.menu-item:hover{color:#fff;background:#ffffff14;transform:translate(2px)}.menu-item.active{color:#010d25;background:#fff;font-weight:700}.sidebar-bottom{color:#94a3b8;text-align:center;margin-top:auto;padding:20px 14px 4px;font-size:12px}.main{width:calc(100% - 260px);min-width:0;min-height:100vh;margin-left:260px}.topbar{z-index:50;background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;height:90px;padding:0 36px;display:flex;position:sticky;top:0}.topbar h1{color:#10233d;font-size:23px}.topbar p{color:#8793a5;margin-top:5px;font-size:13px}.admin{align-items:center;gap:12px;display:flex}.admin-avatar{color:#fff;background:#010d25;border-radius:50%;justify-content:center;align-items:center;width:43px;height:43px;font-weight:800;display:flex}.admin strong{font-size:14px;display:block}.admin span{color:#8b96a8;margin-top:3px;font-size:12px;display:block}.content{width:100%;padding:30px 30px 50px}.welcome{color:#fff;background:linear-gradient(120deg,#010d25,#092b52);border-radius:18px;justify-content:space-between;align-items:center;min-height:185px;padding:34px 38px;display:flex}.small-title{color:#b9c8d9;letter-spacing:4px;font-size:11px;font-weight:700}.welcome h2{margin-top:10px;font-size:32px}.welcome p{color:#cbd5e1;margin-top:10px;font-size:14px;line-height:1.6}.welcome-logo{border:2px solid #ffffff59;border-radius:24px;justify-content:center;align-items:center;width:96px;height:96px;font-size:48px;font-weight:900;display:flex}.stats{grid-template-columns:repeat(4,1fr);gap:18px;margin-top:22px;display:grid}.stat-card{background:#fff;border:1px solid #e6eaf0;border-radius:14px;padding:23px}.stat-card span{color:#8995a7;letter-spacing:1px;font-size:11px;font-weight:700}.stat-card strong{color:#010d25;margin-top:12px;font-size:29px;display:block}.stat-card p{color:#9aa4b3;margin-top:7px;font-size:12px}.panel{background:#fff;border:1px solid #e6eaf0;border-radius:14px;margin-top:24px;overflow:hidden}.panel-header{border-bottom:1px solid #edf0f4;justify-content:space-between;align-items:center;gap:20px;padding:21px 24px;display:flex}.panel-header h3{color:#14243b;font-size:17px}.panel-header p{color:#98a2b1;margin-top:5px;font-size:12px}.panel-header button{color:#010d25;background:#fff;border:1px solid #d7dde5;border-radius:8px;padding:10px 15px;font-weight:650}.products-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px;display:flex}.products-header h2{color:#10233d;font-size:22px}.products-header p{color:#8a96a8;margin-top:6px;font-size:13px}.primary-button{color:#fff;background:#010d25;border:none;border-radius:9px;min-height:42px;padding:0 18px;font-size:13px;font-weight:700}.primary-button:hover{background:#092b52}.product-tools{background:#fff;border:1px solid #e3e8ef;border-radius:13px;align-items:center;gap:10px;margin-bottom:15px;padding:14px;display:flex}.product-search{background:#fafbfc;border:1px solid #dbe1e8;border-radius:9px;flex:1;align-items:center;gap:8px;min-width:0;height:42px;padding:0 13px;display:flex}.product-search input{background:0 0;border:none;outline:none;width:100%}.category-select,.status-select{color:#334155;background:#fafbfc;border:1px solid #dbe1e8;border-radius:9px;outline:none;height:42px;padding:0 12px;font-size:12px}.category-select{width:170px}.status-select{width:145px}.products-panel{background:#fff;border:1px solid #e3e8ef;border-radius:13px;width:100%;overflow:hidden}.table-wrapper{width:100%;overflow:hidden}.products-table{border-collapse:collapse;table-layout:fixed;width:100%}.products-table th:first-child,.products-table td:first-child{width:6%}.products-table th:nth-child(2),.products-table td:nth-child(2){width:11%}.products-table th:nth-child(3),.products-table td:nth-child(3){width:24%}.products-table th:nth-child(4),.products-table td:nth-child(4){width:11%}.products-table th:nth-child(5),.products-table td:nth-child(5){width:12%}.products-table th:nth-child(6),.products-table td:nth-child(6){width:7%}.products-table th:nth-child(7),.products-table td:nth-child(7){width:10%}.products-table th:nth-child(8),.products-table td:nth-child(8){width:19%}.products-table thead{background:#f8fafc}.products-table th{text-align:left;color:#748195;text-transform:uppercase;white-space:nowrap;border-bottom:1px solid #e5e9ef;padding:13px 8px;font-size:9px}.products-table td{color:#35445a;vertical-align:middle;border-bottom:1px solid #edf0f4;padding:11px 8px;font-size:11px;overflow:hidden}.products-table tbody tr:hover{background:#f9fbfd}.archived-row{background:#fafafa}.archived-row td{color:#8b96a7}.product-image-placeholder,.product-table-image{border-radius:8px;width:42px;height:42px}.product-image-placeholder{color:#7890a8;background:#edf2f7;border:1px solid #e1e7ee;justify-content:center;align-items:center;display:flex}.product-table-image{object-fit:cover;border:1px solid #e1e7ee;display:block}.product-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.category-badge{color:#35516d;white-space:nowrap;text-overflow:ellipsis;background:#edf3f8;border-radius:20px;width:fit-content;max-width:100%;padding:6px 8px;font-size:9px;display:block;overflow:hidden}.price-text{color:#010d25;white-space:nowrap}.stock-badge{color:#267448;background:#eaf7ef;border-radius:20px;justify-content:center;align-items:center;min-width:34px;height:25px;padding:0 7px;font-size:10px;font-weight:750;display:inline-flex}.stock-badge.out{color:#b84242;background:#fcecec}.status-badge{white-space:nowrap;border-radius:20px;justify-content:center;align-items:center;min-height:26px;padding:0 9px;font-size:9px;font-weight:750;display:inline-flex}.status-badge.active{color:#247348;background:#e9f7ef}.status-badge.archived{color:#697586;background:#edf0f3}.table-actions{align-items:center;gap:4px;width:100%;display:flex}.edit-button,.archive-button,.activate-button{white-space:nowrap;border-radius:6px;height:30px;padding:0 7px;font-size:9px;font-weight:700}.edit-button{color:#284a6c;background:#fff;border:1px solid #ccd7e3}.archive-button{color:#626e7d;background:#f7f8f9;border:1px solid #d8dde3}.activate-button{color:#267448;background:#eff9f3;border:1px solid #b9dfc8}.edit-button:hover{background:#edf3f8}.archive-button:hover{background:#e9edf1}.activate-button:hover{background:#dff3e7}.pagination-area{background:#fbfcfd;border-top:1px solid #e8ecf1;justify-content:space-between;align-items:center;gap:15px;min-height:64px;padding:12px 15px;display:flex}.pagination-info{color:#8a96a7;font-size:11px}.pagination{flex-wrap:wrap;gap:4px;display:flex}.pagination button{color:#536174;background:#fff;border:1px solid #dce2e9;border-radius:6px;min-width:31px;height:31px;padding:0 6px}.pagination button.page-active{color:#fff;background:#010d25;border-color:#010d25}.pagination button:disabled{opacity:.4;cursor:not-allowed}.empty{text-align:center;padding:64px 20px}.empty-icon{color:#010d25;background:#edf2f7;border-radius:14px;justify-content:center;align-items:center;width:55px;height:55px;margin:0 auto 15px;font-size:25px;display:flex}.empty h3{font-size:15px}.empty p{color:#9aa4b3;margin-top:7px;font-size:13px}.modal-overlay{z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#010d25a6;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.product-modal{background:#fff;border-radius:18px;width:100%;max-width:650px;max-height:calc(100vh - 40px);overflow-y:auto;box-shadow:0 25px 70px #010d254d}.modal-header{border-bottom:1px solid #e8ecf1;justify-content:space-between;align-items:flex-start;padding:23px 26px 19px;display:flex}.modal-header h2{color:#010d25;font-size:21px}.modal-header p{color:#8b96a7;margin-top:6px;font-size:12px}.modal-close{color:#536174;background:#f1f4f7;border:none;border-radius:9px;width:36px;height:36px;font-size:23px}.product-form{padding:22px 26px 26px}.form-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.form-group{margin-bottom:17px}.form-group label{color:#35445a;margin-bottom:7px;font-size:12px;font-weight:700;display:block}.form-group input{background:#fafbfc;border:1px solid #d8dfe7;border-radius:9px;outline:none;width:100%;height:44px;padding:0 13px}.form-group input:focus{background:#fff;border-color:#71859b}.image-upload-box{cursor:pointer;background:#f8fafc;border:2px dashed #ccd6e2;border-radius:12px;justify-content:center;align-items:center;width:100%;min-height:125px;padding:14px;margin-bottom:0!important;display:flex!important}.image-upload-box:hover{border-color:#71859b}.image-upload-box input{display:none}.upload-content{align-items:center;gap:14px;display:flex}.upload-icon{color:#fff;background:#010d25;border-radius:12px;justify-content:center;align-items:center;width:48px;height:48px;font-size:25px;display:flex}.upload-content strong,.image-preview-text strong{color:#20334a;font-size:13px;display:block}.upload-content span,.image-preview-text span{color:#8b96a7;margin-top:5px;font-size:11px;display:block}.image-preview-area{align-items:center;gap:17px;width:100%;display:flex}.image-preview{object-fit:contain;border:1px solid #e1e6ec;border-radius:10px;width:95px;height:95px}.remove-image-button{color:#b54242;background:0 0;border:none;margin-top:8px;font-size:11px;font-weight:700}.price-input{position:relative}.price-input input{padding-right:48px}.price-input span{color:#748195;font-size:12px;font-weight:700;position:absolute;top:50%;right:13px;transform:translateY(-50%)}.form-error{color:#b33d3d;background:#fff3f3;border:1px solid #f2c7c7;border-radius:8px;margin-bottom:18px;padding:11px 13px;font-size:12px;font-weight:600}.modal-actions{justify-content:flex-end;gap:9px;padding-top:5px;display:flex}.cancel-button,.save-button{border-radius:9px;min-height:42px;padding:0 18px;font-size:12px;font-weight:700}.cancel-button{color:#536174;background:#fff;border:1px solid #d8dfe7}.save-button{color:#fff;background:#010d25;border:1px solid #010d25}@media (width<=1100px){.content{padding:22px 18px 40px}.stats{grid-template-columns:repeat(2,1fr)}.products-table th,.products-table td{padding-left:5px;padding-right:5px;font-size:9px}}@media (width<=720px){.sidebar{width:72px;padding:18px 8px}.brand{padding:5px 2px 18px}.brand-logo{max-width:58px}.sidebar-bottom{display:none}.menu-item{justify-content:center;align-items:center;height:48px;padding:0;font-size:0;display:flex}.menu-item:first-letter{font-size:20px}.main{width:calc(100% - 72px);margin-left:72px}.topbar{height:76px;padding:0 14px}.topbar h1{font-size:17px}.topbar p,.admin div:last-child{display:none}.content{padding:14px 10px 30px}.welcome-logo{display:none}.stats{grid-template-columns:1fr}.products-header{flex-direction:column;align-items:stretch}.primary-button{width:100%}.product-tools{flex-direction:column;align-items:stretch}.category-select,.status-select{width:100%}.products-table,.products-table tbody,.products-table tr,.products-table td{width:100%;display:block}.products-table thead{display:none}.products-table tr{border-bottom:1px solid #e5e9ef;padding:13px}.products-table td{border:none;padding:5px 0;width:100%!important}.product-table-image,.product-image-placeholder{width:60px;height:60px}.product-name{white-space:normal}.table-actions{margin-top:7px}.edit-button,.archive-button,.activate-button{height:34px;padding:0 12px;font-size:11px}.pagination-area,.panel-header{flex-direction:column;align-items:flex-start}.modal-overlay{padding:10px}.product-modal{max-height:calc(100vh - 20px)}.product-form{padding:18px 17px 20px}.form-row{grid-template-columns:1fr;gap:0}.upload-content,.image-preview-area{text-align:center;flex-direction:column}.modal-actions{flex-direction:column-reverse}.cancel-button,.save-button{width:100%}}
