*{margin:0;padding:0;box-sizing:border-box}:root{--primary-blue:#ec4899;--primary-green:#059669;--primary-purple:#7c3aed;--accent-orange:#ea580c;--text-primary:#1f2937;--text-secondary:#6b7280;--bg-gradient:linear-gradient(135deg,#fdf2f8,#fce7f3 50%,#eff6ff);--card-gradient:linear-gradient(145deg,#fff,#fdf2ff);--header-gradient:linear-gradient(135deg,#db2777,#ec4899 50%,#f97316);--success-gradient:linear-gradient(135deg,#10b981,#059669);--warning-gradient:linear-gradient(135deg,#f59e0b,#d97706);--danger-gradient:linear-gradient(135deg,#ef4444,#dc2626)}body{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;background:var(--bg-gradient);min-height:100vh;color:var(--text-primary);line-height:1.6}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.app-container{display:flex;min-height:100vh}.sidebar{width:280px;background:#fff;box-shadow:4px 0 20px rgba(0,0,0,.1);display:flex;flex-direction:column;position:fixed;height:100vh;z-index:10;left:0;top:0;overflow-y:auto}.sidebar-header{background:var(--header-gradient);padding:24px;color:#fff;text-align:center}.logo{gap:12px;margin-bottom:8px}.logo,.logo-icon{display:flex;align-items:center;justify-content:center}.logo-icon{width:48px;height:48px;background:hsla(0,0%,100%,.2);border-radius:12px;font-size:24px}.app-title{font-size:22px;font-weight:700;margin:0}.app-subtitle{font-size:14px;opacity:.9}.nav-menu{flex:1 1;padding:20px;overflow-y:auto}.nav-section{margin-bottom:24px}.nav-section h3{font-size:14px;font-weight:600;color:var(--text-secondary);margin-bottom:12px;text-transform:uppercase;letter-spacing:.5px}.nav-item{display:flex;align-items:center;padding:12px 16px;margin-bottom:4px;border-radius:8px;cursor:pointer!important;transition:all .3s ease;text-decoration:none;color:var(--text-primary);pointer-events:auto!important;position:relative;z-index:10;font-family:inherit;font-size:15px;font-weight:500}.nav-item:hover{background:#f3f4f6;transform:translateX(4px)}.nav-item.active{background:var(--header-gradient);color:#fff;box-shadow:0 4px 12px rgba(37,99,235,.3)}.nav-item-icon{margin-right:12px;font-size:18px}.nav-item.nav-subitem{font-family:inherit;font-size:15px;font-weight:500;color:var(--text-primary)}.nav-item.nav-subitem .nav-item-icon{font-size:18px}.main-content{flex:1 1;margin-left:280px;display:flex;flex-direction:column}.header{background:#fff;padding:20px 32px;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;align-items:center}.header-title{font-size:28px;font-weight:700;color:var(--text-primary)}.header-subtitle{color:var(--text-secondary);margin-top:4px}.demo-badge{background:var(--success-gradient);color:#fff;padding:8px 16px;border-radius:20px;font-size:14px;font-weight:600;display:flex;align-items:center;gap:8px;box-shadow:0 4px 12px rgba(16,185,129,.3)}.content{flex:1 1;padding:32px;max-width:1200px;margin:0 auto;width:100%}.inventory-tabs{display:inline-flex;border-radius:999px;background:#f3f4f6;padding:4px;margin-bottom:16px;gap:4px}.inventory-tab{padding:6px 14px;border-radius:999px;font-size:13px;border:none;background:transparent;cursor:pointer;color:var(--text-secondary);font-weight:500}.inventory-tab.active{background:#fff;color:var(--text-primary);box-shadow:0 2px 6px rgba(0,0,0,.08)}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));grid-gap:16px;gap:16px;margin-bottom:24px}.stat-card{background:var(--card-gradient);border-radius:12px;padding:16px;box-shadow:0 4px 16px rgba(0,0,0,.08);border:1px solid hsla(0,0%,100%,.2);position:relative;overflow:hidden;transition:all .3s ease}.stat-card:hover{transform:translateY(-4px);box-shadow:0 16px 48px rgba(0,0,0,.12)}.stat-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px}.stat-card.revenue:before{background:var(--success-gradient)}.stat-card.orders:before{background:var(--header-gradient)}.stat-card.customers:before{background:var(--warning-gradient)}.stat-card.products:before{background:var(--danger-gradient)}.stat-card.returned:before{background:linear-gradient(135deg,#f59e0b,#d97706)}.stats-grid-orders-today{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));grid-gap:12px;gap:12px;margin-bottom:24px}.stat-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.stat-title{font-size:12px;font-weight:600;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px}.stat-icon{font-size:20px;opacity:.7}.stat-value{font-size:24px;font-weight:700;color:var(--text-primary);margin-bottom:6px}.stat-change{font-size:12px;font-weight:600}.stat-change.positive{color:#059669}.stat-change.negative{color:#dc2626}table{width:100%;border-collapse:collapse;table-layout:fixed}td,th{padding:12px 10px;border-bottom:1px solid #e5e7eb;text-align:left;vertical-align:middle;white-space:nowrap}th{background:#f9fafb;font-size:13px;font-weight:600;color:var(--text-secondary)}.table-responsive{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive table{width:100%;border-collapse:collapse}.table-responsive td,.table-responsive th{padding:12px 8px;vertical-align:top;box-sizing:border-box}.table-responsive th{background:#f8fafc;font-weight:600;text-align:left;border-bottom:2px solid #e5e7eb;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.table-responsive td{border-bottom:1px solid #f3f4f6;word-wrap:break-word;overflow-wrap:break-word;overflow:hidden}.table-responsive td>div{overflow:hidden;text-overflow:ellipsis}.quick-actions{background:#fff;border-radius:12px;padding:20px;box-shadow:0 4px 16px rgba(0,0,0,.08);margin-bottom:24px}.section-title{font-size:18px;font-weight:700;margin-bottom:16px;color:var(--text-primary)}.action-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));grid-gap:12px;gap:12px}.action-button{background:var(--card-gradient);border:2px solid transparent;border-radius:10px;padding:16px;cursor:pointer;transition:all .3s ease;text-decoration:none;color:var(--text-primary);display:flex;flex-direction:column;align-items:center;text-align:center}.action-button:hover{border-color:var(--primary-blue);transform:translateY(-2px);box-shadow:0 8px 24px rgba(37,99,235,.15)}.action-icon{font-size:24px;margin-bottom:8px}.action-title{font-weight:600;margin-bottom:4px;font-size:14px}.action-desc{font-size:11px;color:var(--text-secondary)}.recent-activity{background:#fff;border-radius:12px;padding:20px;box-shadow:0 4px 16px rgba(0,0,0,.08)}.activity-item{display:flex;align-items:center;padding:12px;border-radius:8px;margin-bottom:8px;transition:background .2s ease}.activity-item:hover{background:#f9fafb}.activity-icon{width:32px;height:32px;border-radius:6px;display:flex;align-items:center;justify-content:center;margin-right:12px;font-size:14px}.activity-icon.success{background:rgba(16,185,129,.1);color:#059669}.activity-icon.warning{background:rgba(245,158,11,.1);color:#d97706}.activity-icon.info{background:rgba(37,99,235,.1);color:#2563eb}.activity-content{flex:1 1}.activity-title{font-weight:600;margin-bottom:2px;font-size:14px}.activity-desc{font-size:12px;color:var(--text-secondary)}.activity-time{font-size:11px;color:var(--text-secondary);text-align:right}.mobile-menu-toggle{top:20px;left:20px;background:var(--primary-blue);color:#fff;border:none;border-radius:8px;padding:12px;font-size:18px;cursor:pointer;box-shadow:0 4px 12px rgba(37,99,235,.3)}.mobile-menu-toggle,.mobile-overlay{display:none;position:fixed;z-index:1002}.mobile-overlay{top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5)}@media (max-width:1024px){.sidebar{width:260px}.main-content{margin-left:260px}.action-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.content{padding:24px}}@media (max-width:768px){.mobile-menu-toggle{display:block!important}.sidebar{transform:translateX(-100%);transition:transform .3s ease;width:280px;z-index:1003;visibility:visible;opacity:1}.sidebar.open{transform:translateX(0)!important;visibility:visible!important;opacity:1!important}.mobile-overlay{z-index:1002}.mobile-overlay.show{display:block!important}.main-content{margin-left:0}.header{padding:15px 20px 15px 70px}.header-title{font-size:22px}.stats-grid{grid-template-columns:1fr;gap:12px}.action-grid{grid-template-columns:repeat(2,1fr);gap:8px}.action-button{padding:12px 8px;font-size:12px}.action-icon{font-size:20px;margin-bottom:6px}.content{padding:16px}.demo-badge{display:none}}@media (max-width:480px){.login-card{padding:30px 20px;margin:20px}.login-logo{width:60px;height:60px}.login-logo,.login-title{font-size:24px}.header-title{font-size:18px}.stats-grid{gap:8px}.stat-card{padding:12px}.stat-value{font-size:20px}.action-grid{grid-template-columns:1fr}.action-button{padding:16px;flex-direction:row;text-align:left;gap:12px}.action-icon{margin-bottom:0;font-size:24px}.content{padding:12px}.section-title{font-size:16px}}@media (max-width:768px){.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch;width:100%}.table-responsive table{min-width:900px;width:auto}.table-responsive td,.table-responsive th{padding:10px 8px;font-size:13px;white-space:normal!important;word-break:break-word!important;vertical-align:top;max-width:none}.table-responsive th{white-space:nowrap;font-size:12px}.table-responsive td{min-width:0}}@media (max-width:480px){.table-responsive{overflow-x:visible;width:100%}.table-responsive table{display:block!important;width:100%!important;min-width:auto!important;table-layout:auto!important}.table-responsive thead{display:none!important}.table-responsive tbody{display:block!important;width:100%}.table-responsive tr{margin-bottom:16px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:12px;box-shadow:0 1px 3px rgba(0,0,0,.1)}.table-responsive td,.table-responsive tr{display:block!important;width:100%!important}.table-responsive td{padding:12px 0!important;text-align:left!important;border:none!important;border-bottom:1px solid #f3f4f6!important;white-space:normal!important;word-break:break-word!important;box-sizing:border-box;position:relative;visibility:visible!important;opacity:1!important;color:var(--text-primary)!important;font-size:14px!important;line-height:1.5!important}.table-responsive td:last-child{border-bottom:none!important}.table-responsive td[data-label]{max-width:none!important;overflow:visible!important}.table-responsive td:before{content:attr(data-label);font-weight:600;color:var(--text-secondary);display:block;margin-bottom:8px;font-size:11px;text-transform:uppercase;letter-spacing:.5px;width:100%;word-break:normal!important;overflow-wrap:normal!important}.table-responsive td:after{content:"";display:block;clear:both}.table-responsive td>div{width:100%!important;display:block!important;visibility:visible!important;opacity:1!important;color:inherit!important}.table-responsive td>a,.table-responsive td>button{display:inline-block!important;visibility:visible!important;opacity:1!important}.table-responsive td>a,.table-responsive td>button,.table-responsive td>div>a,.table-responsive td>div>button{display:inline-block!important;width:auto!important;visibility:visible!important;opacity:1!important}.table-responsive td>div>span,.table-responsive td>span{display:inline!important;visibility:visible!important;opacity:1!important;color:inherit!important}.table-responsive td *{visibility:visible!important;opacity:1!important}.table-responsive td{content:""!important}.table-responsive .orders-table tr{margin-bottom:12px;padding:10px}.table-responsive .orders-table td{padding:8px 0!important}.table-responsive .orders-table td:before{margin-bottom:4px}.table-responsive .orders-table td[data-label="Khách hàng"]{max-width:none!important;overflow:visible!important}.table-responsive.order-detail-edit-lines-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%}.table-responsive.order-detail-edit-lines-wrap table{display:table!important;width:auto!important;min-width:520px!important;table-layout:auto!important}.table-responsive.order-detail-edit-lines-wrap thead{display:table-header-group!important}.table-responsive.order-detail-edit-lines-wrap tbody{display:table-row-group!important}.table-responsive.order-detail-edit-lines-wrap tfoot{display:table-footer-group!important}.table-responsive.order-detail-edit-lines-wrap tr{display:table-row!important;width:auto!important;margin-bottom:0!important;padding:0!important;background:transparent!important;border:none!important;border-radius:0!important;box-shadow:none!important}.table-responsive.order-detail-edit-lines-wrap td,.table-responsive.order-detail-edit-lines-wrap th{display:table-cell!important;width:auto!important;padding:10px 8px!important;border-bottom:1px solid #f3f4f6!important;text-align:inherit!important;vertical-align:middle!important;position:static!important;visibility:visible!important;opacity:1!important;font-size:13px!important;line-height:inherit!important}.table-responsive.order-detail-edit-lines-wrap td:after,.table-responsive.order-detail-edit-lines-wrap td:before{display:none!important;content:none!important}.table-responsive.order-detail-table-wrap tfoot{display:block!important;width:100%!important}.table-responsive.order-detail-table-wrap tfoot tr{display:flex!important;flex-wrap:nowrap!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;margin-bottom:10px!important;padding:12px!important;background:#f9fafb!important;border:1px solid #e5e7eb!important;border-radius:8px!important;box-shadow:0 1px 3px rgba(0,0,0,.06)!important}.table-responsive.order-detail-table-wrap tfoot td{display:block!important;flex:1 1 auto!important;width:auto!important;padding:0!important;border:none!important;text-align:left!important}.table-responsive.order-detail-table-wrap tfoot td:after,.table-responsive.order-detail-table-wrap tfoot td:before{display:none!important;content:none!important}.table-responsive.order-detail-table-wrap tfoot td.order-detail-tfoot-value{flex:0 0 auto!important;text-align:right!important;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}}@media (max-width:768px){.header>div:first-child{min-width:0;flex:1 1}.header-subtitle{overflow-wrap:anywhere;word-break:break-word;max-width:100%}.order-detail-toolbar{flex-direction:column!important;align-items:stretch!important;gap:16px!important}.order-detail-toolbar-title{min-width:0}.order-detail-actions{flex-wrap:wrap!important;justify-content:flex-start!important;width:100%!important}.order-detail-actions button{flex:1 1 auto;min-width:min(100%,148px)}.order-detail-info-grid{gap:16px!important}.order-detail-edit-add-grid,.order-detail-edit-form-grid,.order-detail-info-grid{grid-template-columns:1fr!important}.table-responsive.order-detail-table-wrap{overflow-x:visible;max-width:100%}.table-responsive.order-detail-table-wrap table{min-width:0!important;width:100%!important;table-layout:fixed}.table-responsive.order-detail-edit-lines-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%}.table-responsive.order-detail-edit-lines-wrap table{min-width:520px!important}}.pos-page-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-gap:24px;gap:24px;align-items:start}.pos-page-layout>div{min-width:0}.pos-product-list{max-height:400px;overflow-y:auto;-webkit-overflow-scrolling:touch}.pos-product-row{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:12px;padding:12px;border:1px solid #e5e7eb;border-radius:8px;margin-bottom:8px;box-sizing:border-box}.pos-product-info{flex:1 1 180px;min-width:0}.pos-product-name{font-weight:600;line-height:1.35;word-break:break-word;overflow-wrap:anywhere}.pos-product-meta{font-size:12px;color:var(--text-secondary);margin-top:4px}.pos-product-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-end}.pos-product-controls input[type=number]{box-sizing:border-box}.pos-cart-item-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:8px}.pos-cart-item-info{flex:1 1;min-width:0}.pos-cart-item-info .pos-cart-title{font-weight:600;word-break:break-word;overflow-wrap:anywhere}.pos-cart-qty-row{display:flex;gap:8px;align-items:center;flex-shrink:0;flex-wrap:wrap}.pos-total-inline{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap}.pos-payment-split{display:flex;gap:12px}.pos-payment-split button{flex:1 1}@media (max-width:960px){.pos-page-layout{grid-template-columns:1fr;gap:20px}.pos-payment-split{flex-direction:column}.pos-payment-split button{width:100%;min-height:44px}.pos-product-list{max-height:min(420px,55vh)}.pos-product-row{flex-direction:column;align-items:stretch}.pos-product-controls{justify-content:flex-start;width:100%}.pos-product-controls input.pos-input-sl{flex:0 0 72px;width:72px!important;min-width:72px}.pos-product-controls input.pos-input-price{flex:1 1 100px;min-width:0;width:auto!important}.pos-product-controls button{flex:1 1 auto;min-height:44px}.pos-cart-item-top{flex-direction:column;align-items:stretch}.pos-cart-qty-row{justify-content:flex-start}}.order-invoice{background:#fff;border-radius:12px;border:1px solid #e5e7eb;box-shadow:0 4px 24px rgba(219,39,119,.08);overflow:hidden;margin-bottom:24px}.order-invoice-header{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,300px);grid-gap:28px 40px;gap:28px 40px;padding:28px 28px 24px;border-bottom:1px solid #e5e7eb}.order-invoice-billto-label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--text-secondary);margin-bottom:8px}.order-invoice-billto-name{display:inline-block;font-size:18px;font-weight:700;color:var(--primary-blue);text-decoration:none;line-height:1.35}.order-invoice-billto-name:hover{text-decoration:underline}.order-invoice-billto-lines{display:flex;flex-direction:column;gap:6px;font-size:14px;color:var(--text-primary);line-height:1.5}.order-invoice-billto-lines span{color:var(--text-secondary);font-weight:500;margin-right:6px}.order-invoice-meta{text-align:right}.order-invoice-meta-row{display:flex;justify-content:flex-end;align-items:baseline;gap:16px;padding:8px 0;border-bottom:1px solid #f3f4f6;font-size:14px}.order-invoice-meta-row:last-child{border-bottom:none}.order-invoice-meta-label{color:var(--text-secondary);flex-shrink:0}.order-invoice-meta-value{font-weight:600;color:var(--text-primary);text-align:right;min-width:0;word-break:break-word}.order-invoice-table-wrap{padding:0 0 8px}.order-invoice-table-wrap table{border-collapse:collapse}.table-responsive.order-invoice-table-wrap thead th{background:linear-gradient(135deg,#831843,#db2777 52%,#be185d)!important;color:#fff!important;font-size:11px!important;font-weight:700!important;text-transform:uppercase;letter-spacing:.06em!important;padding:14px 10px!important;border:none!important;white-space:nowrap}.table-responsive.order-invoice-table-wrap thead th:first-child{border-radius:0}.table-responsive.order-invoice-table-wrap tbody td{border-bottom:1px solid #e5e7eb!important;padding:14px 10px!important;vertical-align:top!important;font-size:14px}.table-responsive.order-invoice-table-wrap tbody tr:last-child td{border-bottom:none!important}.order-invoice-item-title{font-weight:600;color:var(--text-primary)}.order-invoice-item-sub{font-size:13px;color:var(--text-secondary);margin-top:4px;line-height:1.45}.order-invoice-cell-num{font-weight:600;color:var(--text-secondary);width:40px}.order-invoice-cell-num,.order-invoice-cell-qty{text-align:center;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.order-invoice-cell-money{text-align:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.order-invoice-totals{padding:20px 28px 28px;display:flex;justify-content:flex-end;border-top:1px solid #e5e7eb;background:#fafafa}.order-invoice-totals-inner{width:100%;max-width:320px}.order-invoice-total-row{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:6px 0;font-size:14px}.order-invoice-total-row strong{font-weight:700}.order-invoice-total-grand{margin-top:8px;padding-top:12px;border-top:2px solid #e5e7eb;font-size:16px;font-weight:700}.order-invoice-total-grand .order-invoice-total-value{color:var(--primary-blue)}.order-invoice-balance{margin-top:14px;padding:14px 16px;border-radius:8px;background:linear-gradient(135deg,#fdf2f8,#fce7f3);border:1px solid #fbcfe8;display:flex;justify-content:space-between;align-items:center;gap:12px;font-weight:700;font-size:15px}.order-invoice-balance-value{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;color:#9d174d}.order-invoice-balance--cleared{background:linear-gradient(135deg,#ecfdf5,#d1fae5)!important;border-color:#a7f3d0!important}.order-invoice-balance--cleared .order-invoice-balance-value{color:#047857}.order-invoice-status-note{margin:0 28px 20px}.order-invoice-paid-hint{margin-top:10px;font-size:13px;color:var(--text-secondary);text-align:right}.order-invoice-supplement{background:#fff;border-radius:12px;border:1px solid #e5e7eb;padding:20px 24px;margin-bottom:20px}.order-invoice-supplement h3{font-size:15px;font-weight:700;margin-bottom:12px;color:var(--text-primary)}.table-responsive.order-detail-edit-lines-wrap.order-invoice-table-wrap thead th{background:linear-gradient(135deg,#831843,#db2777 52%,#be185d)!important;color:#fff!important;font-size:11px!important;font-weight:700!important;text-transform:uppercase;letter-spacing:.06em!important;padding:12px 8px!important;border:none!important}.imports-page-filters{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:18px 20px;margin-bottom:20px;box-shadow:0 2px 14px rgba(219,39,119,.07)}.imports-filter-row{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:center;margin-bottom:14px}.imports-filter-row:last-child{margin-bottom:0}.imports-list-sheet{background:#fff;border-radius:12px;border:1px solid #e5e7eb;box-shadow:0 4px 24px rgba(219,39,119,.08);overflow:hidden}.imports-list-toolbar{padding:18px 20px;border-bottom:1px solid #e5e7eb}.imports-list-toolbar,.imports-pagination{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}.imports-pagination{padding:16px 18px;border-top:1px solid #e5e7eb;background:#fafafa;font-size:14px}.import-form-top-grid{display:grid;grid-template-columns:1fr 1fr 1fr;grid-gap:16px;gap:16px;margin-bottom:20px}.import-add-product-grid{display:grid;grid-template-columns:2fr 1fr 1fr auto;grid-gap:12px;gap:12px;align-items:end}.import-invoice-body{padding:0 28px 24px}.import-detail-note-margin{margin:0 28px 20px!important}@media (max-width:768px){.import-invoice-body{padding:0 18px 20px}.import-detail-note-margin{margin:0 18px 16px!important}.import-add-product-grid,.import-form-top-grid{grid-template-columns:1fr!important}.imports-list-toolbar,.imports-pagination{flex-direction:column;align-items:stretch}.order-invoice-header{grid-template-columns:1fr;padding:20px 18px 18px;gap:22px}.order-invoice-meta{text-align:left}.order-invoice-meta-row{justify-content:space-between}.order-invoice-meta-value{text-align:right}.order-invoice-totals{padding:18px 18px 22px}.order-invoice-totals-inner{max-width:none}.order-invoice-status-note{margin:0 18px 16px}.order-invoice-supplement{padding:18px}.table-responsive.order-invoice-table-wrap thead th{font-size:10px!important;padding:12px 8px!important}div[style*="position: fixed"][style*=z-index] div[style*="max-width: 90vw"],div[style*="position: fixed"][style*=z-index] div[style*="width: 500px"],div[style*="position: fixed"][style*=z-index] div[style*="width: 700px"]{width:95vw!important;max-width:95vw!important;padding:20px!important;margin:10px!important}}@media (max-width:480px){div[style*="position: fixed"][style*=z-index] div[style*="padding: 32px"]{padding:16px!important}div[style*="position: fixed"][style*=z-index] h3{font-size:16px!important;margin-bottom:16px!important}div[style*="position: fixed"][style*=z-index] input,div[style*="position: fixed"][style*=z-index] select,div[style*="position: fixed"][style*=z-index] textarea{padding:10px!important;font-size:14px!important}div[style*="position: fixed"][style*=z-index] button{padding:10px 16px!important;font-size:14px!important}}.loading{display:inline-block;width:20px;height:20px;border:3px solid #f3f3f3;border-top:3px solid var(--primary-blue);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.fade-in{animation:fadeIn .5s ease-in}@keyframes fadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.login-container{display:flex;justify-content:center;align-items:center;min-height:100vh;padding:20px;position:fixed;top:0;left:0;right:0;bottom:0;background:var(--bg-gradient);z-index:1000}.login-card{background:#fff;border-radius:20px;box-shadow:0 20px 60px rgba(0,0,0,.15);padding:40px;width:100%;max-width:450px;position:relative;overflow:hidden}.login-card:before{content:"";position:absolute;top:0;left:0;right:0;height:5px;background:var(--header-gradient)}.login-header{text-align:center;margin-bottom:30px}.login-logo{width:80px;height:80px;background:var(--header-gradient);border-radius:20px;display:flex;align-items:center;justify-content:center;margin:0 auto 20px;font-size:32px;color:#fff}.login-title{font-size:28px;font-weight:700;margin-bottom:8px;color:var(--text-primary)}.login-subtitle{color:var(--text-secondary);font-size:16px}.login-form,.login-form .form-group{margin-bottom:20px}.login-form .form-group label{display:block;margin-bottom:8px;font-weight:600;color:var(--text-primary)}.login-form .form-group input{width:100%;padding:15px;border:2px solid #e5e7eb;border-radius:10px;font-size:16px;transition:all .3s ease}.login-form .form-group input:focus{outline:none;border-color:var(--primary-blue);box-shadow:0 0 0 3px rgba(37,99,235,.1)}.login-button{width:100%;padding:15px;background:var(--header-gradient);color:#fff;border:none;border-radius:10px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s ease;margin-bottom:20px}.login-button:hover{transform:translateY(-2px);box-shadow:0 8px 25px rgba(37,99,235,.3)}.login-info{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:15px;text-align:center;font-size:14px;color:var(--text-secondary)}.login-info strong{color:var(--text-primary)}.error-message{background:#fef2f2;border:1px solid #fecaca;color:#dc2626;padding:12px;border-radius:8px;margin-bottom:20px;text-align:center;display:none}@media (max-width:768px){.form-row{flex-direction:column!important;gap:15px!important}.form-group{margin-bottom:15px!important}.form-group label{font-size:14px!important;margin-bottom:6px!important}.form-group input,.form-group select,.form-group textarea{padding:12px!important;font-size:16px!important;border-radius:8px!important}.form-buttons{flex-direction:column!important;gap:10px!important}.form-buttons button{width:100%!important;padding:12px!important;font-size:16px!important}.table-container{margin:0 -16px!important}table{font-size:14px!important;border-collapse:collapse!important}th{background:#f8fafc!important;font-size:12px!important;font-weight:600!important;text-transform:uppercase!important;letter-spacing:.5px!important;border-bottom:2px solid #e5e7eb!important}td,th{padding:10px 6px!important}td{border-bottom:1px solid #f3f4f6!important;vertical-align:top!important}.mobile-card-table{display:none!important}.modal-backdrop{padding:10px!important}.modal-content{width:calc(100vw - 20px)!important;max-width:none!important;max-height:calc(100vh - 20px)!important;margin:0!important;border-radius:12px!important}.modal-header{padding:16px 20px!important;flex-direction:column!important;gap:8px!important;text-align:center!important}.modal-header h3{font-size:18px!important;margin:0!important}.modal-body{padding:20px!important;max-height:calc(70vh)!important;overflow-y:auto!important}.modal-footer{padding:16px 20px!important;flex-direction:column-reverse!important;gap:10px!important}.modal-footer button{width:100%!important;padding:12px!important;font-size:16px!important}}@media print{.demo-badge,.header,.mobile-menu-toggle,.mobile-overlay,.sidebar,button:not(.print-button){display:none!important}.main-content{margin-left:0!important;width:100%!important}.content{padding:0!important;max-width:none!important}body{background:#fff!important;font-size:12px!important;line-height:1.4!important}}@media (prefers-contrast:high){:root{--text-primary:#000;--text-secondary:#333}.nav-item:hover{background:#333!important;color:#fff!important}}@media (prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}