@charset "UTF-8";@import"https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700&display=swap";:root{--sidebar-bg: #5a3ec8;--page-bg: #f4f6ff;--active-text: #4b37c4;--inactive-text: #ffffff;--red: #e74c3c}#sidebar{position:fixed;top:0;left:0;width:220px;height:100%;background:var(--sidebar-bg);border-top-right-radius:22px;border-bottom-right-radius:22px;z-index:2000;transition:width .3s ease,left .3s ease}#sidebar.hide{width:63px}#sidebar .logo{padding:20px;display:flex;align-items:center;justify-content:space-between}.logoText{color:#fff;font-weight:700;font-size:24px}.logoBox{display:flex;align-items:center;justify-content:space-between;width:100%}.sidebar-logo{max-width:150px;height:auto;object-fit:contain}.menuIconHidden{color:#fff;font-size:18px;cursor:pointer}#sidebar .side-menu{margin:15px 0;padding:0 0 40px 10px;list-style:none;max-height:calc(100% - 120px);overflow-y:auto;scrollbar-width:none}#sidebar .side-menu::-webkit-scrollbar{display:none}#sidebar .side-menu li{margin:6px 0;position:relative}#sidebar .side-menu li a{display:flex;align-items:center;gap:19px;padding:10px 14px;height:44px;text-decoration:none;color:var(--inactive-text);font-size:15px;font-weight:600;background:none;transition:.2s;border-radius:0}#sidebar .side-menu li a:hover{color:#fff}#sidebar .side-menu li a svg{font-size:18px;flex-shrink:0;color:#fff}#sidebar.hide .side-menu li a{justify-content:center;padding:10px}#sidebar.hide .side-menu li a .menu-title{display:none}#sidebar:not(.hide) .side-menu li.active a,#sidebar:not(.hide) .side-menu li a.active{background:#dfeafb;color:var(--active-text);margin-left:10px;padding-left:24px;font-weight:600;box-shadow:4px 0 10px #0000000f;border-radius:25px 0 0 25px;position:relative;z-index:1;width:calc(100% - 10px)}#sidebar:not(.hide) .side-menu li.active:before,#sidebar:not(.hide) .side-menu li.active:after{content:"";position:absolute;right:0;width:20px;height:20px;background:var(--sidebar-bg);z-index:2}#sidebar:not(.hide) .side-menu li.active:before{top:-20px;border-bottom-right-radius:20px;box-shadow:10px 10px #dfeafb}#sidebar:not(.hide) .side-menu li.active:after{bottom:-20px;border-top-right-radius:20px;box-shadow:10px -10px #dfeafb}#sidebar:not(.hide) .side-menu li.active a svg,#sidebar:not(.hide) .side-menu li a.active svg{background:#fff;color:var(--active-text);border-radius:50%;padding:4px;width:22px;height:22px}#sidebar.hide .side-menu li.active a svg,#sidebar.hide .side-menu li a.active svg{background:#fff;color:var(--active-text);border-radius:50%;padding:4px;width:22px;height:22px}#sidebar .side-menu li a.logout{color:var(--red)}#content{position:relative;width:calc(100% - 220px);left:220px;transition:left .3s ease,width .3s ease}#sidebar.hide~#content{width:calc(100% - 60px);left:60px}#content nav{height:65px;background:white;padding:0 20px;display:flex;justify-content:space-between;align-items:center;box-shadow:#97aad229 0 6px 22px;position:sticky;top:0;z-index:1000;width:95%;margin:0 auto;border-radius:0 0 25px 25px}#content nav .menuIcon{cursor:pointer;color:#333;font-size:20px;display:none}.profile{display:flex;align-items:center;gap:12px}.profile-icon{width:33px;height:33px;border-radius:50%;background:white;color:var(--sidebar-bg);display:inline-flex;align-items:center;justify-content:center;font-size:18px;box-shadow:#0000000f 0 2px 6px}.icon-button{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;border:none;background:var(--active-text);color:#fff;cursor:pointer;font-size:18px;transition:all .2s ease}.icon-button:hover{background:var(--sidebar-bg);transform:scale(1.05)}.logout-menu-item{margin-top:20px!important;padding:0 14px 0 4px}.sidebar-logout-btn{display:flex;align-items:center;gap:12px;width:100%;padding:10px 14px;height:44px;text-decoration:none;color:#fff;font-size:15px;font-weight:600;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:8px;cursor:pointer;transition:all .2s ease}.sidebar-logout-btn:hover{background:rgba(255,255,255,.12)}.sidebar-logout-btn svg{font-size:18px;flex-shrink:0}#sidebar.hide .logout-menu-item{padding:0}#sidebar.hide .sidebar-logout-btn{background:transparent;border:none;justify-content:center;padding:10px;width:auto}#sidebar.hide .sidebar-logout-btn span{display:none}@media (max-width: 900px){#sidebar{width:220px}#content{left:220px;width:calc(100% - 220px)}}@media (max-width: 600px){#sidebar{width:100%;transition:.2s ease-out;border-radius:0}#sidebar.hide{width:0px}#content{width:0;left:100%;transition:.2s ease-out}#sidebar.hide~#content{width:100%;left:0px}.menuIconHidden{display:block}#content nav .menuIcon{display:block}#sidebar.hide .side-menu li.active a,#sidebar.hide .side-menu li a.active,#sidebar .side-menu li.active a,#sidebar .side-menu li a.active{background:#dfeafb;color:var(--active-text);margin-left:-10px;padding-left:24px;font-weight:600;box-shadow:4px 0 10px #0000000f;border-radius:25px 0 0 25px;width:auto}#sidebar.hide .side-menu li.active a svg,#sidebar.hide .side-menu li a.active svg,#sidebar .side-menu li.active a svg,#sidebar .side-menu li a.active svg{background:#fff;color:var(--active-text);border-radius:50%;padding:4px;width:22px;height:22px}#sidebar.hide .logout-menu-item,#sidebar .logout-menu-item{padding:0 14px 0 4px}#sidebar.hide .sidebar-logout-btn,#sidebar .sidebar-logout-btn{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);justify-content:flex-start;padding:10px 14px;width:100%}#sidebar.hide .sidebar-logout-btn span,#sidebar .sidebar-logout-btn span{display:inline}}.nav-main{display:flex;align-items:center;gap:25px}.page-title{font-size:22px;font-weight:700;color:#2d2f87;margin:0;padding:8px 0;position:relative;transition:all .3s ease;letter-spacing:.3px;font-family:Segoe UI,Inter,-apple-system,BlinkMacSystemFont,sans-serif;text-transform:none}.page-title{background:linear-gradient(135deg,#2d2f87 0%,#5a3ec8 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text}@supports not (background-clip: text){.page-title{background:none;-webkit-text-fill-color:initial;color:#2d2f87}}.page-title:hover{transform:translateY(-1px);background:linear-gradient(135deg,#5a3ec8 0%,#8b7ad6 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text}@keyframes slideInTitle{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.page-title{animation:slideInTitle .5s ease-out}@media screen and (max-width: 1024px){.page-title{font-size:20px;letter-spacing:.2px}.nav-main{gap:20px}}@media screen and (max-width: 768px){.page-title{font-size:18px;letter-spacing:.1px}.nav-main{gap:15px}}@media screen and (max-width: 480px){.page-title{font-size:16px}.nav-main{gap:12px}}.dashboard-container{background-color:#dfeafb;padding:20px;max-width:1800px;margin:0 auto}.dashboard-header.centered{text-align:center;margin-bottom:30px}.dashboard-header.centered h1{font-size:2.5rem;color:#333;margin-bottom:10px}.dashboard-header.centered p{color:#666;font-size:1.1rem}.inventory-alerts{background:linear-gradient(135deg,#f8f9fc 0%,#e9ecef 100%);border-radius:10px;padding:20px;box-shadow:0 4px 6px #0000000d;border:1px solid #dee2e6;margin-bottom:30px}.inventory-alerts h3{margin-top:0;color:#444;margin-bottom:20px;text-align:center;font-size:1.5rem}.alert-grid{display:grid;grid-template-columns:1fr;gap:20px}@media (min-width: 768px){.alert-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}}@media (min-width: 1200px){.alert-grid{grid-template-columns:repeat(2,1fr)}}.alert-section{padding:20px;border-radius:10px;box-shadow:0 4px 6px #0000001a;transition:transform .2s,box-shadow .2s}.alert-section:hover{transform:translateY(-3px);box-shadow:0 6px 12px #00000026!important}.expiry-alert{background:linear-gradient(135deg,#fff3cd 0%,#ffeaa7 100%);border:1px solid #ffd351}.low-stock-alert{background:linear-gradient(135deg,#f4ecfc 0%,#e8dcf8 100%);border:1px solid #d9c6f0}.out-of-stock-alert{background:linear-gradient(135deg,#ffecf4 0%,#f9d8e6 100%);border:1px solid #ffcce0}.alert-section h4{display:flex;align-items:center;margin-top:0;margin-bottom:15px;color:#333}.icon-expiry{color:#ff9800;margin-right:10px}.icon-warning{color:#f6c23e;margin-right:10px}.icon-danger{color:#e74a3b;margin-right:10px}.alert-count{font-size:1.2rem;font-weight:600;text-align:center;margin-top:10px;color:#333}.clickable-alert{cursor:pointer}.metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:30px}.metric-card{border-radius:10px;padding:20px;box-shadow:0 4px 6px #0000001a;display:flex;align-items:center;transition:transform .2s;color:#fff}.metric-card:hover{transform:translateY(-3px);box-shadow:0 6px 12px #00000026}.sales-metric{background:linear-gradient(135deg,#a4a8fb 0%,#6b70d6 100%)}.purchases-metric{background:linear-gradient(135deg,#343371 0%,#232553 100%)}.inventory-metric{background:linear-gradient(135deg,#ee8cb3 0%,#d86a9a 100%)}.production-metric{background:linear-gradient(135deg,#c461bb 0%,#a84aa1 100%)}.metric-icon{font-size:2rem;margin-right:15px;padding:15px;border-radius:50%;background-color:#fff3}.metric-card h3{font-size:1rem;margin-bottom:5px;color:#ffffffe6}.metric-card p{font-size:1.5rem;font-weight:600;margin-bottom:5px;color:#fff}.metric-card small{color:#fffc;font-size:.8rem}.pending-actions{display:grid;grid-template-columns:1fr;gap:20px;margin-bottom:30px}@media (min-width: 768px){.pending-actions{grid-template-columns:1fr 1fr}}.pending-section{border-radius:10px;padding:20px;box-shadow:0 4px 6px #0000001a}.work-orders-pending{background:linear-gradient(135deg,#e3f2fd 0%,#bbdefb 100%);border:1px solid #bbdefb}.grns-pending{background:linear-gradient(135deg,#e8f5e9 0%,#c8e6c9 100%);border:1px solid #c8e6c9}.pending-section h3{display:flex;align-items:center;gap:10px;margin-top:0;color:#333}.pending-list{margin-top:15px}.pending-grid{display:grid;grid-template-columns:1fr;gap:12px}@media (min-width: 768px){.pending-grid{grid-template-columns:1fr 1fr;gap:15px}}.pending-item{padding:7px;border-radius:8px;background-color:#fff;box-shadow:0 2px 5px #00000014;border-left:4px solid;transition:transform .2s,box-shadow .2s}.pending-item:hover{transform:translateY(-2px);box-shadow:0 4px 8px #0000001f}.work-orders-pending .pending-item{border-left-color:#2196f3}.grns-pending .pending-item{border-left-color:#4caf50}.pending-item p{margin:0;font-weight:500;color:#333;font-size:.9rem}.pending-item small{color:#666;font-size:.7rem}.no-pending{color:#666;font-style:italic;padding:10px 0}.charts-section{display:grid;grid-template-columns:1fr;gap:30px;margin-bottom:30px}@media (min-width: 1200px){.charts-section{grid-template-columns:1fr 1fr}}.chart-container{background:white;border-radius:10px;padding:20px;box-shadow:0 4px 6px #0000000d}.chart-container h3{margin-top:0;margin-bottom:20px;color:#444}.chart-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.chart-legend{display:flex;gap:15px}.legend-item{display:flex;align-items:center;gap:5px;font-size:.8rem}.legend-color{width:15px;height:15px;border-radius:3px}.legend-color.sales{background-color:#8884d8}.legend-color.purchases{background-color:#82ca9d}.loading{display:flex;justify-content:center;align-items:center;height:100vh;font-size:1.2rem;color:#666}.error{display:flex;justify-content:center;align-items:center;font-size:1.2rem;color:#e74a3b}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000;padding:20px}.modal-content{background:white;border-radius:10px;max-width:700px;width:100%;max-height:80vh;overflow:hidden;box-shadow:0 10px 30px #0003}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid #eee;background:linear-gradient(135deg,#f8f9fc 0%,#e9ecef 100%)}.modal-header h3{margin:0;display:flex;align-items:center;gap:10px}.modal-close{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#666;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:50%}.modal-close:hover{background-color:#0000001a}.modal-body{padding:20px;overflow-y:auto;max-height:calc(80vh - 80px)}.inventory-list{display:flex;flex-direction:column;gap:12px;margin-bottom:20px}.inventory-item{display:flex;justify-content:space-between;align-items:center;padding:15px;border-radius:8px;background-color:#f8f9fa;border-left:4px solid;border-bottom:1px solid #eee}.item-info{display:flex;flex-direction:column;flex:1}.item-name{font-weight:600;color:#333;margin-bottom:4px}.item-batch{font-size:.8rem;color:#666}.item-details{display:flex;flex-direction:column;align-items:flex-end;text-align:right}.item-stock{color:#666;margin-bottom:4px}.item-expiry{font-size:.8rem;color:#e74a3b;font-weight:500}.item-status{color:#666}.order-icon{color:#28a745;cursor:pointer;font-size:18px;margin-left:15px;transition:color .2s}.order-icon:hover{color:#218838;transform:scale(1.1)}.expiry-alert .inventory-item{border-left-color:#ff9800}.low-stock-alert .inventory-item{border-left-color:#f6c23e}.out-of-stock-alert .inventory-item{border-left-color:#e74a3b}.load-more-btn{background:linear-gradient(135deg,#a4a8fb 0%,#6b70d6 100%);color:#fff;border:none;padding:10px 20px;border-radius:5px;cursor:pointer;display:block;margin:0 auto;font-weight:500;transition:transform .2s}.load-more-btn:hover{transform:translateY(-2px);box-shadow:0 4px 8px #0000001a}.no-items{text-align:center;color:#666;font-style:italic;padding:20px}@media (max-width: 768px){.charts-section{grid-template-columns:1fr}.chart-container{padding:15px;overflow-x:auto}.chart-header{flex-direction:column;align-items:flex-start;gap:10px}.chart-legend{align-self:flex-end}.ResponsiveContainer{min-width:300px}.modal-content{max-width:90%}.inventory-item{flex-direction:column;gap:10px;align-items:flex-start}.item-details{align-items:flex-start;text-align:left}.alert-grid{grid-template-columns:1fr}}@media (max-width: 480px){.chart-header h3{font-size:1rem}.legend-item{font-size:.7rem}.chart-container{padding:10px}.dashboard-header.centered h1{font-size:1.5rem}.dashboard-header.centered p{font-size:.9rem}.metrics-grid{grid-template-columns:1fr}}body.modal-open{overflow:hidden}.form-container.premium{max-width:100%;padding:25px;background:linear-gradient(145deg,#f9f9ff,#e1e1ef);box-shadow:0 8px 30px #0000001a;border-radius:15px;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif}.form-row{display:flex;gap:20px;margin-bottom:15px}.form-field{flex:1;display:flex;flex-direction:column}label{font-weight:600;margin-bottom:6px;color:#444;display:flex;align-items:center;gap:8px;font-size:14px}input,textarea,.select-field{padding:10px 12px;border-radius:6px;border:1px solid #ccc;font-size:14px;transition:.3s;width:100%;background-color:#fff}.select-field{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=US-ASCII,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='2' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:12px 8px}input:focus,textarea:focus,.select-field:focus{border-color:#7366ff;outline:none;background-color:#f7f9ff}.error{color:#d9534f;font-size:12px;margin-top:4px}button[type=submit]{padding:12px;background:linear-gradient(to right,#7366ff,#948cff);color:#fff;font-size:16px;font-weight:600;border:none;border-radius:8px;cursor:pointer;transition:background .3s ease;width:100%;margin-top:10px}button[type=submit]:hover{background:linear-gradient(to right,#5f53cc,#7366ff)}.email-fields-group,.contact-fields-group{display:none}@media screen and (max-width: 768px){.form-row{flex-direction:column;gap:15px}.form-container.premium{padding:10px 20px!important}.email-contact-row{display:none}.email-fields-group,.contact-fields-group{display:flex;flex-direction:column;gap:15px;margin-bottom:15px}.form-row:not(.email-contact-row){flex-direction:column;gap:15px}}@media screen and (max-width: 480px){label{font-size:13px}input,textarea,.select-field{padding:8px 10px;font-size:13px}button[type=submit]{font-size:14px;padding:10px}}.page-header .right-section{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:0!important}@media screen and (max-width: 768px){.page-header{flex-direction:column;align-items:flex-start}.page-header .right-section{width:100%;flex-direction:column;align-items:flex-start;gap:10px}.page-header .search-container{width:100%}.page-header .action-buttons-group{width:100%;flex-wrap:nowrap;overflow-x:auto}.page-header .action-buttons-group button{flex:1;min-width:fit-content}.data-table{padding:10px}.data-table table{font-size:14px}.data-table table th,.data-table table td{padding:10px}.form-container{padding:15px}.form-container .form-group{flex-direction:column;gap:15px}}button:disabled{cursor:not-allowed;opacity:.7}.import-btn.loading{background:#6c757d;cursor:not-allowed}.form-container button[type=submit]{display:flex;align-items:center;justify-content:center;gap:8px}.form-container button[type=submit]:disabled{background:#6c757d;cursor:not-allowed}.detail-row .detail-value:last-child{font-weight:600;color:#e67e22}.detail-row .loyalty-coins{font-weight:600;color:#e67e22;font-size:16px}.data-table table th:nth-child(4),.data-table table td:nth-child(4){text-align:center;font-weight:600;color:#e67e22}:root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: hsl(6, 78%, 57%);--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-container-width: fit-content;--toastify-toast-width: 320px;--toastify-toast-offset: 16px;--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));--toastify-toast-background: #fff;--toastify-toast-padding: 14px;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-toast-bd-radius: 6px;--toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, .1);--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error);--toastify-color-progress-bgo: .2}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;width:var(--toastify-container-width);box-sizing:border-box;color:#fff;display:flex;flex-direction:column}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right);align-items:end}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right);align-items:end}.Toastify__toast{--y: 0;position:relative;touch-action:none;width:var(--toastify-toast-width);min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:var(--toastify-toast-padding);border-radius:var(--toastify-toast-bd-radius);box-shadow:var(--toastify-toast-shadow);max-height:var(--toastify-toast-max-height);font-family:var(--toastify-font-family);z-index:0;display:flex;flex:1 auto;align-items:center;word-break:break-word}@media only screen and (max-width: 480px){.Toastify__toast-container{width:100vw;left:env(safe-area-inset-left);margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translate(0)}.Toastify__toast-container--rtl{right:env(safe-area-inset-right);left:initial}.Toastify__toast{--toastify-toast-width: 100%;margin-bottom:0;border-radius:0}}.Toastify__toast-container[data-stacked=true]{width:var(--toastify-toast-width)}.Toastify__toast--stacked{position:absolute;width:100%;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s}.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,.Toastify__toast--stacked[data-collapsed] .Toastify__close-button{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{content:"";position:absolute;left:0;right:0;height:calc(var(--g) * 1px);bottom:100%}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{content:"";position:absolute;left:0;right:0;bottom:0;height:100%;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-icon{margin-inline-end:10px;width:22px;flex-shrink:0;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.5s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;position:absolute;top:6px;right:6px;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;z-index:1}.Toastify__toast--rtl .Toastify__close-button{left:6px;right:unset}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:100%;z-index:1;opacity:.7;transform-origin:left}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right;border-bottom-left-radius:initial}.Toastify__progress-bar--wrp{position:absolute;overflow:hidden;bottom:0;left:0;width:100%;height:5px;border-bottom-left-radius:var(--toastify-toast-bd-radius);border-bottom-right-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{opacity:var(--toastify-color-progress-bgo);width:100%;height:100%}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg);opacity:1}to{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(110%,var(--y),0)}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(-110%,var(--y),0)}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown;animation-timing-function:ease-in;animation-duration:.3s}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.page-header .page-actions{display:flex;gap:12px;flex-wrap:wrap}.page-header .page-actions button{display:flex;align-items:center;gap:8px;color:#fff;padding:10px 16px;font-size:14px;font-weight:500;border:none;border-radius:6px;cursor:pointer;transition:.3s}.page-header .page-actions button:hover{opacity:.9}.page-header .page-actions button svg{font-size:16px}.page-header .page-actions .export-btn{background:linear-gradient(to right,#7366ff,#948cff)}.page-header .page-actions .export-btn:hover{background:linear-gradient(to right,#5f53cc,#7366ff)}.page-header .page-actions .export-all-btn{background:linear-gradient(to right,#4caf50,#66bb6a)}.page-header .page-actions .export-all-btn:hover{background:linear-gradient(to right,#388e3c,#4caf50)}.page-header .page-actions .add-btn{background:linear-gradient(to right,#ff7043,#ff8a65)}.page-header .page-actions .add-btn:hover{background:linear-gradient(to right,#f4511e,#ff7043)}@media screen and (max-width: 768px){.page-header{flex-direction:column;align-items:flex-start}.page-header .right-section{width:100%;flex-direction:column;align-items:flex-start;gap:10px}.page-header .search-container{width:100%}.page-header .page-actions{width:100%;flex-wrap:nowrap;overflow-x:auto;flex-direction:row}.page-header .page-actions button{flex:1;min-width:fit-content}.data-table{padding:10px}.data-table table{font-size:14px}.data-table table th,.data-table table td{padding:10px}}.edit-input,.edit-textarea{width:100%;padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px;background-color:#fff;transition:all .3s}.edit-input:focus,.edit-textarea:focus{border-color:#7366ff;outline:none;box-shadow:0 0 0 2px #7366ff33}.edit-textarea{min-height:80px;resize:vertical}.modal-footer{display:flex;gap:12px;padding:15px 20px;border-top:1px solid #eee;justify-content:center;position:sticky;bottom:0;background:white;z-index:10}.modal-footer button{display:flex;align-items:center;gap:8px;color:#fff;padding:10px 16px;font-size:14px;font-weight:500;border:none;border-radius:6px;cursor:pointer;transition:all .2s}.modal-footer button svg{font-size:14px}.update-btn{background:linear-gradient(to right,#ff9800,#ffb74d)}.update-btn:hover{background:linear-gradient(to right,#fb8c00,#ff9800)}.save-btn{background:linear-gradient(to right,#4caf50,#66bb6a)}.save-btn:hover{background:linear-gradient(to right,#388e3c,#4caf50)}.delete-btn{background:linear-gradient(to right,#f44336,#ef5350)}.delete-btn:hover{background:linear-gradient(to right,#d32f2f,#f44336)}.confirm-dialog-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);display:flex;justify-content:center;align-items:center;z-index:2000}.confirm-dialog{background:white;padding:25px;border-radius:8px;width:90%;max-width:400px;box-shadow:0 5px 20px #0003;animation:fadeIn .3s ease-out}.confirm-dialog h3{margin-top:0;color:#f44336}.confirm-buttons{display:flex;justify-content:flex-end;gap:10px}.confirm-buttons button{padding:8px 16px;border:none;border-radius:4px;font-weight:500;cursor:pointer;transition:all .2s}.confirm-cancel{background:#f5f5f5;color:#333}.confirm-cancel:hover{background:#e0e0e0}.confirm-delete{background:#f44336;color:#fff}.confirm-delete:hover{background:#d32f2f}@media (max-width: 768px){.modal-content{width:95%;max-height:85vh}.wo-details-grid{grid-template-columns:1fr;gap:15px}.modal-footer{padding:12px 15px}.modal-footer .export-btn{padding:12px 20px;font-size:14px}.modal-footer{gap:6px;padding:10px 15px}.modal-footer button{gap:6px;color:#fff;padding:8px 12px;font-size:12px;border-radius:6px}}.error-field{border:2px solid red!important}.error{color:red;font-size:12px;margin-top:5px}.page-header{display:flex;justify-content:space-between;align-items:center;margin:30px auto;max-width:1200px;padding:0 20px;flex-wrap:wrap;gap:15px}.page-header h2{font-size:26px;font-weight:600;color:#3f3f91;flex:1}.page-header .action-buttons-group{display:flex;gap:12px;flex-wrap:wrap}.page-header .action-buttons-group button{display:flex;align-items:center;gap:8px;color:#fff;padding:10px 16px;font-size:14px;font-weight:500;border:none;border-radius:6px;cursor:pointer;transition:.3s}.page-header .action-buttons-group button:hover{opacity:.9}.page-header .action-buttons-group button svg{font-size:16px}.page-header .action-buttons-group .export-btn{background:linear-gradient(to right,#7366ff,#948cff)}.page-header .action-buttons-group .export-btn:hover{background:linear-gradient(to right,#5f53cc,#7366ff)}.page-header .action-buttons-group .export-all-btn{background:linear-gradient(to right,#4caf50,#66bb6a)}.page-header .action-buttons-group .export-all-btn:hover{background:linear-gradient(to right,#388e3c,#4caf50)}.page-header .action-buttons-group .add-btn{background:linear-gradient(to right,#ff7043,#ff8a65)}.page-header .action-buttons-group .add-btn:hover{background:linear-gradient(to right,#f4511e,#ff7043)}.page-header .action-buttons-group .bulk-upload-btn{background:linear-gradient(to right,#2196f3,#21cbf3)}.page-header .action-buttons-group .bulk-upload-btn:hover{background:linear-gradient(to right,#1976d2,#2196f3)}.load-more-container{display:flex;justify-content:center;margin-top:20px}.load-more-container .load-more-btn{background:linear-gradient(to right,#7366ff,#948cff);color:#fff;border:none;padding:10px 20px;border-radius:6px;cursor:pointer;font-weight:500}.load-more-container .load-more-btn:hover{opacity:.9}@media screen and (max-width: 768px){.page-header{flex-direction:column;align-items:flex-start}.page-header .right-section{width:100%;flex-direction:column;align-items:flex-start;gap:10px}.page-header .search-container{width:100%}.page-header .action-buttons-group{width:100%;flex-wrap:nowrap;overflow-x:auto}.page-header .action-buttons-group button{flex:1;min-width:fit-content}.data-table{padding:10px}.data-table table{font-size:14px}.data-table table th,.data-table table td{padding:10px}}.bulk-upload-modal .upload-instructions{margin-bottom:20px;padding:15px;background:#f8f9fa;border-radius:6px;font-size:14px}.bulk-upload-modal .upload-instructions h4{margin-top:0;margin-bottom:10px;color:#3f3f91}.bulk-upload-modal .upload-instructions ul{margin:0;padding-left:20px}.bulk-upload-modal .file-dropzone{border:2px dashed #ddd;border-radius:8px;padding:30px;text-align:center;cursor:pointer;transition:all .3s;margin-bottom:20px}.bulk-upload-modal .file-dropzone:hover{border-color:#7366ff;background:#f8f9ff}.bulk-upload-modal .file-dropzone.active{border-color:#7366ff;background:#f0f3ff}.bulk-upload-modal .file-dropzone p{margin:10px 0 0;color:#666}.bulk-upload-modal .file-dropzone .browse-link{color:#7366ff;text-decoration:underline;cursor:pointer}.bulk-upload-modal .template-download{text-align:center;margin-bottom:20px}.bulk-upload-modal .template-download button{background:#7366ff;color:#fff;border:none;padding:10px 20px;border-radius:6px;cursor:pointer;display:inline-flex;align-items:center;gap:8px}.bulk-upload-modal .template-download button:hover{background:#5f53cc}@media (max-width: 768px){.modal-content{width:95%;max-height:85vh}.wo-details-grid{grid-template-columns:1fr;gap:15px}.modal-footer{padding:12px 15px;flex-direction:column}.modal-footer button{width:100%;padding:12px 20px;font-size:14px}}@media (max-width: 480px){.modal-header{padding:12px 15px}.modal-body{padding:15px}}.loading-spinner{width:20px;height:20px;border:2px solid #f3f3f3;border-top:2px solid #7366ff;border-radius:50%;animation:spin 1s linear infinite;display:inline-block;margin-left:10px}.file-dropzone.uploading{pointer-events:none;opacity:.7}.select-field{width:100%;padding:12px;border:1px solid #ddd;border-radius:4px;font-size:14px;background-color:#fff}.select-field:focus{outline:none;border-color:#7366ff}.edit-input.select-field{width:100%;padding:8px;font-size:14px}.price-edit-container{display:flex;align-items:center;gap:8px;max-width:150px}.price-edit-container .currency-symbol{font-weight:600;color:#333;font-size:14px}.price-input{width:100px!important;padding:8px 10px!important;border:1px solid #ddd!important;border-radius:4px!important;font-size:14px!important;text-align:right}.price-input:focus{border-color:#7366ff!important;outline:none;box-shadow:0 0 0 2px #7366ff1a!important}.save-price-btn{background:linear-gradient(135deg,#27ae60,#2ecc71);color:#fff;border:none;border-radius:6px;padding:8px 12px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.save-price-btn:hover:not(:disabled){background:linear-gradient(135deg,#219653,#27ae60);transform:translateY(-1px);box-shadow:0 2px 8px #27ae604d}.save-price-btn:active{transform:translateY(0)}.save-price-btn:disabled{background:#95a5a6;cursor:not-allowed;transform:none;box-shadow:none}.save-all-btn{display:flex;align-items:center;gap:8px;background:linear-gradient(135deg,#e67e22,#f39c12);color:#fff;padding:10px 22px;font-size:14px;font-weight:600;border:none;cursor:pointer;transition:all .25s ease;border-radius:30px;box-shadow:0 4px 10px #00000026}.save-all-btn:hover:not(:disabled){background:linear-gradient(135deg,#d35400,#e67e22);transform:translateY(-2px);box-shadow:0 6px 14px #e67e2266}.save-all-btn:disabled{background:#95a5a6;cursor:not-allowed;transform:none;box-shadow:none}.unsaved-badge{background:#e74c3c;color:#fff;padding:4px 8px;border-radius:12px;font-size:12px;font-weight:600;margin-left:10px;animation:pulse 2s infinite}@keyframes pulse{0%{opacity:1}50%{opacity:.7}to{opacity:1}}.unsaved-alert-overlay{z-index:2000}.unsaved-alert .modal-body{text-align:center;padding:30px 20px}.unsaved-alert .modal-body p{font-size:16px;line-height:1.5;color:#333;margin:0}.unsaved-alert .modal-footer{display:flex;flex-direction:row;gap:10px;padding:20px}.unsaved-alert .modal-footer button{width:100%;padding:12px 20px;border:none;border-radius:6px;font-weight:600;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:8px}.unsaved-alert .modal-footer button:disabled{opacity:.6;cursor:not-allowed}.unsaved-alert .modal-footer .save-all-btn{background:linear-gradient(135deg,#27ae60,#2ecc71);color:#fff}.unsaved-alert .modal-footer .save-all-btn:hover:not(:disabled){background:linear-gradient(135deg,#219653,#27ae60)}.unsaved-alert .modal-footer .cancel-changes-btn{background:#e74c3c;color:#fff}.unsaved-alert .modal-footer .cancel-changes-btn:hover{background:#c0392b}.unsaved-alert .modal-footer .continue-editing-btn{background:#3498db;color:#fff}.unsaved-alert .modal-footer .continue-editing-btn:hover{background:#2980b9}.loading-spinner.small{width:16px;height:16px;border:2px solid #f3f3f3;border-top:2px solid #3498db;border-radius:50%;animation:spin 1s linear infinite;display:inline-block}.loading-spinner.large{width:40px;height:40px;border:4px solid #f3f3f3;border-top:4px solid #3498db;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto}.action-buttons-group{display:flex;gap:12px;flex-wrap:wrap}.action-buttons-group button{display:flex;align-items:center;gap:8px;color:#fff;padding:10px 16px;font-size:14px;font-weight:500;border:none;border-radius:6px;cursor:pointer;transition:.3s}.action-buttons-group button:hover:not(:disabled){opacity:.9;transform:translateY(-1px)}.action-buttons-group button svg{font-size:16px}.action-buttons-group .export-all-btn{background:linear-gradient(to right,#4caf50,#66bb6a)}.action-buttons-group .bulk-upload-btn{background:linear-gradient(to right,#2196f3,#21cbf3)}.action-buttons-group .bulk-upload-btn:hover{background:linear-gradient(to right,#1976d2,#2196f3)}.action-buttons-group .add-btn{background:linear-gradient(to right,#ff7043,#ff8a65)}.action-buttons-group .add-btn:hover{background:linear-gradient(to right,#f4511e,#ff7043)}@media screen and (max-width: 768px){.price-edit-container{max-width:120px}.price-edit-container .price-input{width:80px!important}.action-buttons-group{width:100%;flex-wrap:nowrap;overflow-x:auto}.action-buttons-group button{flex:1;min-width:fit-content;font-size:12px;padding:8px 12px}}@media screen and (max-width: 480px){.price-edit-container{flex-direction:column;gap:4px;max-width:100px}.price-edit-container .currency-symbol{font-size:12px}.price-edit-container .price-input{width:100%!important;font-size:12px!important;padding:6px 8px!important}.save-price-btn{padding:6px 10px}.save-price-btn svg{font-size:12px}}.unsaved-alert-overlay{background:rgba(0,0,0,.7);z-index:1000}.unsaved-alert{max-width:500px}.unsaved-alert .modal-footer{display:flex;gap:10px;justify-content:flex-end}.save-all-btn,.cancel-changes-btn,.continue-editing-btn{padding:10px 16px;border:none;border-radius:4px;cursor:pointer;display:flex;align-items:center;gap:8px;font-size:14px}.save-all-btn{background:#28a745;color:#fff}.save-all-btn:disabled{background:#6c757d;cursor:not-allowed}.cancel-changes-btn{background:#dc3545;color:#fff}.continue-editing-btn{background:#6c757d;color:#fff}.unsaved-badge{background:#ffc107;color:#000;padding:2px 8px;border-radius:12px;font-size:12px;margin-left:10px}#print-container,.print-container,#po-pdf{width:100%;max-width:210mm;padding:10mm;margin:0 auto;font-family:Arial,sans-serif;font-size:12px;color:#333;background:#fff;box-sizing:border-box;position:relative}#print-container .company-details,.print-container .company-details,#po-pdf .company-details{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:10px;padding-bottom:5px;page-break-inside:avoid}#print-container .company-details .left-details,#print-container .company-details .right-details,.print-container .company-details .left-details,.print-container .company-details .right-details,#po-pdf .company-details .left-details,#po-pdf .company-details .right-details{width:35%}#print-container .company-details .left-details p,#print-container .company-details .right-details p,.print-container .company-details .left-details p,.print-container .company-details .right-details p,#po-pdf .company-details .left-details p,#po-pdf .company-details .right-details p{margin:3px 0;text-align:left;font-size:11px}#print-container .company-details .middle-details,.print-container .company-details .middle-details,#po-pdf .company-details .middle-details{width:30%;text-align:center}#print-container .company-details .middle-details h3,.print-container .company-details .middle-details h3,#po-pdf .company-details .middle-details h3{margin:0;font-size:16px;white-space:nowrap}#print-container .company-details .right-details p,.print-container .company-details .right-details p,#po-pdf .company-details .right-details p{text-align:right}#print-container .invoice-po-section,.print-container .invoice-po-section,#po-pdf .invoice-po-section{display:flex;justify-content:space-between;margin-bottom:15px;padding-bottom:5px;border-bottom:1px solid #000;page-break-inside:avoid}#print-container .invoice-po-section .po-details p,#print-container .invoice-po-section .po-date p,.print-container .invoice-po-section .po-details p,.print-container .invoice-po-section .po-date p,#po-pdf .invoice-po-section .po-details p,#po-pdf .invoice-po-section .po-date p{margin:3px 0;font-weight:700}#print-container .invoice-po-section .po-details,.print-container .invoice-po-section .po-details,#po-pdf .invoice-po-section .po-details{text-align:left}#print-container .invoice-po-section .po-date,.print-container .invoice-po-section .po-date,#po-pdf .invoice-po-section .po-date{text-align:right}#print-container .party-section,.print-container .party-section,#po-pdf .party-section{display:flex;justify-content:space-between;margin-bottom:15px;gap:4%;page-break-inside:avoid}#print-container .party-section .party-card,.print-container .party-section .party-card,#po-pdf .party-section .party-card{width:48%;padding:10px;border:1px solid #ddd;border-radius:5px;box-sizing:border-box;font-size:11px}#print-container .party-section .party-card h3,.print-container .party-section .party-card h3,#po-pdf .party-section .party-card h3{margin:0 0 10px;font-size:12px;border-bottom:1px solid #eee;padding-bottom:5px}#print-container .party-section .party-card p,.print-container .party-section .party-card p,#po-pdf .party-section .party-card p{margin:5px 0;word-break:break-word}#print-container .items-container,.print-container .items-container,#po-pdf .items-container{margin-bottom:20px;page-break-inside:auto}#print-container .items-table,.print-container .items-table,#po-pdf .items-table{width:100%;border-collapse:collapse;table-layout:fixed;page-break-inside:auto}#print-container .items-table th,#print-container .items-table td,.print-container .items-table th,.print-container .items-table td,#po-pdf .items-table th,#po-pdf .items-table td{border:1px solid #ddd;padding:5px;text-align:left;word-break:break-word;font-size:10px!important;line-height:1.25}#print-container .items-table th,.print-container .items-table th,#po-pdf .items-table th{background:#f5f5f5;font-weight:700;text-align:center}#print-container .items-table tr,.print-container .items-table tr,#po-pdf .items-table tr{page-break-inside:avoid;break-inside:avoid}#print-container .items-table thead,.print-container .items-table thead,#po-pdf .items-table thead{display:table-header-group}#print-container .items-table th.sr-no,#print-container .items-table td.sr-no,.print-container .items-table th.sr-no,.print-container .items-table td.sr-no,#po-pdf .items-table th.sr-no,#po-pdf .items-table td.sr-no{width:5%!important;text-align:center}#print-container .items-table td.description-cell,.print-container .items-table td.description-cell,#po-pdf .items-table td.description-cell{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;word-break:break-word!important}#print-container .notes-summary-section,.print-container .notes-summary-section,#po-pdf .notes-summary-section{display:flex;justify-content:space-between;margin-bottom:20px;gap:4%;page-break-inside:avoid}#print-container .notes-summary-section .notes-column,.print-container .notes-summary-section .notes-column,#po-pdf .notes-summary-section .notes-column{width:48%;box-sizing:border-box}#print-container .notes-summary-section .notes-column .notes-section,#print-container .notes-summary-section .notes-column .terms-section,.print-container .notes-summary-section .notes-column .notes-section,.print-container .notes-summary-section .notes-column .terms-section,#po-pdf .notes-summary-section .notes-column .notes-section,#po-pdf .notes-summary-section .notes-column .terms-section{padding:8px;border:1px solid #ddd;border-radius:5px;margin-bottom:10px;font-size:11px}#print-container .notes-summary-section .notes-column .notes-section h4,#print-container .notes-summary-section .notes-column .terms-section h4,.print-container .notes-summary-section .notes-column .notes-section h4,.print-container .notes-summary-section .notes-column .terms-section h4,#po-pdf .notes-summary-section .notes-column .notes-section h4,#po-pdf .notes-summary-section .notes-column .terms-section h4{margin:0 0 5px;font-size:12px}#print-container .notes-summary-section .notes-column .notes-section p,#print-container .notes-summary-section .notes-column .notes-section pre,#print-container .notes-summary-section .notes-column .terms-section p,#print-container .notes-summary-section .notes-column .terms-section pre,.print-container .notes-summary-section .notes-column .notes-section p,.print-container .notes-summary-section .notes-column .notes-section pre,.print-container .notes-summary-section .notes-column .terms-section p,.print-container .notes-summary-section .notes-column .terms-section pre,#po-pdf .notes-summary-section .notes-column .notes-section p,#po-pdf .notes-summary-section .notes-column .notes-section pre,#po-pdf .notes-summary-section .notes-column .terms-section p,#po-pdf .notes-summary-section .notes-column .terms-section pre{margin:4px 0;white-space:pre-wrap;font-family:inherit;font-size:11px}#print-container .notes-summary-section .summary-column,.print-container .notes-summary-section .summary-column,#po-pdf .notes-summary-section .summary-column{width:48%;box-sizing:border-box}#print-container .notes-summary-section .summary-column .amount-details table,.print-container .notes-summary-section .summary-column .amount-details table,#po-pdf .notes-summary-section .summary-column .amount-details table{width:100%;border-collapse:collapse}#print-container .notes-summary-section .summary-column .amount-details table td,.print-container .notes-summary-section .summary-column .amount-details table td,#po-pdf .notes-summary-section .summary-column .amount-details table td{padding:5px;text-align:right;font-size:11px}#print-container .notes-summary-section .summary-column .amount-details table td:first-child,.print-container .notes-summary-section .summary-column .amount-details table td:first-child,#po-pdf .notes-summary-section .summary-column .amount-details table td:first-child{text-align:left;font-weight:700}#print-container .notes-summary-section .summary-column .amount-details table .total-row,.print-container .notes-summary-section .summary-column .amount-details table .total-row,#po-pdf .notes-summary-section .summary-column .amount-details table .total-row{border-top:1px solid #000;font-weight:700}#print-container .certification-section,.print-container .certification-section,#po-pdf .certification-section{display:flex;justify-content:space-between;margin-top:6px;align-items:flex-start;page-break-inside:avoid;flex-direction:row}#print-container .certification-section .contact-note,.print-container .certification-section .contact-note,#po-pdf .certification-section .contact-note{width:60%;font-style:italic;font-size:11px;text-align:left;margin-top:0}#print-container .certification-section .signature-box,.print-container .certification-section .signature-box,#po-pdf .certification-section .signature-box{width:35%;text-align:center}#print-container .certification-section .signature-box p,.print-container .certification-section .signature-box p,#po-pdf .certification-section .signature-box p{margin:5px 0;font-size:11px}#print-container .certification-section .signature-box .signature-line,.print-container .certification-section .signature-box .signature-line,#po-pdf .certification-section .signature-box .signature-line{width:200px;height:1px;background:#000;margin:15px auto}#print-container .jurisdiction-note,.print-container .jurisdiction-note,#po-pdf .jurisdiction-note{text-align:center;margin-top:20px;font-weight:700;page-break-before:avoid;font-size:11px}@media print{html,body{margin:0!important;padding:0!important;background:#fff!important}@page{size:A4 portrait;margin:0;background:#fff}#po-pdf{width:210mm!important;max-width:none!important;margin:0!important;padding:0!important;box-shadow:none!important;background:#fff!important}#po-pdf .main-content{display:block;margin:0;background:#fff}.items-table thead{display:table-header-group}.items-table tr{break-inside:avoid;page-break-inside:avoid}.items-table{page-break-inside:auto}}.po-form-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;position:relative}.po-form-header h2{position:absolute;left:50%;transform:translate(-50%);margin:0;font-size:28px;font-weight:600;color:#3f3f91}.po-form-header .date-container{display:flex;align-items:center;gap:8px;margin-left:auto;background:#f5f5f5;padding:8px 15px;border-radius:6px;border:1px solid #ddd}.po-form-header .date-container .date-label{font-weight:500;color:#555}.po-form-header .date-container .po-date{font-size:15px;color:#333}.page-header{display:flex;justify-content:space-between;align-items:center;margin:30px auto;max-width:1200px;padding:0 20px}.page-header h2{font-size:26px;font-weight:600;color:#3f3f91}.page-header .page-actions{display:flex;gap:12px}.page-header .page-actions button{display:flex;align-items:center;gap:8px;background:linear-gradient(to right,#7366ff,#948cff);color:#fff;padding:10px 16px;font-size:14px;font-weight:500;border:none;border-radius:6px;cursor:pointer;transition:.3s}.page-header .page-actions button:hover{background:linear-gradient(to right,#5f53cc,#7366ff)}.page-header .page-actions .export-btn{background:linear-gradient(to right,#4caf50,#66bb6a);margin-top:10px}.page-header .page-actions .export-btn:hover{background:linear-gradient(to right,#388e3c,#4caf50)}.page-header .page-actions .export-all-btn{background:linear-gradient(to right,#2196F3,#42A5F5)}.page-header .page-actions .export-all-btn:hover{background:linear-gradient(to right,#1976D2,#2196F3)}.form-container.premium{max-width:1200px;margin:30px auto;padding:40px;background:linear-gradient(145deg,#f9f9ff,#e1e1ef);box-shadow:0 8px 25px #00000014;border-radius:15px;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif}.form-container.premium h2{text-align:center;font-size:28px;font-weight:600;color:#3f3f91;margin-bottom:30px}.form-container.premium .form-group-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px;margin-bottom:25px}.form-container.premium .field-wrapper{display:flex;flex-direction:column}label{font-weight:600;font-size:14px;margin-bottom:6px;color:#3f3f91}input,textarea{padding:12px;border-radius:8px;border:1px solid #ccc;font-size:15px;background:#fff;transition:.3s ease;width:100%}input:focus,textarea:focus{border-color:#7366ff;outline:none;background:#f4f7ff}.form-items .item-row{display:grid;grid-template-columns:repeat(8,1fr);gap:10px;align-items:center;margin-bottom:12px}.form-items .remove-btn{background:#e53935;color:#fff;border:none;padding:6px 12px;border-radius:5px;cursor:pointer;font-size:14px;margin-top:0!important}.form-items .add-btn{margin-top:10px;padding:8px 14px;background:#7366ff;color:#fff;border:none;border-radius:6px;font-weight:500;cursor:pointer;transition:.3s}.form-items .add-btn:hover{background:#5f53cc}.totals{background:#f7f8fc;padding:15px;border-radius:10px;border:1px solid #ddd;margin-top:20px}.totals p{margin:6px 0;font-weight:500;font-size:15px;color:#333}.submit-btn-container button[type=submit]{width:100%;padding:14px;background:linear-gradient(to right,#7366ff,#948cff);color:#fff;border:none;border-radius:8px;font-weight:600;font-size:16px;cursor:pointer;margin-top:20px;transition:.3s}.submit-btn-container button[type=submit]:hover{background:linear-gradient(to right,#5f53cc,#7366ff)}.data-table{max-width:1200px;margin:20px auto;padding:10px;background:white;border-radius:10px;box-shadow:0 2px 12px #00000014;overflow-x:auto}.data-table table th,.data-table table td{padding:8px 12px;text-align:left;font-size:14px;color:#333;border-bottom:1px solid #eee}.data-table table th{background-color:#f5f6fa;font-weight:600;color:#555;padding:8px 12px}@media screen and (max-width: 768px){.page-header{flex-direction:column;align-items:flex-start;gap:12px}.form-container.premium .form-group-row,.form-items .item-row{grid-template-columns:1fr!important}button[type=submit],.form-items .add-btn{width:100%}.data-table{padding:10px}.data-table table{font-size:14px}.data-table table th,.data-table table td{padding:10px}}.po-details-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px}.section-header{grid-column:1/-1;font-size:18px;font-weight:600;color:#3f3f91;margin:25px 0 15px;padding-bottom:8px;border-bottom:1px solid #eee;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px}.section-header .new-add-item-btn{display:flex;align-items:center;gap:6px;background:linear-gradient(to right,#7366ff,#948cff);color:#fff;padding:8px 12px;font-size:13px;font-weight:500;border:none;border-radius:5px;cursor:pointer;transition:.3s;white-space:nowrap}.section-header .new-add-item-btn:hover{background:linear-gradient(to right,#5f53cc,#7366ff);transform:translateY(-1px)}.section-header .new-add-item-btn:active{transform:translateY(0)}.item-card{border:1px solid #eee;border-radius:8px;padding:15px;background:#f9f9ff;position:relative;transition:box-shadow .3s ease}.item-card:hover{box-shadow:0 4px 12px #0000001a}.item-card .remove-item-btn{background:#e53935;color:#fff;border:none;padding:8px;border-radius:5px;cursor:pointer;display:flex;align-items:center;justify-content:center;min-width:28px;height:28px;transition:.3s}.item-card .remove-item-btn:hover:not(:disabled){background:#c62828;transform:scale(1.05)}.item-card .remove-item-btn:active{transform:scale(.95)}.item-card .remove-item-btn:disabled{background:#ccc;cursor:not-allowed;opacity:.6}.item-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:10px;gap:10px}.item-header .react-select-container{flex:1;min-width:0}.item-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;font-size:14px;color:#555}.item-details>div{display:flex;flex-direction:column;gap:5px}.item-details .edit-field-container{display:flex;align-items:center;gap:8px}.item-details .edit-field-container input{padding:8px;border-radius:5px;border:1px solid #ddd;font-size:14px;width:100%;max-width:120px}.item-details .edit-field-container input:focus{border-color:#7366ff;outline:none}.item-details .edit-field-container input.error{border-color:#e53935}.item-details .edit-field-container .quantity-warning{font-size:12px;color:#ff6b35;background:#fff3e0;padding:4px 8px;border-radius:4px;margin-top:4px}@media (max-width: 768px){.modal-content{width:95%;max-height:85vh}.po-details-grid{grid-template-columns:1fr;gap:15px}.items-grid{grid-template-columns:1fr}.detail-row{margin-bottom:12px}.section-header{grid-column:1/-1;font-size:18px;font-weight:600;color:#3f3f91;margin:25px 0 15px;padding-bottom:8px;border-bottom:1px solid #eee;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px}.section-header .new-add-item-btn{display:flex;align-items:center;gap:6px;background:linear-gradient(to right,#7366ff,#948cff);color:#fff;padding:8px 12px;font-size:13px;font-weight:500;border:none;border-radius:5px;cursor:pointer;transition:.3s;white-space:nowrap}.section-header .new-add-item-btn:hover{background:linear-gradient(to right,#5f53cc,#7366ff);transform:translateY(-1px)}.section-header .new-add-item-btn:active{transform:translateY(0)}.modal-footer{padding:12px 15px}.modal-footer .export-btn{padding:12px 20px;font-size:14px}.item-header{flex-direction:column;gap:5px}.item-hsn{margin-left:0;align-self:flex-start}}.terms-checkbox{margin-top:15px;text-align:left}.terms-checkbox label{display:flex;align-items:center;gap:10px;cursor:pointer;font-weight:500;color:#3f3f91}.terms-checkbox input[type=checkbox]{margin:0;width:16px;height:16px}.react-select-container{width:100%;position:relative;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif}.react-select__control{min-height:25px!important;border-radius:8px!important;border:1px solid #ccc!important;background:#fff!important;box-shadow:none!important;transition:.3s ease!important;padding:0}.react-select__value-container{padding:0 12px}.react-select__clear-indicator{color:#666!important;padding:6px 8px!important}.react-select__clear-indicator:hover{color:#333!important}.react-select__menu{margin-top:4px!important;border-radius:8px!important;box-shadow:0 2px 12px #00000014!important;border:1px solid #eee!important;z-index:1000!important;animation:fadeIn .2s ease-out;min-width:max-content!important;width:auto!important}.error .react-select__control{border-color:#e53935!important}.react-select__control--menu-is-open{border-color:#7366ff!important}.react-select__multi-value{background:#f0f7ff!important;border-radius:4px!important}.react-select__multi-value__label{color:#3f3f91!important;font-size:14px!important;padding:2px 6px!important}.react-select__multi-value__remove:hover{background:#e53935!important;color:#fff!important}.react-select-container:first-of-type .react-select__menu{min-width:300px!important}.form-items .react-select-container .react-select__menu{min-width:350px!important}@media screen and (max-width: 768px){.react-select__menu{min-width:100%!important;width:100%!important;max-width:100vw!important;left:0!important;right:0!important}.react-select-container:first-of-type .react-select__menu,.form-items .react-select-container .react-select__menu{min-width:100%!important;width:100%!important}.form-container.premium{padding:20px}.form-container.premium h2{font-size:22px;margin-bottom:20px}.form-items .item-row{gap:8px}.form-items .item-row .react-select-container,.form-items .item-row input{margin-bottom:8px}.date-container{margin-top:5rem}.date-container .date-label{font-size:13px}.date-container .po-date{font-size:12px!important}}@media screen and (max-width: 480px){.po-form-header{margin-bottom:0!important}.po-form-header h2{font-size:20px;width:100%}.po-form-header .date-container{padding:6px 10px}.po-form-header .date-container .po-date{font-size:14px}}.grn-print{font-family:Arial,sans-serif;font-size:14px;color:#000;padding:30px;max-width:900px;margin:auto;line-height:1.6}.top-header{font-size:13px;margin-bottom:8px}.title{font-size:22px;font-weight:700;text-align:left;margin-bottom:15px}.header-grid{display:flex;justify-content:space-between;align-items:flex-start;gap:40px;margin-bottom:15px}.vendor-details,.meta-info{width:48%}.vendor-details h4{margin:0 0 5px;font-weight:700}.vendor-details p,.meta-info p{margin:3px 0;font-size:13px}.meta-info strong,.vendor-details strong{min-width:120px;display:inline-block}.items-table{width:100%;border-collapse:collapse;margin-top:20px}.items-table th,.items-table td{border:1px solid #000;padding:6px 8px;text-align:left;font-size:13px;word-break:break-word;vertical-align:top}.items-table th:nth-child(3),.items-table td:nth-child(3){width:200px;white-space:normal;word-wrap:break-word}.items-table th{background-color:#eee;font-weight:700}.grn-comments{margin-top:15px}.grn-comments p{margin:5px 0 0}.totals{margin-top:20px}.totals p{margin:2px 0;font-weight:700}.totals p strong{min-width:140px;display:inline-block}.grn-footer{margin-top:40px}.grn-footer p{margin:0 0 10px}.grn-footer .sign-box{margin-top:5px;font-weight:700}.bottom-section{margin-top:30px}.totals-box{width:300px;margin-left:auto;border:1px solid #000;padding:10px 15px}.totals-box p{margin:5px 0;font-weight:700;display:flex;justify-content:space-between}.totals-box p strong{font-weight:700}.footer-box{margin-top:25px}.footer-box .left{text-align:left;margin:3px 0}.footer-box .right{text-align:right;font-weight:700;margin-top:30px}.footer-box .note{font-style:italic;font-size:13px;margin-top:30px}.grn-container{max-width:1100px;margin:40px auto;padding:40px;background:linear-gradient(145deg,#f9f9ff,#e1e1ef);box-shadow:0 8px 30px #0000001a;border-radius:15px;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif}.grn-container h2{margin-bottom:25px;color:#3f3f91;font-size:28px;font-weight:600;text-align:center}.export-btn,.add-btn,.grn-submit-btn{padding:10px 15px;background:#7366ff;color:#fff;font-weight:600;border:none;border-radius:6px;cursor:pointer;transition:.3s ease}.export-btn:hover,.add-btn:hover,.grn-submit-btn:hover{background:#5a4ee2}.form-container h2{color:#3f3f91;font-size:24px;margin-bottom:20px}.grn-field-wrapper input,.grn-field-wrapper textarea{padding:6px 15px;border-radius:8px;border:1px solid #ccc;font-size:16px;transition:.3s}.grn-error{color:#d9534f;font-size:13px;margin-top:5px}.item-row{display:flex;align-items:center;flex-wrap:nowrap;gap:10px;margin-bottom:8px;padding-bottom:10px}.item-row input{flex:1;padding:10px;border-radius:6px;border:1px solid #ccc}.quantity-field-container{position:relative;flex:1}.quantity-input{width:100%;padding:8px 12px;border:1px solid #ddd;border-radius:4px}.quantity-hint{position:absolute;bottom:-18px;left:0;right:0;font-size:11px;color:#666;text-align:center}.sr-no-field{flex:0 0 40px}.item-name-field,.item-desc-field{flex:1}.quantity-field-container,.rate-field{flex:0 0 80px}.unit-field{flex:0 0 100px}.total-field{flex:0 0 110px;background:#f5f5f5;font-weight:600}.item-row input,.item-row .quantity-input{padding:8px 10px;border:1px solid #ddd;border-radius:4px;width:100%;box-sizing:border-box}.add-item-btn,.remove-btn{padding:10px 12px;font-weight:500;border:none;border-radius:6px;cursor:pointer;margin-top:10px}.add-btn{background-color:#7366ff;color:#fff}.remove-btn-grn{width:40px!important;min-width:40px!important;padding:8px!important;margin-left:auto;background:#e53935;color:#fff;border:none;border-radius:5px;cursor:pointer;font-size:14px;margin-top:0!important}.grn-totals{margin-top:20px;font-size:16px;font-weight:600;color:#333;background:#f4f4ff;padding:10px 20px;border-radius:10px;display:inline-block}h3{font-size:20px;margin:30px 0 15px;color:#3f3f91;font-weight:600}@media screen and (max-width: 768px){.grn-field-wrapper{flex:1 1 100%}.item-row{flex-direction:column}.export-btn,.add-btn{width:100%}}@media (max-width: 768px){.item-row{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.sr-no-field,.item-name-field,.item-desc-field,.quantity-field-container,.rate-field,.unit-field,.total-field{width:100%!important;min-width:unset!important}.remove-btn-grn{grid-column:span 2;justify-self:end}}.quantity-field{display:flex;flex-direction:column;flex:1;margin-top:1.1rem}.quantity-field input{flex:1;padding:10px;border-radius:6px;border:1px solid #ccc;height:auto}.quantity-hint{font-size:.8rem;color:#666;margin-top:4px}.grn-details-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px}.item-hsn{font-size:13px;color:#666;background:#f0f0f0;padding:2px 8px;border-radius:4px;margin-left:10px}.item-description{font-size:14px;color:#555;margin-bottom:12px;font-style:italic;line-height:1.4}.item-details{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:14px;color:#555}.item-details span{white-space:nowrap}.comments-section{grid-column:1/-1;background:#f9f9ff;padding:15px;border-radius:8px;margin:10px 0 15px;border:1px solid #eee;font-size:14px;line-height:1.5}.totals-section{grid-column:1/-1;margin-top:15px;border-top:1px solid #eee;padding-top:15px}.total-row{display:flex;justify-content:space-between;margin-bottom:8px;padding:5px 0;font-size:15px}.total-row.grand-total{font-weight:600;font-size:18px;border-top:1px solid #eee;padding-top:15px;margin-top:10px}@media (max-width: 768px){.modal-content{width:95%;max-height:85vh}.grn-details-grid{grid-template-columns:1fr;gap:15px}.items-grid{grid-template-columns:1fr}.detail-row{margin-bottom:12px}.section-header{margin:20px 0 12px;font-size:17px}.modal-footer{padding:12px 15px}.modal-footer .export-btn{padding:12px 20px;font-size:14px}.item-header{flex-direction:column;gap:5px}.item-hsn{margin-left:0;align-self:flex-start}}@media (max-width: 480px){.modal-header{padding:12px 15px}.modal-body{padding:15px}.item-card{padding:12px}.total-row{font-size:14px}.total-row.grand-total{font-size:16px}}.react-select-container{width:100%}.react-select-container .react-select__control{min-height:38px;border-radius:6px;border:1px solid #ddd}.react-select-container .react-select__control:hover{border-color:#7366ff}.react-select-container .react-select__menu{z-index:1000;font-size:14px}.react-select-container .react-select__option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:8px 12px;font-size:14px}.react-select-container .react-select__single-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px}.bom-print{font-family:Arial,sans-serif;padding:30px;font-size:14px;color:#000}.bom-print h2.title{text-align:center;margin-bottom:30px;font-weight:700}.bom-print .details-columns{display:grid;grid-template-columns:160px auto;row-gap:12px;column-gap:12px;margin-bottom:30px}.bom-print .details-columns .label{font-weight:700}.bom-print .items-table{width:100%;border-collapse:collapse;margin-top:10px}.bom-print .items-table th,.bom-print .items-table td{border:1px solid #000;padding:8px;text-align:center;word-wrap:break-word;overflow-wrap:break-word;vertical-align:top}.bom-print .items-table th:nth-child(2),.bom-print .items-table td:nth-child(2){width:200px;text-align:left;white-space:normal;word-break:break-word}.bom-print .items-table th:nth-child(3),.bom-print .items-table td:nth-child(3){width:100px}.bom-print .items-table th{background-color:#f2f2f2}.bom-print .totals-box{margin-top:20px;border:1px solid #000;padding:12px;width:300px;float:right}.bom-print .totals-box p{margin:0 0 8px;font-weight:700}.bom-print .note{margin-top:40px;font-style:italic;font-size:13px}.bom-print .footer-right{margin-top:80px;text-align:right;font-weight:700;line-height:1.6}.form-container{max-width:1100px;margin:40px auto;padding:40px;background:linear-gradient(145deg,#f9f9ff,#e1e1ef);box-shadow:0 8px 30px #0000001a;border-radius:15px;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif}.form-container h2{margin-bottom:25px;color:#3f3f91;font-size:28px;font-weight:600;text-align:center}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.page-header .right-section{display:flex;align-items:center;gap:15px;flex-wrap:wrap;justify-content:flex-end;flex:2}.page-actions{display:flex;gap:10px}.export-btn,.add-btn,button[type=submit]{padding:10px 15px;background:#7366ff;color:#fff;font-weight:600;border:none;border-radius:6px;cursor:pointer;transition:.3s ease}.export-btn:hover,.add-btn:hover,button[type=submit]:hover{background:#5a4ee2}.grn-field-wrapper{flex:1 1 45%;display:flex;flex-direction:column}.grn-field-wrapper label{font-weight:600;margin-bottom:6px;color:#444;font-size:14px}.grn-field-wrapper input,.grn-field-wrapper textarea{padding:6px 15px;border-radius:8px;border:1px solid #ccc;font-size:14px;transition:.3s}.grn-field-wrapper input:focus,.grn-field-wrapper textarea:focus{border-color:#7366ff;outline:none;background-color:#f7f9ff}.form-items{margin-bottom:15px}.item-row{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.item-row>div{flex:1;display:flex;flex-direction:column}.item-row label{font-weight:600;margin-bottom:4px;font-size:14px;color:#333}.item-row input{padding:6px;border-radius:6px;border:1px solid #ccc;font-size:14px}.add-btn,.remove-btn{padding:10px 12px;font-weight:500;border:none;border-radius:6px;cursor:pointer;margin-top:10px}.remove-btn{background-color:#e74c3c;color:#fff}.totals{margin-top:20px;font-size:16px;font-weight:600;color:#333;background:#f4f4ff;padding:10px 20px;border-radius:10px;display:inline-block}.data-table table{width:100%;border-collapse:collapse;margin-top:30px}.data-table tr:hover{background-color:#f2f2f2;cursor:pointer}.data-table .selected{background-color:#e0e0ff}@media screen and (max-width: 768px){.grn-field-wrapper{flex:1 1 100%}.item-row{flex-direction:column}.export-btn,.add-btn,button[type=submit]{width:100%}}.table-loader{width:40px;height:40px;margin:0 auto;border:4px solid rgba(115,102,255,.2);border-top-color:#7366ff;border-radius:50%;animation:spin 1s linear infinite}.data-table{position:relative;min-height:200px}.data-table table{width:100%}.modal-content{background:white;border-radius:10px;width:90%;max-width:800px;max-height:90vh;overflow-y:auto;box-shadow:0 5px 20px #0003;animation:slideUp .3s ease-out}.wo-details-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px}.section-header{grid-column:1/-1;font-size:18px;font-weight:600;color:#3f3f91;margin:25px 0 15px;padding-bottom:8px;border-bottom:1px solid #eee}.items-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:15px;margin-top:10px}.item-card{border:1px solid #eee;border-radius:8px;padding:15px;background:#f9f9ff}.item-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:10px}.item-name{font-weight:600;color:#3f3f91;font-size:15px;flex:1}.item-id{font-size:13px;color:#666;background:#f0f0f0;padding:2px 8px;border-radius:4px;margin-left:10px}.item-details{display:flex;flex-direction:column;gap:8px;font-size:14px;color:#555}.modal-footer{padding:15px 20px;border-top:1px solid #eee;display:flex;justify-content:center;position:sticky;bottom:0;background:white;z-index:10}.modal-footer .export-btn{background-color:#28a745;color:#fff;border:none;padding:12px 25px;border-radius:6px;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:8px;transition:all .2s;width:100%;max-width:300px;justify-content:center;font-size:15px}.modal-footer .export-btn:hover{background-color:#218838;transform:translateY(-1px)}.modal-footer .export-btn:active{background-color:#1e7e34;transform:translateY(0)}.modal-footer .export-btn:disabled{background-color:#6c757d;cursor:not-allowed;transform:none}@media (max-width: 768px){.modal-content{width:95%;max-height:85vh}.wo-details-grid{grid-template-columns:1fr;gap:15px}.items-grid{grid-template-columns:1fr}.detail-row{margin-bottom:12px}.section-header{margin:20px 0 12px;font-size:17px}.modal-footer{padding:12px 15px}.modal-footer .export-btn{padding:12px 20px;font-size:14px}.item-header{flex-direction:column;gap:5px}.item-id{margin-left:0;align-self:flex-start}}@media (max-width: 480px){.modal-header{padding:12px 15px}.modal-body{padding:15px}.item-card{padding:12px}}.react-select-container{width:100%;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;margin-bottom:0}.react-select__control{min-height:25px;border-radius:8px!important;border:1px solid #ccc!important;background:#fff!important;box-shadow:none!important;transition:.3s ease!important}.react-select__control:hover{border-color:#888!important}.react-select__control--is-focused{border-color:#7366ff!important;box-shadow:none!important;background:#f4f7ff!important}.react-select__value-container{padding:2px 12px}.react-select__single-value{color:#333!important;font-size:15px}.react-select__placeholder{color:#999!important;font-size:15px}.react-select__input{color:#333!important;font-size:15px}.react-select__indicator-separator{display:none}.react-select__dropdown-indicator{color:#666!important;padding:6px 8px!important}.react-select__dropdown-indicator:hover{color:#333!important}.react-select__menu{margin-top:4px!important;border-radius:8px!important;box-shadow:0 2px 12px #00000014!important;border:1px solid #eee!important;z-index:1000!important;animation:fadeIn .2s ease-out}.react-select__option{padding:10px 12px!important;font-size:15px!important;color:#333!important;background:#fff!important;transition:.2s!important}.react-select__option--is-focused{background:#f0f7ff!important;color:#333!important}.react-select__option--is-selected{background:linear-gradient(to right,#7366ff,#948cff)!important;color:#fff!important}.modal-overlay .react-select__menu{z-index:1001!important}@media screen and (max-width: 768px){.react-select__control{min-height:42px}.react-select__value-container{padding:0 10px}.react-select__dropdown-indicator{padding:8px!important}}.main{padding:20px}.page-header{display:flex;align-items:center;gap:20px;flex-wrap:nowrap;padding:0 25px 10px!important}.page-header h2{flex-shrink:0}.page-header .right-section{display:flex;align-items:center;gap:15px;flex:1;justify-content:flex-end;flex-wrap:nowrap;overflow-x:auto}.page-header .search-container{position:relative;width:220px}.page-header .search-container input{width:100%;padding:8px 12px 8px 35px;border:1px solid #ddd;border-radius:6px;font-size:14px;outline:none}.page-header .search-container input:focus{border-color:#7366ff}.page-header .search-container .search-icon{position:absolute;top:50%;left:10px;transform:translateY(-50%);color:#888}.page-header h2{color:#3f3f91;font-size:28px;font-weight:600}.action-buttons-group{display:flex;gap:10px}.export-all-btn,.add-btn{padding:10px 15px;background:#7366ff;color:#fff;font-weight:600;border:none;border-radius:6px;cursor:pointer;transition:.3s ease;display:flex;align-items:center;gap:8px}.export-all-btn:hover,.add-btn:hover{background:#5a4ee2}.form-container{background:white;padding:25px;border-radius:10px;box-shadow:0 4px 20px #00000014;margin-bottom:30px}.form-container h2{color:#3f3f91;font-size:24px;margin-bottom:20px;text-align:center}.form-container .section-heading{font-size:20px;margin:30px 0 15px;color:#3f3f91;font-weight:600;border-bottom:1px solid #eee;padding-bottom:8px}.form-group-row{display:flex;flex-wrap:wrap;gap:20px;margin-bottom:20px}.field-wrapper{flex:1 1 45%;display:flex;flex-direction:column;position:relative}.field-wrapper label{font-weight:600;margin-bottom:6px;color:#444;font-size:14px}.field-wrapper input,.field-wrapper select{padding:12px 15px;border-radius:8px;border:1px solid #ccc;font-size:16px;transition:.3s}.field-wrapper input:focus,.field-wrapper select:focus{border-color:#7366ff;outline:none;background-color:#f7f9ff}.search-dropdown{position:absolute;top:100%;left:0;right:0;background:white;border:1px solid #ddd;border-radius:6px;box-shadow:0 4px 12px #0000001a;z-index:10;max-height:200px;overflow-y:auto}.search-dropdown .dropdown-item{padding:10px 15px;cursor:pointer;border-bottom:1px solid #eee}.search-dropdown .dropdown-item:last-child{border-bottom:none}.search-dropdown .dropdown-item:hover{background-color:#f5f5ff}.search-dropdown .dropdown-item div:first-child{font-weight:500}.search-dropdown .dropdown-item div:last-child{font-size:12px;color:#666}.add-customer-prompt{margin-top:8px;font-size:14px}.add-customer-prompt button{background:none;border:none;color:#7366ff;cursor:pointer;text-decoration:underline}.add-customer-prompt button:hover{color:#5a4ee2}.customer-form{background:#f9f9ff;padding:15px;border-radius:8px;margin-bottom:20px}.customer-details{background:#f0f9ff;padding:15px;border-radius:8px;margin-bottom:20px}.customer-details p{margin:5px 0}.items-table-container{overflow-x:auto;margin-bottom:20px}.items-table{width:100%;border-collapse:collapse;table-layout:fixed}.items-table th,.items-table td{padding:8px;text-align:left;border-bottom:1px solid #ddd;word-wrap:break-word}.items-table th{background-color:#f2f2f2;font-weight:600;color:#333}.items-table input,.items-table select{padding:5px;border:1px solid #ddd;border-radius:4px;width:100%;box-sizing:border-box}.items-table tfoot{font-weight:700}.items-table tfoot td{border-top:2px solid #ddd}.invoice-remove-btn{background:#e74c3c;color:#fff;border:none;border-radius:4px;padding:6px;cursor:pointer;display:flex;align-items:center;justify-content:center}.invoice-remove-btn:hover{background:#c0392b}.payment-options-container{margin-bottom:20px}.payment-options{display:flex;gap:20px}.payment-options .payment-option{display:flex;align-items:center;gap:8px;cursor:pointer;padding:12px 20px;border:2px solid #ddd;border-radius:8px;transition:all .3s ease}.payment-options .payment-option:hover{border-color:#7366ff;background-color:#f7f9ff}.payment-options .payment-option input[type=radio]{margin:0;accent-color:#7366ff}.payment-options .payment-option .payment-label{font-weight:500;color:#444}.payment-options .payment-option input[type=radio]:checked+.payment-label{color:#7366ff;font-weight:600}.payment-options .payment-option:has(input[type=radio]:checked){border-color:#7366ff;background-color:#f0f5ff}.submit-btn-container{display:flex;justify-content:center;margin-top:20px}.submit-btn-container .submit-btn{padding:14px 30px;background:linear-gradient(to right,#7366ff,#948cff);color:#fff;border:none;border-radius:8px;font-weight:600;font-size:16px;cursor:pointer;transition:.3s}.submit-btn-container .submit-btn:hover{background:linear-gradient(to right,#5f53cc,#7366ff)}.data-table{width:100%;overflow-x:auto;margin-top:30px}.data-table th,.data-table td{padding:12px;text-align:left;border-bottom:1px solid #ddd}.data-table th{background-color:#f2f2f2;font-weight:600;color:#333}.export-pdf-btn{padding:6px 12px;background:#e74c3c;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:12px;display:flex;align-items:center;gap:4px}.export-pdf-btn:hover{background:#c0392b}.export-pdf-btn:disabled{background:#95a5a6;cursor:not-allowed}.data-table th:nth-child(7),.data-table td:nth-child(7){text-align:center}[style*="display: none"]{position:absolute;left:-9999px}@media screen and (max-width: 768px){.form-container{padding:15px}.field-wrapper{flex:1 1 100%}.form-group-row{flex-direction:column;gap:15px}.payment-options{flex-direction:column;gap:10px}.page-header{flex-direction:column;gap:15px;align-items:flex-start}.page-header .right-section{justify-content:flex-start;width:100%}.items-table{font-size:14px}.items-table th,.items-table td{padding:8px}.items-table input,.items-table select{padding:6px;font-size:14px}}.batch-dropdown-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);display:flex;justify-content:center;align-items:center;z-index:1000}.batch-dropdown{background:white;padding:20px;border-radius:8px;max-width:400px;width:90%;max-height:80vh;overflow-y:auto;box-shadow:0 10px 30px #0000004d}.batch-dropdown h4{margin-top:0;margin-bottom:15px;color:#333;text-align:center;font-size:18px}.batch-option{padding:12px;border:1px solid #ddd;border-radius:6px;margin-bottom:10px;cursor:pointer;transition:background-color .2s}.batch-option:hover{background-color:#f5f5f5;border-color:#7366ff}.batch-option .batch-info{display:flex;justify-content:space-between;margin-bottom:5px;font-weight:500}.batch-option .batch-details{font-size:.9em;color:#666}.cancel-batch-select{width:100%;padding:10px;background:#6c757d;color:#fff;border:none;border-radius:4px;cursor:pointer;margin-top:10px;font-weight:500}.cancel-batch-select:hover{background:#5a6268}.batch-tag{background:#e3f2fd;padding:4px 8px;border-radius:4px;font-size:.8em;font-weight:700;color:#1976d2}.category-tag{background:#f3e5f5;padding:2px 6px;border-radius:3px;font-size:.7em;color:#7b1fa2}.stock-badge{margin-left:8px;padding:2px 6px;border-radius:4px;font-size:.8em;font-weight:700}.stock-badge.out-of-stock{background:#ffebee;color:#c62828}.stock-badge.in-stock{background:#e8f5e8;color:#2e7d32}.available-qty{font-size:.8em;color:#666;margin-top:2px;font-style:italic}.out-of-stock{opacity:.6;cursor:not-allowed}.out-of-stock:hover{background-color:#ffebee!important}.search-dropdown{z-index:100}.expired-badge{background-color:#ff6b6b;color:#fff;padding:2px 6px;border-radius:4px;font-size:.7em;margin-left:8px}.batch-option.expired{background-color:#fff5f5;border-left:3px solid #ff6b6b}.expired-batches-section{border-top:1px solid #e0e0e0;margin-top:10px;padding-top:10px}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.6);display:flex;justify-content:center;align-items:center;z-index:1000;padding:20px}.invoice-modal-content{background:white;border-radius:12px;width:95%;max-width:1200px;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 20px 60px #0000004d}.invoice-modal-content .modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 30px;border-bottom:1px solid #e0e0e0;background:linear-gradient(135deg,#7366ff,#948cff);color:#fff}.invoice-modal-content .modal-header .modal-title{font-size:24px;font-weight:600}.invoice-modal-content .modal-header .modal-close{background:none;border:none;color:#fff;font-size:28px;cursor:pointer;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:50%}.invoice-modal-content .modal-header .modal-close:hover{background:rgba(255,255,255,.2)}.invoice-modal-content .modal-body{flex:1;overflow-y:auto;padding:30px}.invoice-modal-content .modal-footer{display:flex;justify-content:flex-end;gap:15px;padding:20px 30px;border-top:1px solid #e0e0e0;background:#f8f9fa}.invoice-section{margin-bottom:30px}.invoice-section:last-child{margin-bottom:0}.invoice-section .section-title{font-size:18px;font-weight:600;color:#3f3f91;margin-bottom:15px;padding-bottom:8px;border-bottom:2px solid #7366ff}.wo-details-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1px!important}.wo-details-grid .detail-row{display:flex;justify-content:space-between;align-items:center;padding:7px 0;border-bottom:1px solid #f0f0f0}.wo-details-grid .detail-row:last-child{border-bottom:none}.wo-details-grid .detail-row .detail-label{font-weight:600;color:#555;min-width:140px}.wo-details-grid .detail-row .detail-value{color:#333;text-align:right;flex:1}.wo-details-grid .detail-row .edit-input{padding:8px 12px;border:1px solid #ddd;border-radius:6px;font-size:14px;width:200px}.wo-details-grid .detail-row .edit-input:focus{border-color:#7366ff;outline:none}.wo-details-grid .detail-row textarea.edit-input{width:100%;min-height:80px;resize:vertical}.items-table-container{overflow-x:auto;margin:20px 0;border:1px solid #e0e0e0;border-radius:8px}.items-details-table{width:100%;border-collapse:collapse;background:white}.items-details-table th{background:#f8f9fa;padding:12px 15px;text-align:left;font-weight:600;color:#333;border-bottom:2px solid #e0e0e0;font-size:14px}.items-details-table td{padding:12px 15px;border-bottom:1px solid #f0f0f0;vertical-align:top}.items-details-table tr:hover{background:#f8f9ff}.items-details-table .product-name{font-weight:500;color:#333}.items-details-table .product-barcode{font-size:12px;color:#666;margin-top:4px}.items-details-table .batch-info{display:flex;flex-direction:column;gap:4px}.items-details-table .batch-tag{background:#e3f2fd;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:700;color:#1976d2;display:inline-block}.items-details-table .expiry-date{font-size:11px;color:#666}.items-details-table .category-tag{background:#f3e5f5;padding:4px 8px;border-radius:4px;font-size:12px;color:#7b1fa2;display:inline-block}.items-details-table .amount-cell{font-weight:600;color:#2e7d32}.no-items-message{text-align:center;padding:40px;color:#666;font-style:italic;background:#f8f9fa;border-radius:8px;border:2px dashed #ddd}.invoice-summary-grid{background:#f8f9fa;padding:20px;border-radius:8px;border:1px solid #e0e0e0;max-width:400px;margin-left:auto}.invoice-summary-grid .summary-row{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid #e0e0e0}.invoice-summary-grid .summary-row:last-child{border-bottom:none}.invoice-summary-grid .summary-row .summary-label{font-weight:500;color:#555}.invoice-summary-grid .summary-row .summary-value{font-weight:600;color:#333}.invoice-summary-grid .summary-row.total-row{border-top:2px solid #7366ff;margin-top:10px;padding-top:15px}.invoice-summary-grid .summary-row.total-row .summary-label{font-size:16px;color:#3f3f91}.invoice-summary-grid .summary-row.total-row .total-amount{font-size:18px;color:#2e7d32}.update-btn,.delete-btn{padding:12px 24px;border:none;border-radius:6px;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:8px;transition:all .3s ease;font-size:14px}.update-btn:disabled,.delete-btn:disabled{opacity:.6;cursor:not-allowed}.update-btn{background:#7366ff;color:#fff}.update-btn:hover:not(:disabled){background:#5a4ee2;transform:translateY(-1px)}.update-btn.save-btn{background:#28a745}.update-btn.save-btn:hover:not(:disabled){background:#218838}.delete-btn{background:#dc3545;color:#fff}.delete-btn:hover:not(:disabled){background:#c82333;transform:translateY(-1px)}.confirm-dialog-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);display:flex;justify-content:center;align-items:center;z-index:1001}.confirm-dialog{background:white;padding:30px;border-radius:12px;box-shadow:0 20px 60px #0000004d;max-width:400px;width:90%;text-align:center}.confirm-dialog h3{margin:0 0 15px;color:#dc3545;font-size:20px}.confirm-dialog p{margin:0 0 25px;color:#666;line-height:1.5}.confirm-buttons{display:flex;gap:15px;justify-content:center}.confirm-buttons button{padding:10px 20px;border:none;border-radius:6px;font-weight:600;cursor:pointer;transition:all .3s ease;min-width:80px}.confirm-buttons .confirm-cancel{background:#6c757d;color:#fff}.confirm-buttons .confirm-cancel:hover{background:#5a6268}.confirm-buttons .confirm-delete{background:#dc3545;color:#fff}.confirm-buttons .confirm-delete:hover{background:#c82333}@media (max-width: 768px){.modal-overlay{padding:10px}.invoice-modal-content{width:100%;max-height:95vh}.invoice-modal-content .modal-header{padding:15px 20px}.invoice-modal-content .modal-header .modal-title{font-size:20px}.invoice-modal-content .modal-body{padding:20px}.invoice-modal-content .modal-footer{padding:15px 20px;flex-direction:column}.invoice-modal-content .modal-footer button{width:100%;justify-content:center}.wo-details-grid{grid-template-columns:1fr}.wo-details-grid .detail-row{flex-direction:column;align-items:flex-start;gap:5px}.wo-details-grid .detail-row .detail-value{text-align:left;width:100%}.wo-details-grid .detail-row .edit-input{width:100%}.items-details-table{font-size:14px}.items-details-table th,.items-details-table td{padding:8px 10px}.invoice-summary-grid{max-width:100%;margin:0}.confirm-dialog{padding:20px}.confirm-dialog .confirm-buttons{flex-direction:column}}@media (max-width: 480px){.items-details-table{font-size:12px}.items-details-table th,.items-details-table td{padding:6px 8px}.batch-tag,.category-tag{font-size:10px;padding:2px 6px}}.bulk-import-btn{background:linear-gradient(135deg,#28a745,#20c997);color:#fff;border:none;padding:12px 20px;border-radius:8px;cursor:pointer;display:flex;align-items:center;gap:8px;font-weight:500;transition:all .3s ease}.bulk-import-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #28a7454d}.bulk-import-btn:disabled{background:#6c757d;cursor:not-allowed;transform:none}.file-drop-zone{border:2px dashed #3f3f91;border-radius:12px;padding:40px 20px;text-align:center;cursor:pointer;transition:all .3s ease;background:#f8f9fa}.file-drop-zone.dragging{background:#e3f2fd;border-color:#2196f3}.file-drop-zone.has-file{background:#e8f5e8;border-color:#28a745}.file-drop-zone.disabled{opacity:.6;cursor:not-allowed}.file-drop-zone.disabled .file-placeholder,.file-drop-zone.disabled .file-selected{pointer-events:none}.file-drop-zone .file-placeholder .upload-icon{font-size:48px;color:#3f3f91;margin-bottom:16px}.file-drop-zone .file-placeholder p{margin:0 0 8px;font-size:16px;color:#333}.file-drop-zone .file-placeholder small{color:#666}.file-drop-zone .file-selected{display:flex;align-items:center;justify-content:center;gap:12px}.file-drop-zone .file-selected .file-icon{font-size:32px;color:#28a745}.file-drop-zone .file-selected .file-info{text-align:left}.file-drop-zone .file-selected .file-info .file-name{font-weight:500;color:#333}.file-drop-zone .file-selected .file-info .file-size{color:#666;font-size:12px}.file-drop-zone .file-selected .remove-file{background:#dc3545;color:#fff;border:none;width:24px;height:24px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center}.import-instructions{background:#e3f2fd;padding:16px;border-radius:8px;margin-bottom:20px}.import-instructions h4{margin:0 0 12px;color:#1976d2}.import-instructions ul{margin:0;padding-left:20px}.import-instructions ul li{margin-bottom:4px;color:#555}.import-loading{text-align:center;padding:40px 20px}.import-loading p{margin:0 0 20px;color:#3f3f91;font-size:16px}.loading-progress{width:100%;max-width:300px;margin:0 auto}.progress-bar{width:100%;height:6px;background:#e0e0e0;border-radius:3px;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,#3f3f91,#6a6ac5);border-radius:3px;animation:progressAnimation 2s ease-in-out infinite}@keyframes progressAnimation{0%{width:0%}50%{width:70%}to{width:100%}}.import-btn{background:linear-gradient(135deg,#28a745,#20c997);color:#fff;border:none;padding:12px 24px;border-radius:8px;cursor:pointer;display:flex;align-items:center;gap:8px;font-weight:500}.import-btn:hover:not(:disabled){background:linear-gradient(135deg,#218838,#1e7e34)}.import-btn:disabled{background:#6c757d;cursor:not-allowed}.import-btn.loading{background:#6c757d}.cancel-btn{background:#6c757d;color:#fff;border:none;padding:12px 24px;border-radius:8px;cursor:pointer}.cancel-btn:hover{background:#5a6268}.loading-spinner{border:2px solid #f3f3f3;border-top:2px solid #3f3f91;border-radius:50%;animation:spin 1s linear infinite}.loading-spinner.small{width:16px;height:16px;display:inline-block;margin-right:8px}.loading-spinner.large{width:50px;height:50px;margin:0 auto 20px}.promo-code-container{width:100%}.promo-input-group{display:flex;gap:10px;align-items:stretch}.promo-input-group input{flex:1;padding:12px 15px;border:1px solid #ddd;border-radius:8px;font-size:16px}.promo-input-group input:focus{border-color:#7366ff;outline:none}.promo-input-group input.error{border-color:#dc3545}.promo-input-group input:disabled{background-color:#f8f9fa;cursor:not-allowed}.apply-promo-btn,.remove-promo-btn{padding:12px 20px;border:none;border-radius:8px;font-weight:600;cursor:pointer;white-space:nowrap;transition:all .3s ease;display:flex;align-items:center;gap:8px}.apply-promo-btn:disabled,.remove-promo-btn:disabled{opacity:.6;cursor:not-allowed}.apply-promo-btn{background:#28a745;color:#fff}.apply-promo-btn:hover:not(:disabled){background:#218838;transform:translateY(-1px)}.remove-promo-btn{background:#dc3545;color:#fff}.promo-error{color:#dc3545;font-size:14px;margin-top:8px;font-weight:500}@media (max-width: 768px){.promo-input-group{flex-direction:column}.promo-input-group input{width:100%}.promo-input-group button{width:100%;justify-content:center}}.promo-code-value{color:#28a745;font-weight:600}.invoice-summary-grid.detailed-calculation{max-width:450px;background:#f8f9fa;padding:20px;border-radius:8px;border:1px solid #e0e0e0;margin-left:auto}.invoice-summary-grid.detailed-calculation .calculation-step{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid #e8e8e8}.invoice-summary-grid.detailed-calculation .calculation-step:last-child{border-bottom:none}.invoice-summary-grid.detailed-calculation .calculation-step .step-label{font-weight:500;color:#555;font-size:14px}.invoice-summary-grid.detailed-calculation .calculation-step .step-value{font-weight:600;color:#333;font-size:14px}.invoice-summary-grid.detailed-calculation .calculation-step.discount-step .step-value,.invoice-summary-grid.detailed-calculation .calculation-step.promo-step .step-value{color:#dc3545}.invoice-summary-grid.detailed-calculation .calculation-step.tax-step .step-value{color:#ff6b00}.invoice-summary-grid.detailed-calculation .calculation-step.amount-before-tax,.invoice-summary-grid.detailed-calculation .calculation-step.taxable-amount{background:#f0f8ff;margin:5px -10px;padding:8px 10px;border-radius:4px;border:1px dashed #b3d9ff}.invoice-summary-grid.detailed-calculation .calculation-step.amount-before-tax .step-label,.invoice-summary-grid.detailed-calculation .calculation-step.taxable-amount .step-label{color:#06c;font-weight:600}.invoice-summary-grid.detailed-calculation .calculation-step.amount-before-tax .step-value,.invoice-summary-grid.detailed-calculation .calculation-step.taxable-amount .step-value{color:#06c;font-weight:700}.invoice-summary-grid.detailed-calculation .calculation-step.total-row{border-top:2px solid #7366ff;background:#e8f5e8;margin:10px -10px 0;padding:12px 10px;border-radius:6px}.invoice-summary-grid.detailed-calculation .calculation-step.total-row .step-label{font-size:16px;color:#2e7d32;font-weight:700}.invoice-summary-grid.detailed-calculation .calculation-step.total-row .total-amount{font-size:18px;color:#2e7d32;font-weight:800}.promo-code-value{color:#28a745;font-weight:600;background:#e8f5e8;padding:4px 8px;border-radius:4px;border-left:3px solid #28a745}.promo-description{font-size:12px;color:#666;font-weight:400;margin-top:4px;font-style:italic}@media (max-width: 768px){.invoice-summary-grid.detailed-calculation{max-width:100%;margin:0}.invoice-summary-grid.detailed-calculation .calculation-step .step-label,.invoice-summary-grid.detailed-calculation .calculation-step .step-value{font-size:13px}}.promo-dropdown-group{display:flex;gap:10px;align-items:stretch}@media (max-width: 768px){.promo-dropdown-group{flex-direction:column}}.dropdown-wrapper select{width:100%;padding:12px 40px 12px 15px;border:1px solid #ddd;border-radius:8px;font-size:16px;background-color:#fff;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;transition:all .3s ease}.dropdown-wrapper select:focus{border-color:#7366ff;outline:none;box-shadow:0 0 0 3px #7366ff33}.dropdown-wrapper select.error{border-color:#dc3545}.dropdown-wrapper select:disabled{background-color:#f8f9fa;cursor:not-allowed;opacity:.7}.dropdown-wrapper select option{padding:10px;font-size:14px}.dropdown-wrapper select option:disabled{color:#999}.dropdown-wrapper .dropdown-arrow{position:absolute;top:50%;right:15px;transform:translateY(-50%);color:#666;pointer-events:none;font-size:14px}.promo-loading{display:flex;align-items:center;gap:8px;color:#7366ff;font-size:14px;margin-top:8px}.promo-loading .spinner{animation:spin 1s linear infinite}.promo-error{color:#dc3545;font-size:14px;margin-top:8px;font-weight:500;background:#f8d7da;padding:8px 12px;border-radius:6px;border-left:4px solid #dc3545}.promo-success{color:#28a745;font-size:14px;margin-top:8px;font-weight:500;background:#e8f5e8;padding:8px 12px;border-radius:6px;border-left:4px solid #28a745}.remove-promo-btn{background:#dc3545;color:#fff;border:none;padding:12px 20px;border-radius:8px;font-weight:600;cursor:pointer;white-space:nowrap;transition:all .3s ease;display:flex;align-items:center;gap:8px;height:fit-content}.remove-promo-btn:hover{background:#c82333;transform:translateY(-1px)}@media (max-width: 768px){.remove-promo-btn{width:100%;justify-content:center}}.dropdown-loading{position:relative}.dropdown-loading:after{content:"Loading...";position:absolute;right:40px;top:50%;transform:translateY(-50%);color:#666;font-size:12px}.loyalty-coins-container{border:1px solid #e0e0e0;border-radius:8px;padding:15px;background:#f8f9fa}.loyalty-coins-container .loyalty-info{display:flex;justify-content:space-between;margin-bottom:10px;font-weight:500}.loyalty-coins-container .loyalty-info .usable-coins{color:#28a745;font-weight:700}.loyalty-coins-container .loyalty-checkbox{display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:500}.loyalty-coins-container .loyalty-checkbox input[type=checkbox]{width:16px;height:16px}.loyalty-coins-container .loyalty-message{color:#6c757d;font-style:italic;font-size:14px}.error-badge{background:#dc3545;color:#fff;padding:2px 6px;border-radius:4px;font-size:10px;margin-left:8px}.invalid-product{opacity:.7;background:#fff5f5!important;border-left:4px solid #dc3545!important}.invalid-product:hover{background:#ffe6e6!important;cursor:not-allowed!important}.batch-validation-info{font-size:11px;color:#666;margin-top:4px;font-style:italic}.expired-badge{background:#ff6b6b;color:#fff;padding:2px 6px;border-radius:4px;font-size:10px;margin-left:8px}.stock-badge{background:#28a745;color:#fff;padding:2px 6px;border-radius:4px;font-size:10px;margin-left:8px}.items-details-table input{padding:4px 8px;border:1px solid #ddd;border-radius:4px;font-size:14px}.items-details-table input:focus{border-color:#7366ff;outline:none}.edit-actions{display:flex;gap:8px;justify-content:center}.edit-actions button{padding:4px 8px;font-size:12px;display:flex;align-items:center;gap:4px}.calculation-preview{background:#f8f9fa;padding:15px;border-radius:8px;margin-top:20px}.calculation-preview h4{margin:0 0 10px;color:#333}.calculation-preview .preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.calculation-preview .preview-grid div{display:flex;justify-content:space-between}.editing-indicator{font-size:14px;color:#666;margin-left:10px;font-weight:400}.time-filter,.year-filter,.category-filter{position:relative;width:150px!important;min-width:140px;flex-shrink:0;margin-top:10px}.time-filter select,.year-filter select,.category-filter select{width:100%;padding:10px 36px 10px 14px;border:2px solid #e1e5e9;border-radius:10px;font-size:13px;font-weight:500;outline:none;background:linear-gradient(135deg,#ffffff 0%,#f8f9fa 100%);color:#2d3748;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);-webkit-appearance:none;-moz-appearance:none;appearance:none;box-shadow:0 2px 6px #0000000d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.time-filter select:hover,.year-filter select:hover,.category-filter select:hover{border-color:#7366ff;background:linear-gradient(135deg,#ffffff 0%,#f7f9ff 100%);box-shadow:0 3px 10px #7366ff26;transform:translateY(-1px)}.time-filter select:focus,.year-filter select:focus,.category-filter select:focus{border-color:#7366ff;background:linear-gradient(135deg,#ffffff 0%,#f0f5ff 100%);box-shadow:0 3px 12px #7366ff40;transform:translateY(-1px)}.time-filter:after,.year-filter:after,.category-filter:after{content:"▼";position:absolute;top:50%;right:12px;transform:translateY(-50%);font-size:9px;color:#7366ff;pointer-events:none;transition:transform .3s ease;font-weight:700}.time-filter:hover:after,.year-filter:hover:after,.category-filter:hover:after{color:#5a4ee2;transform:translateY(-50%) scale(1.1)}.time-filter:focus-within:after,.year-filter:focus-within:after,.category-filter:focus-within:after{color:#5a4ee2;transform:translateY(-50%) rotate(180deg)}.time-filter select option,.year-filter select option,.category-filter select option{padding:10px 14px;font-size:13px;font-weight:500;background:#ffffff;color:#2d3748;border-bottom:1px solid #f1f5f9}.time-filter select option:hover,.year-filter select option:hover,.category-filter select option:hover{background:linear-gradient(135deg,#7366ff 0%,#948cff 100%)!important;color:#fff!important}.time-filter select option:checked,.year-filter select option:checked,.category-filter select option:checked{background:linear-gradient(135deg,#f0f5ff 0%,#e3eeff 100%);color:#7366ff;font-weight:600}.time-filter select option[value=""],.year-filter select option[value=""],.category-filter select option[value=""]{color:#94a3b8;font-style:italic;background:#f8fafc}.right-section{display:flex;align-items:center;gap:12px;flex:1;justify-content:flex-end;flex-wrap:nowrap!important;overflow-x:auto;padding:8px 0;min-width:0}.right-section .time-filter,.right-section .year-filter,.right-section .category-filter,.right-section .search-container{flex-shrink:0;position:relative}.right-section .search-container{width:200px;position:relative;flex-shrink:0}.right-section .search-container input{width:100%;padding:10px 14px 10px 38px;border:2px solid #e1e5e9;border-radius:10px;font-size:13px;font-weight:500;outline:none;background:linear-gradient(135deg,#ffffff 0%,#f8f9fa 100%);color:#2d3748;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 2px 6px #0000000d}.right-section .search-container input::placeholder{color:#94a3b8;font-weight:400;font-size:13px}.right-section .search-container input:hover{border-color:#7366ff;background:linear-gradient(135deg,#ffffff 0%,#f7f9ff 100%);box-shadow:0 3px 10px #7366ff26;transform:translateY(-1px)}.right-section .search-container input:focus{border-color:#7366ff;background:linear-gradient(135deg,#ffffff 0%,#f0f5ff 100%);box-shadow:0 3px 12px #7366ff40;transform:translateY(-1px)}.right-section .search-container .search-icon{position:absolute;top:50%;left:14px;transform:translateY(-50%);color:#94a3b8;font-size:14px;transition:all .3s ease;z-index:2}.right-section .search-container:hover .search-icon,.right-section .search-container:focus-within .search-icon{color:#7366ff;transform:translateY(-50%) scale(1.1)}.right-section .action-buttons-group{flex-shrink:0;display:flex;gap:10px;align-items:center}.export-all-btn,.add-btn{padding:10px 16px;background:linear-gradient(135deg,#7366ff 0%,#948cff 100%);color:#fff;font-weight:600;border:none;border-radius:10px;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;gap:6px;font-size:13px;box-shadow:0 3px 10px #7366ff40;position:relative;overflow:hidden;flex-shrink:0;white-space:nowrap}.export-all-btn:before,.add-btn:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transition:left .5s ease}.export-all-btn:hover,.add-btn:hover{background:linear-gradient(135deg,#5a4ee2 0%,#7366ff 100%);box-shadow:0 4px 14px #7366ff66;transform:translateY(-1px)}.export-all-btn:hover:before,.add-btn:hover:before{left:100%}.export-all-btn:active,.add-btn:active{transform:translateY(0);box-shadow:0 2px 6px #7366ff4d}.export-all-btn svg,.add-btn svg{font-size:14px;transition:transform .3s ease}.export-all-btn:hover svg,.add-btn:hover svg{transform:scale(1.1)}.dropdown-wrapper{position:relative;flex:1}.dropdown-wrapper select{width:100%;padding:12px 40px 12px 16px;border:2px solid #e1e5e9;border-radius:10px;font-size:14px;font-weight:500;outline:none;background:linear-gradient(135deg,#ffffff 0%,#f8f9fa 100%);color:#2d3748;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);-webkit-appearance:none;-moz-appearance:none;appearance:none;box-shadow:0 2px 6px #0000000d}.dropdown-wrapper select:hover{border-color:#7366ff;background:linear-gradient(135deg,#ffffff 0%,#f7f9ff 100%);box-shadow:0 3px 10px #7366ff26;transform:translateY(-1px)}.dropdown-wrapper select:focus{border-color:#7366ff;background:linear-gradient(135deg,#ffffff 0%,#f0f5ff 100%);box-shadow:0 3px 12px #7366ff40;transform:translateY(-1px)}.dropdown-wrapper .dropdown-arrow{position:absolute;top:50%;right:16px;transform:translateY(-50%);color:#7366ff;pointer-events:none;font-size:10px;transition:all .3s ease;font-weight:700}.dropdown-wrapper:hover .dropdown-arrow{color:#5a4ee2;transform:translateY(-50%) scale(1.1)}.dropdown-wrapper:focus-within .dropdown-arrow{color:#5a4ee2;transform:translateY(-50%) rotate(180deg)}@media (max-width: 1400px){.right-section{gap:10px}.right-section .time-filter,.right-section .year-filter,.right-section .category-filter{width:140px!important}.right-section .search-container{width:180px}}@media (max-width: 1200px){.right-section{gap:8px;overflow-x:auto}.right-section .time-filter,.right-section .year-filter,.right-section .category-filter{width:130px!important}.right-section .search-container{width:160px}.right-section .export-all-btn,.right-section .add-btn{padding:8px 14px;font-size:12px}}@media (max-width: 992px){.right-section{gap:6px}.right-section .time-filter,.right-section .year-filter,.right-section .category-filter{width:120px!important}.right-section .time-filter select,.right-section .year-filter select,.right-section .category-filter select{padding:8px 32px 8px 12px;font-size:12px}.right-section .search-container{width:140px}.right-section .search-container input{padding:8px 12px 8px 32px;font-size:12px}.right-section .search-container .search-icon{left:12px;font-size:12px}.right-section .export-all-btn,.right-section .add-btn{padding:7px 12px;font-size:11px}.right-section .export-all-btn svg,.right-section .add-btn svg{font-size:12px}}@media (max-width: 768px){.right-section{gap:5px;padding:5px 0}.right-section .time-filter,.right-section .year-filter,.right-section .category-filter{width:110px!important}.right-section .search-container{width:130px}}@keyframes dropdownSlide{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}select:focus{animation:dropdownSlide .3s ease}select::-webkit-scrollbar{width:5px}select::-webkit-scrollbar-track{background:#f1f5f9;border-radius:2px}select::-webkit-scrollbar-thumb{background:linear-gradient(135deg,#7366ff 0%,#948cff 100%);border-radius:2px}select::-webkit-scrollbar-thumb:hover{background:linear-gradient(135deg,#5a4ee2 0%,#7366ff 100%)}#sales-pdf{width:210mm;padding:15mm;margin:0 auto;font-family:Arial,sans-serif;font-size:12px;color:#333;background:#fff;box-sizing:border-box;position:relative;page-break-after:avoid;page-break-inside:avoid}#sales-pdf .invoice-container{display:flex;flex-direction:column;gap:15px}#sales-pdf .invoice-header{display:flex;flex-direction:column;margin-bottom:0;border-bottom:2px solid #333;padding:10px 0;position:relative;min-height:100px}#sales-pdf .invoice-header .company-top-info{display:flex;justify-content:space-between;align-items:flex-start;width:100%;position:absolute;top:10px;left:0;right:0}#sales-pdf .invoice-header .company-name-left{text-align:left}#sales-pdf .invoice-header .company-name-left p{margin:2px 0;font-weight:700;font-size:10px;line-height:1.3}#sales-pdf .invoice-header .gst-number-right{text-align:right}#sales-pdf .invoice-header .gst-number-right p{margin:2px 0;font-weight:700;font-size:10px;line-height:1.3}#sales-pdf .invoice-header .logo-address-center{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;margin-top:35px}#sales-pdf .invoice-header .invoice-logo{margin-bottom:6px}#sales-pdf .invoice-header .invoice-logo img{max-width:130px;height:auto;display:block;margin:0 auto}#sales-pdf .invoice-header .company-address{text-align:center}#sales-pdf .invoice-header .company-address .address-details{margin:0}#sales-pdf .invoice-header .company-address .address-details p{margin:2px 0;font-size:11px;line-height:1.3}#sales-pdf .tax-invoice-heading{text-align:center;margin:0 0 10px}#sales-pdf .tax-invoice-heading h1{margin:0;font-size:20px;font-weight:700;color:#333;text-decoration:none}#sales-pdf .invoice-details-section{display:flex;justify-content:space-between;gap:20px;margin-bottom:5px;page-break-inside:avoid}#sales-pdf .invoice-details-section .customer-info,#sales-pdf .invoice-details-section .invoice-info{flex:1}#sales-pdf .invoice-details-section .customer-info h3,#sales-pdf .invoice-details-section .invoice-info h3{margin:0 0 10px;font-size:13px;color:#333;border-bottom:1px solid #ddd;padding-bottom:5px}#sales-pdf .invoice-details-section .customer-info .details-table,#sales-pdf .invoice-details-section .invoice-info .details-table{width:100%;border-collapse:collapse}#sales-pdf .invoice-details-section .customer-info .details-table td,#sales-pdf .invoice-details-section .invoice-info .details-table td{padding:4px 0;border:none;vertical-align:top}#sales-pdf .invoice-details-section .customer-info .details-table td:first-child,#sales-pdf .invoice-details-section .invoice-info .details-table td:first-child{font-weight:700;padding-right:10px;width:120px}#sales-pdf .items-section{margin-bottom:5px;page-break-inside:auto}#sales-pdf .items-section h3{margin:0 0 10px;font-size:14px;color:#333;border-bottom:1px solid #ddd;padding-bottom:5px;page-break-after:avoid}#sales-pdf .items-section .items-table{width:100%;border-collapse:collapse;table-layout:auto}#sales-pdf .items-section .items-table th,#sales-pdf .items-section .items-table td{border:1px solid #ddd;padding:6px;font-size:11px;word-wrap:break-word;page-break-inside:avoid}#sales-pdf .items-section .items-table th{background:#f5f5f5;font-weight:700;text-align:center}#sales-pdf .items-section .items-table td{text-align:right}#sales-pdf .items-section .items-table td:nth-child(2),#sales-pdf .items-section .items-table td:nth-child(3),#sales-pdf .items-section .items-table td:nth-child(4){text-align:left}#sales-pdf .items-section .items-table tr{page-break-inside:avoid;page-break-after:auto}#sales-pdf .totals-section{display:flex;justify-content:flex-end;margin-bottom:5px;page-break-inside:avoid;page-break-before:auto}#sales-pdf .totals-section .amount-details{width:280px}#sales-pdf .totals-section .amount-details table{width:100%;border-collapse:collapse}#sales-pdf .totals-section .amount-details table td{padding:6px;text-align:right}#sales-pdf .totals-section .amount-details table td:first-child{text-align:left;font-weight:700}#sales-pdf .totals-section .amount-details table .grand-total td{font-size:14px;font-weight:700;border-top:2px solid #333}#sales-pdf .amount-in-words{margin-bottom:5px;padding:8px;background:#f9f9f9;border:1px solid #ddd;border-radius:4px;page-break-inside:avoid;page-break-before:auto}#sales-pdf .amount-in-words p{margin:0;font-size:11px;font-style:italic}#sales-pdf .declaration-terms-section{display:flex;justify-content:space-between;gap:20px;margin-bottom:5px;page-break-inside:avoid;page-break-before:auto}#sales-pdf .declaration-terms-section .declaration-section,#sales-pdf .declaration-terms-section .terms-section{flex:1}#sales-pdf .declaration-terms-section .declaration-section h3,#sales-pdf .declaration-terms-section .terms-section h3{margin:0 0 8px;font-size:12px;border-bottom:1px solid #ddd;padding-bottom:3px}#sales-pdf .declaration-terms-section .declaration-section pre,#sales-pdf .declaration-terms-section .terms-section pre{margin:0;font-family:inherit;font-size:10px;white-space:pre-wrap;word-wrap:break-word;line-height:1.3}#sales-pdf .declaration-terms-section .declaration-section p,#sales-pdf .declaration-terms-section .terms-section p{margin:0;font-family:inherit;font-size:10px;word-wrap:break-word;line-height:1.3}#sales-pdf .invoice-footer{display:flex;justify-content:space-between;align-items:flex-end;margin-top:5px;padding-top:15px;border-top:1px solid #ddd;page-break-inside:avoid;page-break-before:auto}#sales-pdf .invoice-footer .thank-you{flex:1;text-align:center}#sales-pdf .invoice-footer .thank-you p{font-weight:700;font-style:italic;font-size:11px}#sales-pdf .invoice-footer .signature{flex:1;text-align:center}#sales-pdf .invoice-footer .signature p{margin:0 0 5px;font-size:11px}#sales-pdf .invoice-footer .signature .signature-line{width:150px;height:1px;background:#333;margin:0 auto}#sales-pdf .invoice-footer .developer-note{flex:1;text-align:right;font-size:9px;color:#666}#sales-pdf .page-footer{position:absolute;bottom:10mm;left:15mm;right:15mm;text-align:center;border-top:1px solid #ddd;padding-top:5px}#sales-pdf .page-footer p{margin:0;font-size:10px;font-weight:700;color:#666;font-style:italic}@media print{#sales-pdf{width:100%;height:100%;margin:0;padding:15mm;box-shadow:none}#sales-pdf .page-footer{position:fixed;bottom:10mm;left:15mm;right:15mm}#sales-pdf .invoice-container{min-height:auto}#sales-pdf .totals-section,#sales-pdf .amount-in-words,#sales-pdf .declaration-terms-section,#sales-pdf .invoice-footer{page-break-before:avoid;page-break-inside:avoid}#sales-pdf .items-table{page-break-inside:auto}#sales-pdf .items-table tr{page-break-inside:avoid;page-break-after:auto}}.inventory-page .page-header{display:flex;justify-content:space-between;align-items:center;margin:30px auto;max-width:1300px;padding:0 20px 8px}.inventory-page .page-header .inventory-header-right{margin-top:10px!important;margin-bottom:10px!important}.inventory-page .page-header .right-section{display:flex;align-items:center;gap:15px;flex-wrap:wrap;justify-content:flex-end}.inventory-page .page-header .filter-container{margin-top:10px;border-radius:50px!important}.inventory-page .page-header .filter-container .filter-with-icon{position:relative;display:flex;align-items:center;border-radius:50px}.inventory-page .page-header .filter-container .filter-with-icon .filter-icon{position:absolute;left:10px;color:#888;z-index:1}.inventory-page .page-header .filter-container .filter-with-icon .stock-filter{border-radius:50px!important;padding:8px 20px 8px 35px;border:1px solid #ddd;border-radius:6px;font-size:14px;outline:none;background-color:#fff;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:16px}.inventory-page .page-header .filter-container .filter-with-icon .stock-filter:focus{border-color:#7366ff}.inventory-page .page-header .search-container{position:relative;width:220px}.inventory-page .page-header .search-container input{width:100%;padding:8px 12px 8px 35px;border:1px solid #ddd;border-radius:6px;font-size:14px;outline:none}.inventory-page .page-header .search-container input:focus{border-color:#7366ff}.inventory-page .page-header .search-container .search-icon{position:absolute;top:50%;left:10px;transform:translateY(-50%);color:#888}.inventory-page .page-header h2{font-size:26px;font-weight:600;color:#3f3f91}.inventory-page .data-table{max-width:1300px;margin:30px auto;background:white;border-radius:10px;padding:20px;box-shadow:0 2px 12px #00000014;overflow-x:auto}.inventory-page .data-table .loading{text-align:center;padding:20px;color:#3f3f91;font-weight:500}.inventory-page .data-table .no-data{padding:20px;text-align:center;color:#666;font-style:italic}.inventory-page .data-table table{width:100%;border-collapse:collapse}.inventory-page .data-table table th,.inventory-page .data-table table td{padding:12px 16px;border-bottom:1px solid #eee;font-size:14px;text-align:left}.inventory-page .data-table table th{background:#f5f6fa;font-weight:600;color:#3f3f91}.inventory-page .clickable-row{cursor:pointer;transition:background-color .2s}.inventory-page .clickable-row:hover{background-color:#f5f6fa}.inventory-page .clickable-row.expanded{background-color:#e3f2fd}.inventory-page .clickable-row .expand-icon{width:40px;text-align:center;color:#7366ff}.inventory-page .batch-details-row{background-color:#f9f9f9}.inventory-page .batch-details-row td{padding:0!important;border-bottom:2px solid #ddd}.inventory-page .batch-details-row .batch-container{padding:20px;background-color:#fff;margin:5px 10px;border-radius:8px;border:1px solid #eee}.inventory-page .batch-details-row .batch-container h4{margin:0 0 15px;font-size:16px;color:#3f3f91;font-weight:600}.inventory-page .batch-details-row .batch-container .no-batches{padding:20px;text-align:center;color:#666;font-style:italic;background-color:#fafafa;border-radius:4px}.inventory-page .batch-details-row .batch-container .batch-table-container{overflow-x:auto}.inventory-page .batch-details-row .batch-container .batch-table-container .batch-table{width:100%;border-collapse:collapse;margin-top:10px;box-shadow:0 1px 3px #0000001a}.inventory-page .batch-details-row .batch-container .batch-table-container .batch-table thead{background-color:#f0f4ff}.inventory-page .batch-details-row .batch-container .batch-table-container .batch-table thead th{padding:10px 12px;font-weight:600;color:#3f3f91;text-align:left;border-bottom:2px solid #ddd;font-size:13px}.inventory-page .batch-details-row .batch-container .batch-table-container .batch-table tbody tr:nth-child(even){background-color:#f9f9f9}.inventory-page .batch-details-row .batch-container .batch-table-container .batch-table tbody tr:hover{background-color:#f1f1f1}.inventory-page .batch-details-row .batch-container .batch-table-container .batch-table tbody tr td{padding:10px 12px!important;border-bottom:1px solid #eee;font-size:13px}.inventory-page .low-stock{color:#d32f2f;font-weight:500}.inventory-page .in-stock{color:#388e3c}.inventory-page .out-of-stock{color:#f44336;font-weight:500}.inventory-page .table-loader{width:40px;height:40px;margin:0 auto;border:4px solid rgba(115,102,255,.2);border-top-color:#7366ff;border-radius:50%;animation:spin 1s linear infinite}.inventory-page .load-more-container{text-align:center;margin-top:20px}.inventory-page .load-more-container .load-more-btn{background:linear-gradient(to right,#7366ff,#948cff);color:#fff;padding:10px 20px;border:none;border-radius:6px;cursor:pointer;font-size:14px;transition:.3s}.inventory-page .load-more-container .load-more-btn:hover{background:linear-gradient(to right,#5f53cc,#7366ff)}@media (max-width: 768px){.inventory-page .page-header{flex-direction:column;align-items:flex-start;gap:10px}.inventory-page .data-table table{font-size:13px}}.action-buttons-group{display:flex;gap:10px;align-items:center}.action-buttons-group .add-qty-btn,.action-buttons-group .bulk-upload-btn,.action-buttons-group .export-all-btn{display:flex;align-items:center;gap:8px;padding:10px 16px;font-size:14px;font-weight:500;border:none;border-radius:6px;cursor:pointer;transition:.3s}.action-buttons-group .add-qty-btn{background:linear-gradient(135deg,#e67e22,#f39c12);color:#fff}.action-buttons-group .add-qty-btn:hover{background:linear-gradient(135deg,#e67e22,#f39c12)}.action-buttons-group .bulk-upload-btn{background:linear-gradient(to right,#FF9800,#FFB74D);color:#fff}.action-buttons-group .bulk-upload-btn:hover{background:linear-gradient(to right,#F57C00,#FF9800)}.action-buttons-group .export-all-btn{background:linear-gradient(to right,#4caf50,#66bb6a);color:#fff}.action-buttons-group .export-all-btn:hover{background:linear-gradient(to right,#388e3c,#4caf50)}.action-buttons-group .export-with-batches-btn{background:linear-gradient(to right,#2196f3,#42a5f5);color:#fff}.action-buttons-group .export-with-batches-btn:hover{background:linear-gradient(to right,#1976d2,#2196f3)}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);display:flex;justify-content:center;align-items:center;z-index:1000}.modal-content{background:white;border-radius:10px;padding:0;max-width:600px;width:90%;max-height:90vh;overflow-y:auto;box-shadow:0 10px 30px #0000004d}.modal-content .modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid #eee}.modal-content .modal-header h3{margin:0;color:#3f3f91;font-size:18px}.modal-content .modal-header .close-btn{background:none;border:none;font-size:24px;cursor:pointer;color:#666}.modal-content .modal-header .close-btn:hover{color:#333}.modal-content form{padding:20px}.modal-content form .form-group{margin-bottom:20px}.modal-content form .form-group label{display:block;margin-bottom:5px;font-weight:600;color:#333}.modal-content form .form-group input,.modal-content form .form-group select{width:100%;padding:10px;border:1px solid #ddd;border-radius:6px;font-size:14px}.modal-content form .form-group input:focus,.modal-content form .form-group select:focus{border-color:#7366ff;outline:none}.modal-content form .form-group small{color:#666;font-size:12px}.searchable-dropdown{position:relative}.searchable-dropdown .dropdown-options{position:absolute;top:100%;left:0;right:0;background:white;border:1px solid #ddd;border-radius:6px;max-height:300px;overflow-y:auto;z-index:10;box-shadow:0 2px 10px #0000001a}.searchable-dropdown .dropdown-options .dropdown-option{padding:10px;cursor:pointer;border-bottom:1px solid #eee}.searchable-dropdown .dropdown-options .dropdown-option:hover{background:#f5f6fa}.searchable-dropdown .dropdown-options .dropdown-option:last-child{border-bottom:none}.searchable-dropdown .dropdown-options .dropdown-option.no-results{color:#666;font-style:italic;cursor:default}.searchable-dropdown .dropdown-options .dropdown-option.no-results:hover{background:white}.product-info{background:#f9f9f9;padding:10px;border-radius:6px;margin-top:10px}.product-info p{margin:5px 0;font-size:14px}.batches-section .section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.batches-section .section-header .add-batch-btn{background:#4caf50;color:#fff;border:none;padding:8px 12px;border-radius:4px;cursor:pointer;font-size:12px}.batches-section .section-header .add-batch-btn:hover{background:#388e3c}.batches-section .batch-row{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:10px;align-items:end;padding:15px;background:#f9f9f9;border-radius:6px;margin-bottom:10px}.batches-section .batch-row .remove-batch-btn{background:#f44336;color:#fff;border:none;width:30px;height:30px;border-radius:50%;cursor:pointer;font-size:16px}.batches-section .batch-row .remove-batch-btn:hover{background:#d32f2f}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px;padding-top:20px;border-top:1px solid #eee}.modal-actions .cancel-btn{background:#f5f5f5;color:#333;border:1px solid #ddd;padding:10px 20px;border-radius:6px;cursor:pointer}.modal-actions .cancel-btn:hover{background:#e0e0e0}.modal-actions .submit-btn{background:#7366ff;color:#fff;border:none;padding:10px 20px;border-radius:6px;cursor:pointer}.modal-actions .submit-btn:hover{background:#5f53cc}.modal-actions .submit-btn:disabled{background:#ccc;cursor:not-allowed}.download-template a{color:#7366ff;text-decoration:none}.download-template a:hover{text-decoration:underline}@media (max-width: 768px){.action-buttons-group{flex-direction:column;width:100%}.action-buttons-group button{width:100%;justify-content:center}.batch-row{grid-template-columns:1fr!important;gap:10px!important}.modal-content{width:95%;margin:10px}}.download-template{margin:15px 0;text-align:center}.download-template .template-download-btn{background:#7366ff;color:#fff;border:none;padding:10px 20px;border-radius:6px;cursor:pointer;font-size:14px;transition:.3s;text-decoration:none;display:inline-block}.download-template .template-download-btn:hover{background:#5f53cc;text-decoration:none}.error-report-modal{max-width:900px;max-height:80vh}.error-report-modal .error-report-content{padding:0}.error-report-modal .error-summary{padding:15px 20px;background-color:#fff3f3;border-bottom:1px solid #ffcdd2}.error-report-modal .error-summary p{margin:0;color:#d32f2f;font-size:14px}.error-report-modal .errors-table-container{max-height:400px;overflow-y:auto;padding:0 20px}.error-report-modal .errors-table{width:100%;border-collapse:collapse;margin:15px 0}.error-report-modal .errors-table th{background-color:#f5f6fa;padding:12px 8px;text-align:left;font-weight:600;color:#3f3f91;border-bottom:2px solid #e0e0e0;font-size:13px;position:sticky;top:0}.error-report-modal .errors-table td{padding:10px 8px;border-bottom:1px solid #f0f0f0;font-size:13px}.error-report-modal .errors-table .error-row:hover{background-color:#fff9f9}.error-report-modal .errors-table .error-row .error-row-number{color:#666;font-weight:500}.error-report-modal .errors-table .error-row .error-product{font-weight:500}.error-report-modal .errors-table .error-row .error-batch{font-family:monospace}.error-report-modal .errors-table .error-row .error-reason{color:#d32f2f}.error-report-modal .errors-table .error-row .error-reason .error-message{display:block;font-weight:500}.error-report-modal .errors-table .error-row .error-reason .error-details{display:block;color:#666;font-size:11px;margin-top:2px}.error-report-modal .error-actions{padding:15px 20px;border-top:1px solid #e0e0e0;display:flex;gap:10px;justify-content:flex-end}.error-report-modal .error-actions .download-error-btn{background-color:#ff9800;color:#fff;border:none;padding:8px 16px;border-radius:4px;cursor:pointer;font-size:13px}.error-report-modal .error-actions .download-error-btn:hover{background-color:#f57c00}.error-report-modal .error-actions .close-error-btn{background-color:#6c757d;color:#fff;border:none;padding:8px 16px;border-radius:4px;cursor:pointer;font-size:13px}.error-report-modal .error-actions .close-error-btn:hover{background-color:#545b62}.errors-table-container::-webkit-scrollbar{width:6px}.errors-table-container::-webkit-scrollbar-track{background:#f1f1f1}.errors-table-container::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.errors-table-container::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.batch-main-row td{vertical-align:middle}.quantity-badge{background:#e8f5e8;color:#388e3c;padding:4px 8px;border-radius:12px;font-size:12px;font-weight:600}.quantity-badge.zero{background:#ffebee;color:#d32f2f}.disposed-badge{background:#fff3e0;color:#f57c00;padding:4px 8px;border-radius:12px;font-size:12px;font-weight:600}.no-disposal{color:#999;font-style:italic}.expired-date{color:#f57c00;font-weight:600}.view-disposal-btn{background:#7366ff;color:#fff;border:none;padding:6px 12px;border-radius:4px;font-size:12px;cursor:pointer;transition:background-color .3s}.view-disposal-btn:hover{background:#5f53cc}.no-disposal-history{color:#999;font-size:12px;font-style:italic}.disposal-details-row{background-color:#f9f9f9}.disposal-details-row td{padding:0!important;border-bottom:1px solid #ddd}.disposal-details-container{padding:20px;background:white;margin:10px;border-radius:8px;border:1px solid #eee}.disposal-details-container h5{margin:0 0 15px;color:#3f3f91;font-size:14px;font-weight:600}.disposal-details-table{width:100%;border-collapse:collapse;margin-bottom:15px}.disposal-details-table th,.disposal-details-table td{padding:10px 12px;border:1px solid #eee;font-size:12px;text-align:left}.disposal-details-table th{background:#f0f4ff;font-weight:600;color:#3f3f91}.disposal-details-table .disposal-row.defective{background:#fff5f5}.disposal-details-table .disposal-row.expired{background:#fffaf0}.disposal-details-table .disposal-type-badge{padding:3px 6px;border-radius:8px;font-size:10px;font-weight:600;text-transform:uppercase}.disposal-details-table .disposal-type-badge.defective{background:#ffebee;color:#d32f2f}.disposal-details-table .disposal-type-badge.expired{background:#fff3e0;color:#f57c00}.disposal-details-table .quantity-removed{color:#d32f2f;font-weight:600;font-size:11px}.disposal-details-table .disposal-reason{max-width:200px;word-wrap:break-word}.disposal-details-table .disposal-id{font-family:Courier New,monospace;font-size:10px;color:#666}.disposal-summary{display:flex;gap:20px;padding:15px;background:#f8f9fa;border-radius:6px;border:1px solid #e9ecef}.disposal-summary .summary-item{font-size:13px}.disposal-summary .summary-item strong{color:#333}.batch-number-cell{font-weight:600;color:#333}.disposal-info-cell{text-align:center}.export-buttons-row{max-width:1300px;margin:0 auto 20px;padding:0 20px;display:flex;justify-content:flex-end}.export-buttons-container{display:flex;gap:12px}.export-buttons-container .export-btn,.export-buttons-container .export-with-batches-btn{display:flex;align-items:center;gap:8px;padding:11px 16px;font-size:14px;font-weight:500;border:none;border-radius:50px!important;cursor:pointer;transition:.3s}.export-buttons-container .export-btn{background:linear-gradient(to right,#4caf50,#66bb6a);color:#fff}.export-buttons-container .export-btn:hover{background:linear-gradient(to right,#388e3c,#4caf50)}.export-buttons-container .export-with-batches-btn{background:linear-gradient(to right,#2196f3,#42a5f5);color:#fff}.export-buttons-container .export-with-batches-btn:hover{background:linear-gradient(to right,#1976d2,#2196f3)}@media (max-width: 768px){.export-buttons-row{justify-content:center;padding:0 10px}.export-buttons-container{flex-direction:column;width:100%}.export-buttons-container button{width:100%;justify-content:center}}.disabled-btn{opacity:.6;cursor:not-allowed!important;background-color:#f5f5f5!important;color:#999!important;border-color:#ddd!important}.disabled-btn:hover{background-color:#f5f5f5!important;color:#999!important;border-color:#ddd!important;transform:none!important;box-shadow:none!important}.action-buttons-group,.action-buttons-group .disabled-btn{position:relative}.clickable-batch-row{cursor:pointer;transition:background-color .2s}.clickable-batch-row:hover{background-color:#f5f6fa!important}.batch-number-with-icon{display:flex;align-items:center;gap:8px}.batch-expand-icon{color:#7366ff;font-size:12px}.batch-history-row{background-color:#f9f9f9}.batch-history-row td{padding:0!important;border-bottom:1px solid #ddd}.batch-history-container{padding:20px;background:white;margin:10px;border-radius:8px;border:1px solid #eee}.batch-history-container h5{margin:0 0 15px;color:#3f3f91;font-size:14px;font-weight:600}.addition-history-table{overflow-x:auto}.addition-details-table{width:100%;border-collapse:collapse;margin-bottom:15px}.addition-details-table th,.addition-details-table td{padding:10px 12px;border:1px solid #eee;font-size:12px;text-align:left}.addition-details-table th{background:#f0f4ff;font-weight:600;color:#3f3f91}.addition-details-table .addition-row:nth-child(even){background-color:#f9f9f9}.addition-details-table .addition-row:hover{background-color:#f1f1f1}.addition-details-table .quantity-added{color:#388e3c;font-weight:600;font-size:11px}.addition-details-table .addition-price{color:#1976d2;font-weight:500}.addition-details-table .addition-total-value{color:#d32f2f;font-weight:600}.addition-details-table .addition-batches{font-family:Courier New,monospace;font-size:11px;color:#666}.addition-details-table .addition-summary{background:#e8f5e8;font-weight:600}.addition-details-table .addition-summary td{border-top:2px solid #388e3c}.total-added-quantity{font-size:11px;color:#666;margin-top:4px;font-style:italic}.no-addition-history{padding:20px;text-align:center;color:#999;font-style:italic;background-color:#fafafa;border-radius:4px}.batch-main-row.expanded{background-color:#e3f2fd!important}.register-container{display:flex;justify-content:center;align-items:center;min-height:100vh;padding:24px;font-family:Poppins,sans-serif;background:linear-gradient(135deg,#f7fbff 0%,#ffffff 55%);background:linear-gradient(135deg,rgba(122,95,255,.1),rgba(74,108,247,.08))}.register-wrapper{display:flex;width:100%;max-width:1100px;min-height:640px;border-radius:18px;overflow:hidden;position:relative;box-shadow:0 18px 50px #0f172a14}.register-left{flex:1;padding:56px;display:flex;align-items:center;justify-content:center;position:relative;background:transparent;background:linear-gradient(180deg,rgba(255,255,255,.6666666667) 0%,rgba(255,255,255,.6666666667) 100%)}.form-bg{position:absolute;left:56px;top:50%;transform:translateY(-50%) rotate(2deg);width:430px;height:620px;border-radius:12px;z-index:1;background:linear-gradient(135deg,rgba(122,95,255,.1),rgba(74,108,247,.08));box-shadow:0 18px 40px #4a6cf70f,inset 0 -6px 20px #ffffff05;filter:blur(.6px);pointer-events:none}.register-title{font-size:28px;font-weight:700;color:#0f172a;text-align:center;margin-bottom:8px}.register-subtitle{font-size:14px;color:var(--muted);text-align:center;margin-bottom:22px}.register-form{display:flex;flex-direction:column;gap:18px}.register-right{flex:1;background:linear-gradient(180deg,#f3f8ff 0%,#ffffff 100%);background:linear-gradient(180deg,rgba(255,255,255,.6666666667) 0%,rgba(255,255,255,.6666666667) 100%);display:flex;align-items:center;padding:64px;position:relative}.register-right:before{content:"";position:absolute;right:40px;top:18%;width:120px;height:120px;border-radius:24px;background:linear-gradient(135deg,rgba(74,108,247,.08),rgba(123,157,252,.04));transform:rotate(-12deg);z-index:0}.register-right .right-inner{position:relative;z-index:2;max-width:420px;margin-left:auto}.register-right .logo-placeholder{width:44px;height:44px;border-radius:8px;background:linear-gradient(135deg,var(--accent-1),var(--accent-2));color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:700;margin-bottom:18px}.register-right .left-logo{width:200px;height:auto;border-radius:8px;margin-bottom:10px;object-fit:contain;background:transparent}.register-right .welcome-title{font-size:44px;margin:0 0 12px;color:#0f172a;line-height:1}.register-right .divider{width:36px;height:3px;background:linear-gradient(90deg,var(--accent-1),var(--accent-2));border-radius:3px;margin:12px 0}.register-right .welcome-desc{color:#0f172a;opacity:.75;margin-bottom:20px;line-height:1.6}@media (max-width: 768px){.register-wrapper{flex-direction:column;min-height:auto;box-shadow:none;background:transparent;border-radius:12px}.register-right{display:none}.register-left{padding:28px}.form-bg{display:none}.glass-card{width:100%;padding:20px;border-radius:12px}}@media (max-width: 400px){.register-container{padding:12px}.glass-card{padding:16px}.form-input,.submit-button{padding:10px 12px}}:root{--accent-1: #4a6cf7;--accent-2: #7b9dfc;--muted: #666;--card-white: rgba(255, 255, 255, .72);--card-border: rgba(255, 255, 255, .6)}*{box-sizing:border-box}.login-container{display:flex;justify-content:center;align-items:center;min-height:100vh;padding:24px;font-family:Poppins,sans-serif;background:linear-gradient(135deg,rgba(122,95,255,.1),rgba(74,108,247,.08))}.login-wrapper{display:flex;width:100%;max-width:1100px;min-height:640px;border-radius:18px;overflow:hidden;position:relative;box-shadow:0 18px 50px #0f172a14}.login-left{flex:1;background:rgba(255,255,255,.2);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);display:flex;background:linear-gradient(180deg,rgba(255,255,255,.6666666667) 0%,rgba(255,255,255,.6666666667) 100%);align-items:center;padding:64px;position:relative}.login-left:before{content:"";position:absolute;left:40px;top:18%;width:120px;height:120px;border-radius:24px;background:linear-gradient(135deg,rgba(74,108,247,.08),rgba(123,157,252,.04));transform:rotate(12deg);z-index:0}.login-left .left-inner{position:relative;z-index:2;max-width:420px}.login-left .logo-placeholder{width:44px;height:44px;border-radius:8px;background:linear-gradient(135deg,var(--accent-1),var(--accent-2));color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:700;margin-bottom:18px}.login-left .left-logo{width:200px;height:auto;border-radius:8px;margin-bottom:10px;object-fit:contain;background:transparent}.login-left .welcome-title{font-size:44px;margin:0 0 12px;color:#0f172a;line-height:1}.login-left .divider{width:36px;height:3px;background:linear-gradient(90deg,var(--accent-1),var(--accent-2));border-radius:3px;margin:12px 0}.login-left .welcome-desc{color:#0f172a;opacity:.75;margin-bottom:20px;line-height:1.6}.login-left .left-footer-home{margin-top:28px;padding:12px 16px;background:linear-gradient(135deg,rgba(74,108,247,.08),rgba(123,157,252,.06));border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#243042;font-size:14px;box-shadow:0 6px 16px #4a6cf714}.login-left .left-footer-home p{margin:0;font-weight:500;color:#0f172a;flex-shrink:0}.login-left .home-button{background:linear-gradient(90deg,var(--accent-1),var(--accent-2));color:#fff;border:none;padding:8px 14px;border-radius:8px;font-weight:600;cursor:pointer;white-space:nowrap;transition:transform .2s ease,box-shadow .2s ease}.login-left .home-button:hover{transform:translateY(-2px);box-shadow:0 8px 20px #4a6cf726}.login-right{flex:1;padding:56px;display:flex;align-items:center;justify-content:center;position:relative;background:rgba(255,255,255,.2);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-left:1px solid rgba(255,255,255,.3);background:linear-gradient(180deg,rgba(255,255,255,.6666666667) 0%,rgba(255,255,255,.6666666667) 100%)}.form-bg{position:absolute;right:56px;top:50%;transform:translateY(-50%) rotate(-2deg);width:420px;height:420px;border-radius:12px;z-index:1;background:linear-gradient(135deg,rgba(122,95,255,.1),rgba(74,108,247,.08));box-shadow:0 18px 40px #4a6cf70f,inset 0 -6px 20px #ffffff05;filter:blur(.6px);pointer-events:none}.glass-card{width:360px;max-width:calc(100% - 40px);background:var(--card-white);border-radius:14px;padding:34px;box-shadow:0 12px 30px #0f172a14;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid var(--card-border);z-index:2;position:relative}.login-title{font-size:28px;font-weight:700;color:#0f172a;text-align:center;margin-bottom:8px}.login-subtitle{font-size:14px;color:var(--muted);text-align:center;margin-bottom:22px}.login-form{display:flex;flex-direction:column;gap:18px}.form-group{display:flex;flex-direction:column;gap:8px}.form-label{display:flex;align-items:center;gap:8px;font-weight:600;color:#243042;font-size:13px}.input-icon{color:#8a93a6;font-size:16px}.form-input{padding:12px 16px;border-radius:10px;border:1px solid rgba(15,23,42,.06);background:rgba(255,255,255,.9);font-size:14px;transition:box-shadow .16s ease,border-color .16s ease}.form-input:focus{outline:none;border-color:#4a6cf7b3;box-shadow:0 6px 18px #4a6cf70f}.form-input.error{border-color:#ff4d4f}.password-input-container{position:relative}.password-toggle{position:absolute;right:10px;top:50%;transform:translateY(-50%);background:none;border:none;color:#6b7280;cursor:pointer;padding:6px;border-radius:6px}.error-message{color:#ff4d4f;font-size:12px;margin-top:4px}.submit-button{margin-top:6px;background:linear-gradient(90deg,#ff9f43,#ff6b6b);color:#fff;border:none;padding:12px 14px;border-radius:10px;font-weight:600;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease}.submit-button:disabled{opacity:.7;cursor:not-allowed}.submit-button:hover{transform:translateY(-3px);box-shadow:0 12px 28px #ff6b6b1f}.switch-auth{margin-top:16px;text-align:center;color:#475569;font-size:13px}.switch-button{background:none;border:none;color:var(--accent-1);font-weight:700;margin-left:6px;cursor:pointer}@media (max-width: 768px){.login-wrapper{flex-direction:column;min-height:auto;box-shadow:none;background:transparent;border-radius:12px}.login-left{display:none}.login-right{padding:28px}.form-bg{display:none}.glass-card{width:100%;padding:20px;border-radius:12px}.welcome-title{font-size:28px}}@media (max-width: 400px){.login-container{padding:12px}.glass-card{padding:16px}.form-input,.submit-button{padding:10px 12px}}.product-disposal-page{padding:20px;max-width:1400px;margin:0 auto}.product-disposal-page .page-header{margin-bottom:30px}.product-disposal-page .page-header h2{font-size:28px;font-weight:600;color:#3f3f91;margin:0}.product-disposal-page .page-header .subtitle{color:#666;font-size:16px;margin-top:5px}.product-disposal-page .selection-section{display:flex;flex-direction:column;gap:20px;margin-bottom:30px}.product-disposal-page .section-card{background:white;border-radius:10px;padding:25px;box-shadow:0 2px 12px #00000014;border:1px solid #eef2f7}.product-disposal-page .section-card h3{margin:0 0 20px;font-size:18px;font-weight:600;color:#3f3f91;display:flex;align-items:center;gap:8px}.product-disposal-page .section-card h3:before{content:"";width:4px;height:20px;background:#7366ff;border-radius:2px}.product-disposal-page .form-group{margin-bottom:20px}.product-disposal-page .form-group label{display:block;margin-bottom:8px;font-weight:600;color:#333;font-size:14px}.product-disposal-page .form-group input,.product-disposal-page .form-group select{width:100%;padding:12px;border:1px solid #ddd;border-radius:6px;font-size:14px;transition:border-color .3s}.product-disposal-page .form-group input:focus,.product-disposal-page .form-group select:focus{border-color:#7366ff;outline:none;box-shadow:0 0 0 2px #7366ff1a}.product-disposal-page .form-group input:disabled,.product-disposal-page .form-group select:disabled{background-color:#f5f5f5;cursor:not-allowed}.product-disposal-page .form-group small{display:block;margin-top:5px;color:#666;font-size:12px}.product-disposal-page .form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}@media (max-width: 768px){.product-disposal-page .form-row{grid-template-columns:1fr}}.product-disposal-page .searchable-dropdown{position:relative}.product-disposal-page .searchable-dropdown .dropdown-options{position:absolute;top:100%;left:0;right:0;background:white;border:1px solid #ddd;border-radius:6px;max-height:300px;overflow-y:auto;z-index:10;box-shadow:0 4px 15px #0000001a}.product-disposal-page .searchable-dropdown .dropdown-options .dropdown-option{padding:12px;cursor:pointer;border-bottom:1px solid #f0f0f0;transition:background-color .2s}.product-disposal-page .searchable-dropdown .dropdown-options .dropdown-option:hover{background:#f8f9ff}.product-disposal-page .searchable-dropdown .dropdown-options .dropdown-option:last-child{border-bottom:none}.product-disposal-page .searchable-dropdown .dropdown-options .dropdown-option .product-option .product-name{font-weight:600;color:#333;margin-bottom:4px}.product-disposal-page .searchable-dropdown .dropdown-options .dropdown-option .product-option .product-details{font-size:12px;color:#666}.product-disposal-page .searchable-dropdown .dropdown-options .dropdown-option.no-results{color:#666;font-style:italic;cursor:default}.product-disposal-page .searchable-dropdown .dropdown-options .dropdown-option.no-results:hover{background:white}.product-disposal-page .product-info-card{background:#f8f9ff;border:1px solid #e6e9ff;border-radius:8px;padding:20px;margin-top:15px}.product-disposal-page .product-info-card h4{margin:0 0 15px;color:#3f3f91;font-size:16px}.product-disposal-page .product-info-card .product-details-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}.product-disposal-page .product-info-card .product-details-grid .detail-item{display:flex;flex-direction:column;gap:4px}.product-disposal-page .product-info-card .product-details-grid .detail-item label{font-weight:600;color:#666;font-size:12px;text-transform:uppercase;letter-spacing:.5px}.product-disposal-page .product-info-card .product-details-grid .detail-item span{color:#333;font-size:14px}.product-disposal-page .product-info-card .product-details-grid .detail-item span.stock-status{font-weight:600;padding:2px 8px;border-radius:4px;font-size:12px}.product-disposal-page .product-info-card .product-details-grid .detail-item span.stock-status.out-of-stock{background:#ffebee;color:#d32f2f}.product-disposal-page .product-info-card .product-details-grid .detail-item span.stock-status.low-stock{background:#fff3e0;color:#f57c00}.product-disposal-page .product-info-card .product-details-grid .detail-item span.stock-status.in-stock{background:#e8f5e8;color:#388e3c}.product-disposal-page .disposal-type-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px}.product-disposal-page .disposal-type-options .type-option{border:2px solid #e0e0e0;border-radius:10px;padding:25px;cursor:pointer;transition:all .3s ease;display:flex;align-items:flex-start;gap:15px}.product-disposal-page .disposal-type-options .type-option:hover:not(.disabled){border-color:#7366ff;transform:translateY(-2px);box-shadow:0 4px 15px #7366ff33}.product-disposal-page .disposal-type-options .type-option.disabled{opacity:.5;cursor:not-allowed;background:#f9f9f9}.product-disposal-page .disposal-type-options .type-option .type-icon{width:50px;height:50px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:20px;color:#fff}.product-disposal-page .disposal-type-options .type-option .type-icon.defective{background:linear-gradient(135deg,#ff6b6b,#ee5a52)}.product-disposal-page .disposal-type-options .type-option .type-icon.expired{background:linear-gradient(135deg,#ffa726,#f57c00)}.product-disposal-page .disposal-type-options .type-option .type-content{flex:1}.product-disposal-page .disposal-type-options .type-option .type-content h4{margin:0 0 8px;color:#333;font-size:16px}.product-disposal-page .disposal-type-options .type-option .type-content p{margin:0 0 8px;color:#666;font-size:14px}.product-disposal-page .disposal-type-options .type-option .type-content small{font-size:12px}.product-disposal-page .disposal-type-options .type-option .type-content small.warning{color:#d32f2f;font-weight:500}.product-disposal-page .disposal-type-options .type-option .type-content small.info{color:#666}.product-disposal-page .disposal-form .form-actions{display:flex;gap:15px;justify-content:flex-end;margin-top:25px;padding-top:20px;border-top:1px solid #eee}.product-disposal-page .disposal-form .form-actions .cancel-btn{background:#f5f5f5;color:#333;border:1px solid #ddd;padding:12px 24px;border-radius:6px;cursor:pointer;font-size:14px;transition:background-color .3s}.product-disposal-page .disposal-form .form-actions .cancel-btn:hover{background:#e0e0e0}.product-disposal-page .disposal-form .form-actions .dispose-btn{display:flex;align-items:center;gap:8px;padding:12px 24px;border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:600;transition:all .3s}.product-disposal-page .disposal-form .form-actions .dispose-btn:disabled{opacity:.5;cursor:not-allowed}.product-disposal-page .disposal-form .form-actions .dispose-btn.defective{background:linear-gradient(135deg,#ff6b6b,#ee5a52);color:#fff}.product-disposal-page .disposal-form .form-actions .dispose-btn.defective:hover:not(:disabled){background:linear-gradient(135deg,#ee5a52,#e53935)}.product-disposal-page .disposal-form .form-actions .dispose-btn.expired{background:linear-gradient(135deg,#ffa726,#f57c00);color:#fff}.product-disposal-page .disposal-form .form-actions .dispose-btn.expired:hover:not(:disabled){background:linear-gradient(135deg,#f57c00,#ef6c00)}.product-disposal-page .expired-batches-section .batch-selection-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.product-disposal-page .expired-batches-section .batch-selection-header h4{margin:0;color:#333;font-size:16px}.product-disposal-page .expired-batches-section .batch-selection-header .selection-info{background:#e3f2fd;color:#1976d2;padding:6px 12px;border-radius:20px;font-size:12px;font-weight:600}.product-disposal-page .expired-batches-section .expired-batches-list{display:flex;flex-direction:column;gap:12px;margin-bottom:25px}.product-disposal-page .expired-batches-section .expired-batches-list .expired-batch-card{display:flex;align-items:center;gap:15px;padding:15px;border:2px solid #ffecb3;border-radius:8px;background:#fffdf6;cursor:pointer;transition:all .3s}.product-disposal-page .expired-batches-section .expired-batches-list .expired-batch-card:hover{border-color:#ffd54f;background:#fff8e1}.product-disposal-page .expired-batches-section .expired-batches-list .expired-batch-card.selected{border-color:#ffa726;background:#fff3e0}.product-disposal-page .expired-batches-section .expired-batches-list .expired-batch-card .batch-checkbox input{width:18px;height:18px;cursor:pointer}.product-disposal-page .expired-batches-section .expired-batches-list .expired-batch-card .batch-info{flex:1}.product-disposal-page .expired-batches-section .expired-batches-list .expired-batch-card .batch-info .batch-number{font-weight:600;color:#333;margin-bottom:5px}.product-disposal-page .expired-batches-section .expired-batches-list .expired-batch-card .batch-info .batch-details{display:flex;gap:15px;font-size:12px;color:#666}.product-disposal-page .expired-batches-section .expired-batches-list .expired-batch-card .batch-info .batch-details span{display:flex;align-items:center;gap:4px}.product-disposal-page .expired-batches-section .expired-batches-list .expired-batch-card .expiry-status{display:flex;align-items:center;gap:6px;color:#f57c00;font-weight:600;font-size:12px;padding:4px 8px;background:#fff3e0;border-radius:4px}.product-disposal-page .no-expired-batches{text-align:center;padding:40px 20px}.product-disposal-page .no-expired-batches .no-data-icon{font-size:48px;color:#bdbdbd;margin-bottom:15px}.product-disposal-page .no-expired-batches h4{margin:0 0 10px;color:#666}.product-disposal-page .no-expired-batches p{color:#999;margin-bottom:20px}.product-disposal-page .inventory-section .data-table{overflow-x:auto}.product-disposal-page .inventory-section .data-table table{width:100%;border-collapse:collapse}.product-disposal-page .inventory-section .data-table table th,.product-disposal-page .inventory-section .data-table table td{padding:12px 16px;border-bottom:1px solid #eee;font-size:14px;text-align:left}.product-disposal-page .inventory-section .data-table table th{background:#f5f6fa;font-weight:600;color:#3f3f91}.product-disposal-page .inventory-section .clickable-row{cursor:pointer;transition:background-color .2s}.product-disposal-page .inventory-section .clickable-row:hover{background-color:#f5f6fa}.product-disposal-page .inventory-section .clickable-row.expanded{background-color:#e3f2fd}.product-disposal-page .inventory-section .clickable-row .expand-icon{width:40px;text-align:center;color:#7366ff}.product-disposal-page .inventory-section .batch-details-row{background-color:#f9f9f9}.product-disposal-page .inventory-section .batch-details-row td{padding:0!important;border-bottom:2px solid #ddd}.product-disposal-page .inventory-section .batch-details-row .batch-container{padding:20px;background-color:#fff;margin:5px 10px;border-radius:8px;border:1px solid #eee}.product-disposal-page .inventory-section .batch-details-row .batch-container h4{margin:0 0 15px;font-size:16px;color:#3f3f91;font-weight:600}.product-disposal-page .inventory-section .batch-details-row .batch-container .batch-table-container{overflow-x:auto}.product-disposal-page .inventory-section .batch-details-row .batch-container .batch-table-container .batch-table{width:100%;border-collapse:collapse;margin-top:10px;box-shadow:0 1px 3px #0000001a}.product-disposal-page .inventory-section .batch-details-row .batch-container .batch-table-container .batch-table thead{background-color:#f0f4ff}.product-disposal-page .inventory-section .batch-details-row .batch-container .batch-table-container .batch-table thead th{padding:10px 12px;font-weight:600;color:#3f3f91;text-align:left;border-bottom:2px solid #ddd;font-size:13px}.product-disposal-page .inventory-section .batch-details-row .batch-container .batch-table-container .batch-table tbody tr.expired{background-color:#fff3e0}.product-disposal-page .inventory-section .batch-details-row .batch-container .batch-table-container .batch-table tbody tr:nth-child(even){background-color:#f9f9f9}.product-disposal-page .inventory-section .batch-details-row .batch-container .batch-table-container .batch-table tbody tr:hover{background-color:#f1f1f1}.product-disposal-page .inventory-section .batch-details-row .batch-container .batch-table-container .batch-table tbody tr td{padding:10px 12px!important;border-bottom:1px solid #eee;font-size:13px}.product-disposal-page .inventory-section .batch-details-row .batch-container .batch-table-container .batch-table tbody tr .batch-status{padding:4px 8px;border-radius:4px;font-size:11px;font-weight:600}.product-disposal-page .inventory-section .batch-details-row .batch-container .batch-table-container .batch-table tbody tr .batch-status.expired{background:#ffecb3;color:#f57c00}.product-disposal-page .inventory-section .batch-details-row .batch-container .batch-table-container .batch-table tbody tr .batch-status.active{background:#e8f5e8;color:#388e3c}.product-disposal-page .inventory-section .expired-count{background:#ffecb3;color:#f57c00;padding:4px 8px;border-radius:12px;font-size:12px;font-weight:600}.product-disposal-page .inventory-section .no-expired{color:#666;font-size:12px}.product-disposal-page .out-of-stock{color:#d32f2f;font-weight:500}.product-disposal-page .low-stock{color:#f57c00;font-weight:500}.product-disposal-page .in-stock{color:#388e3c}.product-disposal-page .loading,.product-disposal-page .no-data{text-align:center;padding:40px;color:#666;font-size:16px}.product-disposal-page .loading{color:#3f3f91;font-weight:500}@media (max-width: 768px){.product-disposal-page{padding:15px}.product-disposal-page .section-card{padding:20px}.product-disposal-page .form-row,.product-disposal-page .disposal-type-options{grid-template-columns:1fr}.product-disposal-page .data-table{font-size:13px}}.history-section{margin-top:30px}.history-section .section-header-with-actions{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;flex-wrap:wrap;gap:15px}.history-section .section-header-with-actions .section-title{display:flex;align-items:center;gap:10px}.history-section .section-header-with-actions .section-title .title-icon{color:#7366ff;font-size:20px}.history-section .section-header-with-actions .section-title h3{margin:0;color:#3f3f91;font-size:18px}.history-section .section-header-with-actions .section-title .record-count{background:#e3f2fd;color:#1976d2;padding:4px 8px;border-radius:12px;font-size:12px;font-weight:600}.history-section .section-header-with-actions .section-actions{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.history-section .section-header-with-actions .section-actions .filter-group{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.history-section .section-header-with-actions .section-actions .filter-group .filter-with-icon{position:relative;display:flex;align-items:center}.history-section .section-header-with-actions .section-actions .filter-group .filter-with-icon .filter-icon{position:absolute;left:12px;color:#666;z-index:2;font-size:14px}.history-section .section-header-with-actions .section-actions .filter-group .filter-with-icon .history-filter,.history-section .section-header-with-actions .section-actions .filter-group .filter-with-icon .date-filter{padding:10px 15px 10px 35px;border:1px solid #ddd;border-radius:8px;font-size:14px;background:white;cursor:pointer;min-width:150px;transition:all .3s ease;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:14px}.history-section .section-header-with-actions .section-actions .filter-group .filter-with-icon .history-filter:focus,.history-section .section-header-with-actions .section-actions .filter-group .filter-with-icon .date-filter:focus{border-color:#7366ff;outline:none;box-shadow:0 0 0 3px #7366ff1a}.history-section .section-header-with-actions .section-actions .filter-group .filter-with-icon .history-filter:hover,.history-section .section-header-with-actions .section-actions .filter-group .filter-with-icon .date-filter:hover{border-color:#bbb}.history-section .section-header-with-actions .section-actions .search-container{position:relative;width:200px}.history-section .section-header-with-actions .section-actions .search-container input{width:100%;padding:8px 12px 8px 35px;border:1px solid #ddd;border-radius:6px;font-size:14px}.history-section .section-header-with-actions .section-actions .search-container input:focus{border-color:#7366ff}.history-section .section-header-with-actions .section-actions .search-container .search-icon{position:absolute;top:50%;left:10px;transform:translateY(-50%);color:#888}.history-section .section-header-with-actions .section-actions .export-btn{display:flex;align-items:center;gap:8px;background:linear-gradient(to right,#4caf50,#66bb6a);color:#fff;padding:8px 16px;border:none;border-radius:6px;cursor:pointer;font-size:14px;transition:.3s}.history-section .section-header-with-actions .section-actions .export-btn:hover{background:linear-gradient(to right,#388e3c,#4caf50)}.history-section .history-table-container{overflow-x:auto;border-radius:8px;border:1px solid #eee}.history-section .history-table{width:100%;border-collapse:collapse;background:white}.history-section .history-table th,.history-section .history-table td{padding:12px 16px;border-bottom:1px solid #eee;font-size:14px;text-align:left}.history-section .history-table th{background:#f5f6fa;font-weight:600;color:#3f3f91;position:sticky;top:0}.history-section .history-clickable-row{cursor:pointer;transition:background-color .2s}.history-section .history-clickable-row:hover{background-color:#f8f9ff}.history-section .history-clickable-row.expanded{background-color:#e3f2fd}.history-section .history-clickable-row .expand-icon{width:40px;text-align:center;color:#7366ff}.history-section .history-clickable-row .disposal-id{font-family:Courier New,monospace;font-size:12px;color:#666}.history-section .history-clickable-row .product-info-small .product-name{font-weight:600;color:#333;margin-bottom:2px}.history-section .history-clickable-row .product-info-small .product-id{font-size:11px;color:#888}.history-section .history-clickable-row .disposal-type-badge{padding:4px 8px;border-radius:12px;font-size:11px;font-weight:600;text-transform:uppercase}.history-section .history-clickable-row .disposal-type-badge.defective-badge{background:#ffebee;color:#d32f2f}.history-section .history-clickable-row .disposal-type-badge.expired-badge{background:#fff3e0;color:#f57c00}.history-section .history-clickable-row .quantity-cell .quantity-badge{background:#7366ff;color:#fff;padding:4px 8px;border-radius:12px;font-size:12px;font-weight:600}.history-section .history-clickable-row .reason-cell{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-section .history-clickable-row .date-cell{white-space:nowrap;color:#666;font-size:13px}.history-section .history-clickable-row .disposed-by{color:#666;font-size:13px}.history-section .batch-details-history-row{background-color:#f9f9f9}.history-section .batch-details-history-row td{padding:0!important;border-bottom:2px solid #ddd}.history-section .batch-details-history-row .batch-details-expanded{padding:20px;background:white;margin:5px 10px;border-radius:8px;border:1px solid #eee}.history-section .batch-details-history-row .batch-details-expanded h4{margin:0 0 15px;font-size:16px;color:#3f3f91;font-weight:600}.history-section .batch-details-history-row .batch-details-expanded .batch-details-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:15px}.history-section .batch-details-history-row .batch-details-expanded .batch-details-grid .batch-detail-card{background:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;padding:15px}.history-section .batch-details-history-row .batch-details-expanded .batch-details-grid .batch-detail-card .batch-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.history-section .batch-details-history-row .batch-details-expanded .batch-details-grid .batch-detail-card .batch-header .batch-number{font-weight:600;color:#333;font-size:14px}.history-section .batch-details-history-row .batch-details-expanded .batch-details-grid .batch-detail-card .batch-header .batch-quantity{background:#7366ff;color:#fff;padding:2px 8px;border-radius:10px;font-size:11px;font-weight:600}.history-section .batch-details-history-row .batch-details-expanded .batch-details-grid .batch-detail-card .batch-dates{display:flex;flex-direction:column;gap:5px}.history-section .batch-details-history-row .batch-details-expanded .batch-details-grid .batch-detail-card .batch-dates .date-info{display:flex;justify-content:space-between;font-size:12px}.history-section .batch-details-history-row .batch-details-expanded .batch-details-grid .batch-detail-card .batch-dates .date-info label{color:#666;font-weight:500}.history-section .batch-details-history-row .batch-details-expanded .batch-details-grid .batch-detail-card .batch-dates .date-info span{color:#333}.history-section .batch-details-history-row .batch-details-expanded .no-batch-details{padding:20px;text-align:center;color:#666;font-style:italic;background:#fafafa;border-radius:4px}.history-section .loading-history{text-align:center;padding:40px}.history-section .loading-history .table-loader{width:40px;height:40px;margin:0 auto 15px;border:4px solid rgba(115,102,255,.2);border-top-color:#7366ff;border-radius:50%;animation:spin 1s linear infinite}.history-section .loading-history p{color:#666;margin:0}.history-section .no-history-data{text-align:center;padding:60px 20px}.history-section .no-history-data .no-data-icon{font-size:48px;color:#bdbdbd;margin-bottom:15px}.history-section .no-history-data h4{margin:0 0 10px;color:#666}.history-section .no-history-data p{color:#999;margin:0}.history-section .history-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px;margin-top:25px;padding-top:20px;border-top:1px solid #eee}.history-section .history-summary .summary-card{display:flex;align-items:center;gap:15px;padding:20px;border-radius:10px;background:white;box-shadow:0 2px 8px #00000014}.history-section .history-summary .summary-card.defective{border-left:4px solid #d32f2f}.history-section .history-summary .summary-card.expired{border-left:4px solid #f57c00}.history-section .history-summary .summary-card.total{border-left:4px solid #7366ff}.history-section .history-summary .summary-card .summary-icon{width:50px;height:50px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:20px;color:#fff}.defective .history-section .history-summary .summary-card .summary-icon{background:linear-gradient(135deg,#ff6b6b,#ee5a52)}.expired .history-section .history-summary .summary-card .summary-icon{background:linear-gradient(135deg,#ffa726,#f57c00)}.total .history-section .history-summary .summary-card .summary-icon{background:linear-gradient(135deg,#7366ff,#948cff)}.history-section .history-summary .summary-card .summary-content .summary-value{font-size:24px;font-weight:700;color:#333;line-height:1;margin-bottom:5px}.history-section .history-summary .summary-card .summary-content .summary-label{font-size:12px;color:#666;font-weight:500;text-transform:uppercase;letter-spacing:.5px}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width: 1024px){.history-section .section-header-with-actions{flex-direction:column;align-items:stretch}.history-section .section-header-with-actions .section-actions{justify-content:space-between}}@media (max-width: 768px){.history-section .section-header-with-actions .section-actions{flex-direction:column;gap:10px}.history-section .section-header-with-actions .section-actions .filter-group{justify-content:space-between}.history-section .section-header-with-actions .section-actions .search-container{width:100%}.history-section .section-header-with-actions .section-actions .export-btn{width:100%;justify-content:center}.history-section .history-summary{grid-template-columns:1fr}.history-section .batch-details-expanded .batch-details-grid{grid-template-columns:1fr!important}}.expired-batches-section .form-actions{display:flex;gap:15px;justify-content:flex-end;margin-top:25px;padding-top:20px;border-top:1px solid #eee}.expired-batches-section .cancel-btn{background:#f5f5f5;color:#333;border:1px solid #ddd;padding:12px 24px;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;transition:all .3s ease;min-width:120px}.expired-batches-section .cancel-btn:hover{background:#e0e0e0;border-color:#bbb}.expired-batches-section .dispose-btn.expired{display:flex;align-items:center;gap:8px;padding:12px 24px;border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:600;background:linear-gradient(135deg,#ffa726,#f57c00);color:#fff;min-width:200px;justify-content:center;transition:all .3s ease}.expired-batches-section .dispose-btn.expired:hover:not(:disabled){background:linear-gradient(135deg,#f57c00,#ef6c00);transform:translateY(-1px);box-shadow:0 4px 12px #f57c004d}.expired-batches-section .dispose-btn.expired:disabled{opacity:.5;cursor:not-allowed;transform:none}.history-section .filter-group{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.history-section .filter-with-icon{position:relative;display:flex;align-items:center}.history-section .filter-with-icon .filter-icon{position:absolute;left:12px;color:#666;z-index:2;font-size:14px}.history-section .history-filter,.history-section .date-filter{padding:10px 15px 10px 35px;border:1px solid #ddd;border-radius:8px;font-size:14px;background:white;cursor:pointer;min-width:150px;height:40px;transition:all .3s ease;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:14px}.history-section .history-filter:focus,.history-section .date-filter:focus{border-color:#7366ff;outline:none;box-shadow:0 0 0 3px #7366ff1a}.history-section .history-filter:hover,.history-section .date-filter:hover{border-color:#bbb}.history-section .search-container{position:relative;width:200px}.history-section .search-container input{width:100%;padding:8px 12px 8px 35px;border:1px solid #ddd;border-radius:6px;font-size:14px;height:40px;box-sizing:border-box}.history-section .search-container input:focus{border-color:#7366ff;outline:none;box-shadow:0 0 0 3px #7366ff1a}.history-section .export-btn{display:flex;align-items:center;gap:8px;background:linear-gradient(to right,#4caf50,#66bb6a);color:#fff;padding:10px 16px;border:none;border-radius:6px;cursor:pointer;font-size:14px;height:40px;box-sizing:border-box;transition:.3s;font-weight:500}.history-section .export-btn:hover{background:linear-gradient(to right,#388e3c,#4caf50);transform:translateY(-1px)}@media (max-width: 768px){.expired-batches-section .form-actions{flex-direction:column}.expired-batches-section .cancel-btn,.expired-batches-section .dispose-btn.expired{min-width:100%;width:100%}.history-section .filter-group{width:100%;justify-content:space-between}.history-section .history-filter,.history-section .date-filter{min-width:calc(50% - 6px);flex:1}.history-section .search-container{width:100%}}.page-header .action-buttons-group .add-btn{background:linear-gradient(135deg,#e67e22,#f39c12);border:1px solid rgba(255,255,255,.2);margin-top:0!important}.page-header .action-buttons-group .add-btn:hover{background:linear-gradient(135deg,#d35400,#e67e22);box-shadow:0 6px 14px #e67e2266}.section-tabs{max-width:1200px;margin:0 auto 25px;display:flex;gap:10px;padding:0 25px}.section-tabs .tab-button{display:flex;align-items:center;gap:8px;padding:12px 24px;background:#f8f9fa;border:2px solid #e9ecef;border-radius:8px;font-size:15px;font-weight:600;color:#6c757d;cursor:pointer;transition:all .3s ease}.section-tabs .tab-button:hover{background:#e9ecef;border-color:#dee2e6;color:#495057}.section-tabs .tab-button.active{background:#7366ff;border-color:#7366ff;color:#fff;box-shadow:0 4px 12px #7366ff4d}.data-table table tr{cursor:pointer;transition:background-color .2s}.data-table table tr.selected{background-color:#e3f2fd}.form-container .form-group .field-half{flex:1}.form-container input,.form-container textarea{width:100%;padding:7px 10px;border:1px solid #ddd;border-radius:4px;font-size:15px;transition:border .3s}.form-container input:focus,.form-container textarea:focus{border-color:#7366ff;outline:none}.form-container textarea{min-height:80px;resize:vertical}.form-container button[type=submit]{background:linear-gradient(to right,#7366ff,#948cff);color:#fff;padding:12px 24px;border:none;border-radius:4px;font-size:16px;cursor:pointer;transition:.3s}.form-container button[type=submit]:hover{background:linear-gradient(to right,#5f53cc,#7366ff)}.form-container .error{color:#f44336;font-size:13px;margin-top:5px}.form-container .password-input-container{position:relative}.form-container .password-input-container input{padding-right:40px}.form-container .password-input-container .password-toggle{position:absolute;right:10px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer;color:#666}.form-container .password-input-container .password-toggle:hover{color:#333}.form-container .permissions-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin-top:10px}.form-container .permissions-grid .permission-checkbox{display:flex;align-items:center;gap:8px;cursor:pointer;padding:8px;border-radius:4px;transition:background-color .2s}.form-container .permissions-grid .permission-checkbox:hover{background-color:#f5f5f5}.form-container .permissions-grid .permission-checkbox input[type=checkbox]{width:auto;margin:0}.form-container .bulk-category-section{margin-top:30px;padding-top:30px;border-top:1px solid #eee}.form-container .bulk-category-section h3{font-size:18px;margin-bottom:10px;color:#3f3f91}.form-container .bulk-category-section p{margin-bottom:15px;color:#666}.form-container .bulk-category-section .bulk-category-input{width:100%;padding:12px;border:1px solid #ddd;border-radius:4px;font-size:14px;resize:vertical;margin-bottom:15px}.form-container .bulk-category-section .bulk-category-input:focus{border-color:#7366ff;outline:none}.form-container .bulk-category-section .bulk-category-btn{background:linear-gradient(to right,#e67e22,#f39c12);color:#fff;padding:12px 24px;border:none;border-radius:4px;font-size:14px;cursor:pointer;display:flex;align-items:center;gap:8px;transition:.3s}.form-container .bulk-category-section .bulk-category-btn:hover{background:linear-gradient(to right,#d35400,#e67e22)}@media screen and (max-width: 768px){.page-header{flex-direction:column;align-items:flex-start}.page-header .right-section{width:100%;flex-direction:column;align-items:flex-start;gap:10px}.page-header .search-container{width:100%}.page-header .action-buttons-group{width:100%;flex-wrap:nowrap;overflow-x:auto}.page-header .action-buttons-group button{flex:1;min-width:fit-content}.section-tabs{flex-direction:column;padding:0 15px}.section-tabs .tab-button{justify-content:center}.data-table{padding:10px}.data-table table{font-size:14px}.data-table table th,.data-table table td{padding:10px}.form-container{padding:15px}.form-container .form-group{flex-direction:column;gap:15px}.form-container .permissions-grid{grid-template-columns:1fr 1fr}}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);display:flex;justify-content:center;align-items:center;z-index:1000;animation:fadeIn .3s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background:white;border-radius:10px;width:90%;max-width:600px;max-height:90vh;overflow-y:auto;box-shadow:0 5px 20px #0003;animation:slideUp .3s ease-out}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;border-bottom:1px solid #eee;position:sticky;top:0;background:white;z-index:10}.modal-title{font-size:18px;font-weight:600;color:#3f3f91}.modal-close{background:none;border:none;font-size:24px;cursor:pointer;color:#666;padding:0 10px}.modal-close:hover{color:#333}.modal-body{padding:20px}.wo-details-grid{display:grid;grid-template-columns:1fr;gap:20px}.detail-row{margin-bottom:15px}.detail-label{font-weight:600;color:#555;display:block;margin-bottom:5px;font-size:14px}.detail-value{color:#333;font-size:15px;word-break:break-word}.edit-input,.edit-textarea{width:100%;padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px}.edit-input:focus,.edit-textarea:focus{border-color:#7366ff;outline:none}.edit-input.error,.edit-textarea.error{border-color:#f44336}.edit-textarea{resize:vertical;min-height:80px}.edit-field-container .error-message{color:#f44336;font-size:12px;margin-top:5px}.modal-footer{padding:15px 20px;border-top:1px solid #eee;display:flex;justify-content:center;gap:15px;position:sticky;bottom:0;background:white;z-index:10}.modal-footer button{color:#fff;border:none;padding:12px 25px;border-radius:6px;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:8px;transition:all .2s;min-width:150px;justify-content:center;font-size:15px}.modal-footer button:hover{opacity:.9;transform:translateY(-1px)}.modal-footer button:active{transform:translateY(0)}.modal-footer button:disabled{background-color:#6c757d;cursor:not-allowed;transform:none}.modal-footer .export-btn{background-color:#28a745}.modal-footer .update-btn{background-color:#7366ff}.modal-footer .update-btn.save-btn{background-color:#ff7043}.modal-footer .delete-btn{background-color:#dc3545}.confirm-dialog-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);display:flex;justify-content:center;align-items:center;z-index:1100}.confirm-dialog{background:white;border-radius:10px;padding:20px;max-width:400px;width:90%;box-shadow:0 5px 20px #0003}.confirm-dialog h3{margin-top:0;color:#dc3545}.confirm-dialog p{margin-bottom:20px;line-height:1.5}.confirm-dialog .confirm-buttons{display:flex;justify-content:flex-end;gap:10px}.confirm-dialog .confirm-buttons button{padding:8px 16px;border:none;border-radius:4px;cursor:pointer;font-weight:500}.confirm-dialog .confirm-buttons .confirm-cancel{background:#f5f5f5;color:#333}.confirm-dialog .confirm-buttons .confirm-cancel:hover{background:#e0e0e0}.confirm-dialog .confirm-buttons .confirm-delete{background:#dc3545;color:#fff}.confirm-dialog .confirm-buttons .confirm-delete:hover{background:#c82333}.permissions-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin-top:10px}.permissions-grid .permission-checkbox{display:flex;align-items:center;gap:8px;cursor:pointer;padding:8px;border-radius:4px;transition:background-color .2s}.permissions-grid .permission-checkbox:hover{background-color:#f5f5f5}.permissions-grid .permission-checkbox input[type=checkbox]{width:auto;margin:0}@media (max-width: 768px){.modal-content{width:95%;max-height:85vh}.wo-details-grid{grid-template-columns:1fr;gap:15px}.modal-footer{padding:12px 15px;flex-direction:column}.modal-footer button{width:100%;padding:12px 20px;font-size:14px}.permissions-grid{grid-template-columns:1fr 1fr}}@media (max-width: 480px){.modal-header{padding:12px 15px}.modal-body{padding:15px}.permissions-grid{grid-template-columns:1fr}}.user-limit-indicator{max-width:1200px;margin:0 auto 20px;background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:12px 16px;box-shadow:0 2px 4px #0000001a}.user-limit-indicator.limit-reached{border-color:#ff6b6b;background:#fff5f5}.user-limit-indicator .limit-info{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-weight:500}.user-limit-indicator .limit-info .limit-icon{color:#ff6b6b}.user-limit-indicator .limit-progress{display:none;height:6px;background:#f0f0f0;border-radius:3px;overflow:hidden}.user-limit-indicator .limit-progress .limit-progress-bar{height:100%;background:linear-gradient(90deg,#4CAF50,#45a049);transition:width .3s ease}.limit-reached .user-limit-indicator .limit-progress .limit-progress-bar{background:linear-gradient(90deg,#ff6b6b,#ff5252)}.permissions-grid-horizontal{display:flex;flex-wrap:wrap;gap:12px;margin-top:10px}.permissions-grid-horizontal .permission-checkbox-horizontal{display:flex;align-items:center;gap:6px;cursor:pointer;padding:8px 12px;border-radius:6px;background:#f8f9fa;border:1px solid #e9ecef;transition:all .2s ease;min-width:120px}.permissions-grid-horizontal .permission-checkbox-horizontal:hover{background:#e9ecef;border-color:#dee2e6}.permissions-grid-horizontal .permission-checkbox-horizontal input[type=checkbox]{width:auto;margin:0}.permissions-grid-horizontal .permission-checkbox-horizontal span{font-size:13px;font-weight:500;color:#495057}@media (max-width: 768px){.permissions-grid-horizontal{gap:8px}.permissions-grid-horizontal .permission-checkbox-horizontal{min-width:100px;padding:6px 10px}.permissions-grid-horizontal .permission-checkbox-horizontal span{font-size:12px}}@media (max-width: 480px){.permissions-grid-horizontal .permission-checkbox-horizontal{min-width:calc(50% - 8px);flex:1}}.limit-warning{background:#fff3cd;border:1px solid #ffeaa7;color:#856404;padding:12px;border-radius:6px;margin-bottom:20px;display:flex;align-items:center;gap:8px;font-weight:500}.add-btn.disabled{background:#6c757d!important;cursor:not-allowed!important;opacity:.6}.add-btn.disabled:hover{background:#6c757d!important;transform:none!important}.warning-icon{margin-left:8px;animation:pulse 2s infinite}@keyframes pulse{0%{opacity:1}50%{opacity:.5}to{opacity:1}}button[type=submit].disabled{background:#6c757d!important;cursor:not-allowed!important}button[type=submit].disabled:hover{background:#6c757d!important;transform:none!important}.password-toggle-btn{background:linear-gradient(135deg,#7366ff,#948cff);color:#fff;border:none;padding:10px 16px;border-radius:6px;font-size:14px;cursor:pointer;display:flex;align-items:center;gap:8px;transition:all .3s;margin-bottom:10px}.password-toggle-btn:hover{background:linear-gradient(135deg,#5f53cc,#7366ff);transform:translateY(-1px)}.password-toggle-btn.active{background:linear-gradient(135deg,#ff7043,#ff8a65)}.password-toggle-btn.active:hover{background:linear-gradient(135deg,#f4511e,#ff7043)}.password-field-container{margin-top:10px;padding:15px;background:#f8f9fa;border-radius:6px;border:1px solid #e9ecef}.password-input-wrapper{position:relative}.password-input-wrapper .edit-input{padding-right:40px;width:100%}.password-input-wrapper .password-visibility-toggle{position:absolute;right:10px;top:50%;transform:translateY(-50%);background:none;border:none;color:#666;cursor:pointer}.password-input-wrapper .password-visibility-toggle:hover{color:#333}.password-hint{font-size:12px;color:#666;margin-top:8px;font-style:italic}.admin-note{background:#fff3cd;border:1px solid #ffeaa7;color:#856404;padding:12px;border-radius:6px;display:flex;align-items:center;gap:8px;font-size:14px;margin-top:10px}@media (max-width: 768px){.password-toggle-btn{width:100%;justify-content:center}.password-field-container{padding:12px}}.main{background:#dfeafb!important}.page-header{max-width:1200px;margin:0 auto 25px;padding:20px 25px;background:#ffffff;border-radius:12px;box-shadow:0 3px 12px #00000014;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px}.page-header h2{font-size:24px;font-weight:700;color:#2d2f87;margin:0;margin-top:10px!important}.page-header .right-section{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:10px!important}.page-header .search-container{position:relative;width:260px;margin-top:10px!important}.page-header .search-container input{width:100%;padding:10px 14px 10px 40px;border:none;border-radius:50px;background:#f5f7fa;font-size:15px;color:#333;border-radius:50px!important;transition:.3s;box-shadow:inset 0 2px 5px #0000000d,0 2px 5px #00000014}.page-header .search-container input:focus{outline:none;background:#fff;box-shadow:0 0 8px #7366ff80}.page-header .search-container .search-icon{position:absolute;top:50%;left:15px;transform:translateY(-50%);color:#666;font-size:16px}.page-header .action-buttons-group{display:flex;align-items:center;gap:12px;margin-top:10px!important}.page-header .action-buttons-group button{display:flex;align-items:center;gap:6px;color:#fff;padding:10px 22px;font-size:14px;font-weight:600;border:none;cursor:pointer;transition:all .25s ease;border-radius:30px;box-shadow:0 4px 10px #00000026}.page-header .action-buttons-group button:hover{transform:translateY(-2px);box-shadow:0 6px 14px #0003}.page-header .action-buttons-group .promo-code-btn{background:linear-gradient(135deg,#9b59b6,#8e44ad);border:1px solid rgba(255,255,255,.2)}.page-header .action-buttons-group .promo-code-btn:hover{background:linear-gradient(135deg,#8e44ad,#9b59b6);box-shadow:0 6px 14px #9b59b666}.page-header .action-buttons-group .export-all-btn{background:linear-gradient(135deg,#27ae60,#2ecc71);border:1px solid rgba(255,255,255,.2)}.page-header .action-buttons-group .export-all-btn:hover{background:linear-gradient(135deg,#219653,#27ae60);box-shadow:0 6px 14px #27ae6066}.page-header .action-buttons-group .save-all-btn{background:linear-gradient(135deg,#e67e22,#f39c12);border:1px solid rgba(255,255,255,.2);margin-top:0!important}.page-header .action-buttons-group .save-all-btn:hover{background:linear-gradient(135deg,#d35400,#e67e22);box-shadow:0 6px 14px #e67e2266}.data-table{max-width:1200px;margin:30px auto;padding:20px;background:white;border-radius:10px;box-shadow:0 2px 12px #00000014;overflow-x:auto}.data-table table{width:100%;border-collapse:collapse}.data-table table th,.data-table table td{padding:14px 18px;text-align:left;font-size:15px;color:#333;border-bottom:1px solid #eee}.data-table table th{background-color:#f5f6fa;font-weight:600;color:#555}.data-table table tr{transition:background-color .2s}.data-table table tr:hover{background-color:#f9f9f9}.data-table table tr:last-child td{border-bottom:none}.form-container{max-width:1200px;margin:20px auto;padding:25px;background:white;border-radius:10px;box-shadow:0 2px 12px #00000014}.form-container h2{font-size:22px;margin-bottom:20px;color:#3f3f91}.form-container .form-group{display:flex;gap:20px;margin-bottom:20px}.form-container .form-group .field-half,.form-container .form-group .field-full{flex:1}.form-container label{display:block;margin-bottom:8px;font-weight:500;color:#555;display:flex;align-items:center;gap:8px}.form-container input,.form-container textarea{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:6px;font-size:15px;transition:border .3s}.form-container input:focus,.form-container textarea:focus{border-color:#7366ff;outline:none;box-shadow:0 0 0 2px #7366ff1a}.form-container button[type=submit]{background:linear-gradient(to right,#7366ff,#948cff);color:#fff;padding:12px 24px;border:none;border-radius:6px;font-size:16px;font-weight:600;cursor:pointer;transition:.3s;width:100%;margin-top:10px}.form-container button[type=submit]:hover{background:linear-gradient(to right,#5f53cc,#7366ff);transform:translateY(-1px);box-shadow:0 4px 12px #7366ff4d}.discount-edit-container{display:flex;align-items:center;gap:8px;max-width:120px}.discount-input{width:80px!important;padding:8px 10px!important;border:1px solid #ddd!important;border-radius:4px!important;font-size:14px!important;text-align:center}.discount-input:focus{border-color:#7366ff!important;outline:none;box-shadow:0 0 0 2px #7366ff1a!important}.save-discount-btn{background:linear-gradient(135deg,#27ae60,#2ecc71);color:#fff;border:none;border-radius:6px;padding:8px 12px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.save-discount-btn:hover{background:linear-gradient(135deg,#219653,#27ae60);transform:translateY(-1px);box-shadow:0 2px 8px #27ae604d}.save-discount-btn:active{transform:translateY(0)}.load-more-container{display:flex;justify-content:center;margin-top:20px;padding:10px}.load-more-btn{background:linear-gradient(135deg,#3f3f91,#6a6ac5);color:#fff;border:none;padding:12px 24px;border-radius:6px;font-weight:600;cursor:pointer;transition:all .3s;box-shadow:0 2px 8px #00000026}.load-more-btn:hover{background:linear-gradient(135deg,#2d2f87,#3f3f91);transform:translateY(-2px);box-shadow:0 4px 12px #0003}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px;text-align:center}.loading-container .loading-spinner.large{width:40px;height:40px;border-width:3px;margin-bottom:15px}.loading-container p{color:#666;font-size:16px;margin:0}.loading-spinner{width:20px;height:20px;border:2px solid #f3f3f3;border-top:2px solid #7366ff;border-radius:50%;animation:spin 1s linear infinite;display:inline-block}.loading-spinner.large{width:40px;height:40px;border-width:3px}.discount-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.discount-modal-content{background:white;border-radius:12px;box-shadow:0 10px 30px #0000004d;width:90%;max-width:900px;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;animation:discountModalSlideIn .3s ease-out}.discount-modal-body{padding:0;overflow-y:auto;display:flex;flex-direction:column;height:100%;flex:1}.discount-modal-header{display:flex;align-items:center;justify-content:space-between;padding:20px 25px;background:linear-gradient(135deg,#9b59b6,#8e44ad);color:#fff;flex-shrink:0}.discount-modal-header .discount-modal-title{font-size:20px;font-weight:600;display:flex;align-items:center;gap:10px}.discount-modal-header .discount-close-btn{background:none;border:none;color:#fff;font-size:18px;cursor:pointer;padding:5px;border-radius:4px;transition:background .2s;width:32px;height:32px;display:flex;align-items:center;justify-content:center}.discount-modal-header .discount-close-btn:hover{background:rgba(255,255,255,.2)}@keyframes discountModalSlideIn{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.discount-promo-form{padding:25px;border-bottom:1px solid #eee;background:#fafafa;flex-shrink:0}.discount-promo-form .discount-form-group{display:flex;gap:20px;margin-bottom:20px}.discount-promo-form .discount-form-group .discount-field-half,.discount-promo-form .discount-form-group .discount-field-full{flex:1}.discount-promo-form label{display:block;margin-bottom:8px;font-weight:500;color:#555}.discount-promo-form input,.discount-promo-form textarea{width:100%;padding:12px 14px;border:2px solid #e1e5e9;border-radius:8px;font-size:15px;transition:all .3s ease;background:white;outline:none;font-family:inherit}.discount-promo-form input:focus,.discount-promo-form textarea:focus{border-color:#9b59b6;box-shadow:0 0 0 3px #9b59b61a;background:#fff}.discount-promo-form textarea{resize:vertical;min-height:80px;font-family:inherit}.discount-promo-form .discount-form-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:25px}.discount-promo-form .discount-form-actions button{display:flex;align-items:center;gap:6px;padding:12px 24px;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s;min-width:140px;justify-content:center;font-size:14px}.discount-promo-form .discount-form-actions .discount-cancel-btn{background:#95a5a6;color:#fff}.discount-promo-form .discount-form-actions .discount-cancel-btn:hover{background:#7f8c8d;transform:translateY(-2px);box-shadow:0 4px 12px #95a5a64d}.discount-promo-form .discount-form-actions .discount-save-promo-btn{background:linear-gradient(135deg,#27ae60,#2ecc71);color:#fff}.discount-promo-form .discount-form-actions .discount-save-promo-btn:hover:not(:disabled){background:linear-gradient(135deg,#219653,#27ae60);transform:translateY(-2px);box-shadow:0 4px 15px #27ae6066}.discount-promo-form .discount-form-actions .discount-save-promo-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.discount-promo-codes-list{flex:1;display:flex;flex-direction:column;min-height:0}.discount-promo-codes-list h3{padding:20px 25px 15px;margin:0;font-size:18px;color:#2d2f87;background:white;border-bottom:1px solid #eee;flex-shrink:0}.discount-promo-codes-list .discount-no-promos{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px;color:#7f8c8d;flex:1}.discount-promo-codes-list .discount-no-promos svg{font-size:48px;margin-bottom:15px;opacity:.5}.discount-promo-codes-list .discount-no-promos p{margin:0;font-size:16px}.discount-promo-codes-table{flex:1;overflow:visible;padding:0;min-height:0}.discount-promo-codes-table table{width:100%;border-collapse:collapse;min-width:600px}.discount-promo-codes-table table th,.discount-promo-codes-table table td{padding:14px 16px;text-align:left;border-bottom:1px solid #eee;white-space:nowrap}.discount-promo-codes-table table th{background:#f8f9fa;font-weight:600;color:#555;position:sticky;top:0;z-index:10;border-bottom:2px solid #dee2e6;font-size:14px}.discount-promo-codes-table table tr{transition:background-color .2s}.discount-promo-codes-table table tr:hover{background:#f8f9fa}.discount-promo-codes-table table tr.discount-inactive{opacity:.6;background:#fcfcfc}.discount-promo-codes-table table .discount-promo-code{font-weight:600;color:#9b59b6;font-family:Courier New,monospace;font-size:14px;letter-spacing:1px}.discount-promo-codes-table table .discount-discount{font-weight:600;color:#e67e22;font-size:14px}.discount-promo-codes-table table .discount-description{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.discount-promo-codes-table table .discount-status-badge{padding:6px 12px;border-radius:20px;font-size:12px;font-weight:600;text-transform:uppercase;display:inline-block;min-width:80px;text-align:center}.discount-promo-codes-table table .discount-status-badge.discount-active{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.discount-promo-codes-table table .discount-status-badge.discount-inactive{background:#f8d7da;color:#721c24;border:1px solid #f1b0b7}.discount-promo-codes-table table .discount-actions{display:flex;gap:8px;flex-wrap:nowrap}.discount-promo-codes-table table .discount-actions button{display:flex;align-items:center;justify-content:center;padding:8px 10px;border:none;border-radius:6px;cursor:pointer;transition:all .3s ease;font-size:13px;min-width:36px;border:1px solid transparent}.discount-promo-codes-table table .discount-actions button:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.discount-promo-codes-table table .discount-actions button:active{transform:translateY(0)}.discount-promo-codes-table table .discount-actions .discount-edit-btn{background:#3498db;color:#fff;border-color:#2980b9}.discount-promo-codes-table table .discount-actions .discount-edit-btn:hover{background:#2980b9}.discount-promo-codes-table table .discount-actions .discount-toggle-btn{background:#f39c12;color:#fff;padding:8px 12px;white-space:nowrap;border-color:#e67e22}.discount-promo-codes-table table .discount-actions .discount-toggle-btn:hover{background:#e67e22}.discount-promo-codes-table table .discount-actions .discount-delete-btn{background:#e74c3c;color:#fff;border-color:#c0392b}.discount-promo-codes-table table .discount-actions .discount-delete-btn:hover{background:#c0392b}.discount-unsaved-alert-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;z-index:1000}.discount-unsaved-alert-content{background:white;border-radius:12px;box-shadow:0 10px 30px #0000004d;width:90%;max-width:500px;overflow:hidden}.discount-unsaved-alert-content .discount-alert-header{padding:20px 25px;background:#e74c3c;color:#fff}.discount-unsaved-alert-content .discount-alert-header .discount-alert-title{font-size:18px;font-weight:600}.discount-unsaved-alert-content .discount-alert-body{padding:25px}.discount-unsaved-alert-content .discount-alert-body p{margin:0;font-size:16px;line-height:1.5;color:#555}.discount-unsaved-alert-content .discount-alert-footer{display:flex;gap:12px;justify-content:flex-end;padding:20px 25px;background:#f8f9fa;border-top:1px solid #eee}.discount-unsaved-alert-content .discount-alert-footer button{display:flex;align-items:center;gap:6px;padding:12px 20px;border:none;border-radius:6px;font-weight:600;cursor:pointer;transition:all .2s;font-size:14px}.discount-unsaved-alert-content .discount-alert-footer .discount-save-all-btn{background:linear-gradient(135deg,#27ae60,#2ecc71);color:#fff}.discount-unsaved-alert-content .discount-alert-footer .discount-save-all-btn:hover:not(:disabled){background:linear-gradient(135deg,#219653,#27ae60)}.discount-unsaved-alert-content .discount-alert-footer .discount-cancel-changes-btn{background:#e74c3c;color:#fff}.discount-unsaved-alert-content .discount-alert-footer .discount-cancel-changes-btn:hover{background:#c0392b}.discount-unsaved-alert-content .discount-alert-footer .discount-continue-editing-btn{background:#95a5a6;color:#fff}.discount-unsaved-alert-content .discount-alert-footer .discount-continue-editing-btn:hover{background:#7f8c8d}.save-all-btn:disabled,.save-discount-btn:disabled{opacity:.6;cursor:not-allowed}.save-all-btn{display:flex;align-items:center;gap:8px}.save-all-btn .loading-spinner{margin:0}@media screen and (max-width: 768px){.page-header{flex-direction:column;align-items:flex-start}.page-header .right-section{width:100%;flex-direction:column;align-items:flex-start;gap:10px}.page-header .search-container{width:100%}.page-header .action-buttons-group{width:100%;flex-wrap:nowrap;overflow-x:auto}.page-header .action-buttons-group button{flex:1;min-width:fit-content}.data-table{padding:10px}.data-table table{font-size:14px}.data-table table th,.data-table table td{padding:10px}.form-container{padding:15px}.form-container .form-group{flex-direction:column;gap:15px}.discount-edit-container{max-width:100px}.discount-input{width:60px!important}.discount-modal-content{width:95%;height:95vh;margin:0}.discount-modal-content .discount-promo-form{padding:15px}.discount-modal-content .discount-promo-form .discount-form-group{flex-direction:column;gap:15px}.discount-modal-content .discount-promo-form .discount-form-actions{flex-direction:column}.discount-modal-content .discount-promo-form .discount-form-actions button{width:100%}.discount-modal-content .discount-promo-codes-table table{font-size:14px}.discount-modal-content .discount-promo-codes-table table th,.discount-modal-content .discount-promo-codes-table table td{padding:8px 10px}.discount-modal-content .discount-promo-codes-table table .discount-actions{flex-direction:row;gap:4px}.discount-modal-content .discount-promo-codes-table table .discount-actions button{padding:6px 8px;font-size:11px;min-width:32px}.discount-modal-content .discount-promo-codes-table table .discount-actions .discount-toggle-btn{padding:6px 8px;font-size:10px}}@media screen and (max-width: 480px){.data-table table{font-size:12px}.data-table table th,.data-table table td{padding:8px}.discount-edit-container{flex-direction:column;gap:4px;max-width:80px}.discount-input{width:100%!important}.discount-modal-content .discount-promo-codes-table table .discount-actions{flex-direction:column;gap:2px}.discount-modal-content .discount-promo-codes-table table .discount-actions button{width:100%;justify-content:center}}.discount-delete-btn{background:linear-gradient(135deg,#e74c3c,#c0392b)!important;color:#fff!important;border:none!important;border-radius:8px!important;padding:12px 24px!important;font-weight:600!important;cursor:pointer!important;transition:all .3s ease!important;display:flex!important;align-items:center!important;gap:8px!important}.discount-delete-btn:hover{background:linear-gradient(135deg,#c0392b,#a93226)!important;transform:translateY(-2px)!important;box-shadow:0 4px 15px #e74c3c66!important}.discount-delete-btn:active{transform:translateY(0)!important}.discount-modal-overlay{z-index:2000}@media screen and (max-width: 768px){.discount-modal-content[style*="500px"]{width:95%!important;max-width:95%!important;margin:20px!important}.discount-modal-content[style*="500px"] .discount-modal-body{padding:20px 15px!important}.discount-modal-content[style*="500px"] .discount-modal-body div[style]{padding:20px 10px!important}}:root{--primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);--secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);--success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);--warning-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);--danger-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);--dark-gradient: linear-gradient(135deg, #4c669f 0%, #3b5998 50%, #192f6a 100%);--primary-color: #667eea;--secondary-color: #764ba2;--success-color: #4facfe;--warning-color: #43e97b;--danger-color: #fa709a;--dark-color: #2d3748;--text-primary: #2d3748;--text-secondary: #718096;--text-muted: #a0aec0;--bg-primary: #ffffff;--bg-secondary: #f7fafc;--bg-tertiary: #edf2f7;--border-light: #e2e8f0;--border-medium: #cbd5e0;--shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .06);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 10px 10px -5px rgba(0, 0, 0, .04);--border-radius: 12px;--border-radius-lg: 16px;--border-radius-xl: 20px}*{margin:0;padding:0;box-sizing:border-box}body{font-family:Inter,sans-serif;background:var(--bg-secondary);color:var(--text-primary)}.report-container{min-height:100vh;background:linear-gradient(135deg,#f5f7fa 0%,#c3cfe2 100%);padding:0}.premium-header{background:var(--primary-gradient);color:#fff;padding:40px 0 20px;position:relative;overflow:hidden}.premium-header .header-content{text-align:center;padding:0 20px;position:relative;z-index:2}.premium-header .premium-title{font-size:2.5rem;font-weight:700;margin-bottom:12px;background:linear-gradient(135deg,#fff 0%,#e2e8f0 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-shadow:0 2px 4px rgba(0,0,0,.1)}.premium-header .premium-subtitle{font-size:1.1rem;font-weight:400;opacity:.9;margin-bottom:0}.premium-header .header-decoration{position:absolute;bottom:0;left:0;right:0;height:4px}.premium-header .header-decoration .decoration-line{height:100%;background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.6) 50%,transparent 100%)}.premium-header:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");opacity:.3}.premium-nav.compact{display:flex;background:var(--bg-primary);margin:10px 20px 30px;border-radius:var(--border-radius);padding:6px;box-shadow:var(--shadow-lg);position:relative;top:10px;z-index:10;border:1px solid var(--border-light)}.premium-nav.compact .nav-item{flex:1;display:flex;align-items:center;justify-content:center;padding:12px 8px;cursor:pointer;border-radius:8px;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden;gap:8px}.premium-nav.compact .nav-item:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:var(--primary-gradient);transform:scaleX(0);transition:transform .3s ease}.premium-nav.compact .nav-item:hover{background:var(--bg-secondary);transform:translateY(-1px)}.premium-nav.compact .nav-item:hover .nav-icon{transform:scale(1.05)}.premium-nav.compact .nav-item.active{background:var(--bg-primary);box-shadow:var(--shadow-sm)}.premium-nav.compact .nav-item.active .nav-icon{background:var(--primary-gradient);transform:scale(1.05)}.premium-nav.compact .nav-item.active .nav-name{color:var(--primary-color);font-weight:600}.premium-nav.compact .nav-item.active:before{transform:scaleX(1)}.premium-nav.compact .nav-item .nav-icon{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:var(--bg-tertiary);border-radius:8px;transition:all .3s ease;font-size:1rem}.premium-nav.compact .nav-item .nav-name{font-size:.8rem;font-weight:500;color:var(--text-secondary);transition:color .3s ease;white-space:nowrap}.premium-filter{margin:0 20px 30px}.premium-filter .date-filter{background:var(--bg-primary);border-radius:var(--border-radius);padding:20px;box-shadow:var(--shadow-md);border:1px solid var(--border-light)}.premium-filter .date-filter .quick-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:15px}.premium-filter .date-filter .quick-filters .quick-filter-btn{padding:8px 16px;border:1px solid var(--border-medium);background:var(--bg-primary);border-radius:6px;cursor:pointer;transition:all .3s ease;font-size:.85rem;font-weight:500;color:var(--text-secondary)}.premium-filter .date-filter .quick-filters .quick-filter-btn:hover{border-color:var(--primary-color);color:var(--primary-color);transform:translateY(-1px)}.premium-filter .date-filter .quick-filters .quick-filter-btn.active{background:var(--primary-gradient);color:#fff;border-color:transparent;box-shadow:var(--shadow-sm)}.premium-filter .date-filter .custom-date-picker{display:flex;gap:12px;align-items:center;padding:16px;background:var(--bg-secondary);border-radius:8px;border:1px solid var(--border-light)}.premium-filter .date-filter .custom-date-picker .date-inputs{display:flex;gap:8px;align-items:center;flex:1}.premium-filter .date-filter .custom-date-picker .date-inputs input{padding:8px 12px;border:1px solid var(--border-medium);border-radius:6px;font-size:.9rem;background:var(--bg-primary);color:var(--text-primary);flex:1}.premium-filter .date-filter .custom-date-picker .date-inputs input:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #667eea1a}.premium-filter .date-filter .custom-date-picker .date-inputs span{color:var(--text-muted);font-size:.9rem;font-weight:500;min-width:20px;text-align:center}.premium-filter .date-filter .custom-date-picker .apply-btn{padding:8px 20px;background:var(--primary-gradient);color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:.9rem;font-weight:500;transition:all .3s ease;white-space:nowrap}.premium-filter .date-filter .custom-date-picker .apply-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:var(--shadow-sm)}.premium-filter .date-filter .custom-date-picker .apply-btn:disabled{background:var(--bg-tertiary);color:var(--text-muted);cursor:not-allowed;transform:none;box-shadow:none}.premium-content{padding:0 20px 40px}.sales-purchase-report .report-section{background:var(--bg-primary);border-radius:var(--border-radius);padding:24px;margin-bottom:20px;box-shadow:var(--shadow-md);border:1px solid var(--border-light)}.sales-purchase-report .report-section .section-title{font-size:1.4rem;font-weight:600;color:var(--text-primary);margin-bottom:20px;padding-bottom:12px;border-bottom:2px solid var(--border-light);position:relative}.sales-purchase-report .report-section .section-title:after{content:"";position:absolute;bottom:-2px;left:0;width:60px;height:2px;background:var(--primary-gradient);border-radius:2px}.sales-purchase-report .charts-grid{display:grid;grid-template-columns:2fr 1fr;gap:20px;margin-bottom:20px}@media (max-width: 1024px){.sales-purchase-report .charts-grid{grid-template-columns:1fr}}.sales-purchase-report .tables-grid{display:grid;grid-template-columns:1fr;gap:20px}.summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-bottom:24px}.summary-cards .summary-card{background:var(--bg-primary);padding:20px;border-radius:var(--border-radius);box-shadow:var(--shadow-sm);border-left:4px solid;transition:all .3s ease;position:relative;overflow:hidden}.summary-cards .summary-card:before{content:"";position:absolute;top:0;left:0;right:0;height:100%;background:linear-gradient(135deg,rgba(255,255,255,.1) 0%,transparent 100%);opacity:0;transition:opacity .3s ease}.summary-cards .summary-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.summary-cards .summary-card:hover:before{opacity:1}.summary-cards .summary-card.sales{border-left-color:var(--primary-color);background:linear-gradient(135deg,var(--bg-primary) 0%,#f0f4ff 100%)}.summary-cards .summary-card.purchase{border-left-color:var(--secondary-color);background:linear-gradient(135deg,var(--bg-primary) 0%,#f8f0ff 100%)}.summary-cards .summary-card.items{border-left-color:var(--success-color);background:linear-gradient(135deg,var(--bg-primary) 0%,#f0f9ff 100%)}.summary-cards .summary-card.orders{border-left-color:var(--warning-color);background:linear-gradient(135deg,var(--bg-primary) 0%,#f0fff4 100%)}.summary-cards .summary-card.average{border-left-color:var(--danger-color);background:linear-gradient(135deg,var(--bg-primary) 0%,#fff0f3 100%)}.summary-cards .summary-card.tax{border-left-color:#8b5cf6;background:linear-gradient(135deg,var(--bg-primary) 0%,#faf5ff 100%)}.summary-cards .summary-card.discount{border-left-color:#06b6d4;background:linear-gradient(135deg,var(--bg-primary) 0%,#ecfeff 100%)}.summary-cards .summary-card.quantity{border-left-color:var(--dark-color);background:linear-gradient(135deg,var(--bg-primary) 0%,#f1f5f9 100%)}.summary-cards .summary-card.products{border-left-color:#10b981;background:linear-gradient(135deg,var(--bg-primary) 0%,#ecfdf5 100%)}.summary-cards .summary-card .card-title{font-size:.8rem;color:var(--text-secondary);margin-bottom:8px;text-transform:uppercase;font-weight:600;letter-spacing:.5px}.summary-cards .summary-card .card-value{font-size:1.75rem;font-weight:700;color:var(--text-primary);margin-bottom:4px;background:linear-gradient(135deg,var(--text-primary) 0%,var(--text-secondary) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.summary-cards .summary-card .card-period{font-size:.75rem;color:var(--text-muted);font-weight:500}.chart-container{background:var(--bg-primary);padding:20px;border-radius:var(--border-radius);box-shadow:var(--shadow-sm);border:1px solid var(--border-light);transition:all .3s ease}.chart-container:hover{box-shadow:var(--shadow-md)}.chart-container .chart-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.chart-container .chart-header h3{color:var(--text-primary);margin:0;font-size:1.1rem;font-weight:600}.chart-container .chart-header .view-more-btn{background:var(--primary-gradient);color:#fff;border:none;padding:6px 16px;border-radius:6px;cursor:pointer;font-size:.8rem;font-weight:500;transition:all .3s ease}.chart-container .chart-header .view-more-btn:hover{transform:translateY(-1px);box-shadow:var(--shadow-sm)}.chart-container .chart-content{height:280px;position:relative}.data-table-container{background:var(--bg-primary);padding:20px;border-radius:var(--border-radius);box-shadow:var(--shadow-sm);border:1px solid var(--border-light);transition:all .3s ease}.data-table-container:hover{box-shadow:var(--shadow-md)}.data-table-container .table-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.data-table-container .table-header h3{color:var(--text-primary);margin:0;font-size:1.1rem;font-weight:600}.data-table-container .table-header .table-actions{display:flex;gap:8px;align-items:center}.data-table-container .table-header .view-all-btn{background:var(--primary-gradient);color:#fff;border:none;padding:6px 16px;border-radius:6px;cursor:pointer;font-size:.8rem;font-weight:500;transition:all .3s ease}.data-table-container .table-header .view-all-btn:hover{transform:translateY(-1px);box-shadow:var(--shadow-sm)}.data-table-container .table-summary{font-size:.8rem;color:var(--text-muted);margin-bottom:12px;font-weight:500}.data-table-container .data-table{width:100%;border-collapse:collapse}.data-table-container .data-table th,.data-table-container .data-table td{padding:12px;text-align:left;border-bottom:1px solid var(--border-light)}.data-table-container .data-table th{background:var(--bg-secondary);font-weight:600;color:var(--text-primary);font-size:.8rem;text-transform:uppercase;letter-spacing:.5px}.data-table-container .data-table td{color:var(--text-secondary);font-size:.85rem}.data-table-container .data-table tr{transition:background-color .2s ease}.data-table-container .data-table tr:hover{background:var(--bg-secondary)}.data-table-container .data-table tr:last-child td{border-bottom:none}.data-table-container .table-empty{text-align:center;color:var(--text-muted);padding:40px 20px;font-style:italic;font-size:.9rem}.coming-soon{text-align:center;padding:80px 40px;background:var(--bg-primary);border-radius:var(--border-radius);box-shadow:var(--shadow-md);border:1px solid var(--border-light)}.coming-soon .coming-soon-icon{font-size:3.5rem;margin-bottom:20px;opacity:.7}.coming-soon h3{font-size:1.5rem;color:var(--text-primary);margin-bottom:12px;font-weight:600}.coming-soon p{font-size:1rem;color:var(--text-secondary);max-width:400px;margin:0 auto;line-height:1.6}.report-modal{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.report-modal .modal-content{background:var(--bg-primary);border-radius:var(--border-radius);width:100%;max-width:1200px;max-height:90vh;overflow:auto;box-shadow:var(--shadow-xl);border:1px solid var(--border-light);animation:modalSlideIn .3s ease-out}.report-modal .modal-content .modal-header{padding:20px 24px;border-bottom:1px solid var(--border-light);display:flex;justify-content:space-between;align-items:center;background:var(--bg-secondary);border-radius:var(--border-radius) var(--border-radius) 0 0;position:sticky;top:0;z-index:10}.report-modal .modal-content .modal-header h2{margin:0;color:var(--text-primary);font-size:1.3rem;font-weight:600}.report-modal .modal-content .modal-header .close-btn{background:none;border:none;font-size:1.5rem;cursor:pointer;color:var(--text-muted);width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:all .2s ease}.report-modal .modal-content .modal-header .close-btn:hover{background:var(--bg-tertiary);color:var(--text-primary)}.report-modal .modal-content .modal-body{padding:24px}.modal-filter-info{background:var(--bg-secondary);padding:12px 16px;border-radius:6px;margin-bottom:20px;color:var(--text-primary);font-weight:500;font-size:.9rem;border-left:4px solid var(--primary-color)}.modal-trend-analysis .trend-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin-bottom:24px}.modal-trend-analysis .trend-stats .stat-card{background:var(--bg-primary);padding:16px;border-radius:8px;border-left:3px solid var(--primary-color);box-shadow:var(--shadow-sm)}.modal-trend-analysis .trend-stats .stat-card .stat-label{font-size:.8rem;color:var(--text-secondary);margin-bottom:4px;font-weight:500}.modal-trend-analysis .trend-stats .stat-card .stat-value{font-size:1.25rem;font-weight:600;color:var(--text-primary)}.modal-trend-analysis .trend-table .data-table{width:100%;border-collapse:collapse}.modal-trend-analysis .trend-table .data-table th,.modal-trend-analysis .trend-table .data-table td{padding:12px;text-align:left;border-bottom:1px solid var(--border-light)}.modal-trend-analysis .trend-table .data-table th{background:var(--bg-secondary);font-weight:600;color:var(--text-primary);font-size:.8rem;text-transform:uppercase;letter-spacing:.5px;position:sticky;top:0}.modal-trend-analysis .trend-table .data-table td{color:var(--text-secondary);font-size:.85rem}.modal-trend-analysis .trend-table .data-table tr:hover{background:var(--bg-secondary)}.modal-full-data .data-summary{background:var(--bg-secondary);padding:12px 16px;border-radius:6px;margin-bottom:16px}.modal-full-data .data-summary .summary-text{color:var(--text-primary);font-weight:500;font-size:.9rem}.modal-full-data .data-summary .summary-text .highlight{color:var(--primary-color);font-weight:600}.modal-full-data .full-data-table .data-table{width:100%;border-collapse:collapse}.modal-full-data .full-data-table .data-table th,.modal-full-data .full-data-table .data-table td{padding:12px;text-align:left;border-bottom:1px solid var(--border-light)}.modal-full-data .full-data-table .data-table th{background:var(--bg-secondary);font-weight:600;color:var(--text-primary);font-size:.8rem;text-transform:uppercase;letter-spacing:.5px;position:sticky;top:0}.modal-full-data .full-data-table .data-table td{color:var(--text-secondary);font-size:.85rem}.modal-full-data .full-data-table .data-table tr:hover{background:var(--bg-secondary)}.modal-full-data .table-pagination{display:flex;justify-content:space-between;align-items:center;margin-top:20px;padding:16px 0}.modal-full-data .table-pagination .pagination-info{font-size:.8rem;color:var(--text-muted);font-weight:500}.modal-full-data .table-pagination .pagination-controls{display:flex;gap:6px}.modal-full-data .table-pagination .pagination-controls button{padding:6px 12px;border:1px solid var(--border-medium);background:var(--bg-primary);border-radius:6px;cursor:pointer;font-size:.8rem;transition:all .3s ease}.modal-full-data .table-pagination .pagination-controls button:hover:not(:disabled){border-color:var(--primary-color);color:var(--primary-color)}.modal-full-data .table-pagination .pagination-controls button:disabled{background:var(--bg-tertiary);color:var(--text-muted);cursor:not-allowed}.modal-full-data .table-pagination .pagination-controls button.active{background:var(--primary-color);color:#fff;border-color:var(--primary-color)}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.loading-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 20px;background:var(--bg-primary);border-radius:var(--border-radius);box-shadow:var(--shadow-md)}.loading-state .spinner{width:50px;height:50px;border:3px solid var(--bg-tertiary);border-top:3px solid var(--primary-color);border-radius:50%;animation:spin 1s linear infinite;margin-bottom:20px}.loading-state p{color:var(--text-secondary);font-size:1rem}@media (max-width: 768px){.premium-header{padding:30px 0 15px}.premium-header .premium-title{font-size:2rem}.premium-header .premium-subtitle{font-size:1rem}.premium-nav.compact{flex-direction:column;margin:0 15px;top:-10px;gap:4px}.premium-nav.compact .nav-item{padding:10px}.premium-nav.compact .nav-item .nav-icon{width:28px;height:28px;font-size:.9rem}.premium-nav.compact .nav-item .nav-name{font-size:.75rem}.premium-filter,.premium-content{margin-left:15px;margin-right:15px}.sales-purchase-report .report-section{padding:16px}.sales-purchase-report .charts-grid{grid-template-columns:1fr;gap:16px}.summary-cards{grid-template-columns:1fr}.data-table{font-size:.8rem}.data-table th,.data-table td{padding:8px 6px}.report-modal{padding:10px}.report-modal .modal-content{width:100%}.report-modal .modal-content .modal-body{padding:16px}}@media (max-width: 480px){.premium-header .premium-title{font-size:1.75rem}.chart-container,.data-table-container{padding:16px}.modal-full-data .table-pagination{flex-direction:column;gap:12px;align-items:stretch}.modal-full-data .table-pagination .pagination-controls{justify-content:center}}.inventory-expiry-report .inventory-filter{background:var(--bg-primary);padding:20px;border-radius:var(--border-radius);box-shadow:var(--shadow-md);margin-bottom:24px;border:1px solid var(--border-light)}.inventory-expiry-report .inventory-filter .filter-row{display:flex;gap:16px;align-items:end;margin-bottom:16px}.inventory-expiry-report .inventory-filter .filter-row:last-child{margin-bottom:0}@media (max-width: 768px){.inventory-expiry-report .inventory-filter .filter-row{flex-direction:column;align-items:stretch}}.inventory-expiry-report .inventory-filter .filter-group{flex:1}.inventory-expiry-report .inventory-filter .filter-group label{display:block;margin-bottom:6px;font-weight:500;color:var(--text-primary);font-size:.85rem}.inventory-expiry-report .inventory-filter .filter-group select,.inventory-expiry-report .inventory-filter .filter-group input[type=date]{width:100%;padding:8px 12px;border:1px solid var(--border-medium);border-radius:6px;background:var(--bg-primary);color:var(--text-primary);font-size:.9rem}.inventory-expiry-report .inventory-filter .filter-group select:focus,.inventory-expiry-report .inventory-filter .filter-group input[type=date]:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #667eea1a}.inventory-expiry-report .inventory-filter .filter-group input[type=checkbox]{margin-right:8px}.inventory-expiry-report .inventory-filter .filter-group .clear-filters{background:var(--bg-tertiary);color:var(--text-secondary);border:1px solid var(--border-medium);padding:8px 16px;border-radius:6px;cursor:pointer;font-size:.85rem;transition:all .3s ease}.inventory-expiry-report .inventory-filter .filter-group .clear-filters:hover{background:var(--bg-secondary);color:var(--text-primary)}.inventory-expiry-report .inventory-filter .filter-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.inventory-expiry-report .inventory-filter .filter-header .export-btn{background:var(--success-color);color:#fff;border:none;padding:10px 20px;border-radius:6px;cursor:pointer;font-size:.9rem;font-weight:600;display:flex;align-items:center;gap:8px;transition:all .3s ease}.inventory-expiry-report .inventory-filter .filter-header .export-btn:hover{background:#059669;transform:translateY(-1px);box-shadow:var(--shadow-sm)}.inventory-expiry-report .inventory-filter .filter-header .export-btn:active{transform:translateY(0)}.inventory-expiry-report .inventory-filter .filter-header h3{margin:0 0 8px;color:var(--text-primary);font-size:1.3rem;font-weight:600}.inventory-expiry-report .inventory-filter .filter-header p{margin:0;color:var(--text-muted);font-size:.9rem}.inventory-expiry-report .expiry-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;margin-bottom:24px}.inventory-expiry-report .expiry-summary .summary-card{background:var(--bg-primary);padding:20px;border-radius:var(--border-radius);box-shadow:var(--shadow-sm);display:flex;align-items:center;gap:16px;border-left:4px solid}.inventory-expiry-report .expiry-summary .summary-card.critical{border-left-color:#ef4444;background:linear-gradient(135deg,var(--bg-primary) 0%,#fef2f2 100%)}.inventory-expiry-report .expiry-summary .summary-card.warning{border-left-color:#f59e0b;background:linear-gradient(135deg,var(--bg-primary) 0%,#fffbeb 100%)}.inventory-expiry-report .expiry-summary .summary-card.info{border-left-color:#3b82f6;background:linear-gradient(135deg,var(--bg-primary) 0%,#eff6ff 100%)}.inventory-expiry-report .expiry-summary .summary-card.success{border-left-color:#10b981;background:linear-gradient(135deg,var(--bg-primary) 0%,#ecfdf5 100%)}.inventory-expiry-report .expiry-summary .summary-card .summary-icon{font-size:2rem;opacity:.8}.inventory-expiry-report .expiry-summary .summary-card .summary-content{flex:1}.inventory-expiry-report .expiry-summary .summary-card .summary-content h4{margin:0 0 8px;font-size:.9rem;color:var(--text-primary);font-weight:600}.inventory-expiry-report .expiry-summary .summary-card .summary-content .summary-numbers{display:flex;align-items:baseline;gap:4px;margin-bottom:4px}.inventory-expiry-report .expiry-summary .summary-card .summary-content .summary-numbers .number{font-size:1.5rem;font-weight:700;color:var(--text-primary)}.inventory-expiry-report .expiry-summary .summary-card .summary-content .summary-numbers .label{font-size:.8rem;color:var(--text-muted)}.inventory-expiry-report .expiry-summary .summary-card .summary-content .summary-quantity{font-size:.8rem;color:var(--text-muted);font-weight:500}.inventory-expiry-report .inventory-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:20px;margin-bottom:24px}.inventory-expiry-report .expired-section{margin-top:32px}.inventory-expiry-report .expired-section .section-title{font-size:1.3rem;font-weight:600;color:var(--text-primary);margin-bottom:20px;padding-bottom:12px;border-bottom:2px solid var(--border-light)}.inventory-expiry-report .expired-section .expired-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:20px}.inventory-expiry-report .view-more-section{text-align:center;margin:24px 0}.inventory-expiry-report .view-more-section .view-all-btn{background:var(--primary-gradient);color:#fff;border:none;padding:12px 24px;border-radius:8px;cursor:pointer;font-size:.9rem;font-weight:500;transition:all .3s ease}.inventory-expiry-report .view-more-section .view-all-btn:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.product-card{background:var(--bg-primary);border-radius:var(--border-radius);padding:20px;box-shadow:var(--shadow-sm);border:1px solid var(--border-light);transition:all .3s ease;position:relative}.product-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.product-card .product-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px}.product-card .product-header .product-name{margin:0 12px 0 0;font-size:1.1rem;font-weight:600;color:var(--text-primary);flex:1}.product-card .product-header .status-badge{padding:4px 8px;border-radius:12px;color:#fff;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap}.product-card .product-details{margin-bottom:16px}.product-card .product-details .detail-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:.9rem}.product-card .product-details .detail-row span:first-child{color:var(--text-secondary);font-weight:500}.product-card .product-details .detail-row span:last-child{color:var(--text-primary);font-weight:600}.product-card .product-details .detail-row span:last-child.quantity{color:var(--primary-color)}.product-card .expiry-details{background:var(--bg-secondary);padding:12px;border-radius:6px;margin-bottom:16px}.product-card .expiry-details .expiry-stats{display:flex;gap:16px}.product-card .expiry-details .expiry-stats .stat{display:flex;flex-direction:column;align-items:center}.product-card .expiry-details .expiry-stats .stat .label{font-size:.75rem;color:var(--text-muted);margin-bottom:4px}.product-card .expiry-details .expiry-stats .stat .value{font-size:1.1rem;font-weight:700}.product-card .expiry-details .expiry-stats .stat .value.expired{color:#ef4444}.product-card .expiry-details .expiry-stats .stat .value.near-expiry{color:#f59e0b}.product-card .batch-details{margin-bottom:16px}.product-card .batch-details h5{margin:0 0 8px;font-size:.9rem;color:var(--text-primary);font-weight:600}.product-card .batch-details .batch-item{display:flex;justify-content:space-between;align-items:center;padding:6px 0;border-bottom:1px solid var(--border-light);font-size:.8rem}.product-card .batch-details .batch-item:last-child{border-bottom:none}.product-card .batch-details .batch-item .batch-number{font-weight:600;color:var(--text-primary)}.product-card .batch-details .batch-item .batch-quantity{color:var(--text-secondary)}.product-card .batch-details .batch-item .expiry-badge{padding:2px 6px;border-radius:8px;font-size:.7rem;font-weight:600}.product-card .batch-details .batch-item .expiry-badge.expired{background:#fef2f2;color:#dc2626}.product-card .batch-details .batch-item .expiry-badge.near-expiry{background:#fffbeb;color:#d97706}.product-card .batch-details .batch-item .expiry-badge.good{background:#f0fdf4;color:#16a34a}.product-card .batch-details .more-batches{text-align:center;padding:8px;color:var(--text-muted);font-size:.8rem;font-style:italic}.product-card .view-details-btn{width:100%;background:var(--primary-gradient);color:#fff;border:none;padding:10px 16px;border-radius:6px;cursor:pointer;font-size:.85rem;font-weight:500;transition:all .3s ease}.product-card .view-details-btn:hover{transform:translateY(-1px);box-shadow:var(--shadow-sm)}@media (max-width: 768px){.inventory-expiry-report .inventory-grid,.inventory-expiry-report .expired-grid,.inventory-expiry-report .expiry-summary{grid-template-columns:1fr}.inventory-expiry-report .inventory-filter .filter-row{flex-direction:column}.product-card .product-header{flex-direction:column;align-items:flex-start;gap:8px}.product-card .product-header .status-badge{align-self:flex-start}}.inventory-modal-table .data-table{width:100%;border-collapse:collapse;margin-top:16px}.inventory-modal-table .data-table th,.inventory-modal-table .data-table td{padding:12px;text-align:left;border-bottom:1px solid var(--border-light);font-size:.85rem}.inventory-modal-table .data-table th{background:var(--bg-secondary);font-weight:600;color:var(--text-primary);text-transform:uppercase;letter-spacing:.5px;position:sticky;top:0;z-index:10}.inventory-modal-table .data-table td{color:var(--text-secondary)}.inventory-modal-table .data-table td.product-name{font-weight:600;color:var(--text-primary)}.inventory-modal-table .data-table td.status{padding:4px 8px;border-radius:12px;color:#fff;font-size:.7rem;font-weight:600;text-transform:uppercase;text-align:center}.inventory-modal-table .data-table td.status.in-stock{background:#10b981}.inventory-modal-table .data-table td.status.low-stock{background:#f59e0b}.inventory-modal-table .data-table td.status.out-of-stock{background:#ef4444}.inventory-modal-table .data-table td.status.disposed{background:#6b7280}.inventory-modal-table .data-table td.quantity{font-weight:600;color:var(--primary-color)}.inventory-modal-table .data-table td.value{font-weight:600;color:var(--text-primary)}.inventory-modal-table .data-table tr{transition:background-color .2s ease}.inventory-modal-table .data-table tr:hover{background:var(--bg-secondary)}.inventory-modal-table .table-actions{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.inventory-modal-table .table-actions .search-box{padding:8px 12px;border:1px solid var(--border-medium);border-radius:6px;width:300px;font-size:.9rem}.inventory-modal-table .table-actions .search-box:focus{outline:none;border-color:var(--primary-color)}.inventory-modal-table .table-actions .export-btn{background:var(--primary-gradient);color:#fff;border:none;padding:8px 16px;border-radius:6px;cursor:pointer;font-size:.85rem;font-weight:500}.inventory-modal-table .table-actions .export-btn:hover{transform:translateY(-1px);box-shadow:var(--shadow-sm)}.batch-details-modal .batch-table{width:100%;border-collapse:collapse;margin-top:16px}.batch-details-modal .batch-table th,.batch-details-modal .batch-table td{padding:10px;text-align:left;border-bottom:1px solid var(--border-light);font-size:.8rem}.batch-details-modal .batch-table th{background:var(--bg-secondary);font-weight:600;color:var(--text-primary)}.batch-details-modal .batch-table .batch-status{padding:4px 8px;border-radius:8px;font-size:.7rem;font-weight:600;text-align:center}.batch-details-modal .batch-table .batch-status.expired{background:#fef2f2;color:#dc2626}.batch-details-modal .batch-table .batch-status.near-expiry{background:#fffbeb;color:#d97706}.batch-details-modal .batch-table .batch-status.good{background:#f0fdf4;color:#16a34a}.batch-details-modal .batch-table .batch-status.disposed{background:#f3f4f6;color:#374151}.search-section{margin-bottom:20px}.search-section .search-input{width:100%;padding:12px 16px;border:1px solid var(--border-medium);border-radius:8px;font-size:.9rem;background:var(--bg-primary);color:var(--text-primary)}.search-section .search-input:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #667eea1a}.search-section .search-input::placeholder{color:var(--text-muted)}.search-section .search-results{margin-top:8px;font-size:.8rem;color:var(--text-muted);font-weight:500}.product-header-details{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;padding-bottom:16px;border-bottom:2px solid var(--border-light)}.product-header-details h3{margin:0;color:var(--text-primary);font-size:1.5rem}.product-header-details .status-badge.large{padding:8px 16px;font-size:.8rem;border-radius:20px}.product-header-details .status-badge.large.in-stock{background:#10b981}.product-header-details .status-badge.large.low-stock{background:#f59e0b}.product-header-details .status-badge.large.out-of-stock{background:#ef4444}.product-header-details .status-badge.large.disposed{background:#6b7280}.product-info-sections{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;margin-bottom:24px}.product-info-sections .info-section{background:var(--bg-secondary);padding:20px;border-radius:8px;border-left:4px solid var(--primary-color)}.product-info-sections .info-section h4{margin:0 0 16px;color:var(--text-primary);font-size:1.1rem;font-weight:600}.product-info-sections .info-section .info-grid{display:flex;flex-direction:column;gap:12px}.product-info-sections .info-section .info-item{display:flex;justify-content:space-between;align-items:center}.product-info-sections .info-section .info-item .label{color:var(--text-secondary);font-weight:500}.product-info-sections .info-section .info-item .value{color:var(--text-primary);font-weight:600}.product-info-sections .info-section .info-item .value.quantity{color:var(--primary-color)}.product-info-sections .info-section .info-item .value.expired-count{color:#ef4444}.product-info-sections .info-section .info-item .value.near-expiry-count{color:#f59e0b}.product-info-sections .info-section .info-item .value.disposed-count{color:#6b7280}.batch-section{margin-top:24px}.batch-section h4{margin:0 0 16px;color:var(--text-primary);font-size:1.1rem;font-weight:600}.status-badge{padding:4px 8px;border-radius:12px;color:#fff;font-size:.7rem;font-weight:600;text-transform:uppercase}.status-badge.small{padding:2px 6px;font-size:.65rem}.status-badge.in-stock{background:#10b981}.status-badge.low-stock{background:#f59e0b}.status-badge.out-of-stock{background:#ef4444}.status-badge.disposed{background:#6b7280}.status-badge.expired{background:#ef4444}.status-badge.near-expiry{background:#f59e0b}.status-badge.good{background:#10b981}.expired-count{color:#ef4444!important;font-weight:600}.near-expiry-count{color:#f59e0b!important;font-weight:600}.disposed-count{color:#6b7280!important;font-weight:600}.disposed-row{opacity:.7;background:var(--bg-tertiary)}.product-name{font-weight:600!important;color:var(--text-primary)!important}.category-analysis-report .category-filter{background:var(--bg-primary);padding:24px;border-radius:var(--border-radius);box-shadow:var(--shadow-md);margin-bottom:24px;border:1px solid var(--border-light)}.category-analysis-report .category-filter .filter-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.category-analysis-report .category-filter .filter-header .export-btn{background:var(--success-color);color:#fff;border:none;padding:10px 20px;border-radius:6px;cursor:pointer;font-size:.9rem;font-weight:600;display:flex;align-items:center;gap:8px;transition:all .3s ease}.category-analysis-report .category-filter .filter-header .export-btn:hover{background:#059669;transform:translateY(-1px);box-shadow:var(--shadow-sm)}.category-analysis-report .category-filter .filter-header .export-btn:active{transform:translateY(0)}.category-analysis-report .category-filter .filter-header h3{margin:0 0 8px;color:var(--text-primary);font-size:1.3rem;font-weight:600}.category-analysis-report .category-filter .filter-header p{margin:0;color:var(--text-muted);font-size:.9rem}.category-analysis-report .category-filter .filter-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;align-items:end}@media (max-width: 768px){.category-analysis-report .category-filter .filter-controls{grid-template-columns:1fr}}.category-analysis-report .category-filter .filter-group label{display:block;margin-bottom:6px;font-weight:500;color:var(--text-primary);font-size:.85rem}.category-analysis-report .category-filter .filter-group select,.category-analysis-report .category-filter .filter-group input{width:100%;padding:10px 12px;border:1px solid var(--border-medium);border-radius:6px;background:var(--bg-primary);color:var(--text-primary);font-size:.9rem}.category-analysis-report .category-filter .filter-group select:focus,.category-analysis-report .category-filter .filter-group input:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #667eea1a}.category-analysis-report .category-filter .filter-group .apply-btn{width:100%;background:var(--primary-gradient);color:#fff;border:none;padding:10px 16px;border-radius:6px;cursor:pointer;font-size:.9rem;font-weight:500;transition:all .3s ease}.category-analysis-report .category-filter .filter-group .apply-btn:hover{transform:translateY(-1px);box-shadow:var(--shadow-sm)}.category-analysis-report .category-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:24px}.category-analysis-report .category-summary .summary-card{background:var(--bg-primary);padding:24px;border-radius:var(--border-radius);box-shadow:var(--shadow-sm);display:flex;align-items:center;gap:16px;border-left:4px solid;transition:all .3s ease}.category-analysis-report .category-summary .summary-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.category-analysis-report .category-summary .summary-card.sales{border-left-color:#10b981;background:linear-gradient(135deg,var(--bg-primary) 0%,#ecfdf5 100%)}.category-analysis-report .category-summary .summary-card.purchases{border-left-color:#3b82f6;background:linear-gradient(135deg,var(--bg-primary) 0%,#eff6ff 100%)}.category-analysis-report .category-summary .summary-card.stock{border-left-color:#8b5cf6;background:linear-gradient(135deg,var(--bg-primary) 0%,#faf5ff 100%)}.category-analysis-report .category-summary .summary-card.orders{border-left-color:#f59e0b;background:linear-gradient(135deg,var(--bg-primary) 0%,#fffbeb 100%)}.category-analysis-report .category-summary .summary-card .summary-icon{font-size:2.5rem;opacity:.8}.category-analysis-report .category-summary .summary-card .summary-content{flex:1}.category-analysis-report .category-summary .summary-card .summary-content h4{margin:0 0 8px;font-size:.9rem;color:var(--text-secondary);font-weight:600;text-transform:uppercase;letter-spacing:.5px}.category-analysis-report .category-summary .summary-card .summary-content .summary-value{font-size:1.5rem;font-weight:700;color:var(--text-primary);margin-bottom:4px}.category-analysis-report .category-summary .summary-card .summary-content .summary-label{font-size:.8rem;color:var(--text-muted);font-weight:500}.category-analysis-report .category-cards-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:20px;margin-bottom:24px}.category-analysis-report .category-charts .chart-row{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}@media (max-width: 1024px){.category-analysis-report .category-charts .chart-row{grid-template-columns:1fr}}.category-card{background:var(--bg-primary);border-radius:var(--border-radius);padding:20px;box-shadow:var(--shadow-sm);border:1px solid var(--border-light);transition:all .3s ease;cursor:pointer}.category-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.category-card .category-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid var(--border-light)}.category-card .category-header .category-name{margin:0;font-size:1.1rem;font-weight:600;color:var(--text-primary)}.category-card .category-header .product-count{background:var(--bg-tertiary);color:var(--text-secondary);padding:4px 8px;border-radius:12px;font-size:.7rem;font-weight:600}.category-card .category-stats{margin-bottom:16px}.category-card .category-stats .stat-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}.category-card .category-stats .stat-row:last-child{margin-bottom:0}.category-card .category-stats .stat-item{background:var(--bg-secondary);padding:12px;border-radius:6px;border-left:3px solid}.category-card .category-stats .stat-item.sales{border-left-color:#10b981}.category-card .category-stats .stat-item.purchases{border-left-color:#3b82f6}.category-card .category-stats .stat-item.stock{border-left-color:#8b5cf6}.category-card .category-stats .stat-item.orders{border-left-color:#f59e0b}.category-card .category-stats .stat-item .stat-label{display:block;font-size:.75rem;color:var(--text-muted);margin-bottom:4px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.category-card .category-stats .stat-item .stat-value{display:block;font-size:1rem;font-weight:700;color:var(--text-primary);margin-bottom:2px}.category-card .category-stats .stat-item .stat-growth{font-size:.7rem;color:#10b981;font-weight:600}.category-card .category-footer .stock-status{display:flex;gap:8px;flex-wrap:wrap}.category-card .category-footer .stock-status .status-item{padding:4px 8px;border-radius:8px;font-size:.7rem;font-weight:600}.category-card .category-footer .stock-status .status-item.in-stock{background:#f0fdf4;color:#16a34a}.category-card .category-footer .stock-status .status-item.low-stock{background:#fffbeb;color:#d97706}.category-card .category-footer .stock-status .status-item.out-of-stock{background:#fef2f2;color:#dc2626}.simple-bars .bar-item{display:flex;align-items:center;margin-bottom:12px}.simple-bars .bar-item .bar-label{width:120px;font-size:.8rem;color:var(--text-secondary);font-weight:500}.simple-bars .bar-item .bar-track{flex:1;background:var(--bg-tertiary);height:24px;border-radius:12px;position:relative;overflow:hidden}.simple-bars .bar-item .bar-fill{height:100%;border-radius:12px;position:relative;transition:width .3s ease}.simple-bars .bar-item .bar-fill.sales{background:linear-gradient(90deg,#10b981,#34d399)}.simple-bars .bar-item .bar-fill.purchases{background:linear-gradient(90deg,#3b82f6,#60a5fa)}.simple-bars .bar-item .bar-fill.stock{background:linear-gradient(90deg,#8b5cf6,#a78bfa)}.simple-bars .bar-item .bar-fill .bar-value{position:absolute;right:8px;top:50%;transform:translateY(-50%);color:#fff;font-size:.7rem;font-weight:600;text-shadow:0 1px 2px rgba(0,0,0,.3)}.performance-metrics .performance-item{display:flex;align-items:center;margin-bottom:12px;padding:8px 0}.performance-metrics .performance-item .metric-name{width:100px;font-size:.8rem;color:var(--text-secondary);font-weight:500}.performance-metrics .performance-item .metric-bar{flex:1;height:20px;background:var(--bg-tertiary);border-radius:10px;overflow:hidden;position:relative;margin:0 12px}.performance-metrics .performance-item .metric-fill{height:100%;position:absolute;top:0;left:0;transition:width .3s ease}.performance-metrics .performance-item .metric-fill.sales{background:#10b981;z-index:2}.performance-metrics .performance-item .metric-fill.purchases{background:#3b82f6;z-index:1}.performance-metrics .performance-item .metric-value{width:80px;text-align:right;font-size:.8rem;font-weight:600;color:var(--text-primary)}@media (max-width: 768px){.category-analysis-report .category-cards-grid,.category-analysis-report .category-charts .chart-row,.category-analysis-report .category-card .category-stats .stat-row{grid-template-columns:1fr}}.trending-products-report .trending-filter{background:var(--bg-primary);padding:24px;border-radius:var(--border-radius);box-shadow:var(--shadow-md);margin-bottom:24px;border:1px solid var(--border-light)}.trending-products-report .trending-filter .filter-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.trending-products-report .trending-filter .filter-header .export-btn{background:var(--success-color);color:#fff;border:none;padding:10px 20px;border-radius:6px;cursor:pointer;font-size:.9rem;font-weight:600;display:flex;align-items:center;gap:8px;transition:all .3s ease}.trending-products-report .trending-filter .filter-header .export-btn:hover{background:#059669;transform:translateY(-1px);box-shadow:var(--shadow-sm)}.trending-products-report .trending-filter .filter-header .export-btn:active{transform:translateY(0)}.trending-products-report .trending-filter .filter-header h3{margin:0 0 8px;color:var(--text-primary);font-size:1.3rem;font-weight:600}.trending-products-report .trending-filter .filter-header p{margin:0;color:var(--text-muted);font-size:.9rem}.trending-products-report .trending-filter .filter-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;align-items:end}@media (max-width: 768px){.trending-products-report .trending-filter .filter-controls{grid-template-columns:1fr}}.trending-products-report .trending-filter .filter-group label{display:block;margin-bottom:6px;font-weight:500;color:var(--text-primary);font-size:.85rem}.trending-products-report .trending-filter .filter-group select,.trending-products-report .trending-filter .filter-group input{width:100%;padding:10px 12px;border:1px solid var(--border-medium);border-radius:6px;background:var(--bg-primary);color:var(--text-primary);font-size:.9rem}.trending-products-report .trending-filter .filter-group select:focus,.trending-products-report .trending-filter .filter-group input:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #667eea1a}.trending-products-report .trending-filter .filter-group .apply-btn{width:100%;background:var(--primary-gradient);color:#fff;border:none;padding:10px 16px;border-radius:6px;cursor:pointer;font-size:.9rem;font-weight:500;transition:all .3s ease}.trending-products-report .trending-filter .filter-group .apply-btn:hover{transform:translateY(-1px);box-shadow:var(--shadow-sm)}.trending-products-report .trending-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:24px}.trending-products-report .trending-summary .summary-card{background:var(--bg-primary);padding:24px;border-radius:var(--border-radius);box-shadow:var(--shadow-sm);display:flex;align-items:center;gap:16px;border-left:4px solid;transition:all .3s ease}.trending-products-report .trending-summary .summary-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.trending-products-report .trending-summary .summary-card.products{border-left-color:#f59e0b;background:linear-gradient(135deg,var(--bg-primary) 0%,#fffbeb 100%)}.trending-products-report .trending-summary .summary-card.sales{border-left-color:#10b981;background:linear-gradient(135deg,var(--bg-primary) 0%,#ecfdf5 100%)}.trending-products-report .trending-summary .summary-card.quantity{border-left-color:#3b82f6;background:linear-gradient(135deg,var(--bg-primary) 0%,#eff6ff 100%)}.trending-products-report .trending-summary .summary-card.frequency{border-left-color:#8b5cf6;background:linear-gradient(135deg,var(--bg-primary) 0%,#faf5ff 100%)}.trending-products-report .trending-summary .summary-card .summary-icon{font-size:2.5rem;opacity:.8}.trending-products-report .trending-summary .summary-card .summary-content{flex:1}.trending-products-report .trending-summary .summary-card .summary-content h4{margin:0 0 8px;font-size:.9rem;color:var(--text-secondary);font-weight:600;text-transform:uppercase;letter-spacing:.5px}.trending-products-report .trending-summary .summary-card .summary-content .summary-value{font-size:1.5rem;font-weight:700;color:var(--text-primary);margin-bottom:4px}.trending-products-report .trending-summary .summary-card .summary-content .summary-label{font-size:.8rem;color:var(--text-muted);font-weight:500}.trending-products-report .trending-products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(380px,1fr));gap:20px;margin-bottom:24px}.trending-products-report .trending-charts .chart-row{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}@media (max-width: 1024px){.trending-products-report .trending-charts .chart-row{grid-template-columns:1fr}}.trending-product-card{background:var(--bg-primary);border-radius:var(--border-radius);padding:20px;box-shadow:var(--shadow-sm);border:1px solid var(--border-light);transition:all .3s ease;cursor:pointer;position:relative}.trending-product-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.trending-product-card .product-header{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}.trending-product-card .product-header .rank-badge .rank-1,.trending-product-card .product-header .rank-badge .rank-2,.trending-product-card .product-header .rank-badge .rank-3{font-size:1.5rem}.trending-product-card .product-header .rank-badge .rank-other{background:var(--bg-tertiary);color:var(--text-secondary);padding:6px 10px;border-radius:8px;font-size:.8rem;font-weight:700}.trending-product-card .product-header .product-info{flex:1}.trending-product-card .product-header .product-info .product-name{margin:0 0 4px;font-size:1.1rem;font-weight:600;color:var(--text-primary);line-height:1.3}.trending-product-card .product-header .product-info .product-category{background:var(--bg-secondary);color:var(--text-muted);padding:2px 8px;border-radius:6px;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;display:inline-block}.trending-product-card .sales-stats{margin-bottom:16px}.trending-product-card .sales-stats .stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.trending-product-card .sales-stats .stat-grid .stat-item{background:var(--bg-secondary);padding:10px;border-radius:6px;text-align:center}.trending-product-card .sales-stats .stat-grid .stat-item .stat-label{display:block;font-size:.7rem;color:var(--text-muted);margin-bottom:4px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.trending-product-card .sales-stats .stat-grid .stat-item .stat-value{display:block;font-size:.9rem;font-weight:700;color:var(--text-primary)}.trending-product-card .performance-metrics{margin-bottom:16px}.trending-product-card .performance-metrics .metric{margin-bottom:12px}.trending-product-card .performance-metrics .metric:last-child{margin-bottom:0}.trending-product-card .performance-metrics .metric .metric-label{display:block;font-size:.75rem;color:var(--text-muted);margin-bottom:6px;font-weight:500}.trending-product-card .performance-metrics .metric .metric-bar{background:var(--bg-tertiary);height:20px;border-radius:10px;position:relative;overflow:hidden;margin-bottom:4px}.trending-product-card .performance-metrics .metric .metric-bar .metric-fill{height:100%;background:linear-gradient(90deg,#10b981,#34d399);border-radius:10px;transition:width .3s ease}.trending-product-card .performance-metrics .metric .metric-bar .metric-value{position:absolute;right:8px;top:50%;transform:translateY(-50%);color:var(--text-primary);font-size:.7rem;font-weight:600}.trending-product-card .performance-metrics .metric .metric-value{font-size:.8rem;font-weight:600;color:var(--text-primary)}.trending-product-card .product-footer .sale-dates{display:flex;justify-content:space-between;font-size:.7rem;color:var(--text-muted)}.trending-product-card .product-footer .sale-dates span{background:var(--bg-secondary);padding:4px 8px;border-radius:6px}.revenue-bars .bar-item{display:flex;align-items:center;margin-bottom:12px}.revenue-bars .bar-item .bar-label{width:150px;font-size:.8rem;color:var(--text-secondary);font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.revenue-bars .bar-item .bar-track{flex:1;background:var(--bg-tertiary);height:28px;border-radius:14px;position:relative;overflow:hidden}.revenue-bars .bar-item .bar-fill.revenue{height:100%;background:linear-gradient(90deg,#10b981,#34d399);border-radius:14px;position:relative;transition:width .3s ease}.revenue-bars .bar-item .bar-fill.revenue .bar-value{position:absolute;right:8px;top:50%;transform:translateY(-50%);color:#fff;font-size:.75rem;font-weight:600;text-shadow:0 1px 2px rgba(0,0,0,.3)}.performance-grid .performance-item{background:var(--bg-secondary);padding:12px;border-radius:8px;margin-bottom:8px}.performance-grid .performance-item .product-name{font-size:.8rem;font-weight:600;color:var(--text-primary);margin-bottom:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.performance-grid .performance-item .metrics-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}.performance-grid .performance-item .metrics-row .metric-box{background:var(--bg-primary);padding:6px;border-radius:4px;text-align:center}.performance-grid .performance-item .metrics-row .metric-box .metric-label{display:block;font-size:.6rem;color:var(--text-muted);margin-bottom:2px;font-weight:600;text-transform:uppercase}.performance-grid .performance-item .metrics-row .metric-box .metric-value{display:block;font-size:.7rem;font-weight:700;color:var(--text-primary)}@media (max-width: 768px){.trending-products-report .trending-products-grid,.trending-products-report .trending-charts .chart-row,.trending-products-report .trending-product-card .sales-stats .stat-grid{grid-template-columns:1fr}}.daily-sales-report .daily-sales-filter{background:var(--bg-primary);padding:24px;border-radius:var(--border-radius);box-shadow:var(--shadow-md);margin-bottom:24px;border:1px solid var(--border-light)}.daily-sales-report .daily-sales-filter .filter-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.daily-sales-report .daily-sales-filter .filter-header .export-btn{background:var(--success-color);color:#fff;border:none;padding:10px 20px;border-radius:6px;cursor:pointer;font-size:.9rem;font-weight:600;display:flex;align-items:center;gap:8px;transition:all .3s ease}.daily-sales-report .daily-sales-filter .filter-header .export-btn:hover{background:#059669;transform:translateY(-1px);box-shadow:var(--shadow-sm)}.daily-sales-report .daily-sales-filter .filter-header .export-btn:active{transform:translateY(0)}.daily-sales-report .daily-sales-filter .filter-header h3{margin:0 0 8px;color:var(--text-primary);font-size:1.3rem;font-weight:600}.daily-sales-report .daily-sales-filter .filter-header p{margin:0;color:var(--text-muted);font-size:.9rem}.daily-sales-report .daily-sales-filter .filter-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;align-items:end}@media (max-width: 768px){.daily-sales-report .daily-sales-filter .filter-controls{grid-template-columns:1fr}}.daily-sales-report .daily-sales-filter .filter-group label{display:block;margin-bottom:6px;font-weight:500;color:var(--text-primary);font-size:.85rem}.daily-sales-report .daily-sales-filter .filter-group input,.daily-sales-report .daily-sales-filter .filter-group select{width:100%;padding:10px 12px;border:1px solid var(--border-medium);border-radius:6px;background:var(--bg-primary);color:var(--text-primary);font-size:.9rem}.daily-sales-report .daily-sales-filter .filter-group input:focus,.daily-sales-report .daily-sales-filter .filter-group select:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #667eea1a}.daily-sales-report .daily-sales-filter .filter-group .quick-dates .date-buttons{display:flex;gap:8px;margin-top:8px}.daily-sales-report .daily-sales-filter .filter-group .quick-dates .date-buttons button{flex:1;padding:8px 12px;border:1px solid var(--border-medium);background:var(--bg-primary);color:var(--text-secondary);border-radius:6px;cursor:pointer;font-size:.8rem;font-weight:500;transition:all .3s ease}.daily-sales-report .daily-sales-filter .filter-group .quick-dates .date-buttons button:hover{border-color:var(--primary-color);color:var(--primary-color)}.daily-sales-report .daily-sales-filter .filter-group .quick-dates .date-buttons button.active{background:var(--primary-color);color:#fff;border-color:var(--primary-color)}.daily-sales-report .daily-sales-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:24px}.daily-sales-report .daily-sales-summary .summary-card{background:var(--bg-primary);padding:20px;border-radius:var(--border-radius);box-shadow:var(--shadow-sm);display:flex;align-items:center;gap:12px;border-left:4px solid;transition:all .3s ease}.daily-sales-report .daily-sales-summary .summary-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.daily-sales-report .daily-sales-summary .summary-card.total-sales{border-left-color:#10b981}.daily-sales-report .daily-sales-summary .summary-card.total-orders{border-left-color:#3b82f6}.daily-sales-report .daily-sales-summary .summary-card.total-items{border-left-color:#8b5cf6}.daily-sales-report .daily-sales-summary .summary-card.average-order{border-left-color:#f59e0b}.daily-sales-report .daily-sales-summary .summary-card.tax-collected{border-left-color:#ef4444}.daily-sales-report .daily-sales-summary .summary-card.discount-given{border-left-color:#06b6d4}.daily-sales-report .daily-sales-summary .summary-card .summary-icon{font-size:2rem;opacity:.8}.daily-sales-report .daily-sales-summary .summary-card .summary-content{flex:1}.daily-sales-report .daily-sales-summary .summary-card .summary-content h4{margin:0 0 6px;font-size:.8rem;color:var(--text-secondary);font-weight:600;text-transform:uppercase;letter-spacing:.5px}.daily-sales-report .daily-sales-summary .summary-card .summary-content .summary-value{font-size:1.3rem;font-weight:700;color:var(--text-primary);margin-bottom:2px}.daily-sales-report .daily-sales-summary .summary-card .summary-content .summary-label{font-size:.75rem;color:var(--text-muted);font-weight:500}.daily-sales-report .sales-overview{margin-bottom:24px}.daily-sales-report .sales-overview .sales-cards{display:grid;grid-template-columns:1fr 1fr;gap:24px}@media (max-width: 1024px){.daily-sales-report .sales-overview .sales-cards{grid-template-columns:1fr}}.daily-sales-report .sales-overview .sales-list h3{margin:0 0 16px;color:var(--text-primary);font-size:1.2rem;font-weight:600}.daily-sales-report .products-section{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:24px}@media (max-width: 768px){.daily-sales-report .products-section{grid-template-columns:1fr}}.sales-card{background:var(--bg-primary);border-radius:var(--border-radius);padding:16px;box-shadow:var(--shadow-sm);border:1px solid var(--border-light);transition:all .3s ease;cursor:pointer;margin-bottom:12px}.sales-card:hover{transform:translateY(-1px);box-shadow:var(--shadow-md)}.sales-card .sale-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid var(--border-light)}.sales-card .sale-header .sale-info .invoice-number{margin:0 0 4px;font-size:1rem;font-weight:600;color:var(--text-primary)}.sales-card .sale-header .sale-info .customer-name{font-size:.85rem;color:var(--text-secondary);font-weight:500}.sales-card .sale-header .sale-amount{text-align:right}.sales-card .sale-header .sale-amount .amount{font-size:1.2rem;font-weight:700;color:var(--primary-color);margin-bottom:4px}.sales-card .sale-header .sale-amount .payment-type{background:var(--bg-tertiary);color:var(--text-muted);padding:2px 6px;border-radius:4px;font-size:.7rem;font-weight:600;text-transform:uppercase}.sales-card .sale-details{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}.sales-card .sale-details .detail-item{display:flex;justify-content:space-between;align-items:center;font-size:.8rem}.sales-card .sale-details .detail-item .label{color:var(--text-muted);font-weight:500}.sales-card .sale-details .detail-item .value{color:var(--text-primary);font-weight:600}.sales-card .sale-products .products-preview{display:flex;flex-wrap:wrap;gap:6px}.sales-card .sale-products .products-preview .product-tag{background:var(--bg-secondary);padding:4px 8px;border-radius:4px;font-size:.75rem;display:flex;align-items:center;gap:4px}.sales-card .sale-products .products-preview .product-tag .product-name{color:var(--text-primary);font-weight:500;max-width:80px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sales-card .sale-products .products-preview .product-tag .product-qty{color:var(--text-muted);font-weight:600}.sales-card .sale-products .products-preview .more-products{background:var(--bg-tertiary);color:var(--text-muted);padding:4px 8px;border-radius:4px;font-size:.75rem;font-weight:600}.hourly-bars{display:flex;align-items:end;gap:8px;height:200px;padding:20px 0}.hourly-bars .hour-bar{flex:1;display:flex;flex-direction:column;align-items:center;height:100%}.hourly-bars .hour-bar .hour-label{font-size:.7rem;color:var(--text-muted);margin-bottom:8px;font-weight:500}.hourly-bars .hour-bar .bar-track{flex:1;width:100%;background:var(--bg-tertiary);border-radius:4px 4px 0 0;position:relative;display:flex;align-items:end}.hourly-bars .hour-bar .bar-fill.sales{width:100%;background:linear-gradient(to top,#10b981,#34d399);border-radius:4px 4px 0 0;position:relative;transition:height .3s ease}.hourly-bars .hour-bar .bar-fill.sales .bar-value{position:absolute;top:-20px;left:50%;transform:translate(-50%);font-size:.7rem;font-weight:600;color:var(--text-primary);white-space:nowrap}.hourly-bars .hour-bar .hour-orders{font-size:.7rem;color:var(--text-muted);margin-top:4px;text-align:center}.payment-methods .payment-item{margin-bottom:12px}.payment-methods .payment-item .payment-info{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.payment-methods .payment-item .payment-info .method-name{font-size:.8rem;font-weight:600;color:var(--text-primary)}.payment-methods .payment-item .payment-info .method-count{font-size:.75rem;color:var(--text-muted)}.payment-methods .payment-item .payment-bar{background:var(--bg-tertiary);height:20px;border-radius:10px;position:relative;overflow:hidden}.payment-methods .payment-item .payment-bar .method-fill{height:100%;background:linear-gradient(90deg,#3b82f6,#60a5fa);border-radius:10px;transition:width .3s ease}.payment-methods .payment-item .payment-bar .method-percentage{position:absolute;right:8px;top:50%;transform:translateY(-50%);font-size:.7rem;font-weight:600;color:var(--text-primary)}.top-products-widget,.category-breakdown-widget{background:var(--bg-primary);border-radius:var(--border-radius);box-shadow:var(--shadow-sm);border:1px solid var(--border-light)}.top-products-widget .widget-header,.category-breakdown-widget .widget-header{padding:16px 20px;border-bottom:1px solid var(--border-light)}.top-products-widget .widget-header h3,.category-breakdown-widget .widget-header h3{margin:0;font-size:1.1rem;font-weight:600;color:var(--text-primary)}.top-products-widget .widget-content,.category-breakdown-widget .widget-content{padding:16px 20px}.top-product-item{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--border-light)}.top-product-item:last-child{border-bottom:none}.top-product-item .product-rank{background:var(--bg-tertiary);color:var(--text-secondary);width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.7rem;font-weight:700}.top-product-item .product-info{flex:1}.top-product-item .product-info .product-name{font-size:.9rem;font-weight:600;color:var(--text-primary);margin-bottom:2px}.top-product-item .product-info .product-category{font-size:.75rem;color:var(--text-muted)}.top-product-item .product-sales{text-align:right}.top-product-item .product-sales .sales-quantity{font-size:.8rem;font-weight:600;color:var(--text-primary);margin-bottom:2px}.top-product-item .product-sales .sales-revenue{font-size:.75rem;color:var(--text-muted)}.category-item{padding:12px 0;border-bottom:1px solid var(--border-light)}.category-item:last-child{border-bottom:none}.category-item .category-info{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.category-item .category-info .category-name{font-size:.9rem;font-weight:600;color:var(--text-primary)}.category-item .category-info .category-sales{font-size:.85rem;font-weight:700;color:var(--primary-color)}.category-item .category-details{display:flex;justify-content:space-between;font-size:.75rem;color:var(--text-muted)}.category-item .category-details .category-qty,.category-item .category-details .category-products{font-weight:500}@media (max-width: 768px){.daily-sales-report .sales-overview .sales-cards,.daily-sales-report .products-section,.daily-sales-report .sales-card .sale-details{grid-template-columns:1fr}.daily-sales-report .hourly-bars{overflow-x:auto}.daily-sales-report .hourly-bars .hour-bar{min-width:40px}}.disposed-section{background:var(--bg-primary);border-radius:var(--border-radius);padding:24px;margin-bottom:20px;margin-top:40px;box-shadow:var(--shadow-md);border:1px solid var(--border-light)}.disposed-section .section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:12px;border-bottom:2px solid var(--border-light)}.disposed-section .section-header .section-title{font-size:1.4rem;font-weight:600;color:var(--text-primary)}.disposed-section .section-header .section-badge{background:var(--danger-gradient);color:#fff;padding:4px 12px;border-radius:20px;font-size:.8rem;font-weight:600}.disposed-section .disposed-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px}.disposed-product-card{background:var(--bg-secondary);border:1px solid #fed7d7;border-radius:var(--border-radius);padding:16px;transition:all .3s ease;position:relative;overflow:hidden}.disposed-product-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg);border-color:#feb2b2}.disposed-product-card .product-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}.disposed-product-card .product-header .product-name{font-size:1.1rem;font-weight:600;color:var(--text-primary);margin:0}.disposed-product-card .product-header .status-badge.disposed{background:var(--danger-gradient);color:#fff;padding:4px 8px;border-radius:6px;font-size:.7rem;font-weight:600;text-transform:uppercase}.disposed-product-card .product-details .detail-row{display:flex;justify-content:space-between;align-items:center;padding:6px 0;border-bottom:1px solid #feebeb}.disposed-product-card .product-details .detail-row:last-child{border-bottom:none}.disposed-product-card .product-details .detail-row span:first-child{font-weight:500;color:var(--text-secondary)}.disposed-product-card .product-details .detail-row span:last-child{font-weight:600;color:var(--text-primary)}.disposed-product-card .product-details .detail-row .quantity.disposed{color:#e53e3e;font-weight:700}.disposed-product-card .product-details .detail-row .status{padding:2px 8px;border-radius:4px;font-size:.7rem;font-weight:600;text-transform:uppercase}.disposed-product-card .product-details .detail-row .status.in-stock{background:#c6f6d5;color:#22543d}.disposed-product-card .product-details .detail-row .status.low-stock{background:#fefcbf;color:#744210}.disposed-product-card .product-details .detail-row .status.out-of-stock{background:#fed7d7;color:#742a2a}.disposed-product-card .disposal-reasons{margin-top:12px;padding-top:12px;border-top:1px solid #feebeb}.disposed-product-card .disposal-reasons h5{font-size:.9rem;font-weight:600;color:var(--text-primary);margin-bottom:8px}.disposed-product-card .disposal-reasons .reason-item{display:flex;justify-content:space-between;align-items:center;padding:6px 0;font-size:.8rem}.disposed-product-card .disposal-reasons .reason-item .batch-number{font-weight:600;color:var(--text-primary);background:#fff5f5;padding:2px 6px;border-radius:4px}.disposed-product-card .disposal-reasons .reason-item .reason{color:var(--text-secondary);font-style:italic}.disposed-product-card .disposal-reasons .reason-item .disposal-date{color:#e53e3e;font-weight:500}.disposed-product-card .disposal-reasons .more-reasons{text-align:center;color:var(--text-muted);font-size:.8rem;font-style:italic;margin-top:6px}.disposed-product-card .view-details-btn{width:100%;margin-top:12px;padding:8px 16px;background:var(--danger-gradient);color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:.8rem;font-weight:600;transition:all .3s ease}.disposed-product-card .view-details-btn:hover{transform:translateY(-1px);box-shadow:var(--shadow-sm)}.disposal-details-modal{padding:20px}.disposal-details-modal .product-header-details{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;padding-bottom:16px;border-bottom:2px solid #fed7d7}.disposal-details-modal .product-header-details h3{font-size:1.5rem;font-weight:700;color:var(--text-primary);margin:0}.disposal-details-modal .product-header-details .status-badge.large.disposed{background:var(--danger-gradient);color:#fff;padding:8px 16px;border-radius:8px;font-size:.9rem;font-weight:600;text-transform:uppercase}.disposal-details-modal .disposal-info-sections{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:24px}.disposal-details-modal .disposal-info-sections .info-section{background:var(--bg-secondary);border-radius:var(--border-radius);padding:16px;border:1px solid #fed7d7}.disposal-details-modal .disposal-info-sections .info-section h4{font-size:1.1rem;font-weight:600;color:var(--text-primary);margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid #fed7d7}.disposal-details-modal .disposal-info-sections .info-section .info-grid{display:flex;flex-direction:column;gap:10px}.disposal-details-modal .disposal-info-sections .info-section .info-grid .info-item{display:flex;justify-content:space-between;align-items:center;padding:6px 0}.disposal-details-modal .disposal-info-sections .info-section .info-grid .info-item .label{font-weight:500;color:var(--text-secondary);font-size:.9rem}.disposal-details-modal .disposal-info-sections .info-section .info-grid .info-item .value{font-weight:600;color:var(--text-primary);font-size:.9rem}.disposal-details-modal .disposal-info-sections .info-section .info-grid .info-item .value.disposed-quantity{color:#e53e3e;font-weight:700}.disposal-details-modal .disposal-info-sections .info-section .info-grid .info-item .value.financial-impact{color:#d69e2e;font-weight:700}.disposal-details-modal .disposal-batch-section{margin-top:24px}.disposal-details-modal .disposal-batch-section h4{font-size:1.2rem;font-weight:600;color:var(--text-primary);margin-bottom:16px;padding-bottom:8px;border-bottom:2px solid #fed7d7}.disposal-details-modal .disposal-batch-section .disposed-batches-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;margin-bottom:20px}.disposal-details-modal .disposal-batch-section .disposed-batch-card{background:#fff5f5;border:1px solid #fed7d7;border-radius:8px;padding:16px;transition:all .3s ease}.disposal-details-modal .disposal-batch-section .disposed-batch-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.disposal-details-modal .disposal-batch-section .disposed-batch-card .batch-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid #fed7d7}.disposal-details-modal .disposal-batch-section .disposed-batch-card .batch-header .batch-number{font-weight:700;color:var(--text-primary);background:#fed7d7;padding:4px 8px;border-radius:4px;font-size:.9rem}.disposal-details-modal .disposal-batch-section .disposed-batch-card .batch-header .disposal-status{background:var(--danger-gradient);color:#fff;padding:4px 8px;border-radius:4px;font-size:.7rem;font-weight:600;text-transform:uppercase}.disposal-details-modal .disposal-batch-section .disposed-batch-card .batch-details .detail-item{display:flex;justify-content:space-between;align-items:center;padding:4px 0;font-size:.85rem}.disposal-details-modal .disposal-batch-section .disposed-batch-card .batch-details .detail-item:not(:last-child){border-bottom:1px solid #feebeb}.disposal-details-modal .disposal-batch-section .disposed-batch-card .batch-details .detail-item .label{color:var(--text-secondary);font-weight:500}.disposal-details-modal .disposal-batch-section .disposed-batch-card .batch-details .detail-item .value{font-weight:600;color:var(--text-primary)}.disposal-details-modal .disposal-batch-section .disposed-batch-card .batch-details .detail-item .value.disposed-quantity{color:#e53e3e}.disposal-details-modal .disposal-batch-section .disposed-batch-card .batch-details .detail-item .value.financial-impact{color:#d69e2e;font-size:.9rem}.disposal-details-modal .disposal-batch-section .disposed-batch-card .disposal-reason{margin-top:8px;padding:8px;background:#fff;border-radius:4px;border-left:4px solid #e53e3e}.disposal-details-modal .disposal-batch-section .disposed-batch-card .disposal-reason .reason-label{font-weight:600;color:var(--text-secondary);font-size:.8rem;margin-bottom:4px}.disposal-details-modal .disposal-batch-section .disposed-batch-card .disposal-reason .reason-text{color:var(--text-primary);font-size:.85rem;font-style:italic}.all-disposed-modal{padding:20px}.all-disposed-modal .modal-header-section{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;padding-bottom:16px;border-bottom:2px solid #fed7d7}.all-disposed-modal .modal-header-section h3{font-size:1.4rem;font-weight:700;color:var(--text-primary);margin:0}.all-disposed-modal .modal-header-section .total-disposed-badge{background:var(--danger-gradient);color:#fff;padding:8px 16px;border-radius:20px;font-size:.9rem;font-weight:600}.all-disposed-modal .disposed-products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:20px;margin-bottom:24px}.all-disposed-modal .disposed-product-summary-card{background:var(--bg-primary);border:1px solid #fed7d7;border-radius:var(--border-radius);padding:16px;transition:all .3s ease;cursor:pointer}.all-disposed-modal .disposed-product-summary-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg);border-color:#feb2b2}.all-disposed-modal .disposed-product-summary-card .product-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}.all-disposed-modal .disposed-product-summary-card .product-header .product-name{font-size:1.1rem;font-weight:600;color:var(--text-primary);margin:0}.all-disposed-modal .disposed-product-summary-card .product-header .disposal-count{background:#e53e3e;color:#fff;padding:4px 8px;border-radius:12px;font-size:.7rem;font-weight:600}.all-disposed-modal .disposed-product-summary-card .product-category{color:var(--text-secondary);font-size:.9rem;margin-bottom:8px}.all-disposed-modal .disposed-product-summary-card .disposal-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}.all-disposed-modal .disposed-product-summary-card .disposal-stats .stat{text-align:center;padding:8px;background:#fff5f5;border-radius:6px}.all-disposed-modal .disposed-product-summary-card .disposal-stats .stat .stat-value{font-size:1.1rem;font-weight:700;color:#e53e3e;display:block}.all-disposed-modal .disposed-product-summary-card .disposal-stats .stat .stat-label{font-size:.7rem;color:var(--text-secondary);text-transform:uppercase}.all-disposed-modal .disposed-product-summary-card .last-disposal{text-align:center;padding:8px;background:#feebeb;border-radius:6px;font-size:.8rem;color:#742a2a}.all-disposed-modal .disposed-product-summary-card .last-disposal .date{font-weight:600}.data-table .disposed-row{background-color:#fff5f5!important}.data-table .disposed-row:hover{background-color:#fed7d7!important}.data-table .disposed-row td{color:#742a2a!important;border-color:#fed7d7!important}.data-table .disposed-row .status-badge.disposed{background:linear-gradient(135deg,#e53e3e 0%,#c53030 100%)!important;color:#fff!important;font-weight:600}@media (max-width: 768px){.disposal-details-modal .disposal-info-sections{grid-template-columns:1fr}.disposal-details-modal .disposed-batches-grid,.all-disposed-modal .disposed-products-grid{grid-template-columns:1fr!important}}.category-details-modal{padding:20px}.category-details-modal .category-header-details{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;padding-bottom:15px;border-bottom:2px solid #e2e8f0}.category-details-modal .category-header-details h3{margin:0;color:#2d3748;font-size:24px;font-weight:600}.category-details-modal .category-header-details .product-count{background:#4299e1;color:#fff;padding:6px 12px;border-radius:20px;font-size:14px;font-weight:500}.category-details-modal .category-info-sections{display:flex;flex-direction:column;gap:25px}.category-details-modal .info-section{background:white;border-radius:12px;padding:20px;box-shadow:0 2px 10px #00000014;border:1px solid #e2e8f0}.category-details-modal .info-section h4{margin:0 0 15px;color:#4a5568;font-size:18px;font-weight:600;border-bottom:1px solid #e2e8f0;padding-bottom:8px}.category-details-modal .info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px}.category-details-modal .info-item{display:flex;justify-content:space-between;align-items:center;padding:12px 0}.category-details-modal .info-item .label{color:#718096;font-weight:500;font-size:14px}.category-details-modal .info-item .value{color:#2d3748;font-weight:600;font-size:16px}.category-details-modal .info-item .value.growth,.category-details-modal .info-item .value.in-stock{color:#38a169}.category-details-modal .info-item .value.low-stock{color:#ed8936}.category-details-modal .info-item .value.out-of-stock{color:#e53e3e}@media (max-width: 768px){.category-details-modal{padding:15px}.category-details-modal .category-header-details{flex-direction:column;align-items:flex-start;gap:10px}.category-details-modal .info-grid{grid-template-columns:1fr}}.modal-trend-analysis{padding:30px}.modal-trend-analysis .trend-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-bottom:30px}.modal-trend-analysis .trend-stats .stat-card{background:white;padding:20px;border-radius:8px;border-left:4px solid #667eea;box-shadow:0 2px 10px #0000001a}.modal-trend-analysis .trend-stats .stat-card .stat-label{font-size:.9rem;color:#64748b;margin-bottom:8px}.modal-trend-analysis .trend-stats .stat-card .stat-value{font-size:1.5rem;font-weight:700;color:#1e293b}.modal-trend-analysis .trend-table{background:white;border-radius:8px;overflow:hidden;box-shadow:0 2px 10px #0000001a}.modal-trend-analysis .trend-table table{width:100%;border-collapse:collapse}.modal-trend-analysis .trend-table table th{background:#f8fafc;padding:12px 16px;text-align:left;font-weight:600;color:#334155;border-bottom:1px solid #e2e8f0}.modal-trend-analysis .trend-table table td{padding:12px 16px;border-bottom:1px solid #f1f5f9;color:#475569}.modal-trend-analysis .trend-table table tr:hover{background:#f8fafc}.modal-full-data{padding:30px}.modal-full-data .data-summary{margin-bottom:20px;padding:15px;background:#f0f9ff;border-radius:8px;border-left:4px solid #0ea5e9}.modal-full-data .data-summary .summary-text{color:#0369a1;font-weight:500}.modal-full-data .data-summary .summary-text .highlight{font-weight:700;color:#0c4a6e}.modal-full-data .search-section{margin-bottom:20px}.modal-full-data .search-section .search-input{width:100%;padding:12px 16px;border:2px solid #e2e8f0;border-radius:8px;font-size:1rem}.modal-full-data .search-section .search-input:focus{outline:none;border-color:#667eea}.modal-full-data .search-section .search-results{margin-top:8px;color:#64748b;font-size:.9rem}.modal-full-data .full-data-table{background:white;border-radius:8px;overflow:hidden;box-shadow:0 2px 10px #0000001a}.modal-full-data .full-data-table table{width:100%;border-collapse:collapse}.modal-full-data .full-data-table table th{background:#f8fafc;padding:14px 16px;text-align:left;font-weight:600;color:#334155;border-bottom:2px solid #e2e8f0;position:sticky;top:0}.modal-full-data .full-data-table table td{padding:12px 16px;border-bottom:1px solid #f1f5f9;color:#475569}.modal-full-data .full-data-table table tr:hover{background:#f8fafc}.modal-full-data .full-data-table table .status-badge{padding:4px 8px;border-radius:4px;font-size:.8rem;font-weight:600}.modal-full-data .full-data-table table .status-badge.in-stock{background:#dcfce7;color:#166534}.modal-full-data .full-data-table table .status-badge.low-stock{background:#fef3c7;color:#92400e}.modal-full-data .full-data-table table .status-badge.out-of-stock{background:#fee2e2;color:#991b1b}.modal-full-data .full-data-table table .status-badge.disposed{background:#f3f4f6;color:#374151}.modal-full-data .full-data-table table .product-name{font-weight:600;color:#1e293b}.modal-full-data .full-data-table table .category-name{font-weight:600;color:#7c3aed}.modal-full-data .full-data-table table .invoice-number{font-family:monospace;font-weight:600}.modal-full-data .full-data-table table .amount{font-weight:600;color:#059669}.modal-full-data .full-data-table table .expired-count{color:#dc2626;font-weight:600}.modal-full-data .full-data-table table .near-expiry-count{color:#d97706;font-weight:600}.modal-full-data .full-data-table table .disposed-count{color:#6b7280;font-weight:600}.modal-full-data .table-pagination{display:flex;justify-content:space-between;align-items:center;margin-top:20px;padding:15px;background:#f8fafc;border-radius:8px}.modal-full-data .table-pagination .pagination-info{color:#64748b;font-size:.9rem}.modal-full-data .table-pagination .pagination-controls{display:flex;gap:8px}.modal-full-data .table-pagination .pagination-controls button{padding:8px 12px;border:1px solid #d1d5db;background:white;border-radius:6px;cursor:pointer;transition:all .2s}.modal-full-data .table-pagination .pagination-controls button:hover:not(:disabled){background:#f3f4f6;border-color:#9ca3af}.modal-full-data .table-pagination .pagination-controls button:disabled{opacity:.5;cursor:not-allowed}.modal-full-data .table-pagination .pagination-controls button.active{background:#667eea;color:#fff;border-color:#667eea}.category-details-modal,.sale-details-modal,.disposal-details-modal{padding:30px}.category-details-modal .category-header-details,.category-details-modal .sale-header-details,.category-details-modal .product-header-details,.sale-details-modal .category-header-details,.sale-details-modal .sale-header-details,.sale-details-modal .product-header-details,.disposal-details-modal .category-header-details,.disposal-details-modal .sale-header-details,.disposal-details-modal .product-header-details{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;padding-bottom:20px;border-bottom:2px solid #f1f5f9}.category-details-modal .category-header-details h3,.category-details-modal .sale-header-details h3,.category-details-modal .product-header-details h3,.sale-details-modal .category-header-details h3,.sale-details-modal .sale-header-details h3,.sale-details-modal .product-header-details h3,.disposal-details-modal .category-header-details h3,.disposal-details-modal .sale-header-details h3,.disposal-details-modal .product-header-details h3{margin:0;color:#1e293b;font-size:1.5rem}.category-details-modal .category-header-details .status-badge,.category-details-modal .category-header-details .payment-badge,.category-details-modal .sale-header-details .status-badge,.category-details-modal .sale-header-details .payment-badge,.category-details-modal .product-header-details .status-badge,.category-details-modal .product-header-details .payment-badge,.sale-details-modal .category-header-details .status-badge,.sale-details-modal .category-header-details .payment-badge,.sale-details-modal .sale-header-details .status-badge,.sale-details-modal .sale-header-details .payment-badge,.sale-details-modal .product-header-details .status-badge,.sale-details-modal .product-header-details .payment-badge,.disposal-details-modal .category-header-details .status-badge,.disposal-details-modal .category-header-details .payment-badge,.disposal-details-modal .sale-header-details .status-badge,.disposal-details-modal .sale-header-details .payment-badge,.disposal-details-modal .product-header-details .status-badge,.disposal-details-modal .product-header-details .payment-badge{padding:8px 16px;border-radius:20px;font-weight:600;font-size:.9rem}.category-details-modal .category-header-details .status-badge.large,.category-details-modal .category-header-details .payment-badge.large,.category-details-modal .sale-header-details .status-badge.large,.category-details-modal .sale-header-details .payment-badge.large,.category-details-modal .product-header-details .status-badge.large,.category-details-modal .product-header-details .payment-badge.large,.sale-details-modal .category-header-details .status-badge.large,.sale-details-modal .category-header-details .payment-badge.large,.sale-details-modal .sale-header-details .status-badge.large,.sale-details-modal .sale-header-details .payment-badge.large,.sale-details-modal .product-header-details .status-badge.large,.sale-details-modal .product-header-details .payment-badge.large,.disposal-details-modal .category-header-details .status-badge.large,.disposal-details-modal .category-header-details .payment-badge.large,.disposal-details-modal .sale-header-details .status-badge.large,.disposal-details-modal .sale-header-details .payment-badge.large,.disposal-details-modal .product-header-details .status-badge.large,.disposal-details-modal .product-header-details .payment-badge.large{padding:10px 20px;font-size:1rem}.category-details-modal .category-header-details .status-badge.disposed,.category-details-modal .category-header-details .payment-badge.disposed,.category-details-modal .sale-header-details .status-badge.disposed,.category-details-modal .sale-header-details .payment-badge.disposed,.category-details-modal .product-header-details .status-badge.disposed,.category-details-modal .product-header-details .payment-badge.disposed,.sale-details-modal .category-header-details .status-badge.disposed,.sale-details-modal .category-header-details .payment-badge.disposed,.sale-details-modal .sale-header-details .status-badge.disposed,.sale-details-modal .sale-header-details .payment-badge.disposed,.sale-details-modal .product-header-details .status-badge.disposed,.sale-details-modal .product-header-details .payment-badge.disposed,.disposal-details-modal .category-header-details .status-badge.disposed,.disposal-details-modal .category-header-details .payment-badge.disposed,.disposal-details-modal .sale-header-details .status-badge.disposed,.disposal-details-modal .sale-header-details .payment-badge.disposed,.disposal-details-modal .product-header-details .status-badge.disposed,.disposal-details-modal .product-header-details .payment-badge.disposed{background:#f3f4f6;color:#374151}.category-details-modal .category-header-details .status-badge.cash,.category-details-modal .category-header-details .payment-badge.cash,.category-details-modal .sale-header-details .status-badge.cash,.category-details-modal .sale-header-details .payment-badge.cash,.category-details-modal .product-header-details .status-badge.cash,.category-details-modal .product-header-details .payment-badge.cash,.sale-details-modal .category-header-details .status-badge.cash,.sale-details-modal .category-header-details .payment-badge.cash,.sale-details-modal .sale-header-details .status-badge.cash,.sale-details-modal .sale-header-details .payment-badge.cash,.sale-details-modal .product-header-details .status-badge.cash,.sale-details-modal .product-header-details .payment-badge.cash,.disposal-details-modal .category-header-details .status-badge.cash,.disposal-details-modal .category-header-details .payment-badge.cash,.disposal-details-modal .sale-header-details .status-badge.cash,.disposal-details-modal .sale-header-details .payment-badge.cash,.disposal-details-modal .product-header-details .status-badge.cash,.disposal-details-modal .product-header-details .payment-badge.cash{background:#dcfce7;color:#166534}.category-details-modal .category-header-details .status-badge.card,.category-details-modal .category-header-details .payment-badge.card,.category-details-modal .sale-header-details .status-badge.card,.category-details-modal .sale-header-details .payment-badge.card,.category-details-modal .product-header-details .status-badge.card,.category-details-modal .product-header-details .payment-badge.card,.sale-details-modal .category-header-details .status-badge.card,.sale-details-modal .category-header-details .payment-badge.card,.sale-details-modal .sale-header-details .status-badge.card,.sale-details-modal .sale-header-details .payment-badge.card,.sale-details-modal .product-header-details .status-badge.card,.sale-details-modal .product-header-details .payment-badge.card,.disposal-details-modal .category-header-details .status-badge.card,.disposal-details-modal .category-header-details .payment-badge.card,.disposal-details-modal .sale-header-details .status-badge.card,.disposal-details-modal .sale-header-details .payment-badge.card,.disposal-details-modal .product-header-details .status-badge.card,.disposal-details-modal .product-header-details .payment-badge.card{background:#dbeafe;color:#1e40af}.category-details-modal .category-header-details .status-badge.upi,.category-details-modal .category-header-details .payment-badge.upi,.category-details-modal .sale-header-details .status-badge.upi,.category-details-modal .sale-header-details .payment-badge.upi,.category-details-modal .product-header-details .status-badge.upi,.category-details-modal .product-header-details .payment-badge.upi,.sale-details-modal .category-header-details .status-badge.upi,.sale-details-modal .category-header-details .payment-badge.upi,.sale-details-modal .sale-header-details .status-badge.upi,.sale-details-modal .sale-header-details .payment-badge.upi,.sale-details-modal .product-header-details .status-badge.upi,.sale-details-modal .product-header-details .payment-badge.upi,.disposal-details-modal .category-header-details .status-badge.upi,.disposal-details-modal .category-header-details .payment-badge.upi,.disposal-details-modal .sale-header-details .status-badge.upi,.disposal-details-modal .sale-header-details .payment-badge.upi,.disposal-details-modal .product-header-details .status-badge.upi,.disposal-details-modal .product-header-details .payment-badge.upi{background:#f3e8ff;color:#7c3aed}.category-details-modal .info-sections,.sale-details-modal .info-sections,.disposal-details-modal .info-sections{display:flex;flex-direction:column;gap:25px}.category-details-modal .info-section h4,.sale-details-modal .info-section h4,.disposal-details-modal .info-section h4{margin:0 0 15px;color:#334155;font-size:1.1rem;padding-bottom:8px;border-bottom:1px solid #e2e8f0}.category-details-modal .info-section .info-grid,.sale-details-modal .info-section .info-grid,.disposal-details-modal .info-section .info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:15px}.category-details-modal .info-section .info-grid .info-item,.sale-details-modal .info-section .info-grid .info-item,.disposal-details-modal .info-section .info-grid .info-item{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #f8fafc}.category-details-modal .info-section .info-grid .info-item .label,.sale-details-modal .info-section .info-grid .info-item .label,.disposal-details-modal .info-section .info-grid .info-item .label{color:#64748b;font-weight:500}.category-details-modal .info-section .info-grid .info-item .value,.sale-details-modal .info-section .info-grid .info-item .value,.disposal-details-modal .info-section .info-grid .info-item .value{color:#1e293b;font-weight:600}.category-details-modal .info-section .info-grid .info-item .value.growth,.sale-details-modal .info-section .info-grid .info-item .value.growth,.disposal-details-modal .info-section .info-grid .info-item .value.growth,.category-details-modal .info-section .info-grid .info-item .value.in-stock,.sale-details-modal .info-section .info-grid .info-item .value.in-stock,.disposal-details-modal .info-section .info-grid .info-item .value.in-stock{color:#059669}.category-details-modal .info-section .info-grid .info-item .value.low-stock,.sale-details-modal .info-section .info-grid .info-item .value.low-stock,.disposal-details-modal .info-section .info-grid .info-item .value.low-stock{color:#d97706}.category-details-modal .info-section .info-grid .info-item .value.out-of-stock,.sale-details-modal .info-section .info-grid .info-item .value.out-of-stock,.disposal-details-modal .info-section .info-grid .info-item .value.out-of-stock{color:#dc2626}.category-details-modal .info-section .info-grid .info-item .value.disposed-quantity,.sale-details-modal .info-section .info-grid .info-item .value.disposed-quantity,.disposal-details-modal .info-section .info-grid .info-item .value.disposed-quantity{color:#6b7280}.category-details-modal .info-section .info-grid .info-item .value.financial-impact,.sale-details-modal .info-section .info-grid .info-item .value.financial-impact,.disposal-details-modal .info-section .info-grid .info-item .value.financial-impact{color:#dc2626;font-weight:700}.disposed-batches-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;margin-top:20px}.disposed-batches-grid .disposed-batch-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:20px}.disposed-batches-grid .disposed-batch-card .batch-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;padding-bottom:10px;border-bottom:1px solid #e2e8f0}.disposed-batches-grid .disposed-batch-card .batch-header .batch-number{font-weight:600;color:#374151;font-family:monospace}.disposed-batches-grid .disposed-batch-card .batch-header .disposal-status{background:#6b7280;color:#fff;padding:4px 8px;border-radius:4px;font-size:.8rem;font-weight:600}.disposed-batches-grid .disposed-batch-card .batch-details{display:flex;flex-direction:column;gap:8px;margin-bottom:15px}.disposed-batches-grid .disposed-batch-card .batch-details .detail-item{display:flex;justify-content:space-between}.disposed-batches-grid .disposed-batch-card .batch-details .detail-item .label{color:#64748b}.disposed-batches-grid .disposed-batch-card .batch-details .detail-item .value{color:#374151;font-weight:500}.disposed-batches-grid .disposed-batch-card .batch-details .detail-item .value.financial-impact{color:#dc2626;font-weight:600}.disposed-batches-grid .disposed-batch-card .disposal-reason{background:white;padding:12px;border-radius:6px;border-left:3px solid #6b7280}.disposed-batches-grid .disposed-batch-card .disposal-reason .reason-label{font-weight:600;color:#374151;margin-bottom:5px;font-size:.9rem}.disposed-batches-grid .disposed-batch-card .disposal-reason .reason-text{color:#4b5563;line-height:1.4}.all-disposed-modal{padding:30px}.all-disposed-modal .modal-header-section{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;padding-bottom:15px;border-bottom:2px solid #f1f5f9}.all-disposed-modal .modal-header-section h3{margin:0;color:#1e293b}.all-disposed-modal .modal-header-section .total-disposed-badge{background:#ef4444;color:#fff;padding:8px 16px;border-radius:20px;font-weight:600;font-size:.9rem}.all-disposed-modal .disposed-products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px;margin-bottom:30px}.all-disposed-modal .disposed-products-grid .disposed-product-summary-card{background:white;border:1px solid #f1f5f9;border-radius:8px;padding:20px;transition:all .2s;box-shadow:0 2px 4px #0000000d}.all-disposed-modal .disposed-products-grid .disposed-product-summary-card:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.all-disposed-modal .disposed-products-grid .disposed-product-summary-card .product-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:10px}.all-disposed-modal .disposed-products-grid .disposed-product-summary-card .product-header .product-name{margin:0;color:#1e293b;font-size:1.1rem;line-height:1.3}.all-disposed-modal .disposed-products-grid .disposed-product-summary-card .product-header .disposal-count{background:#f3f4f6;color:#374151;padding:4px 8px;border-radius:12px;font-size:.8rem;font-weight:600}.all-disposed-modal .disposed-products-grid .disposed-product-summary-card .product-category{color:#667eea;font-weight:500;margin-bottom:15px;font-size:.9rem}.all-disposed-modal .disposed-products-grid .disposed-product-summary-card .disposal-stats{display:flex;gap:15px;margin-bottom:12px}.all-disposed-modal .disposed-products-grid .disposed-product-summary-card .disposal-stats .stat{text-align:center;flex:1}.all-disposed-modal .disposed-products-grid .disposed-product-summary-card .disposal-stats .stat .stat-value{display:block;font-size:1.2rem;font-weight:700;color:#1e293b}.all-disposed-modal .disposed-products-grid .disposed-product-summary-card .disposal-stats .stat .stat-label{font-size:.8rem;color:#64748b;margin-top:2px}.all-disposed-modal .disposed-products-grid .disposed-product-summary-card .last-disposal{color:#64748b;font-size:.9rem}.all-disposed-modal .disposed-products-grid .disposed-product-summary-card .last-disposal .date{color:#374151;font-weight:500}@media (max-width: 768px){.report-modal{padding:10px}.report-modal .modal-content{width:100%;height:100%;max-height:100%;border-radius:0}.report-modal .modal-content .modal-body .modal-full-data,.report-modal .modal-content .modal-body .modal-trend-analysis,.report-modal .modal-content .modal-body .category-details-modal,.report-modal .modal-content .modal-body .sale-details-modal{padding:20px}.report-modal .modal-content .modal-body .full-data-table{overflow-x:auto}.table-pagination{flex-direction:column;gap:15px;text-align:center}.info-grid,.disposed-batches-grid,.disposed-products-grid{grid-template-columns:1fr!important}}.clickable-rows .clickable-row{cursor:pointer;transition:background-color .2s ease}.clickable-rows .clickable-row:hover{background-color:#f8f9fa}.clickable-cards .clickable-card{cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.clickable-cards .clickable-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.click-hint{color:#666;font-style:italic;margin-left:10px;font-size:.9em}.batch-details-view{padding:0}.batch-details-header{background:#f8f9fa;padding:20px;border-bottom:1px solid #e9ecef;margin-bottom:20px}.batch-details-header .back-button{background:#6c757d;color:#fff;border:none;padding:8px 16px;border-radius:4px;cursor:pointer;margin-bottom:10px}.batch-details-header .back-button:hover{background:#5a6268}.product-info-summary{display:flex;gap:20px;margin-top:10px;flex-wrap:wrap}.product-info-summary span{background:white;padding:4px 12px;border-radius:20px;border:1px solid #dee2e6;font-size:.9em}.batch-sections{padding:0 20px 20px}.batch-section{margin-bottom:30px}.batch-section h4{margin-bottom:15px;padding:10px;border-radius:4px;color:#fff}.batch-section.expired h4{background:#e53e3e}.batch-section.near-expiry h4{background:#dd6b20}.batch-section.disposed h4{background:#718096}.batch-summary-stats{display:flex;gap:15px;padding:20px;background:#f8f9fa;border-radius:8px;margin:20px;flex-wrap:wrap}.batch-summary-stats .stat-card{flex:1;min-width:120px;text-align:center;padding:15px;background:white;border-radius:6px;box-shadow:0 2px 4px #0000001a}.batch-summary-stats .stat-label{display:block;font-size:.8em;color:#666;margin-bottom:5px}.batch-summary-stats .stat-value{display:block;font-size:1.5em;font-weight:700}.batch-summary-stats .total-batches .stat-value{color:#3182ce}.batch-summary-stats .expired-batches .stat-value{color:#e53e3e}.batch-summary-stats .near-expiry-batches .stat-value{color:#dd6b20}.batch-summary-stats .disposed-batches .stat-value{color:#718096}.batch-preview{display:flex;justify-content:center;align-items:center;font-size:.8em;gap:2rem;margin-top:.1rem;padding:3px 0;border-bottom:1px solid #f0f0f0}.batch-preview:last-child{border-bottom:none}.batch-preview-number{font-weight:700;color:#333}.batch-preview-qty{color:#666}.more-batches-preview{text-align:center;font-size:.8em;color:#999;font-style:italic;margin-top:5px}.priority-badge{padding:2px 8px;border-radius:12px;font-size:.8em;font-weight:700;text-transform:uppercase}.priority-badge.high{background:#fed7d7;color:#c53030}.priority-badge.medium{background:#feebc8;color:#dd6b20}.action-required{padding:2px 8px;border-radius:12px;font-size:.8em;font-weight:700;background:#fed7d7;color:#c53030;text-transform:uppercase}.expired-row{background:#fed7d7!important}.near-expiry-row{background:#feebc8!important}.disposed-row{background:#e2e8f0!important}.financial-impact{font-weight:700;color:#c53030}.days-expired,.days-to-expiry{font-weight:700}.days-expired{color:#c53030}.days-to-expiry{color:#dd6b20}.sales-list .section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:12px;border-bottom:2px solid var(--border-light)}.sales-list .section-header h3{margin:0;color:var(--text-primary);font-size:1.2rem;font-weight:600}.sales-list .section-header .invoice-count{background:var(--primary-gradient);color:#fff;padding:4px 12px;border-radius:12px;font-size:.8rem;font-weight:600}.view-more-section{text-align:center;margin:20px 0;padding:20px;background:var(--bg-secondary);border-radius:var(--border-radius);border:1px solid var(--border-light)}.view-more-section .view-all-btn{background:var(--primary-gradient);color:#fff;border:none;padding:12px 24px;border-radius:8px;cursor:pointer;font-size:.9rem;font-weight:500;transition:all .3s ease}.view-more-section .view-all-btn:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.customer-info .customer-name{font-weight:600;color:var(--text-primary)}.customer-info .customer-phone{font-size:.8rem;color:var(--text-muted)}.payment-badge{padding:4px 8px;border-radius:6px;font-size:.7rem;font-weight:600;text-transform:uppercase}.payment-badge.cash{background:#dcfce7;color:#166534}.payment-badge.card{background:#dbeafe;color:#1e40af}.payment-badge.upi{background:#f3e8ff;color:#7c3aed}.payment-badge.online{background:#f0fdf4;color:#15803d}.items-count{font-weight:600;color:var(--text-primary);font-size:.9rem}.items-preview{font-size:.8rem;color:var(--text-muted);margin-top:2px}.amount,.tax,.discount,.total-amount{font-weight:600;text-align:right}.total-amount{color:var(--primary-color);font-size:1rem}.view-details-btn.small{padding:4px 8px;font-size:.7rem;background:var(--primary-color);color:#fff;border:none;border-radius:4px;cursor:pointer}.view-details-btn.small:hover{background:var(--secondary-color)}.invoice-details-view{padding:20px}.invoice-details-view .invoice-details-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px;padding-bottom:15px;border-bottom:2px solid #e2e8f0}.invoice-details-view .invoice-details-header .back-button{background:#4f46e5;color:#fff;border:none;padding:10px 20px;border-radius:8px;cursor:pointer;font-size:14px;font-weight:500;transition:all .3s ease}.invoice-details-view .invoice-details-header .back-button:hover{background:#4338ca;transform:translate(-2px)}.invoice-details-view .invoice-details-header h3{color:#1e293b;font-size:24px;font-weight:700;margin:0;text-align:center;flex:1}.sale-details-modal{background:white;border-radius:12px;box-shadow:0 4px 6px -1px #0000001a;overflow:hidden}.sale-details-modal .sale-details-header{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;padding:30px;display:grid;grid-template-columns:1fr 1fr;gap:30px}.sale-details-modal .sale-details-header .invoice-info h3{margin:0 0 10px;font-size:28px;font-weight:700}.sale-details-modal .sale-details-header .invoice-info .invoice-date{font-size:16px;opacity:.9;font-weight:500}.sale-details-modal .sale-details-header .customer-info h4{margin:0 0 15px;font-size:20px;font-weight:600}.sale-details-modal .sale-details-header .customer-info .customer-details{background:none!important}.sale-details-modal .sale-details-header .customer-info .customer-details div{margin-bottom:8px;font-size:15px}.sale-details-modal .sale-details-header .customer-info .customer-details div strong{font-weight:600;margin-right:8px}.sale-details-modal .sale-items-section{padding:30px}.sale-details-modal .sale-items-section h4{color:#1e293b;font-size:20px;font-weight:600;margin-bottom:20px;padding-bottom:10px;border-bottom:2px solid #f1f5f9}.sale-details-modal .sale-items-section .sale-items-table{width:100%;border-collapse:collapse;background:white;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px #0000001a}.sale-details-modal .sale-items-section .sale-items-table thead{background:#f8fafc}.sale-details-modal .sale-items-section .sale-items-table thead tr th{padding:15px 12px;text-align:left;font-weight:600;color:#475569;font-size:14px;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #e2e8f0}.sale-details-modal .sale-items-section .sale-items-table tbody tr:nth-child(even){background:#f8fafc}.sale-details-modal .sale-items-section .sale-items-table tbody tr:hover{background:#f1f5f9}.sale-details-modal .sale-items-section .sale-items-table tbody tr td{padding:15px 12px;border-bottom:1px solid #e2e8f0;color:#475569;font-size:14px}.sale-details-modal .sale-items-section .sale-items-table tbody tr td:first-child{font-weight:500;color:#1e293b}.sale-details-modal .sale-summary{background:#f8fafc;padding:30px;border-top:2px solid #e2e8f0}.sale-details-modal .sale-summary .summary-row{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #e2e8f0}.sale-details-modal .sale-summary .summary-row:last-child{border-bottom:none}.sale-details-modal .sale-summary .summary-row span{font-size:16px;color:#475569}.sale-details-modal .sale-summary .summary-row span:first-child{font-weight:500;color:#64748b}.sale-details-modal .sale-summary .summary-row span:last-child{font-weight:600;color:#1e293b}.sale-details-modal .sale-summary .summary-row.total{background:white;margin:0 -30px;padding:20px 30px;border-bottom:none;border-top:2px solid #e2e8f0;border-bottom:2px solid #e2e8f0}.sale-details-modal .sale-summary .summary-row.total span{font-size:20px;font-weight:700}.sale-details-modal .sale-summary .summary-row.total span:last-child{color:#059669;font-size:24px}.sale-details-modal .sale-summary .summary-row .payment-badge{padding:6px 12px;border-radius:20px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.sale-details-modal .sale-summary .summary-row .payment-badge.cash{background:#dcfce7;color:#166534}.sale-details-modal .sale-summary .summary-row .payment-badge.card{background:#dbeafe;color:#1e40af}.sale-details-modal .sale-summary .summary-row .payment-badge.upi{background:#fef3c7;color:#92400e}.sale-details-modal .sale-summary .summary-row .payment-badge.online{background:#e0e7ff;color:#3730a3}@media (max-width: 768px){.invoice-details-view{padding:15px}.invoice-details-view .invoice-details-header{flex-direction:column;gap:15px;text-align:center}.invoice-details-view .invoice-details-header .back-button{align-self:flex-start}.invoice-details-view .invoice-details-header h3{font-size:20px}.sale-details-modal .sale-details-header{grid-template-columns:1fr;padding:20px;gap:20px}.sale-details-modal .sale-items-section{padding:20px}.sale-details-modal .sale-items-section .sale-items-table{display:block;overflow-x:auto}.sale-details-modal .sale-items-section .sale-items-table thead th,.sale-details-modal .sale-items-section .sale-items-table tbody td{padding:10px 8px;font-size:12px}.sale-details-modal .sale-summary{padding:20px}.sale-details-modal .sale-summary .summary-row.total{margin:0 -20px;padding:15px 20px}.sale-details-modal .sale-summary .summary-row.total span{font-size:18px}.sale-details-modal .sale-summary .summary-row.total span:last-child{font-size:20px}}@keyframes slideIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.sale-details-modal{animation:slideIn .3s ease-out}@media print{.invoice-details-view .back-button{display:none}.sale-details-modal{box-shadow:none}.sale-details-modal .sale-details-header{background:#f8fafc!important;color:#000!important}}.status-indicator{display:inline-flex;align-items:center;padding:4px 12px;border-radius:20px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.status-indicator.completed{background:#dcfce7;color:#166534}.status-indicator.pending{background:#fef3c7;color:#92400e}.status-indicator.cancelled{background:#fee2e2;color:#dc2626}.items-total{background:#f8fafc;padding:15px;border-radius:8px;margin-top:20px}.items-total .items-total-row{display:flex;justify-content:space-between;padding:8px 0;font-size:14px}.items-total .items-total-row.grand-total{border-top:2px solid #e2e8f0;margin-top:10px;padding-top:15px;font-weight:700;font-size:16px;color:#059669}.invoice-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px}.invoice-loading .loading-spinner{width:40px;height:40px;border:4px solid #f1f5f9;border-top:4px solid #4f46e5;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:20px}.invoice-loading p{color:#64748b;font-size:16px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.invoice-empty{text-align:center;padding:60px 20px;color:#64748b}.invoice-empty .empty-icon{font-size:48px;margin-bottom:20px;opacity:.5}.invoice-empty h3{color:#475569;margin-bottom:10px}.invoice-empty p{font-size:16px}.product-item-highlight{background:linear-gradient(135deg,rgba(102,126,234,.0392156863) 0%,rgba(118,75,162,.0392156863) 100%);border-left:4px solid #4f46e5}.product-item-highlight td{background:transparent!important}.tax-breakdown{background:#f8fafc;padding:20px;border-radius:8px;margin:20px 0}.tax-breakdown h5{margin:0 0 15px;color:#374151;font-size:16px;font-weight:600}.tax-breakdown .tax-row{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #e5e7eb}.tax-breakdown .tax-row:last-child{border-bottom:none}.tax-breakdown .tax-row .tax-label{color:#6b7280}.tax-breakdown .tax-row .tax-amount{font-weight:600;color:#374151}:root{--bg: #f4f8fb;--card: #ffffff;--muted: #7b8794;--accent: #3b82f6;--premium: #2c3e50;--green: #106332;--glass: rgba(255,255,255,.75);--radius: 12px}.hotel-invoice{font-family:Inter,Segoe UI,sans-serif;background:linear-gradient(180deg,#eef6ff 0%,var(--bg) 100%);min-height:100vh;color:#122236}.hotel-invoice .topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 28px;background:linear-gradient(90deg,rgba(59,130,246,.12),rgba(44,62,80,.06));border-bottom:1px solid rgba(18,34,54,.06);position:sticky;top:0;z-index:50;box-shadow:0 6px 18px #1222360a}.hotel-invoice .topbar .brand{display:flex;gap:12px;align-items:center}.hotel-invoice .topbar .brand .brand-icon{font-size:34px;color:var(--premium);background:linear-gradient(135deg,#cfe7ff,#fff);padding:8px;border-radius:10px;box-shadow:0 6px 18px #0b234c0f}.hotel-invoice .topbar .brand .brand-text .hotel-name{font-weight:700;font-size:18px;color:var(--premium)}.hotel-invoice .topbar .brand .brand-text .slogan{font-size:12px;color:var(--muted)}.hotel-invoice .topbar .nav-actions{display:flex;gap:18px;align-items:center}.hotel-invoice .topbar .nav-actions .stats{display:flex;gap:12px;align-items:center}.hotel-invoice .topbar .nav-actions .stats .stat{background:var(--card);padding:8px 12px;border-radius:10px;font-size:13px;box-shadow:0 6px 14px #0c20400a;color:var(--muted)}.hotel-invoice .topbar .nav-actions .stats .stat strong{display:block;font-size:14px;color:var(--premium)}.hotel-invoice .topbar .nav-actions .search{display:flex;align-items:center;background:var(--card);padding:6px 10px;border-radius:10px;min-width:320px;box-shadow:0 6px 14px #0c20400a}.hotel-invoice .topbar .nav-actions .search .search-icon{margin-right:8px;color:var(--muted)}.hotel-invoice .topbar .nav-actions .search input{border:none;outline:none;font-size:14px;background:transparent}.hotel-invoice .topbar .nav-actions .btn.export{display:inline-flex;gap:8px;align-items:center;padding:10px 14px;background:linear-gradient(90deg,var(--accent),#2563eb);color:#fff;border-radius:10px;border:none;cursor:pointer;box-shadow:0 10px 24px #2563eb24}.hotel-invoice .page{width:1200px;max-width:calc(100% - 40px);margin:26px auto;padding-bottom:80px}.hotel-invoice .page-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.hotel-invoice .page-header .title h2{margin:0;font-size:22px;color:var(--premium)}.hotel-invoice .page-header .title .sub{margin:6px 0 0;color:var(--muted);font-size:13px}.hotel-invoice .page-header .legend{display:flex;align-items:center;gap:14px;color:var(--muted)}.hotel-invoice .page-header .legend .box{width:18px;height:18px;border-radius:6px;display:inline-block;margin-right:6px;border:1px solid rgba(18,34,54,.05)}.hotel-invoice .page-header .legend .available{background:white;box-shadow:0 2px 6px #1118270a}.hotel-invoice .page-header .legend .booked{background:var(--green)}.hotel-invoice .page-header .legend .btn.demo-invoice{margin-left:10px;padding:8px 12px;border-radius:10px;border:1px solid rgba(18,34,54,.06);background:var(--card);cursor:pointer}.hotel-invoice .sections{display:flex;flex-direction:column;gap:28px}.hotel-invoice .room-section{background:linear-gradient(180deg,rgba(255,255,255,.9),rgba(255,255,255,.85));padding:18px;border-radius:var(--radius);box-shadow:0 8px 30px #1118270a}.hotel-invoice .room-section .section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.hotel-invoice .room-section .section-heading h3{margin:0;font-size:18px;color:var(--premium)}.hotel-invoice .room-section .section-heading .section-sub{margin:0;color:var(--muted);font-size:13px}.hotel-invoice .room-section .room-row .empty{color:var(--muted);padding:20px}.hotel-invoice .room-section .room-row .room-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:18px;justify-items:center}.hotel-invoice .room-section .room-row .room-card{width:100%;max-width:320px;border-radius:12px;overflow:hidden;cursor:pointer;transition:transform .22s ease,box-shadow .22s ease;box-shadow:0 6px 18px #0c20400f;background:var(--card);border:1px solid rgba(17,24,39,.04)}.hotel-invoice .room-section .room-row .room-card .room-thumb{position:relative;height:150px;overflow:hidden}.hotel-invoice .room-section .room-row .room-card .room-thumb img{width:100%;height:100%;object-fit:cover;display:block;transform-origin:center;transition:transform .35s ease}.hotel-invoice .room-section .room-row .room-card .room-thumb .type-badge{position:absolute;top:10px;left:10px;background:rgba(0,0,0,.55);color:#fff;padding:6px 8px;font-size:12px;border-radius:8px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.hotel-invoice .room-section .room-row .room-card .room-thumb .occupancy-badge{position:absolute;top:10px;right:10px;background:rgba(255,255,255,.9);color:var(--premium);padding:6px 8px;font-weight:600;border-radius:8px;font-size:12px}.hotel-invoice .room-section .room-row .room-card .room-body{padding:12px 16px 18px;text-align:left}.hotel-invoice .room-section .room-row .room-card .room-body .room-number{font-weight:700;font-size:16px;color:var(--premium);margin-bottom:6px}.hotel-invoice .room-section .room-row .room-card .room-body .room-meta{color:var(--muted);font-size:13px}.hotel-invoice .room-section .room-row .room-card:hover{transform:translateY(-6px) scale(1.01);box-shadow:0 18px 46px #0c20401f}.hotel-invoice .room-section .room-row .room-card:hover img{transform:scale(1.06)}.hotel-invoice .room-section .room-row .room-card.booked{background:linear-gradient(180deg,#27ae5f,rgba(39,174,95,.708));color:#fff}.hotel-invoice .room-section .room-row .room-card.booked .room-body{color:#fff}.hotel-invoice .room-section .room-row .room-card.booked .type-badge{background:rgba(0,0,0,.4)}.hotel-invoice .modal-overlay{position:fixed;inset:0;background:rgba(4,22,38,.5);display:flex;align-items:center;justify-content:center;z-index:100;padding:20px}.hotel-invoice .modal{background:var(--card);width:640px;max-width:calc(100% - 40px);border-radius:12px;padding:20px;box-shadow:0 20px 60px #0612264d;animation:slideUp .28s ease;color:var(--premium)}.hotel-invoice .modal h3{margin-top:0;color:var(--premium)}.hotel-invoice .modal .invoice-form{display:flex;flex-direction:column;gap:12px}.hotel-invoice .modal .invoice-form label{color:var(--muted);font-size:13px}.hotel-invoice .modal .invoice-form input[type=text],.hotel-invoice .modal .invoice-form input[type=date],.hotel-invoice .modal .invoice-form input[type=number]{padding:10px 12px;border-radius:8px;border:1px solid rgba(18,34,54,.06);font-size:14px}.hotel-invoice .modal .invoice-form .row{display:flex;gap:12px}.hotel-invoice .modal .invoice-form .form-actions{display:flex;gap:12px;margin-top:6px;justify-content:flex-end}.hotel-invoice .modal .invoice-form .form-actions .btn{padding:9px 14px;border-radius:10px;border:1px solid rgba(18,34,54,.06);cursor:pointer;background:var(--card)}.hotel-invoice .modal .invoice-form .form-actions .primary{background:linear-gradient(90deg,var(--premium),#2f4b66);color:#fff;border:none}.hotel-invoice .modal .booking-details p{margin:6px 0;color:var(--muted)}@keyframes slideUp{0%{transform:translateY(18px);opacity:0}to{transform:translateY(0);opacity:1}}@media (max-width: 980px){.hotel-invoice .topbar{flex-direction:column;align-items:flex-start;gap:12px}.hotel-invoice .nav-actions{width:100%;justify-content:space-between}.hotel-invoice .page{margin:18px}}*{margin:0;padding:0;box-sizing:border-box;font-family:Rubik,sans-serif}a{text-decoration:none}li{list-style:none}:root{--poppins: "Poppins", sans-serif;--lato: "Lato", sans-serif;--light: #f9f9f9;--blue: #3c91e6;--light-blue: #cfe8ff;--grey: #eee;--dark-grey: #aaaaaa;--dark: #342e37;--red: #db504a;--yellow: #ffce26;--light-yellow: #fff2c6;--orange: #fd7238;--light-orange: #ffe0d3}html{overflow-x:hidden}body{background:#dfeafb;overflow-x:hidden}
