*,*:before,*:after{box-sizing:border-box}*{margin:0;padding:0}html,body{height:100%;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.5;background-color:#fff;color:#111}img,picture,video,canvas,svg{display:block;max-width:100%}input,button,textarea,select{font:inherit}button{background:none;border:none;cursor:pointer}.navbar{display:flex;justify-content:space-between;align-items:center;padding:32px;background-color:#333e4b;margin:0;border-radius:10px 10px 0 0;gap:20px}.navbar-left-group{display:flex;justify-content:space-between;align-items:center;gap:10px 30px;flex-wrap:wrap;flex:1}.navbar-title{color:#f9fafb;font-weight:600;font-size:24px}.navbar-links{display:flex;gap:20px}.navbar-item{font-size:16px;color:#f9fafb;background:none;border:none;cursor:pointer;text-decoration:none}.navbar-profile{width:32px;height:32px;background-color:#ccc;border-radius:50%;display:flex;align-items:center;justify-content:center}.navbar-profile-icon{color:#333e4b;font-size:18px}.general-layout{display:flex;flex-direction:column;min-height:100vh;background-color:#f9fafb;margin:1vw}.general-content{flex:1;padding:2rem;word-wrap:break-word;overflow-wrap:anywhere;white-space:pre-wrap}.base-widget{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;padding:16px;background-color:#fff;margin:2vh 0px;border:1px solid rgb(225,225,225);border-radius:3px 3px 0 0}.widget-title{color:#333e4b;font-size:24px;font-weight:500}.widget-body{width:100%;margin-top:8px}.info-widget{display:flex;flex-direction:column;justify-content:flex-end}.col-header{font-weight:600;font-size:18px;color:#121313}.info-table{width:100%;border-collapse:collapse;margin-top:12px}.info-table th{text-align:left;font-weight:600;color:#555;padding-bottom:8px;border-bottom:1px solid #eee;text-align:right}.info-table td{padding:.4vh 0px;color:#222;text-align:right}.details{margin-top:12px;font-size:14px;color:#1e90ff;text-decoration:none;align-self:flex-end}.details:hover{text-decoration:underline}.info-table td:first-child,.info-table th:first-child{text-align:left}.user-info{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;margin-bottom:24px}.user-avatar{width:80px;height:80px;border-radius:50%;background-color:#f1f1f1;display:flex;justify-content:center;align-items:center;box-shadow:inset 0 0 6px #0000001a}.avatar-icon{font-size:42px;color:#bbb}.user-details{display:flex;flex-direction:column;gap:4px}.user-name{font-weight:600;font-size:1.1rem;color:#333}.user-email{font-size:.9rem;color:#777}.user-actions{display:flex;justify-content:space-between;width:100%;gap:12px}.user-actions button{flex:1;padding:10px 0;border-radius:6px;border:none;font-weight:500;cursor:pointer;transition:background .2s,color .2s}.login-btn{background-color:#333e4b;color:#fff}.login-btn:hover{background-color:#516278}.logout-btn{background-color:#333e4b;color:#fff}.login-btn:disabled,.logout-btn:disabled{background-color:#eaeaea;color:#999;cursor:not-allowed}.product-layout{display:flex;flex-direction:column;min-height:100vh;background-color:#f9fafb;margin:1vw}.product-content{flex:1;padding:2rem;word-wrap:break-word;overflow-wrap:anywhere;white-space:pre-wrap}.product-widget{display:flex;flex-direction:row;justify-content:flex-start;flex-wrap:wrap;align-items:flex-start}.product-image{object-fit:cover;height:100%;width:100%}.add-image-placeholder{display:flex;justify-content:center;align-items:center;width:100%;height:100%;cursor:pointer;transition:color .2s;color:#bbb}.add-image-placeholder:hover{color:#333e4b}.table-container{flex:1;display:flex;justify-content:left;align-items:center;min-width:200px}.product-table{width:100%;border-collapse:collapse}.product-table th{font-weight:600;color:#333e4b;border-bottom:1px solid #333e4b1e;text-align:left;padding:0 12px}.product-table td{padding:.4vh 0px;color:#333e4b;text-align:left;padding:4px 12px}.add-qty-btn{padding:2px 8px;background-color:#fff;border:1px solid #ddd;color:333E4B;border-radius:4px;cursor:pointer;font-size:12px;margin-left:8px;font-weight:450}.product-attributes{flex:1 1 300px;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:8px 16px;min-width:600px}.attribute-row{display:inline-grid;grid-template-columns:auto auto;gap:4px 8px;white-space:nowrap;width:auto;max-width:max-content}.attribute-name{font-weight:600;color:#333}.attribute-value{color:#222}.edit-product-button-container{display:flex;justify-content:flex-end;width:100%;margin-top:16px}.edit-product-btn{padding:8px 16px;background-color:#333e4b;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:16px;font-weight:600;margin-top:auto;margin-left:auto}.edtit-product-btn:hover{background-color:#555f6b}.category-selects{display:flex;gap:12px;align-items:center}.category-dropdown,.subcategory-dropdown{height:36px;padding:4px 10px;border:1px solid #ccc;border-radius:6px;background-color:#f9fafb;color:#333;font-size:14px;cursor:pointer;transition:border-color .2s,background-color .2s}.category-dropdown:hover,.subcategory-dropdown:hover{border-color:#bbb;background-color:#f3f4f6}.title-bar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:0;margin-bottom:16px}.titlebar-title{flex:1;min-width:120px;max-width:240px;padding:8px 10px;border:1px solid #ccc;border-radius:4px}.add-listing-btn{display:inline-flex;align-items:center;height:36px;width:144px;justify-content:center;padding:0 12px;background-color:#f3f4f6;border:1px solid #ccc;border-radius:6px;font-size:14px;font-weight:500;color:#333;cursor:pointer;text-decoration:none;transition:background-color .2s,border-color .2s}.add-listing-btn:hover{background-color:#e5e7eb;border-color:#bbb}.filter-bar{display:flex;justify-content:flex-end;align-items:center;gap:20px;margin-top:0;margin-bottom:16px}.filter-item{flex:1;min-width:120px;max-width:240px;padding:8px 10px;border:1px solid #ccc;border-radius:4px}.image-container{display:flex;flex:0 0 150px;flex-direction:column;justify-content:center;align-items:flex-start;height:150px;margin-right:20px;border:1px solid #ddd;border-radius:6px;overflow:hidden;background-color:#f9fafb}.product-image{object-fit:contain}.product-image:hover{cursor:pointer;background-color:#c6c6c6}.add-image-placeholder{display:flex;justify-content:center;align-items:center;flex-direction:column;gap:8px;width:100%;height:100%;cursor:pointer;transition:color .2s;color:#333e4b}.add-image-placeholder:hover{color:#555f6b}.image-option-btn{flex:1;width:100%;display:flex;justify-content:center;align-items:center;border:1px solid #ddd}.image-option-btn:hover{background-color:#f3f4f6}.product-widget{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;padding-top:8px;flex-wrap:wrap;gap:16px}.col-header{font-weight:600;font-size:18px;color:#333e4b}.table-container{flex:1;display:flex;justify-content:left;overflow-x:auto;overflow-y:hidden;width:100%}.product-table{width:auto;border-collapse:collapse}.product-table th{font-weight:600;color:#333e4b;border-bottom:1px solid #333e4b1e;text-align:left;padding:0 12px;text-wrap:nowrap}.product-table td{padding:.4vh 0px;color:#333e4b;text-align:left;padding:4px 12px;text-wrap:nowrap}.add-qty-btn{padding:2px 8px;background-color:#fff;border:1px solid #ddd;color:333E4B;border-radius:4px;cursor:pointer;font-size:12px;margin-left:8px;font-weight:450;text-wrap:nowrap}.add-qty-btn:hover{background-color:#333e4b1e}.break{flex-basis:100%;height:0}input{width:100%;border:1px solid #ccc;border-radius:6px;padding:2px 4px;background-color:#f9fafb}input:hover{border-color:#bbb;background-color:#f3f4f6}.value-select{padding:6px 8px;border:1px solid #ddd;width:100%}.value-select{height:30px;padding:4px 10px;border:1px solid #ccc;border-radius:6px;background-color:#f9fafb;color:#333e4b;font-size:14px;cursor:pointer;transition:border-color .2s,background-color .2s}.value-select:hover{border-color:#bbb;background-color:#f3f4f6}.custom-input{width:calc(100% - 20px)}.select-arrows-only{width:20px;background-position:right center;appearance:auto}.disabled-select{background-color:#e0e0e0;color:#888;cursor:not-allowed}.save-product-btn{padding:8px 16px;background-color:#333e4b;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:16px;font-weight:600;margin-top:auto;margin-left:auto}.save-product-btn:hover{background-color:#555f6b}
