*{box-sizing:border-box;margin:0;padding:0}:root{font-family:Roboto,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#1f2937;background-color:#fff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;min-width:320px;min-height:100vh}a{font-weight:500;color:#667eea;text-decoration:inherit}a:hover{color:#764ba2}button{font-family:inherit;cursor:pointer}input,textarea,select{font-family:inherit}#root{min-height:100vh}.sign-in-container{background:linear-gradient(135deg,#f5f7fa,#e9ecef);background-image:repeating-linear-gradient(45deg,transparent,transparent 35px,rgba(255,255,255,.05) 35px,rgba(255,255,255,.05) 70px);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem 1rem;position:relative;height:100vh}.sign-in-header{width:100%;max-width:500px;margin-bottom:2rem;display:flex;justify-content:center}.sign-in-card{background:#fff;border-radius:16px;padding:2.5rem;width:100%;max-width:500px;box-shadow:0 10px 25px #0000001a}.sign-in-title{font-size:2rem;font-weight:700;color:#1f2937;margin:0 0 .5rem;text-align:center}.sign-in-subtitle{font-size:.875rem;color:#6b7280;text-align:center;margin:0 0 1.5rem}.login-mode-toggle{display:flex;gap:.5rem;margin-bottom:2rem;padding:.25rem;background:#f3f4f6;border-radius:8px}.mode-button{flex:1;padding:.75rem 1rem;border:none;border-radius:6px;background:transparent;color:#6b7280;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.mode-button:hover{color:#374151}.mode-button.active{background:#fff;color:#0d6efd;box-shadow:0 1px 3px #0000001a}.sign-in-form{display:flex;flex-direction:column;gap:1.5rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{font-size:.875rem;font-weight:500;color:#374151;text-align:start}.input-wrapper{position:relative;display:flex;align-items:center}.input-icon{position:absolute;left:1rem;z-index:1;pointer-events:none}.input-wrapper input{width:100%;padding:.875rem 1rem .875rem 3rem;border:1px solid #e5e7eb;border-radius:8px;font-size:.875rem;color:#1f2937;transition:all .2s;background:#fff}.input-wrapper input:focus{outline:none;border-color:#0d6efd;box-shadow:0 0 0 3px #667eea1a}.input-wrapper input::placeholder{color:#9ca3af}.password-toggle{position:absolute;right:1rem;background:none;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:.25rem;color:#9ca3af;transition:color .2s}.password-toggle:hover{color:#667eea}.form-options{display:flex;justify-content:space-between;align-items:center;font-size:.875rem}.checkbox-label{display:flex;align-items:center;gap:.5rem;cursor:pointer;color:#374151}.checkbox-label input[type=checkbox]{width:1rem;height:1rem;cursor:pointer;accent-color:#667eea}.forgot-password-link{color:#667eea;text-decoration:none;font-weight:500;transition:color .2s}.forgot-password-link:hover{color:#764ba2;text-decoration:underline}.sign-in-button{width:100%;padding:.875rem 1.5rem;background:#0d6efd;color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s;margin-top:.5rem}.sign-in-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #667eea66}.sign-in-button:active:not(:disabled){transform:translateY(0)}.sign-in-button:disabled{opacity:.6;cursor:not-allowed}.divider{display:flex;align-items:center;text-align:center;margin:2rem 0;color:#9ca3af;font-size:.875rem}.divider:before,.divider:after{content:"";flex:1;border-bottom:1px solid #e5e7eb}.divider span{padding:0 1rem}.social-login{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1.5rem}.social-button{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.875rem 1rem;border:1px solid #e5e7eb;border-radius:8px;background:#fff;font-size:.875rem;font-weight:500;color:#374151;cursor:pointer;transition:all .2s}.social-button:hover{border-color:#d1d5db;background:#f9fafb;transform:translateY(-1px);box-shadow:0 2px 8px #0000001a}.social-button:active{transform:translateY(0)}.register-link{text-align:center;font-size:.875rem;color:#6b7280;margin:0}.register-link a{color:#667eea;text-decoration:none;font-weight:600;transition:color .2s}.register-link a:hover{color:#764ba2;text-decoration:underline}@media(max-width:640px){.sign-in-card{padding:2rem 1.5rem}.sign-in-title{font-size:1.75rem}.social-login{grid-template-columns:1fr}}.verify-otp-container{background:linear-gradient(135deg,#f5f7fa,#e9ecef);background-image:repeating-linear-gradient(45deg,transparent,transparent 35px,rgba(255,255,255,.05) 35px,rgba(255,255,255,.05) 70px);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem 1rem;position:relative;height:100vh}.verify-otp-header{width:100%;max-width:500px;margin-bottom:2rem;display:flex;justify-content:center}.logo{display:flex;align-items:center;gap:.75rem;cursor:pointer}.logo-icon{width:40px;height:40px;background:#0d6efd;border-radius:8px;position:relative}.logo-icon:before{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:24px;height:24px;background:#fff;border-radius:4px;opacity:.3}.logo-icon:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:12px;height:12px;background:#fff;border-radius:2px}.logo-text{font-size:1.5rem;font-weight:700;color:#1f2937;letter-spacing:-.5px}.verify-otp-card{background:#fff;border-radius:16px;padding:2.5rem;width:100%;max-width:500px;box-shadow:0 10px 25px #0000001a;display:flex;flex-direction:column;align-items:center}.success-icon{margin-bottom:1.5rem;display:flex;justify-content:center}.verify-otp-title{font-size:2rem;font-weight:700;color:#1f2937;margin:0 0 .5rem;text-align:center}.verify-otp-subtitle{font-size:.875rem;color:#6b7280;text-align:center;margin:0 0 2rem}.verify-otp-subtitle strong{color:#374151;font-weight:600}.verify-otp-form{width:100%;display:flex;flex-direction:column;gap:1.5rem}.error-message{background:#fee2e2;color:#dc2626;padding:.75rem 1rem;border-radius:8px;font-size:.875rem;text-align:center}.otp-inputs{display:flex;justify-content:center;gap:1rem;margin:1rem 0}.otp-input{width:60px;height:60px;border:2px solid #e5e7eb;border-radius:8px;text-align:center;font-size:1.5rem;font-weight:600;color:#1f2937;transition:all .2s;background:#fff}.otp-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.otp-input:disabled{background:#f9fafb;cursor:not-allowed}.resend-section{display:flex;justify-content:center;align-items:center;gap:.5rem;font-size:.875rem;color:#6b7280;flex-wrap:wrap}.resend-text{display:flex;align-items:center;gap:.25rem}.resend-link{background:none;border:none;color:#667eea;font-weight:600;cursor:pointer;padding:0;text-decoration:none;transition:color .2s}.resend-link:hover:not(:disabled){color:#764ba2;text-decoration:underline}.resend-link:disabled{color:#9ca3af;cursor:not-allowed}.resend-link.active{color:#667eea}.timer{color:#dc2626;font-weight:600;font-variant-numeric:tabular-nums}.verify-otp-button{width:100%;padding:.875rem 1.5rem;background:#0d6efd;color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s;margin-top:.5rem}.verify-otp-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #667eea66}.verify-otp-button:active:not(:disabled){transform:translateY(0)}.verify-otp-button:disabled{opacity:.6;cursor:not-allowed}@media(max-width:640px){.verify-otp-card{padding:2rem 1.5rem}.verify-otp-title{font-size:1.75rem}.otp-input{width:50px;height:50px;font-size:1.25rem}.otp-inputs{gap:.75rem}.resend-section{flex-direction:column;gap:.5rem}}.sidebar{position:fixed;left:0;top:0;height:100vh;width:250px;background:#fff;box-shadow:2px 0 8px #0000001a;display:flex;flex-direction:column;z-index:1000;transition:width .3s ease,transform .3s ease;overflow-y:auto;overflow-x:hidden}.sidebar.collapsed{width:70px}.sidebar-header{padding:1.25rem;border-bottom:1px solid #e9ecef;display:flex;align-items:center;justify-content:space-between;min-height:70px}.logo-section{display:flex;align-items:center;gap:.75rem;flex:1}.logo-icon{width:40px;height:40px;background:#0d6efd;border-radius:8px;flex-shrink:0}.logo-text{font-size:1.1rem;font-weight:600;color:#1f2937;white-space:nowrap;overflow:hidden}.sidebar.collapsed .logo-text{display:none}.sidebar-toggle-btn{background:none;border:none;color:#6b7280;cursor:pointer;padding:.25rem;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s}.sidebar-toggle-btn:hover{background:#f3f4f6;color:#1f2937}.sidebar.collapsed .sidebar-toggle-btn{display:none}.sidebar-nav{flex:1;padding:1rem 0;overflow-y:auto}.nav-section{margin-bottom:1.5rem}.nav-section-title{padding:.5rem 1.25rem;font-size:.75rem;font-weight:600;text-transform:uppercase;color:#9ca3af;letter-spacing:.5px}.sidebar.collapsed .nav-section-title{display:none}.nav-list{list-style:none;padding:0;margin:0}.nav-item{display:flex;align-items:center;gap:.75rem;padding:.75rem 1.25rem;color:#6b7280;text-decoration:none;transition:all .2s;border-left:3px solid transparent;cursor:pointer;background:none;border-top:none;border-right:none;border-bottom:none;width:100%;text-align:left;font-size:.875rem}.nav-item i{font-size:1.1rem;width:20px;flex-shrink:0}.nav-item span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nav-item:hover{background:#f3f4f6;color:#1f2937}.nav-item.active{background:#eff6ff;color:#0d6efd;border-left-color:#0d6efd;font-weight:500}.nav-item.disabled{opacity:.5;cursor:not-allowed;pointer-events:none;color:#9ca3af}.nav-item.disabled:hover{background:transparent;color:#9ca3af}.sidebar.collapsed .nav-item span{display:none}.sidebar-footer{border-top:1px solid #e9ecef;padding:.5rem 0}.sidebar-footer .nav-item{border-left:none}.help-btn,.logout-btn{color:#6b7280}.logout-btn{color:#dc2626}.logout-btn:hover{background:#fee2e2;color:#b91c1c}@media(max-width:768px){.sidebar{transform:translate(-100%)}.sidebar.show{transform:translate(0)}.sidebar.collapsed{width:250px;transform:translate(-100%)}.sidebar.collapsed.show{transform:translate(0)}}.sidebar::-webkit-scrollbar{width:4px}.sidebar::-webkit-scrollbar-track{background:transparent}.sidebar::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:2px}.sidebar::-webkit-scrollbar-thumb:hover{background:#9ca3af}.main-header{background:#fff;padding:1rem 1.5rem;border-bottom:1px solid #e9ecef;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;box-shadow:0 1px 3px #0000001a;position:sticky;top:0;z-index:100}.header-left{display:flex;align-items:center;gap:1rem;flex:1}.menu-toggle-btn{background:none;border:none;color:#6b7280;font-size:1.5rem;cursor:pointer;padding:.5rem;display:none;align-items:center;justify-content:center;border-radius:4px;transition:all .2s}.menu-toggle-btn:hover{background:#f3f4f6;color:#1f2937}.search-bar{position:relative;flex:1;max-width:400px}.search-bar i{position:absolute;left:1rem;top:50%;transform:translateY(-50%);color:#9ca3af;font-size:1rem}.search-input{width:100%;padding:.625rem 1rem .625rem 2.75rem;border:1px solid #e5e7eb;border-radius:8px;font-size:.875rem;color:#1f2937;background:#f9fafb;transition:all .2s}.search-input:focus{outline:none;border-color:#0d6efd;background:#fff;box-shadow:0 0 0 3px #0d6efd1a}.header-search-dropdown{position:absolute;top:calc(100% + 6px);left:0;right:0;background:#fff;border:1px solid #e5e7eb;border-radius:8px;max-height:420px;overflow-y:auto;z-index:1200;box-shadow:0 8px 24px #0000001f}.header-search-group{border-bottom:1px solid #f3f4f6}.header-search-group:last-child{border-bottom:none}.header-search-group-title{padding:.5rem .75rem;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.02em;color:#6b7280;background:#f9fafb}.header-search-item{display:block;width:100%;text-align:left;padding:.625rem .75rem;border:none;background:#fff;border-bottom:1px solid #f3f4f6;cursor:pointer}.header-search-item:last-child{border-bottom:none}.header-search-item:hover{background:#f0f4ff}.header-search-item-name{font-size:.8125rem;font-weight:500;color:#1f2937}.header-search-item-meta{font-size:.75rem;color:#6b7280;margin-top:.125rem}.header-search-empty{padding:.75rem;font-size:.8125rem;color:#6b7280}.header-right{display:flex;align-items:center;gap:1rem}.notification-btn{position:relative;background:none;border:none;color:#6b7280;font-size:1.25rem;cursor:pointer;padding:.5rem;border-radius:8px;transition:all .2s;display:flex;align-items:center;justify-content:center}.notification-btn:hover{background:#f3f4f6;color:#1f2937}.notification-badge{position:absolute;top:.25rem;right:.25rem;background:#dc2626;color:#fff;font-size:.625rem;font-weight:600;padding:.125rem .375rem;border-radius:10px;min-width:18px;text-align:center;line-height:1.2}.user-profile{display:flex;align-items:center;gap:.75rem;padding:.5rem;border-radius:8px;transition:all .2s;cursor:pointer}.user-profile:hover{background:#f3f4f6}.user-avatar{width:40px;height:40px;border-radius:50%;overflow:hidden;flex-shrink:0}.user-avatar img{width:100%;height:100%;object-fit:cover}.user-info{display:flex;flex-direction:column;gap:.125rem}.user-name{font-size:.875rem;font-weight:600;color:#1f2937;line-height:1.2}.user-email{font-size:.75rem;color:#6b7280;line-height:1.2}@media(max-width:768px){.menu-toggle-btn{display:flex}.search-bar{max-width:200px}.user-info{display:none}.user-avatar{width:36px;height:36px}}@media(max-width:576px){.main-header{padding:.75rem 1rem}.search-bar{max-width:150px}.search-input{font-size:.8125rem;padding:.5rem .75rem .5rem 2.25rem}.search-bar i{left:.75rem;font-size:.875rem}}.layout-container{display:flex;min-height:100vh;background-color:#f8f9fa}.main-content{flex:1;display:flex;flex-direction:column;margin-left:250px;transition:margin-left .3s ease}.main-content.sidebar-collapsed{margin-left:70px}.content-wrapper{flex:1;padding:1.5rem;overflow-x:hidden;overflow-y:auto;width:100%;max-width:100%}.sidebar-overlay{display:none}@media(max-width:768px){.main-content,.main-content.sidebar-collapsed{margin-left:0}.sidebar-overlay{display:block;position:fixed;inset:0;background:#00000080;z-index:999}}.dashboard-header{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:1rem}.dashboard-title{font-size:2rem;font-weight:700;color:#1f2937;margin:0 0 .5rem}.dashboard-subtitle{font-size:.875rem;color:#6b7280;margin:0}.dashboard-actions{display:flex;gap:.75rem;flex-wrap:wrap}@media(max-width:576px){.dashboard-title{font-size:1.5rem}.dashboard-actions{width:100%}.dashboard-actions .btn{flex:1}}.kpi-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 1px 3px #0000001a;height:100%;transition:all .2s;position:relative;overflow:hidden}.kpi-card:hover{box-shadow:0 4px 12px #00000026;transform:translateY(-2px)}.kpi-card.clickable{cursor:pointer}.kpi-card.disabled{opacity:.65;cursor:not-allowed}.kpi-card.disabled:hover{box-shadow:0 1px 3px #0000001a;transform:none}.kpi-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.kpi-icon{width:48px;height:48px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1.5rem}.kpi-card-body{display:flex;flex-direction:column;gap:.5rem}.kpi-value{font-size:1.75rem;font-weight:700;color:#1f2937;margin:0;line-height:1.2}.kpi-change{display:flex;align-items:center;gap:.5rem}.change-badge{display:inline-flex;align-items:center;gap:.25rem;padding:.25rem .5rem;border-radius:6px;font-size:.75rem;font-weight:600}.change-badge.positive{background:#d1fae5;color:#065f46}.change-badge.negative{background:#fee2e2;color:#991b1b}.kpi-comparison{font-size:.75rem;color:#6b7280;margin:0}@media(max-width:768px){.kpi-card{padding:1.25rem}.kpi-value{font-size:1.5rem}}.orders-chart-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 1px 3px #0000001a;height:100%}.card-header-section{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.card-title{font-size:1.125rem;font-weight:600;color:#1f2937;margin:0}.chart-container{width:100%;margin:10px 0;height:500px}@media(max-width:768px){.orders-chart-card{padding:1rem}.chart-container{height:500px;margin:10px 0}}.dashboard-container{max-width:100%}@media(max-width:992px){.dashboard-container .row>div{margin-bottom:1rem}}.users-table-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 1px 3px #0000001a;overflow-x:auto}.users-table{width:100%;border-collapse:collapse;margin:0}.users-table thead{background:#eff6ff}.users-table thead th{padding:1rem 1.25rem;text-align:left;font-weight:600;font-size:.875rem;color:#1f2937;border-bottom:2px solid #dbeafe;white-space:nowrap}.users-table tbody tr{border-bottom:1px solid #e5e7eb;transition:background-color .2s}.users-table tbody tr:hover{background-color:#f9fafb}.users-table tbody tr:last-child{border-bottom:none}.users-table tbody td{padding:1rem 1.25rem;font-size:.875rem;color:#374151;vertical-align:middle}.user-name-cell,.transaction-id-cell,.created-cell{font-weight:500;color:#1f2937}.status-actions{display:flex;align-items:center;gap:.5rem}.action-btn{width:32px;height:32px;border-radius:50%;border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;font-size:.875rem;color:#fff}.action-btn:hover{transform:scale(1.1);box-shadow:0 2px 8px #0003}.action-btn:active{transform:scale(.95)}.download-btn{background:#10b981}.download-btn:hover{background:#059669}.edit-btn{background:#3b82f6}.edit-btn:hover{background:#2563eb}.delete-btn{background:#ef4444}.delete-btn:hover{background:#dc2626}@media(max-width:768px){.users-table-card{padding:1rem}.users-table thead th,.users-table tbody td{padding:.75rem .5rem;font-size:.8125rem}.action-btn{width:28px;height:28px;font-size:.75rem}}.modal-body{padding:1.5rem}.password-input-wrapper{position:relative;display:flex;align-items:center}.password-input-wrapper .form-control{padding-right:2.5rem}.password-toggle{position:absolute;right:.5rem;background:none;border:none;padding:.25rem;color:#6b7280;cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:color .2s}.password-toggle:hover{color:#1f2937}.password-toggle i{font-size:1.125rem}@media(max-width:576px){.modal-content{max-width:100%}.modal-header,.modal-body,.modal-footer{padding:1rem}.modal-footer{flex-direction:column-reverse}.modal-footer .btn{width:100%}}.manage-users-container{max-width:100%;font-family:inherit}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;flex-wrap:wrap;gap:1rem}.page-title{font-size:1.5rem;font-weight:700;color:#1f2937;margin:0}@media(max-width:576px){.page-header{flex-direction:column;align-items:flex-start}.page-header .btn{width:100%}}.invoice-stats{margin-bottom:1.5rem}.invoice-stats .kpi-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 1px 3px #0000001a;height:100%;transition:all .2s;position:relative;overflow:hidden}.invoice-stats .kpi-card:hover{box-shadow:0 4px 12px #00000026;transform:translateY(-2px)}.invoice-stats .kpi-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.invoice-stats .kpi-icon{width:48px;height:48px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1.5rem}.invoice-stats .kpi-card-body{display:flex;flex-direction:column;gap:.5rem}.invoice-stats .kpi-value{font-size:1.75rem;font-weight:700;color:#1f2937;margin:0;line-height:1.2}.invoice-stats .kpi-label{font-size:.875rem;color:#6b7280;margin:0;font-weight:500}.invoice-stats .kpi-comparison{font-size:.75rem;color:#6b7280;margin:0;font-weight:500}@media(max-width:768px){.invoice-stats .kpi-card{padding:1.25rem}.invoice-stats .kpi-value{font-size:1.5rem}}.invoice-top-bar{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;background:#fff;border-bottom:1px solid #e5e7eb;margin-bottom:1rem;flex-wrap:wrap;gap:1rem}.top-bar-left,.top-bar-right{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.top-bar-icons{display:flex;align-items:center;gap:.5rem}.icon-btn{background:none;border:1px solid #d1d5db;border-radius:6px;padding:.5rem;color:#6b7280;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;font-size:.875rem}.filter-wrapper{position:relative}.filter-btn.active{background:#eff6ff;border-color:#0d6efd;color:#0d6efd}.filter-dropdown{position:absolute;top:calc(100% + .5rem);right:0;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 4px 12px #00000026;min-width:200px;z-index:1000;overflow:hidden}.filter-option{width:100%;padding:.75rem 1rem;text-align:left;background:none;border:none;color:#374151;font-size:.875rem;cursor:pointer;transition:background-color .2s}.filter-option:hover{background:#f3f4f6}.filter-option:first-child{border-top-left-radius:8px;border-top-right-radius:8px}.filter-option:last-child{border-bottom-left-radius:8px;border-bottom-right-radius:8px}.pick-up-date-btn{white-space:nowrap}@media(max-width:768px){.invoice-top-bar{flex-direction:column;align-items:stretch}.top-bar-left,.top-bar-right{width:100%;justify-content:space-between}.top-bar-left .btn{flex:1;min-width:0}}@media(max-width:576px){.top-bar-left{flex-direction:column}.top-bar-left .btn{width:100%}.top-bar-right{flex-direction:column;width:100%}.pick-up-date-btn{width:100%}}.invoice-controls{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1.5rem;background:#fff;border-bottom:1px solid #e5e7eb;margin-bottom:1rem;flex-wrap:wrap;gap:1rem}.search-wrapper{position:relative;min-width:200px}.search-icon{position:absolute;left:.75rem;top:50%;transform:translateY(-50%);color:#9ca3af;font-size:.875rem}.search-input{width:100%;padding:.5rem .75rem .5rem 2.25rem;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;color:#1f2937;transition:all .2s}.search-input::placeholder{color:#9ca3af}.items-per-page-select{width:auto;min-width:80px;font-size:.875rem;padding:.5rem .75rem}.icon-btn{background:none;border:1px solid #d1d5db;border-radius:6px;padding:.5rem;color:#6b7280;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;font-size:.875rem;width:36px;height:36px}.icon-btn:hover{background:#f3f4f6;border-color:#9ca3af;color:#1f2937}@media(max-width:768px){.invoice-controls{flex-direction:column;align-items:stretch}.controls-left,.controls-right{width:100%;justify-content:space-between}.search-wrapper{width:100%;min-width:0}}@media(max-width:576px){.invoice-controls{padding:.75rem 1rem}.controls-left{flex-wrap:wrap}}.invoice-table-wrapper{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px #0000001a;width:100%;position:relative}.table-responsive{overflow-x:auto;overflow-y:visible;width:100%;-webkit-overflow-scrolling:touch;min-height:0}.invoice-table{width:100%;border-collapse:collapse;margin:0}.invoice-table thead{background:#f8f9fa;position:sticky;top:0;z-index:10}.invoice-table thead th{padding:.875rem 1rem;text-align:left;font-weight:600;font-size:.8125rem;color:#374151;border-bottom:2px solid #e5e7eb;white-space:nowrap;text-transform:uppercase;letter-spacing:.025em}.invoice-table thead th i{color:#9ca3af;font-size:.75rem}.invoice-table tbody tr{border-bottom:1px solid #f3f4f6;transition:background-color .15s}.invoice-table tbody tr:hover{background-color:#f9fafb}.invoice-table-row{cursor:pointer;transition:background-color .15s}.invoice-table-row:hover{background-color:#f3f4f6!important}.invoice-table tbody tr:last-child{border-bottom:none}.invoice-table tbody td{padding:.875rem 1rem;font-size:.8125rem;color:#1f2937;vertical-align:top;line-height:1.5}.invoice-number{font-weight:500;color:#0d6efd}.amount{font-weight:600;color:#1f2937}.total-tax{color:#6b7280}.date{color:#374151}.customer{color:#1f2937;max-width:200px}.project{color:#6b7280}.invoice-items{color:#374151;max-width:250px;word-wrap:break-word}.tags,.due-date{color:#6b7280}.status-badge{display:inline-block;padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.025em}.pick-up-date{color:#374151}.delivery-details,.order-details{color:#374151;max-width:200px;word-wrap:break-word}@media(max-width:1200px){.invoice-table{min-width:1200px}}@media(max-width:768px){.invoice-table thead th,.invoice-table tbody td{padding:.75rem .5rem;font-size:.75rem}.customer,.invoice-items,.delivery-details,.order-details{max-width:150px}}.invoice-status-badge{display:flex;align-items:center}.status-paid{background:#d1fae5;color:#065f46}.status-unpaid{background:#fee2e2;color:#991b1b}.status-partially-paid{background:#fef3c7;color:#92400e}.invoice-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem}.invoice-number-section{padding-bottom:1rem;border-bottom:1px solid #e5e7eb}.invoice-number{font-size:1.5rem;font-weight:700;color:#1f2937;margin:0;display:flex;align-items:center}.invoice-meta{background:#f9fafb;padding:1rem;border-radius:8px}.invoice-meta .row>div{font-size:.875rem}.invoice-items-table{overflow-x:auto}.invoice-items-table .table{margin:0;font-size:.875rem}.invoice-items-table .table thead th{background:#f8f9fa;font-weight:600;color:#374151;border-bottom:2px solid #e5e7eb;padding:.75rem}.invoice-items-table .table tbody td{padding:.75rem;vertical-align:middle}.invoice-summary{margin-top:1.5rem}.invoice-summary .row{margin:0}.invoice-summary .col-md-6{padding-left:0;padding-right:0;margin-left:auto}.invoice-summary .table{margin:0;font-size:.875rem;width:100%;border-collapse:separate;border-spacing:0}.invoice-summary .table td{padding:.625rem .75rem;border-top:1px solid #e5e7eb;white-space:nowrap}.invoice-summary .table td:first-child{padding-right:1.5rem;width:60%}.invoice-summary .table td:last-child{text-align:right;padding-left:1rem;width:40%;font-weight:500}.invoice-summary .table-active{background:#f3f4f6;font-weight:600}.invoice-summary .table-active td{border-top:2px solid #e5e7eb;padding-top:.75rem;padding-bottom:.75rem}.nav{display:flex;align-items:center;gap:.5rem}.nav-tabs{border-bottom:2px solid #e5e7eb}.nav-tabs .nav-link{color:#6b7280;border:none;border-bottom:2px solid transparent;padding:.75rem 1rem;font-size:.875rem;font-weight:500;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:.5rem}.nav-tabs .nav-link:hover{color:#0d6efd;border-bottom-color:#0d6efd}.nav-tabs .nav-link.active{color:#0d6efd;border-bottom-color:#0d6efd;background:none}.tab-content-placeholder{min-height:200px;display:flex;align-items:center;justify-content:center}@media(max-width:768px){.offcanvas{width:100%!important}.invoice-actions{flex-direction:column;align-items:stretch}.invoice-actions .btn{width:100%;margin:.25rem 0}}.invoice-details-form{background:#f8f9fa;padding:1.5rem;border-radius:8px;margin-bottom:1.5rem}.invoice-details-form .form-label{font-weight:500;color:#374151;margin-bottom:.5rem}.invoice-details-form .form-label .text-danger{font-weight:600}.invoice-details-form .form-control:read-only{background-color:#e9ecef;cursor:not-allowed}.create-invoice-top-bar{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#f8f9fa;border-radius:8px;flex-wrap:wrap;gap:1rem}.add-item-section{display:flex;align-items:center;gap:.75rem}.quantity-type-section{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:#6b7280}.invoice-items-section{background:#fff;border-radius:10px;border:1px solid #e5e7eb;padding:1.25rem}.items-section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px solid #e5e7eb}.items-section-title{margin:0;font-size:.9375rem;font-weight:600;color:#1f2937}.items-count{font-size:.75rem;color:#6b7280;background:#f3f4f6;padding:.25rem .625rem;border-radius:999px;font-weight:500}.items-summary-list{display:flex;flex-direction:column;gap:0;margin-bottom:.75rem;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}.item-summary-row{display:flex;justify-content:space-between;align-items:center;padding:.625rem .75rem;background:#fff;cursor:pointer;transition:background .15s;border-bottom:1px solid #f3f4f6}.item-summary-row:last-child{border-bottom:none}.item-summary-row:hover{background:#f0f4ff}.item-summary-left{display:flex;align-items:center;gap:.5rem;min-width:0;flex:1}.item-summary-number{font-size:.6875rem;font-weight:600;color:#6366f1;background:#eef2ff;padding:.0625rem .375rem;border-radius:3px;flex-shrink:0}.item-summary-name{font-size:.8125rem;font-weight:500;color:#1f2937;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.item-summary-right{display:flex;align-items:center;gap:.75rem;flex-shrink:0}.item-summary-qty{font-size:.75rem;font-weight:500;color:#6b7280;background:#f3f4f6;padding:.125rem .375rem;border-radius:4px}.item-summary-amount{font-size:.8125rem;font-weight:600;color:#1f2937;min-width:70px;text-align:right}.item-summary-remove{background:none;border:none;color:#d1d5db;cursor:pointer;padding:.125rem;border-radius:3px;font-size:.6875rem;transition:all .15s;display:flex;align-items:center;justify-content:center}.item-summary-remove:hover{color:#ef4444;background:#fef2f2}.invoice-item-cards{display:flex;flex-direction:column;gap:1rem}.invoice-item-card{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:1rem;transition:border-color .2s}.invoice-item-card:hover{border-color:#c7d2fe}.invoice-item-card.active{border-color:#a5b4fc;box-shadow:0 0 0 2px #6366f114}.item-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.item-card-number{font-size:.75rem;font-weight:600;color:#6366f1;background:#eef2ff;padding:.125rem .5rem;border-radius:4px}.btn-remove-item{background:none;border:none;color:#9ca3af;cursor:pointer;padding:.25rem;border-radius:4px;transition:all .2s;font-size:.875rem}.btn-remove-item:hover{color:#ef4444;background:#fef2f2}.item-search-wrapper{margin-bottom:.75rem}.item-field-label{display:block;font-size:.75rem;font-weight:500;color:#6b7280;margin-bottom:.25rem}.autocomplete-icon{position:absolute;left:.625rem;top:50%;transform:translateY(-50%);color:#9ca3af;font-size:.8125rem;z-index:1;pointer-events:none}.item-search-input{padding-left:2rem!important;font-size:.875rem}.autocomplete-dropdown{position:absolute;top:100%;left:0;right:0;background:#fff;border:1px solid #e5e7eb;border-radius:8px;max-height:240px;overflow-y:auto;z-index:9999;box-shadow:0 8px 24px #0000001f;margin-top:4px}.autocomplete-item{display:flex;justify-content:space-between;align-items:center;padding:.625rem .75rem;cursor:pointer;transition:background .15s;border-bottom:1px solid #f3f4f6}.autocomplete-item:hover{background:#f0f4ff}.autocomplete-item-name{font-size:.8125rem;font-weight:500;color:#1f2937}.autocomplete-item-price{font-size:.75rem;font-weight:600;color:#6366f1;white-space:nowrap;margin-left:.5rem}.item-field-row{display:flex;gap:.75rem;margin-bottom:.5rem}.item-field{flex:1;min-width:0}.item-field-full{flex:1 1 100%}.item-qty-wrapper{display:flex;align-items:center;gap:.25rem}.item-qty-wrapper .form-control-sm{text-align:center}.item-qty-unit{font-size:.6875rem;color:#6b7280;white-space:nowrap;font-weight:500}.item-amount-display{background:#f3f4f6;border:1px solid #e5e7eb;border-radius:6px;padding:.375rem .625rem;font-size:.875rem;font-weight:600;color:#1f2937;text-align:right;min-height:31px;display:flex;align-items:center;justify-content:flex-end}.btn-add-new-item{display:flex;align-items:center;justify-content:center;width:100%;padding:.625rem;margin-top:.75rem;background:none;border:2px dashed #d1d5db;border-radius:8px;color:#6366f1;font-size:.8125rem;font-weight:500;cursor:pointer;transition:all .2s}.btn-add-new-item:hover{border-color:#6366f1;background:#f5f3ff}.delivery-section{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:1rem 1.25rem}.delivery-section-title{margin:0 0 .75rem;font-size:.9375rem;font-weight:600;color:#1f2937}.delivery-checkbox-label{display:flex;align-items:center;gap:.625rem;cursor:pointer;-webkit-user-select:none;user-select:none;margin:0}.delivery-checkbox{display:none}.delivery-checkbox-custom{width:20px;height:20px;border:2px solid #d1d5db;border-radius:5px;flex-shrink:0;display:flex;align-items:center;justify-content:center;transition:all .15s;background:#fff;position:relative}.delivery-checkbox:checked+.delivery-checkbox-custom{background:#6366f1;border-color:#6366f1}.delivery-checkbox:checked+.delivery-checkbox-custom:after{content:"";width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg);position:absolute;top:2px}.delivery-checkbox-text{font-size:.875rem;color:#374151;font-weight:450}.create-invoice-actions{display:flex;justify-content:flex-end;gap:.75rem;padding-top:1rem;border-top:1px solid #e5e7eb;position:sticky;bottom:0;background:#fff;margin:0 -1.5rem -1.5rem;padding:1rem 1.5rem;box-shadow:0 -2px 10px #0000000d}.create-invoice-actions .btn:disabled{opacity:.6;cursor:not-allowed}@media(max-width:768px){.invoice-details-form{padding:1rem}.create-invoice-top-bar{flex-direction:column;align-items:stretch}.add-item-section{width:100%}.quantity-type-section{width:100%;justify-content:space-between}.invoice-items-section,.invoice-item-card{padding:.75rem}.item-field-row{flex-wrap:wrap}.item-field{flex:1 1 45%}.create-invoice-actions{flex-direction:column-reverse;margin:0 -.75rem -.75rem;padding:1rem .75rem}.create-invoice-actions .btn{width:100%}}.pagination-container{display:flex;justify-content:space-between;align-items:center;padding:1rem 0;margin-top:1.5rem;border-top:1px solid #e5e7eb;flex-wrap:wrap;gap:1rem}.pagination-info{font-size:.875rem;color:#6b7280}.pagination-controls{display:flex;align-items:center;gap:.5rem}.pagination-pages{display:flex;align-items:center;gap:.25rem}.pagination-btn,.pagination-page{min-width:36px;height:36px;padding:.5rem;border:1px solid #d1d5db;background:#fff;color:#374151;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center}.pagination-btn:hover:not(:disabled),.pagination-page:hover:not(.active){background:#f3f4f6;border-color:#9ca3af;color:#1f2937}.pagination-btn:disabled{opacity:.5;cursor:not-allowed}.pagination-page.active{background:#0d6efd;border-color:#0d6efd;color:#fff}.pagination-page.active:hover{background:#0b5ed7;border-color:#0a58ca}.pagination-ellipsis{padding:.5rem;color:#6b7280;font-size:.875rem;-webkit-user-select:none;user-select:none}@media(max-width:768px){.pagination-container{flex-direction:column;align-items:stretch}.pagination-info{text-align:center;margin-bottom:.5rem}.pagination-controls{justify-content:center}.pagination-pages{flex-wrap:wrap;justify-content:center}}.invoice-container{max-width:100%;padding:0;overflow-x:hidden;width:100%}.chat-list-container{width:350px;min-width:300px;height:100%;display:flex;flex-direction:column;background-color:#fff;border-right:1px solid #e9edef}.chat-list-header{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;background-color:#f0f2f5;border-bottom:1px solid #e9edef}.chat-list-title h3{margin:0;font-size:18px;font-weight:600;color:#111b21}.chat-list-actions{display:flex;gap:8px}.icon-btn{background:none;border:none;padding:8px;cursor:pointer;color:#54656f;font-size:20px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background-color .2s}.icon-btn:hover{background-color:#d1d7db}.chat-list-search{padding:8px 12px;background-color:#fff;border-bottom:1px solid #e9edef}.search-input-wrapper{position:relative;display:flex;align-items:center}.search-icon{position:absolute;left:12px;color:#54656f;font-size:16px}.search-input{width:100%;padding:9px 12px 9px 40px;border:none;border-radius:8px;background-color:#f0f2f5;font-size:14px;color:#111b21;outline:none}.search-input::placeholder{color:#667781}.search-input:focus{background-color:#fff;box-shadow:0 0 0 1px #d1d7db}.chat-list-items{flex:1;overflow-y:auto;background-color:#fff}.chat-list-items::-webkit-scrollbar{width:6px}.chat-list-items::-webkit-scrollbar-track{background:transparent}.chat-list-items::-webkit-scrollbar-thumb{background:#c5c5c5;border-radius:3px}.chat-list-items::-webkit-scrollbar-thumb:hover{background:#a0a0a0}.chat-item{display:flex;align-items:center;padding:10px 16px;cursor:pointer;transition:background-color .2s;border-bottom:1px solid #f0f2f5}.chat-item:hover{background-color:#f5f6f6}.chat-item.active{background-color:#f0f2f5}.chat-item-avatar{position:relative;margin-right:12px;flex-shrink:0}.chat-item-avatar img{width:49px;height:49px;border-radius:50%;object-fit:cover}.avatar-placeholder{width:49px;height:49px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:18px}.online-indicator{position:absolute;bottom:0;right:0;width:13px;height:13px;background-color:#53bdeb;border:2px solid #ffffff;border-radius:50%}.chat-item-content{flex:1;min-width:0;display:flex;flex-direction:column}.chat-item-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.chat-item-name{font-size:16px;font-weight:500;color:#111b21;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-item-time{font-size:12px;color:#667781;flex-shrink:0;margin-left:8px}.chat-item-footer{display:flex;justify-content:space-between;align-items:center}.chat-item-message{font-size:14px;color:#667781;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.chat-item-unread{background-color:#25d366;color:#fff;font-size:12px;font-weight:600;padding:2px 6px;border-radius:10px;min-width:20px;text-align:center;flex-shrink:0;margin-left:8px}.no-chats{padding:40px 20px;text-align:center;color:#667781}@media(max-width:768px){.chat-list-container{width:100%;min-width:100%}}.message-input-container{padding:8px 16px;background-color:#f0f2f5;border-top:1px solid #e9edef}.message-input-wrapper{display:flex;align-items:flex-end;gap:8px;background-color:#fff;border-radius:24px;padding:6px 8px;max-height:100px}.input-action-btn{background:none;border:none;padding:8px;cursor:pointer;color:#54656f;font-size:20px;display:flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:50%;transition:background-color .2s}.input-action-btn:hover{background-color:#f0f2f5}.message-input-form{flex:1;display:flex;align-items:center;min-width:0}.message-input{flex:1;border:none;outline:none;resize:none;font-size:15px;line-height:20px;padding:9px 12px;color:#111b21;background:transparent;max-height:100px;overflow-y:auto;font-family:inherit}.message-input::placeholder{color:#667781}.message-input::-webkit-scrollbar{width:4px}.message-input::-webkit-scrollbar-track{background:transparent}.message-input::-webkit-scrollbar-thumb{background:#c5c5c5;border-radius:2px}.send-btn{background:none;border:none;padding:8px;cursor:pointer;color:#54656f;font-size:20px;display:flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:50%;transition:all .2s}.send-btn:hover{background-color:#d9fdd3;color:#25d366}.send-btn i{transform:rotate(-30deg)}.chat-window-container{flex:1;display:flex;flex-direction:column;height:100%;background-color:#efeae2;position:relative}.chat-window-container.empty{justify-content:center;align-items:center}.empty-chat-state{text-align:center;color:#667781}.empty-chat-icon{font-size:80px;margin-bottom:20px;color:#d1d7db}.empty-chat-state h3{font-size:24px;font-weight:300;margin-bottom:8px;color:#41525d}.empty-chat-state p{font-size:14px;color:#667781}.chat-window-header{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;background-color:#f0f2f5;border-bottom:1px solid #e9edef;min-height:59px}.chat-header-left{display:flex;align-items:center;flex:1;min-width:0}.chat-header-avatar{position:relative;margin-right:12px;flex-shrink:0}.chat-header-avatar img{width:40px;height:40px;border-radius:50%;object-fit:cover}.chat-header-avatar .avatar-placeholder{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:16px}.chat-header-avatar .online-indicator{position:absolute;bottom:0;right:0;width:11px;height:11px;background-color:#53bdeb;border:2px solid #f0f2f5;border-radius:50%}.chat-header-info{flex:1;min-width:0}.chat-header-info h4{margin:0;font-size:16px;font-weight:500;color:#111b21;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-status{font-size:13px;color:#667781}.chat-header-actions{display:flex;gap:8px}.chat-header-actions .icon-btn{background:none;border:none;padding:8px;cursor:pointer;color:#54656f;font-size:20px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background-color .2s}.chat-header-actions .icon-btn:hover{background-color:#d1d7db}.chat-messages-container{flex:1;overflow-y:auto;padding:20px 0}.chat-messages-container::-webkit-scrollbar{width:6px}.chat-messages-container::-webkit-scrollbar-track{background:transparent}.chat-messages-container::-webkit-scrollbar-thumb{background:#c5c5c5;border-radius:3px}.chat-messages-container::-webkit-scrollbar-thumb:hover{background:#a0a0a0}.chat-messages{display:flex;flex-direction:column;padding:0 16px;gap:4px}.message{display:flex;margin-bottom:4px;animation:fadeIn .3s ease-in}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.message-sent{justify-content:flex-end}.message-received{justify-content:flex-start}.message-bubble{max-width:65%;padding:8px 12px;border-radius:7.5px;position:relative;word-wrap:break-word}.message-sent .message-bubble{background-color:#d9fdd3;border-bottom-right-radius:4px}.message-received .message-bubble{background-color:#fff;border-bottom-left-radius:4px;box-shadow:0 1px .5px #00000021}.message-bubble p{margin:0;font-size:14.2px;line-height:1.4;color:#111b21;word-wrap:break-word}.message-time{display:block;font-size:11px;color:#667781;text-align:right;float:right;margin-left:8px;margin-top:2px}.message-received .message-time{text-align:left;float:left}.chat-loading-state{display:flex;align-items:center;justify-content:center;padding:2rem;color:#667781;font-size:14px}.no-messages-state{display:flex;align-items:center;justify-content:center;padding:2rem;text-align:center}.no-messages-state p{margin:0;font-size:14px}@media(max-width:768px){.chat-window-container{width:100%}.message-bubble{max-width:80%}}.chat-container{height:calc(100vh - 140px);width:100%;overflow:hidden;background-color:#f0f2f5;margin:-1.5rem;padding:0}.chat-layout{display:flex;height:100%;max-width:100%;margin:0 auto;background-color:#fff;box-shadow:0 0 10px #0000001a}@media(max-width:768px){.chat-layout{flex-direction:column}}.customers-table-wrapper{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px #0000001a;width:100%;position:relative}.customers-table{width:100%;border-collapse:collapse;margin:0}.customers-table thead{background:#f8f9fa;position:sticky;top:0;z-index:10}.customers-table thead th{padding:.875rem 1rem;text-align:left;font-weight:600;font-size:.8125rem;color:#374151;border-bottom:2px solid #e5e7eb;white-space:nowrap;text-transform:uppercase;letter-spacing:.025em}.customers-table tbody tr{border-bottom:1px solid #f3f4f6;transition:background-color .15s}.customers-table tbody tr:hover{background-color:#f9fafb}.customers-table-row{cursor:pointer;transition:background-color .15s}.customers-table-row:hover{background-color:#f3f4f6!important}.customers-table tbody tr:last-child{border-bottom:none}.customers-table tbody td{padding:.875rem 1rem;font-size:.8125rem;color:#1f2937;vertical-align:top;line-height:1.5}.customer-name{font-weight:500;color:#0d6efd}.customer-phone,.customer-email{color:#374151}.customer-address{color:#6b7280;max-width:200px;word-wrap:break-word}.total-invoices{font-weight:600;color:#1f2937;text-align:center}.total-amount{font-weight:600;color:#059669}.last-invoice-date{color:#6b7280}@media(max-width:768px){.customers-table thead th,.customers-table tbody td{padding:.75rem .5rem;font-size:.75rem}.customer-address{max-width:150px}}.customer-basic-info{background:#f8f9fa;padding:1.5rem;border-radius:8px}.section-title{font-weight:600;color:#374151;font-size:1rem;margin-bottom:1rem}.info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.info-item{display:flex;flex-direction:column}.info-label{font-size:.75rem;color:#6b7280;text-transform:uppercase;letter-spacing:.025em;font-weight:600;margin-bottom:.25rem}.info-value{font-size:.875rem;color:#1f2937;font-weight:500;margin:0}.customer-invoice-history{margin-top:2rem}.customer-invoice-history .table{font-size:.875rem}.customer-invoice-history .table thead th{background:#f8f9fa;font-weight:600;color:#374151;border-bottom:2px solid #e5e7eb;padding:.75rem}.customer-invoice-history .table tbody td{padding:.75rem;border-bottom:1px solid #f3f4f6;vertical-align:middle}.customer-invoice-history .table tbody tr:hover{background-color:#f9fafb}@media(max-width:768px){.info-grid{grid-template-columns:1fr}}.customers-controls{display:flex;justify-content:space-between;align-items:center;padding:1rem 0;flex-wrap:wrap;gap:1rem}@media(max-width:768px){.customers-controls{flex-direction:column;align-items:stretch}.controls-left,.controls-right,.search-input{width:100%}}.create-customer-form{padding:.5rem 0}.create-customer-form .form-label{font-weight:500;color:#374151;margin-bottom:.5rem}.create-customer-form .form-control{border:1px solid #d1d5db;border-radius:6px;padding:.625rem .75rem;font-size:.875rem;transition:border-color .15s,box-shadow .15s}.create-customer-form .form-control:focus{outline:none;border-color:#0d6efd;box-shadow:0 0 0 3px #0d6efd1a}.create-customer-form textarea.form-control{resize:vertical;min-height:100px}.create-customer-actions{display:flex;justify-content:flex-end;gap:.75rem;padding-top:1rem;border-top:1px solid #e5e7eb}.create-customer-actions .btn{min-width:120px;padding:.625rem 1.25rem;font-weight:500;border-radius:6px}.create-customer-actions .btn-primary{background-color:#0d6efd;border-color:#0d6efd}.create-customer-actions .btn-primary:hover:not(:disabled){background-color:#0b5ed7;border-color:#0a58ca}.create-customer-actions .btn-secondary{background-color:#6c757d;border-color:#6c757d;color:#fff}.create-customer-actions .btn-secondary:hover:not(:disabled){background-color:#5c636a;border-color:#565e64}.create-customer-actions .btn:disabled{opacity:.6;cursor:not-allowed}.customers-container{max-width:100%;padding:0;overflow-x:hidden;width:100%}.customers-header{display:flex;justify-content:space-between;align-items:center}.page-title{font-size:1.5rem;font-weight:600;color:#1f2937;margin:0}.inventory-table-wrapper{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px #0000001a;width:100%;position:relative}.inventory-table{width:100%;border-collapse:collapse;margin:0}.inventory-table thead{background:#f8f9fa;position:sticky;top:0;z-index:10}.inventory-table thead th{padding:.875rem 1rem;text-align:left;font-weight:600;font-size:.8125rem;color:#374151;border-bottom:2px solid #e5e7eb;white-space:nowrap;text-transform:uppercase;letter-spacing:.025em}.inventory-table tbody tr{border-bottom:1px solid #f3f4f6;transition:background-color .15s}.inventory-table tbody tr:hover{background-color:#f9fafb}.inventory-table-row{cursor:default}.inventory-table tbody tr:last-child{border-bottom:none}.inventory-table tbody td{padding:.875rem 1rem;font-size:.8125rem;color:#1f2937;vertical-align:top;line-height:1.5}.item-name{font-weight:500;color:#0d6efd}.item-name-cell{display:flex;align-items:center;gap:.6rem}.item-image-card{width:36px;height:36px;border-radius:8px;border:1px solid #e5e7eb;background:#f9fafb;display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0;color:#9ca3af}.item-description{color:#374151;max-width:300px;word-wrap:break-word}.item-rate{font-weight:600;color:#059669}.item-unit{color:#6b7280}.item-group{color:#374151}@media(max-width:768px){.inventory-table thead th,.inventory-table tbody td{padding:.75rem .5rem;font-size:.75rem}.item-description{max-width:150px}}.inventory-top-bar{display:flex;justify-content:space-between;align-items:center;padding:1rem 0;margin-bottom:1rem}.top-bar-left{display:flex;align-items:center;gap:.75rem}@media(max-width:768px){.inventory-top-bar{flex-direction:column;align-items:stretch}.top-bar-left{width:100%;flex-direction:column}.top-bar-left .btn{width:100%}}.inventory-controls{display:flex;justify-content:space-between;align-items:center;padding:1rem 0;flex-wrap:wrap;gap:1rem}.controls-left{display:flex;align-items:center;gap:.75rem}.items-per-page-select{width:auto;min-width:80px}.controls-right{display:flex;align-items:center;gap:.75rem}@media(max-width:768px){.inventory-controls{flex-direction:column;align-items:stretch}.controls-left,.controls-right,.search-input{width:100%}}.inventory-item-form{background:#f8f9fa;padding:1.5rem;border-radius:8px;margin-bottom:1.5rem}.inventory-item-form .form-label{font-weight:500;color:#374151;margin-bottom:.5rem}.inventory-item-form .form-label .text-danger{font-weight:600}.inventory-item-actions{display:flex;justify-content:flex-end;gap:.75rem;padding-top:1rem;border-top:1px solid #e5e7eb}.inventory-item-actions .btn:disabled{opacity:.6;cursor:not-allowed}@media(max-width:768px){.inventory-item-actions{flex-direction:column-reverse}.inventory-item-actions .btn{width:100%}}.modal-content{background:#fff;border-radius:12px;width:100%;max-width:500px;max-height:90vh;overflow-y:auto;box-shadow:0 10px 25px #0003;display:flex;flex-direction:column}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #e5e7eb}.modal-title{font-size:1.25rem;font-weight:600;color:#1f2937;margin:0}.btn-close{background:none;border:none;font-size:1.5rem;color:#6b7280;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s}.btn-close:hover{background:#f3f4f6;color:#1f2937}.modal-body{padding:1.5rem;flex:1;overflow-y:auto}.modal-footer{display:flex;justify-content:flex-end;gap:.75rem;padding:1.5rem;border-top:1px solid #e5e7eb}.groups-header{display:flex;justify-content:flex-end}.create-group-form{background:#f8f9fa;padding:1.5rem;border-radius:8px;border:1px solid #e5e7eb}.form-label{font-size:.875rem;font-weight:500;color:#374151;margin-bottom:.5rem;display:block}.form-control,.form-select{width:100%;padding:.625rem .75rem;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;color:#1f2937;transition:all .2s}.form-control:focus,.form-select:focus{outline:none;border-color:#0d6efd;box-shadow:0 0 0 3px #0d6efd1a}.form-control.is-invalid,.form-select.is-invalid{border-color:#dc2626}.invalid-feedback{display:block;font-size:.75rem;color:#dc2626;margin-top:.25rem}.groups-table-wrapper{background:#fff;border-radius:8px;overflow:hidden;border:1px solid #e5e7eb}.groups-table{width:100%;border-collapse:collapse;margin:0;font-size:.875rem}.groups-table thead th{padding:.875rem 1rem;text-align:left;font-weight:600;color:#374151;border-bottom:2px solid #e5e7eb;font-size:.8125rem;text-transform:uppercase;letter-spacing:.025em}.groups-table tbody tr{border-bottom:1px solid #f3f4f6;transition:background-color .15s}.groups-table tbody tr:hover{background-color:#f9fafb}.groups-table tbody tr:last-child{border-bottom:none}.groups-table tbody td{padding:.875rem 1rem;color:#1f2937;vertical-align:middle}@media(max-width:576px){.groups-modal-content{max-width:100%}.modal-header,.modal-body,.modal-footer{padding:1rem}.modal-footer{flex-direction:column-reverse}.modal-footer .btn{width:100%}.groups-table{font-size:.75rem}.groups-table thead th,.groups-table tbody td{padding:.75rem .5rem}}.receiving-voucher-actions{display:flex;justify-content:flex-end;gap:.75rem;padding-top:1rem;border-top:1px solid #e2e8f0}.autocomplete-wrapper{position:relative}.autocomplete-dropdown{position:absolute;top:100%;left:0;right:0;background-color:#fff;border:1px solid #dee2e6;border-radius:.375rem;max-height:200px;overflow-y:auto;z-index:1000;box-shadow:0 2px 8px #00000026;margin-top:2px;padding-bottom:.5rem}.autocomplete-item{padding:.5rem;cursor:pointer;border-bottom:1px solid #f0f0f0;transition:background-color .2s}.autocomplete-item:hover{background-color:#f8f9fa}.autocomplete-item:last-child{border-bottom:none}.autocomplete-dropdown::-webkit-scrollbar{width:6px}.autocomplete-dropdown::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.autocomplete-dropdown::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:3px}.autocomplete-dropdown::-webkit-scrollbar-thumb:hover{background:#a0aec0}.inventory-container{max-width:100%;padding:0;overflow-x:hidden;width:100%}.orders-stats{margin-bottom:1.5rem}.orders-stats .kpi-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 1px 3px #0000001a;height:100%;transition:all .2s;position:relative;overflow:hidden}.orders-stats .kpi-card:hover{box-shadow:0 4px 12px #00000026;transform:translateY(-2px)}.orders-stats .kpi-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.orders-stats .kpi-icon{width:48px;height:48px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1.5rem}.orders-stats .kpi-card-body{display:flex;flex-direction:column;gap:.5rem}.orders-stats .kpi-value{font-size:1.75rem;font-weight:700;color:#1f2937;margin:0;line-height:1.2}.orders-stats .kpi-label{font-size:.875rem;color:#6b7280;margin:0;font-weight:500}@media(max-width:768px){.orders-stats .kpi-card{padding:1.25rem}.orders-stats .kpi-value{font-size:1.5rem}}.orders-filters{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 1px 3px #0000001a;margin-bottom:1.5rem}.filters-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.25rem;padding-bottom:1rem;border-bottom:1px solid #e5e7eb}.filters-title{font-size:1.125rem;font-weight:600;color:#1f2937;margin:0;display:flex;align-items:center}.filters-title i{color:#3b82f6}.filters-header-actions{display:flex;align-items:center;gap:.75rem}.clear-filters-btn{padding:.375rem .875rem;font-size:.875rem;font-weight:500;color:#ef4444;text-decoration:none;border:1px solid #ef4444;background:#fff;border-radius:6px;cursor:pointer;transition:all .2s;display:inline-flex;align-items:center}.clear-filters-btn:hover:not(:disabled){color:#fff;background:#ef4444;text-decoration:none}.clear-filters-btn:disabled{color:#9ca3af;border-color:#d1d5db;cursor:not-allowed;opacity:.6}.clear-filters-btn.active{color:#ef4444;border-color:#ef4444}.filters-content{width:100%}.filters-content .form-label{font-size:.875rem;font-weight:500;color:#374151;margin-bottom:.5rem;display:block}.filters-content .form-select,.filters-content .form-control{font-size:.875rem;border:1px solid #d1d5db;border-radius:6px;padding:.5rem .75rem;transition:all .2s}.filters-content .form-select:focus,.filters-content .form-control:focus{border-color:#3b82f6;outline:none;box-shadow:0 0 0 3px #3b82f61a}.filters-content .form-control[type=date],.filters-content .form-control[type=number]{cursor:pointer}.filters-content .form-control[type=date]::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.6;transition:opacity .2s}.filters-content .form-control[type=date]::-webkit-calendar-picker-indicator:hover{opacity:1}.orders-customer-search-wrapper{position:relative}.orders-customer-search-icon{position:absolute;left:.625rem;top:50%;transform:translateY(-50%);color:#9ca3af;font-size:.8125rem;z-index:1;pointer-events:none}.orders-customer-search-input{padding-left:2rem!important}.orders-customer-search-dropdown{position:absolute;top:calc(100% + 4px);left:0;right:0;background:#fff;border:1px solid #e5e7eb;border-radius:8px;max-height:240px;overflow-y:auto;z-index:1000;box-shadow:0 8px 24px #0000001f}.orders-customer-search-item{padding:.625rem .75rem;cursor:pointer;border-bottom:1px solid #f3f4f6}.orders-customer-search-item:last-child{border-bottom:none}.orders-customer-search-item:hover{background:#f0f4ff}.orders-customer-search-name{font-size:.8125rem;font-weight:500;color:#1f2937}.orders-customer-search-phone{font-size:.75rem;color:#6b7280;margin-top:.125rem}.orders-customer-search-empty{padding:.625rem .75rem;font-size:.8125rem;color:#6b7280}@media(max-width:768px){.orders-filters{padding:1rem}.filters-header{flex-direction:column;align-items:flex-start;gap:.75rem}.filters-content .row{margin:0}.filters-content .col-md-6,.filters-content .col-lg-3{padding:0;margin-bottom:1rem}}.orders-table-wrapper{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px #0000001a;width:100%;position:relative}.orders-table-wrapper .card-title{font-size:1.25rem;font-weight:600;color:#1f2937;margin:0;padding:1.25rem 1rem 1rem}.orders-table{width:100%;border-collapse:collapse;margin:0}.orders-table thead{background:#f8f9fa;position:sticky;top:0;z-index:10}.orders-table thead th{padding:.875rem 1rem;text-align:left;font-weight:600;font-size:.8125rem;color:#374151;border-bottom:2px solid #e5e7eb;white-space:nowrap;text-transform:uppercase;letter-spacing:.025em}.orders-table tbody tr{border-bottom:1px solid #f3f4f6;transition:background-color .15s}.orders-table tbody tr:last-child{border-bottom:none}.orders-table-row{cursor:pointer}.orders-table-row:hover{background-color:#f3f4f6!important}.orders-table tbody td{padding:.875rem 1rem;font-size:.8125rem;color:#1f2937;vertical-align:top;line-height:1.5}.order-invoice-number{font-weight:500;color:#0d6efd;white-space:nowrap}.order-amount{font-weight:600;color:#1f2937;white-space:nowrap}.order-date,.order-pickup-date{color:#374151;white-space:nowrap}.order-customer{max-width:180px}.customer-name{display:block;font-weight:500;color:#1f2937}.customer-phone{display:block;font-size:.75rem;color:#6b7280;margin-top:.125rem}.order-items-cell{color:#374151;max-width:220px;word-wrap:break-word;overflow-wrap:break-word;white-space:normal;line-height:1.4}.order-tags{color:#6b7280}.order-notes-cell{color:#374151;max-width:200px;word-wrap:break-word;overflow-wrap:break-word;white-space:normal;line-height:1.4}.status-badge{display:inline-block;padding:.375rem .75rem;border-radius:6px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.025em;white-space:nowrap}@media(max-width:1200px){.orders-table{min-width:1100px}}@media(max-width:768px){.orders-table thead th,.orders-table tbody td{padding:.75rem .5rem;font-size:.75rem}.order-customer{max-width:140px}.order-items-cell,.order-notes-cell{max-width:150px}}.add-transaction-modal-overlay{position:fixed;inset:0;background:#0f172a73;display:flex;align-items:center;justify-content:center;z-index:1060;padding:1rem}.add-transaction-modal-card{width:100%;max-width:460px;background:#fff;border:1px solid #e5e7eb;border-radius:10px;box-shadow:0 15px 35px #0000002e}.add-transaction-modal-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.1rem;border-bottom:1px solid #e5e7eb}.add-transaction-modal-body{padding:1rem 1.1rem}.add-transaction-modal-footer{display:flex;justify-content:flex-end;gap:.5rem;padding:.9rem 1.1rem 1rem;border-top:1px solid #e5e7eb}.offcanvas{width:600px!important;max-width:90vw}.offcanvas-header{border-bottom:1px solid #e5e7eb;padding:1.25rem 1.5rem}.offcanvas-title{font-size:1.25rem;font-weight:600;color:#1f2937;margin:0}.offcanvas-body{padding:1.5rem;overflow-y:auto}.order-status-badge{display:flex;align-items:center}.status-badge{display:inline-block;padding:.375rem .75rem;border-radius:6px;font-size:.875rem;font-weight:600;text-transform:uppercase;letter-spacing:.025em}.status-paid,.status-completed,.status-delivered,.status-ready{background:#d1fae5;color:#065f46}.status-unpaid,.status-pending{background:#fee2e2;color:#991b1b}.status-partially-paid,.status-processing{background:#fef3c7;color:#92400e}.order-number-section{padding-bottom:1rem;border-bottom:1px solid #e5e7eb}.order-number{font-size:1.5rem;font-weight:700;color:#1f2937;margin:0;display:flex;align-items:center}.section-title{font-size:.875rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.025em;margin-bottom:.5rem}.company-info p,.customer-info p{font-size:.875rem;margin:0}.order-meta{background:#f9fafb;padding:1rem;border-radius:8px}.order-meta .row>div{font-size:.875rem}.order-items-table{overflow-x:auto}.order-items-table .table{margin:0;font-size:.875rem}.order-items-table .table thead th{background:#f8f9fa;font-weight:600;color:#374151;border-bottom:2px solid #e5e7eb;padding:.75rem}.order-items-table .table tbody td{padding:.75rem;vertical-align:middle}.order-summary{margin-top:1.5rem}.order-summary .row{margin:0}.order-summary .col-md-6{padding-left:0;padding-right:0;margin-left:auto}.order-summary .table{margin:0;font-size:.875rem;width:100%;border-collapse:separate;border-spacing:0}.order-summary .table td{padding:.625rem .75rem;border-top:1px solid #e5e7eb;white-space:nowrap}.order-summary .table td:first-child{padding-right:1.5rem;width:60%}.order-summary .table td:last-child{text-align:right;padding-left:1rem;width:40%;font-weight:500}.order-summary .table-active{background:#f3f4f6;font-weight:600}.order-summary .table-active td{border-top:2px solid #e5e7eb;padding-top:.75rem;padding-bottom:.75rem}.order-summary-section{margin-top:2rem;padding-top:1.5rem;border-top:1px solid #e5e7eb}.order-summary-section .table{margin:0;font-size:.875rem}.order-summary-section .table td{padding:.5rem .75rem;border-top:1px solid #e5e7eb}.order-summary-section .table-active{background:#f3f4f6}.kitchen-view-section{background:#f9fafb;padding:1.5rem;border-radius:8px;border:1px solid #e5e7eb}.kitchen-item-card{border:1px solid #e5e7eb;border-radius:8px;transition:box-shadow .2s}.kitchen-item-card:hover{box-shadow:0 2px 8px #0000001a}.kitchen-item-card .card-body{padding:1rem}.kitchen-item-card .card-title{font-size:1rem;font-weight:600;color:#1f2937;margin-bottom:.75rem}.kitchen-item-image{border-radius:6px;overflow:hidden;background:#f3f4f6;display:flex;align-items:center;justify-content:center;min-height:150px}.kitchen-item-image img{border-radius:6px}.kitchen-item-card strong.text-muted{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.025em;color:#6b7280;display:block;margin-bottom:.25rem}.kitchen-item-card p{font-size:.875rem;color:#374151;line-height:1.5}.kitchen-item-card .text-info{color:#0d6efd!important;font-size:.875rem}.order-actions{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.activity-placeholder{border:1px dashed #d1d5db;background:#f9fafb;border-radius:8px;padding:.75rem 1rem;color:#4b5563;font-size:.875rem}.transactions-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.75rem}.record-payment-form{padding:.5rem 0}.record-payment-form .form-label{font-weight:500;color:#374151;font-size:.875rem}#orderDetailOffcanvas{width:650px!important;max-width:95vw}@media(max-width:768px){.offcanvas,#orderDetailOffcanvas{width:100%!important}.kitchen-view-section{padding:1rem}.kitchen-item-card .card-body{padding:.75rem}}.order-details-form{background:#f8f9fa;padding:1.5rem;border-radius:8px;margin-bottom:1.5rem}.order-details-form .form-label{font-weight:500;color:#374151;margin-bottom:.5rem}.order-details-form .form-label .text-danger{font-weight:600}.order-details-form .form-control:read-only{background-color:#e9ecef;cursor:not-allowed}.customer-search-wrapper{position:relative}.customer-search-icon{position:absolute;left:.625rem;top:50%;transform:translateY(-50%);color:#9ca3af;font-size:.8125rem;z-index:1;pointer-events:none}.customer-search-input{padding-left:2rem!important}.customer-search-dropdown{position:absolute;top:calc(100% + 4px);left:0;right:0;background:#fff;border:1px solid #e5e7eb;border-radius:8px;max-height:240px;overflow-y:auto;z-index:1000;box-shadow:0 8px 24px #0000001f}.customer-search-item{padding:.625rem .75rem;cursor:pointer;border-bottom:1px solid #f3f4f6}.customer-search-item:last-child{border-bottom:none}.customer-search-item:hover{background:#f0f4ff}.customer-search-name{font-size:.8125rem;font-weight:500;color:#1f2937}.customer-search-phone{font-size:.75rem;color:#6b7280;margin-top:.125rem}.customer-search-empty{padding:.625rem .75rem;font-size:.8125rem;color:#6b7280}.order-items-section{background:#fff;border-radius:10px;border:1px solid #e5e7eb;padding:1.25rem}.order-item-cards{display:flex;flex-direction:column;gap:1rem}.order-item-card{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:1rem;transition:border-color .2s}.order-item-card:hover{border-color:#c7d2fe}.order-item-card.active{border-color:#a5b4fc;box-shadow:0 0 0 2px #6366f114}.invoice-summary-section{margin-top:2rem;padding-top:1.5rem;border-top:1px solid #e5e7eb}.invoice-summary-section .table{margin:0;font-size:.875rem}.invoice-summary-section .table td{padding:.5rem .75rem;border-top:1px solid #e5e7eb}.invoice-summary-section .table-active{background:#f3f4f6}.create-order-actions{display:flex;justify-content:flex-end;gap:.75rem;padding-top:1rem;border-top:1px solid #e5e7eb;position:sticky;bottom:0;background:#fff;margin:0 -1.5rem -1.5rem;padding:1rem 1.5rem;box-shadow:0 -2px 10px #0000000d}.create-order-actions .btn:disabled{opacity:.6;cursor:not-allowed}#createOrderOffcanvas{position:fixed!important;top:0!important;right:0!important;bottom:0!important;width:700px;max-width:95vw;z-index:1045!important;background-color:#fff;box-shadow:-2px 0 8px #00000026;transform:translate(100%);transition:transform .3s ease-in-out;overflow-y:auto}#createOrderOffcanvas.show{transform:translate(0)}@media(max-width:768px){.order-details-form{padding:1rem}.order-items-section,.order-item-card{padding:.75rem}.create-order-actions{flex-direction:column-reverse;margin:0 -.75rem -.75rem;padding:1rem .75rem}.create-order-actions .btn{width:100%}#createOrderOffcanvas{width:100%!important;max-width:100%}}.orders-container{max-width:100%;padding:0;overflow-x:hidden;width:100%}.orders-toolbar{display:flex;justify-content:flex-end;margin-bottom:.75rem}@media(max-width:992px){.orders-container .row>div{margin-bottom:1rem}}.leads-container{max-width:100%}.leads-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.leads-title{margin:0;font-size:1.5rem;font-weight:600;color:#1f2937}.leads-filter-bar{display:flex;gap:.5rem;margin-bottom:1rem}.status-filter-btn{border:1px solid #d1d5db;background:#fff;color:#374151;padding:.375rem .75rem;border-radius:6px;font-size:.8125rem;font-weight:500;cursor:pointer;transition:all .2s}.status-filter-btn:hover{border-color:#3b82f6;color:#2563eb}.status-filter-btn.active{background:#eff6ff;border-color:#3b82f6;color:#1d4ed8}.leads-table-wrapper{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;overflow:hidden}.leads-table{width:100%;border-collapse:collapse}.leads-table thead{background:#f8f9fa}.leads-table thead th{padding:.875rem 1rem;font-size:.8125rem;color:#374151;font-weight:600;text-transform:uppercase;border-bottom:2px solid #e5e7eb}.leads-table tbody td{padding:.875rem 1rem;border-bottom:1px solid #f3f4f6;font-size:.8125rem;color:#1f2937;vertical-align:top}.leads-table tbody tr:hover{background:#f9fafb}.lead-status-badge{display:inline-block;padding:.25rem .625rem;border-radius:999px;font-size:.75rem;font-weight:600}.lead-status-badge.won{background:#d1fae5;color:#065f46}.lead-status-badge.lost{background:#fee2e2;color:#991b1b}.lead-notes{max-width:260px;word-wrap:break-word;overflow-wrap:break-word}.lead-form-actions{display:flex;justify-content:flex-end;gap:.75rem}@media(max-width:768px){.leads-header{flex-direction:column;align-items:flex-start;gap:.75rem}.leads-filter-bar{width:100%;overflow-x:auto}.leads-table{min-width:900px}}.kitchen-container{width:100vw;height:100vh;overflow:hidden;background:#f7fafc;padding:0;margin:0;display:flex;flex-direction:column}.kitchen-header{background:#fff;padding:1.25rem 2rem;display:flex;justify-content:space-between;align-items:center;box-shadow:0 1px 3px #0000001a;border-bottom:1px solid #e2e8f0;z-index:100}.kitchen-header-left{display:flex;align-items:center;gap:1.5rem}.kitchen-title{font-size:1.75rem;font-weight:700;color:#2d3748;margin:0;display:flex;align-items:center}.kitchen-title i{color:#667eea}.refresh-btn{border-color:#cbd5e0;color:#4a5568;font-weight:500;padding:.5rem 1rem;transition:all .2s;background:#fff}.refresh-btn:hover{background:#667eea;color:#fff;border-color:#667eea}.kitchen-status-filters{display:flex;gap:.75rem}.status-filter-btn{padding:.5rem 1.25rem;border:2px solid #e2e8f0;background:#fff;border-radius:8px;font-weight:500;color:#4a5568;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:.5rem;position:relative}.status-filter-btn:hover{border-color:#667eea;color:#667eea}.status-filter-btn.active{background:#667eea;border-color:#667eea;color:#fff}.status-count{background:#ffffff4d;color:#fff;padding:.125rem .5rem;border-radius:12px;font-size:.75rem;font-weight:600}.status-filter-btn.active .status-count{background:#ffffff40}.status-filter-btn:not(.active) .status-count{background:#e2e8f0;color:#4a5568}.kitchen-orders-grid{flex:1;overflow-y:auto;padding:1.5rem;display:grid;grid-template-columns:repeat(auto-fill,minmax(380px,1fr));grid-auto-rows:minmax(400px,auto);gap:1.25rem;align-content:start;background:#f7fafc}.kitchen-empty-state{grid-column:1 / -1;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;color:#718096}.kitchen-order-card{background:#fff;border-radius:12px;padding:1.5rem;border:1px solid #e2e8f0;box-shadow:0 1px 3px #0000001a;display:flex;flex-direction:column;gap:1rem;transition:all .2s;height:100%;min-height:400px;max-height:600px;position:relative;overflow:hidden}.kitchen-order-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026;border-color:#cbd5e0}.kitchen-card-header{display:flex;justify-content:space-between;align-items:flex-start;padding-bottom:1rem;border-bottom:1px solid #e2e8f0;margin-bottom:.5rem;flex-shrink:0}.order-id-section{display:flex;align-items:center;gap:.75rem}.order-icon{width:48px;height:48px;background:#f0f4f8;border:2px solid #cbd5e0;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#4a5568;font-size:1.25rem;flex-shrink:0}.order-id{font-size:1.5rem;font-weight:700;color:#2d3748;line-height:1.2}.order-time{font-size:.875rem;color:#718096;display:flex;align-items:center;margin-top:.25rem}.order-type-section{display:flex;flex-direction:column;align-items:flex-end;gap:.5rem}.order-type-badge{padding:.375rem .875rem;border-radius:8px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.order-type-badge.take-away{background:#fed7d7;color:#c53030}.order-type-badge.dine-in{background:#c6f6d5;color:#22543d}.table-number{font-size:.875rem;font-weight:600;color:#4a5568;background:#edf2f7;padding:.25rem .75rem;border-radius:6px}.kitchen-card-token{background:#f7fafc;padding:.75rem 1rem;border-radius:8px;display:flex;justify-content:space-between;align-items:center}.token-label{font-size:.875rem;color:#718096;font-weight:500}.token-value{font-size:1.25rem;font-weight:700;color:#2d3748}.kitchen-card-items{flex:1;display:flex;flex-direction:column;gap:.75rem;min-height:100px;overflow-y:auto;padding-right:.5rem;margin-bottom:.5rem}.kitchen-card-items::-webkit-scrollbar{width:4px}.kitchen-card-items::-webkit-scrollbar-track{background:transparent}.kitchen-card-items::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:2px}.kitchen-card-items::-webkit-scrollbar-thumb:hover{background:#a0aec0}.kitchen-item-row{display:flex;align-items:flex-start;gap:.75rem}.item-indicator{width:12px;height:12px;background:#667eea;border-radius:50%;margin-top:.375rem;flex-shrink:0}.item-content{flex:1}.item-name{font-size:1rem;font-weight:600;color:#2d3748;margin-bottom:.25rem}.item-quantity{color:#667eea;font-weight:700;margin-left:.25rem}.item-note{font-size:.875rem;color:#e53e3e;display:flex;align-items:center;font-style:italic}.kitchen-card-description{background:#edf2f7;border-left:3px solid #667eea;padding:.75rem 1rem;border-radius:6px;font-size:.875rem;color:#2d3748;display:flex;align-items:flex-start;gap:.5rem;line-height:1.5;flex-shrink:0;max-height:80px;overflow-y:auto}.kitchen-card-description i{color:#667eea;flex-shrink:0;margin-top:.125rem}.kitchen-card-description::-webkit-scrollbar{width:4px}.kitchen-card-description::-webkit-scrollbar-track{background:transparent}.kitchen-card-description::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:2px}.kitchen-no-items{padding:1rem;text-align:center;color:#a0aec0;font-size:.875rem;font-style:italic}.kitchen-card-notes{background:#fffaf0;border-left:4px solid #f6ad55;padding:.75rem 1rem;border-radius:6px;font-size:.875rem;color:#744210;display:flex;align-items:center;flex-shrink:0;max-height:60px;overflow-y:auto}.kitchen-card-notes::-webkit-scrollbar{width:4px}.kitchen-card-notes::-webkit-scrollbar-track{background:transparent}.kitchen-card-notes::-webkit-scrollbar-thumb{background:#f6ad55;border-radius:2px}.kitchen-card-footer{display:flex;justify-content:space-between;align-items:center;padding-top:1rem;margin-top:0;border-top:2px solid #e2e8f0;gap:.75rem;flex-wrap:wrap;flex-shrink:0}.status-badge{padding:.5rem .875rem;border-radius:6px;font-size:.75rem;font-weight:600;text-transform:capitalize;white-space:nowrap;flex-shrink:0}.status-badge.status-success{background:#c6f6d5;color:#22543d}.status-badge.status-warning{background:#feebc8;color:#7c2d12}.status-badge.status-danger{background:#fed7d7;color:#c53030}.status-badge.status-pending{background:#e2e8f0;color:#4a5568}.status-dropdown-wrapper{position:relative;flex:1;min-width:160px;max-width:220px;z-index:1}.status-dropdown{width:100%;padding:.625rem 2.25rem .625rem .875rem;border:2px solid #cbd5e0;border-radius:6px;font-size:.875rem;font-weight:600;background:#fff;color:#2d3748;cursor:pointer;appearance:none;transition:all .2s}.status-dropdown:hover{border-color:#667eea;background:#f7fafc}.status-dropdown:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea26;background:#fff}.status-dropdown:disabled{opacity:.7;cursor:not-allowed;background:#f7fafc}.status-dropdown.updating{border-color:#667eea}.dropdown-icon{position:absolute;right:.75rem;top:50%;transform:translateY(-50%);pointer-events:none;color:#667eea;font-size:.875rem;font-weight:600}.updating-spinner{animation:spin 1s linear infinite}@keyframes spin{0%{transform:translateY(-50%) rotate(0)}to{transform:translateY(-50%) rotate(360deg)}}@media(max-width:1200px){.kitchen-orders-grid{grid-template-columns:repeat(auto-fill,minmax(360px,1fr));grid-auto-rows:minmax(400px,auto)}.kitchen-order-card{min-height:400px;max-height:600px}}@media(max-width:768px){.kitchen-header{flex-direction:column;gap:1rem;padding:1rem}.kitchen-header-left{width:100%;justify-content:space-between}.kitchen-status-filters{flex-wrap:wrap;width:100%}.kitchen-orders-grid{grid-template-columns:1fr;padding:1rem}.kitchen-title{font-size:1.5rem}}.kitchen-orders-grid::-webkit-scrollbar{width:8px}.kitchen-orders-grid::-webkit-scrollbar-track{background:#e2e8f0;border-radius:4px}.kitchen-orders-grid::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:4px}.kitchen-orders-grid::-webkit-scrollbar-thumb:hover{background:#a0aec0}.order-taking-shell{min-height:100vh;background:#f8fafc;padding:1rem 1.5rem}.order-taking-page{display:flex;flex-direction:column;gap:1rem;width:100%}.order-taking-header{display:flex;justify-content:space-between;align-items:center;gap:1rem;background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:1rem 1.2rem}.order-taking-title{margin:0;font-size:1.35rem;font-weight:700;color:#111827}.order-taking-subtitle{margin:.2rem 0 0;color:#6b7280}.order-taking-header.compact{padding:.75rem 1rem}.order-taking-header-left{display:flex;align-items:center;gap:.8rem}.order-taking-header-text{display:flex;flex-direction:column;gap:.15rem}.order-taking-header-text p{margin:0;color:#6b7280;font-size:.88rem}.order-taking-back-btn{height:38px;border:1px solid #d1d5db;border-radius:10px;background:#fff;color:#111827;display:inline-flex;align-items:center;gap:.4rem;padding:0 .7rem}.order-taking-back-btn i{font-size:.9rem}.order-taking-back-btn span{font-size:.86rem;font-weight:600}.order-taking-controls{display:grid;grid-template-columns:1.2fr 1fr;gap:.75rem}.search-input-wrap,.customer-input-wrap{position:relative}.search-input-wrap i,.customer-input-wrap i{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#9ca3af}.search-input-wrap input,.customer-input-wrap input{padding-left:2.2rem;height:44px;border-radius:12px;border-color:#e5e7eb}.clear-customer-btn{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:none;border-radius:8px;background:#f3f4f6;color:#111827;font-size:.8rem;padding:.2rem .55rem}.customer-dropdown{position:absolute;z-index:50;top:calc(100% + 6px);left:0;right:0;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 10px 30px #0f172a14;max-height:250px;overflow-y:auto}.customer-dropdown-item{width:100%;border:none;background:transparent;text-align:left;display:flex;justify-content:space-between;align-items:center;padding:.7rem .85rem;border-bottom:1px solid #f3f4f6;color:#111827}.customer-dropdown-item small{color:#6b7280}.customer-dropdown-item.muted{color:#9ca3af}.category-strip{display:flex;gap:.65rem;overflow-x:auto;padding-bottom:.35rem}.category-strip::-webkit-scrollbar{height:5px}.category-strip::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:999px}.category-card{min-width:128px;border:1px solid #e5e7eb;background:#fff;border-radius:12px;padding:.65rem .8rem;display:flex;flex-direction:column;align-items:flex-start;gap:.25rem;transition:all .2s ease}.category-card span{color:#111827;font-weight:600}.category-card small{color:#6b7280}.category-card.active{border-color:#0d6efd;background:#eef4ff}.order-taking-layout{display:grid;grid-template-columns:minmax(0,1fr) clamp(360px,30vw,460px);gap:1rem}.products-panel{min-height:420px}.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.8rem}.product-card{border:1px solid #e5e7eb;border-radius:14px;background:#fff;overflow:hidden;display:flex;flex-direction:column}.product-card.selected{border-color:#0d6efd;box-shadow:0 8px 20px #0d6efd1f}.product-image-wrap{height:130px;background:#f9fafb}.product-image{width:100%;height:100%;object-fit:cover}.product-image-fallback{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#9ca3af;font-size:1.6rem}.product-content{padding:.75rem;display:flex;justify-content:space-between;gap:.5rem}.product-text h6{margin:0 0 .2rem;color:#111827;font-size:.98rem}.product-text p{margin:0 0 .3rem;color:#6b7280;font-size:.82rem;min-height:35px}.product-text{display:flex;flex-direction:column;justify-content:center;gap:.25rem}.product-text strong{color:#0f172a}.qty-controls-side{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.3rem;min-width:42px}.qty-controls-side button{width:28px;height:28px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#111827;display:flex;align-items:center;justify-content:center}.qty-controls-side span{font-weight:700;color:#111827}.summary-panel{position:sticky;top:90px;align-self:start;border:1px solid #e5e7eb;border-radius:14px;background:#fff;padding:.9rem;display:flex;flex-direction:column;gap:.75rem}.summary-header{display:flex;justify-content:space-between;align-items:center}.summary-header h5{margin:0;color:#111827}.summary-header span{color:#6b7280;font-size:.88rem}.summary-notes{border-radius:10px;border-color:#e5e7eb}.summary-items{max-height:280px;overflow-y:auto;border:1px solid #f3f4f6;border-radius:10px;padding:.4rem}.summary-item-row{display:flex;justify-content:space-between;gap:.5rem;padding:.55rem;border-bottom:1px solid #f3f4f6}.summary-item-row:last-child{border-bottom:none}.summary-item-row strong{display:block;color:#111827;font-size:.9rem}.summary-item-row small{color:#6b7280;font-size:.78rem}.summary-item-row span{color:#111827;font-weight:600;font-size:.86rem}.empty-summary{margin:0;color:#9ca3af;text-align:center;padding:1.2rem .4rem;font-size:.9rem}.summary-total{display:flex;justify-content:space-between;align-items:center;background:#f8fafc;border-radius:10px;padding:.7rem}.summary-total span{color:#6b7280}.summary-total strong{color:#111827;font-size:1.08rem}.process-order-btn{width:100%;border-radius:10px;height:44px}.products-state{height:360px;border:1px dashed #d1d5db;border-radius:14px;color:#6b7280;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.7rem}.products-state i{font-size:2rem;color:#9ca3af}.success-modal-overlay{position:fixed;inset:0;background:#0f172a73;display:flex;align-items:center;justify-content:center;z-index:2000}.success-modal-card{width:min(420px,calc(100% - 24px));background:#fff;border-radius:16px;padding:1.2rem;text-align:center;border:1px solid #e5e7eb}.success-icon{width:62px;height:62px;border-radius:50%;background:#ecfdf5;color:#16a34a;display:inline-flex;align-items:center;justify-content:center;font-size:1.9rem;margin-bottom:.6rem}.success-modal-card h4{margin:0 0 .35rem;color:#111827}.success-modal-card p{margin-bottom:.85rem;color:#6b7280}@media(max-width:1100px){.order-taking-layout{grid-template-columns:1fr}.summary-panel{position:static}}@media(max-width:768px){.order-taking-shell{padding:.75rem 1rem}.order-taking-header{flex-direction:column;align-items:flex-start}.order-taking-header-left{width:100%}.order-taking-header-text{min-width:0}.order-taking-header-text p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.order-taking-controls,.products-grid{grid-template-columns:1fr}}.business-profile-container{padding:2rem;max-width:1400px;margin:0 auto}.page-header{margin-bottom:2rem}.page-title{font-size:2rem;font-weight:600;color:#1f2937;margin-bottom:.5rem}.page-subtitle{color:#6b7280;font-size:1rem;margin:0}.business-card{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;overflow:hidden;height:100%;display:flex;flex-direction:column}.card-header{padding:1.5rem;border-bottom:1px solid #e5e7eb;background:#f9fafb}.card-title{font-size:1.25rem;font-weight:600;color:#1f2937;margin-bottom:.5rem;display:flex;align-items:center}.card-title i{color:#3b82f6;font-size:1.5rem}.card-subtitle{color:#6b7280;font-size:.875rem;margin:0}.card-body{padding:1.5rem;flex:1}.card-footer{padding:1.5rem;border-top:1px solid #e5e7eb;background:#f9fafb}.form-label{font-weight:500;color:#374151;margin-bottom:.5rem;font-size:.875rem}.form-control{border:1px solid #d1d5db;border-radius:8px;padding:.75rem;font-size:.875rem;transition:all .2s}.form-control:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.form-control::placeholder{color:#9ca3af}textarea.form-control{resize:vertical;min-height:100px}.text-danger{color:#ef4444}@media(max-width:992px){.business-profile-container{padding:1rem}.page-title{font-size:1.5rem}.card-header,.card-body,.card-footer{padding:1rem}}.table-groups-modal-content{background:#fff;border-radius:20px;width:90%;max-width:800px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #0000004d;border:1px solid #e1e8ed}.create-group-form{background:#fff;padding:24px;border-radius:12px;border:1px solid #e1e8ed;box-shadow:0 2px 8px #0000000a}.groups-table-wrapper{overflow-x:auto}.groups-table{width:100%;border-collapse:collapse}.groups-table thead{background:#f8f9fa}.groups-table th{padding:12px;text-align:left;font-weight:600;color:#495057;border-bottom:2px solid #dee2e6;font-size:14px}.groups-table td{padding:12px;border-bottom:1px solid #e9ecef;color:#495057}.groups-table tbody tr:hover{background:#f8f9fa}.modal-footer{display:flex;justify-content:flex-end;gap:12px;padding:24px 28px;border-top:1px solid #e1e8ed;background:#fafbfc}.table-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:18px;padding:14px 0 8px}.table-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:14px 14px 16px;border-radius:16px;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);background:#fff;border:1px solid #e2e8f0;min-height:220px;box-shadow:0 6px 16px #0f172a0f}.table-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px #0f172a26;border-color:#60a5fa}.table-card.has-order{background:linear-gradient(180deg,#fffaf0,#fff);border-color:#f59e0b;box-shadow:0 10px 24px #f59e0b24}.table-card.occupied{border-color:#f59e0b;background:linear-gradient(180deg,#fff8eb,#fff);box-shadow:0 10px 24px #f59e0b24}.table-card-head{width:100%;display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.table-status{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:4px 9px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.table-status.available{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe}.table-status.occupied{background:#fffbeb;color:#92400e;border:1px solid #fde68a}.table-circle{width:84px;height:84px;border-radius:50%;background:linear-gradient(145deg,#3b82f6,#2563eb);display:flex;align-items:center;justify-content:center;margin-bottom:10px;box-shadow:0 10px 20px #2563eb59;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden}.table-circle:before{content:"";position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle,rgba(255,255,255,.3) 0%,transparent 70%);opacity:0;transition:opacity .3s ease}.table-card:hover .table-circle:before{opacity:1}.table-card.has-order .table-circle,.table-card.occupied .table-circle{background:linear-gradient(145deg,#f59e0b,#d97706);box-shadow:0 10px 20px #d9770659}.table-number{font-size:26px;font-weight:800;color:#fff;text-shadow:0 2px 4px rgba(0,0,0,.2);position:relative;z-index:1;letter-spacing:-1px}.table-label{margin-top:2px;margin-bottom:8px;font-size:13px;font-weight:700;color:#334155}.table-indicator{display:flex;flex-direction:column;align-items:flex-start;width:100%;gap:5px;margin-top:4px;padding:8px 9px;background:#fff7ed;border-radius:10px;border:1px solid #fed7aa;font-size:11px;font-weight:700;color:#9a3412}.table-indicator i{font-size:16px;color:#4a90e2}.guest-count{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:#7c2d12;font-weight:600}.sales-agent{display:flex;align-items:center;gap:5px;font-size:10px;color:#7c2d12;font-weight:600;text-transform:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.sales-agent i{font-size:11px;color:#c2410c;flex-shrink:0}.total-amount{font-size:13px;font-weight:800;color:#9a3412;letter-spacing:0}.table-action-hint{margin-top:auto;font-size:11px;font-weight:600;color:#64748b}.bill-btn{margin-top:0;border:1px solid #fdba74;background:#fff7ed;color:#9a3412;border-radius:8px;padding:4px 10px;font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;width:auto}.bill-btn:hover{background:#ffedd5}.no-tables-message{text-align:center;padding:60px 40px;color:#a0aec0;font-style:italic;font-size:16px;background:#f7fafc;border-radius:12px;border:2px dashed #e2e8f0}@media(max-width:768px){.table-grid{grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:14px}.table-card{min-height:205px}}.guest-count-modal-content{background:#fff;border-radius:20px;width:90%;max-width:500px;box-shadow:0 20px 60px #0000004d;border:1px solid #e1e8ed}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:24px 28px;border-bottom:1px solid #e1e8ed;background:linear-gradient(to right,#f7fafc,#fff)}.modal-title{margin:0;font-size:22px;font-weight:700;color:#1a202c;letter-spacing:-.3px}.modal-body{padding:24px}.guest-count-selection{display:flex;flex-direction:column;gap:20px}.form-label{font-weight:600;color:#495057;font-size:14px}.count-input-wrapper{margin-bottom:8px}.count-input{width:100%;font-size:32px;text-align:center;padding:16px;border:2px solid #e9ecef;border-radius:8px;font-weight:700;color:#2c3e50}.count-input:focus{border-color:#007bff;box-shadow:0 0 0 .2rem #007bff40;outline:none}.count-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.count-btn{padding:16px;font-size:20px;font-weight:600;border:2px solid #e9ecef;background:#fff;border-radius:8px;cursor:pointer;transition:all .2s;color:#495057}.count-btn:hover{border-color:#007bff;background:#f8f9ff;transform:translateY(-2px)}.count-btn.active{background:#007bff;border-color:#007bff;color:#fff;box-shadow:0 4px 12px #007bff4d}.modal-footer{display:flex;justify-content:flex-end;gap:12px;margin-top:24px;padding-top:24px;border-top:1px solid #e9ecef}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1050;padding:1rem}.menu-selection-modal-content{background:#fff;border-radius:20px;width:90%;max-width:900px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #0000004d;border:1px solid #e1e8ed}.modal-header{display:flex;justify-content:space-between;align-items:flex-start;padding:24px 28px;border-bottom:1px solid #e1e8ed;background:linear-gradient(to right,#f7fafc,#fff)}.modal-title{margin:0 0 6px;font-size:22px;font-weight:700;color:#1a202c;letter-spacing:-.3px}.table-info{font-size:16px;font-weight:400;color:#6c757d}.guest-info{margin:0;font-size:14px;color:#6c757d}.btn-close{background:none;border:none;font-size:20px;cursor:pointer;color:#6c757d;padding:4px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:4px;transition:all .2s}.btn-close:hover{background:#f8f9fa;color:#495057}.modal-body{padding:28px;overflow-y:auto;flex:1;background:#fafbfc}.search-bar{position:relative;margin-bottom:24px}.search-bar i{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#6c757d}.search-bar input{padding-left:40px;border:1px solid #e9ecef;border-radius:8px}.search-bar input:focus{border-color:#007bff;box-shadow:0 0 0 .2rem #007bff40}.group-strip{display:flex;gap:10px;overflow-x:auto;padding-bottom:6px;margin-bottom:20px}.group-chip{border:1px solid #dbeafe;background:#eff6ff;color:#1e40af;border-radius:12px;padding:8px 12px;min-width:max-content;display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s ease}.group-chip small{background:#ffffffbf;border-radius:999px;padding:1px 7px;font-size:11px;font-weight:700;color:#1d4ed8}.group-chip:hover{border-color:#93c5fd;transform:translateY(-1px)}.group-chip.active{background:linear-gradient(135deg,#2563eb,#1d4ed8);border-color:#1d4ed8;color:#fff}.group-chip.active small{color:#1d4ed8}.menu-groups-container{display:flex;flex-direction:column;gap:32px}.menu-group{display:flex;flex-direction:column;gap:16px}.group-name{margin:0;font-size:18px;font-weight:600;color:#2c3e50;padding-bottom:8px;border-bottom:2px solid #e9ecef}.menu-items-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}.menu-item-card{background:#fff;border:2px solid #e1e8ed;border-radius:12px;padding:14px;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;flex-direction:column;justify-content:space-between;min-height:245px;box-shadow:0 2px 4px #0000000a}.menu-item-card:hover{border-color:#4a90e2;box-shadow:0 8px 20px #4a90e226;transform:translateY(-2px)}.menu-item-card.selected{border-color:#1d4ed8;background:linear-gradient(135deg,#e6f3ff,#f0f8ff);box-shadow:0 4px 16px #4a90e233}.item-info{flex:1}.item-image-wrap{width:100%;height:120px;border-radius:10px;overflow:hidden;margin-bottom:10px;border:1px solid #e5e7eb;background:#f8fafc;display:flex;align-items:center;justify-content:center}.item-image{width:100%;height:100%;object-fit:cover}.item-image-fallback{color:#94a3b8;font-size:24px}.item-name{margin:0 0 8px;font-size:16px;font-weight:600;color:#2c3e50}.item-description{margin:0 0 8px;font-size:13px;color:#6c757d;line-height:1.4;display:-webkit-box;line-clamp:2;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.item-price{margin:0;font-size:18px;font-weight:800;color:#1d4ed8}.item-controls{margin-top:12px}.btn-add-item{width:100%;padding:10px 16px;background:linear-gradient(135deg,#4a90e2,#1d4ed8);color:#fff;border:none;border-radius:10px;font-weight:700;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:6px;box-shadow:0 2px 8px #4a90e24d}.btn-add-item:hover{background:linear-gradient(135deg,#357abd,#2c5f8a);transform:translateY(-2px);box-shadow:0 4px 12px #4a90e266}.quantity-controls{display:flex;align-items:center;justify-content:space-between;gap:12px}.quantity{font-size:18px;font-weight:700;color:#2c3e50;min-width:30px;text-align:center}.qty-btn{width:36px;height:36px;border:2px solid #e9ecef;background:#fff;border-radius:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;color:#495057}.qty-btn:hover{border-color:#007bff;background:#f8f9ff;color:#007bff}.qty-btn.minus:hover{border-color:#dc3545;background:#fff5f5;color:#dc3545}.empty-menu{text-align:center;padding:60px 20px;color:#6c757d}.empty-menu i{font-size:48px;margin-bottom:16px;opacity:.5}.modal-footer{display:flex;justify-content:space-between;align-items:center;padding:24px 28px;border-top:1px solid #e1e8ed;background:#fafbfc}.order-summary{display:flex;gap:24px}.summary-item{display:flex;flex-direction:column;gap:4px}.summary-item span{font-size:13px;color:#6c757d}.summary-item strong{font-size:18px;color:#2c3e50}.total-amount{color:#1d4ed8;font-size:26px;font-weight:800}.footer-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end}.btn-bill-from-menu{border-color:#f59e0b;color:#92400e}.billing-modal-overlay{position:fixed;inset:0;background:#0f172a80;display:flex;align-items:center;justify-content:center;z-index:1060;padding:16px}.billing-modal-content{width:min(680px,100%);max-height:90vh;overflow:auto;background:#fff;border:1px solid #e5e7eb;border-radius:14px;box-shadow:0 22px 48px #0f172a3d}.billing-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid #e5e7eb}.billing-modal-title{margin:0;font-size:19px;color:#111827}.billing-modal-subtitle{margin:6px 0 0;color:#6b7280;font-size:13px}.billing-modal-body{padding:18px 20px}.split-control{margin-bottom:14px}.split-control .form-control{max-width:140px}.shares-list{display:flex;flex-direction:column;gap:8px}.share-row{border:1px solid #e5e7eb;border-radius:10px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff}.share-row.paid{background:#ecfdf5;border-color:#6ee7b7}.share-meta{display:flex;flex-direction:column;gap:2px}.share-meta strong{font-size:14px;color:#111827}.share-meta span{font-size:13px;color:#4b5563}.billing-summary{margin-top:14px;border-top:1px solid #e5e7eb;padding-top:12px;display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}.billing-summary div{border:1px solid #e5e7eb;border-radius:9px;background:#f9fafb;padding:9px 10px}.billing-summary span{display:block;color:#6b7280;font-size:12px;margin-bottom:2px}.billing-summary strong{color:#111827;font-size:15px}.billing-modal-footer{border-top:1px solid #e5e7eb;padding:14px 20px 18px;display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.table-setup-container{padding:32px;background:linear-gradient(180deg,#f8fafc,#fff 60%);min-height:calc(100vh - 80px)}.table-setup-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:28px;padding:18px 20px;border:1px solid #e5e7eb;border-radius:16px;background:#fff;box-shadow:0 8px 24px #0f172a0d}.header-left{display:flex;align-items:center;gap:16px}.btn-back{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid #e1e8ed;background:#fff;border-radius:10px;color:#4a5568;cursor:pointer;transition:all .3s ease;font-size:18px;box-shadow:0 2px 4px #0000000a}.btn-back:hover{background:#f7fafc;border-color:#6366f1;color:#6366f1;transform:translate(-2px);box-shadow:0 4px 8px #6366f126}.table-setup-header-title{margin:0;font-size:28px;font-weight:700;color:#111827;letter-spacing:-.02em}.table-setup-subtitle{margin:8px 0 0;color:#6b7280;font-size:14px;line-height:1.5}.table-setup-header .btn{padding:12px 24px;font-weight:600;border-radius:10px;box-shadow:0 2px 8px #007bff33;transition:all .3s ease}.table-setup-header .btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #007bff4d}.table-setup-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-bottom:26px}.overview-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:14px 16px;display:flex;flex-direction:column;gap:8px;box-shadow:0 4px 14px #0f172a0a}.overview-label{color:#6b7280;font-size:12px;text-transform:uppercase;letter-spacing:.06em;font-weight:700}.overview-card strong{color:#111827;font-size:22px;line-height:1}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:100px 40px;text-align:center;background:#fff;border-radius:16px;box-shadow:0 4px 20px #00000014;border:1px solid #e1e8ed}.empty-state i{font-size:80px;color:#cbd5e0;margin-bottom:24px;opacity:.6}.empty-state h3{margin:0 0 12px;color:#2d3748;font-size:26px;font-weight:600}.empty-state p{margin:0 0 32px;color:#718096;font-size:16px;max-width:400px}.empty-state .btn{padding:14px 32px;font-weight:600;border-radius:10px;box-shadow:0 2px 8px #007bff33}.table-groups-container{display:flex;flex-direction:column;gap:40px}.table-group-section{background:#fff;border-radius:16px;padding:26px 24px;box-shadow:0 4px 20px #00000014;border:1px solid #e1e8ed;transition:all .3s ease}.table-group-section:hover{box-shadow:0 6px 24px #0000001f}.group-header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:18px}.group-title{margin:0;font-size:22px;font-weight:700;color:#1a202c;display:flex;align-items:center;gap:12px}.group-title:before{content:"";width:4px;height:24px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:2px}.group-meta{display:flex;align-items:center;gap:8px}.group-badge{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;border:1px solid #d1d5db;background:#f9fafb;color:#374151;font-size:12px;font-weight:700}.group-badge.occupied{border-color:#fcd34d;background:#fffbeb;color:#92400e}@media(max-width:768px){.table-setup-container{padding:18px}.table-setup-header{flex-direction:column;gap:14px}.table-setup-header .btn{width:100%;justify-content:center}.table-setup-header-title{font-size:24px}}.roles-table-wrapper{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;overflow:hidden}.roles-table{width:100%;margin:0;border-collapse:collapse}.roles-table thead{background:#f8f9fa}.roles-table thead th{padding:1rem;text-align:left;font-weight:600;font-size:.875rem;color:#374151;text-transform:uppercase;letter-spacing:.025em;border-bottom:2px solid #e5e7eb}.roles-table tbody td{padding:1rem;border-bottom:1px solid #f3f4f6;font-size:.875rem;color:#1f2937}.roles-table tbody tr:last-child td{border-bottom:none}.roles-table-row:hover{background-color:#f9fafb}.role-name{font-weight:500;color:#1f2937}.role-description{color:#6b7280}.role-actions{display:flex;gap:.5rem;align-items:center}.role-actions .btn{padding:.375rem .75rem;font-size:.875rem}@media(max-width:768px){.roles-table-wrapper{overflow-x:auto}.roles-table{min-width:600px}.roles-table thead th,.roles-table tbody td{padding:.75rem .5rem;font-size:.8125rem}}.roles-controls{display:flex;justify-content:space-between;align-items:center;padding:1rem 0;flex-wrap:wrap;gap:1rem}.controls-left,.controls-right{display:flex;align-items:center;gap:.75rem}.search-wrapper{position:relative;display:flex;align-items:center}.search-icon{position:absolute;left:.75rem;color:#6b7280;font-size:.875rem;z-index:1}.search-input{padding:.5rem .75rem .5rem 2.5rem;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;width:250px;transition:border-color .15s,box-shadow .15s}.search-input:focus{outline:none;border-color:#0d6efd;box-shadow:0 0 0 3px #0d6efd1a}.icon-btn{background:none;border:none;padding:.5rem;color:#6b7280;cursor:pointer;border-radius:6px;transition:background-color .15s,color .15s;display:flex;align-items:center;justify-content:center}.icon-btn:hover{background-color:#f3f4f6;color:#374151}@media(max-width:768px){.roles-controls{flex-direction:column;align-items:stretch}.controls-left,.controls-right,.search-input{width:100%}}.create-role-form{padding:.5rem 0}.create-role-form .form-label{font-weight:500;color:#374151;margin-bottom:.5rem}.create-role-form .form-control{border:1px solid #d1d5db;border-radius:6px;padding:.625rem .75rem;font-size:.875rem;transition:border-color .15s,box-shadow .15s}.create-role-form .form-control:focus{outline:none;border-color:#0d6efd;box-shadow:0 0 0 3px #0d6efd1a}.create-role-form textarea.form-control{resize:vertical;min-height:100px}.create-role-actions{display:flex;justify-content:flex-end;gap:.75rem;padding-top:1rem;border-top:1px solid #e5e7eb}.create-role-actions .btn{min-width:120px;padding:.625rem 1.25rem;font-weight:500;border-radius:6px}.create-role-actions .btn-primary{background-color:#0d6efd;border-color:#0d6efd}.create-role-actions .btn-primary:hover:not(:disabled){background-color:#0b5ed7;border-color:#0a58ca}.create-role-actions .btn-secondary{background-color:#6c757d;border-color:#6c757d;color:#fff}.create-role-actions .btn-secondary:hover:not(:disabled){background-color:#5c636a;border-color:#565e64}.create-role-actions .btn:disabled{opacity:.6;cursor:not-allowed}.text-danger{color:#dc3545}.permissions-section{margin-top:1rem;padding-top:1rem;border-top:1px solid #e5e7eb}.permissions-title{font-size:.9375rem;font-weight:600;color:#1f2937;margin-bottom:1rem}.permission-module{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:.75rem 1rem;margin-bottom:.75rem}.permission-module-header{margin-bottom:.5rem}.permission-module-toggle{display:flex;align-items:center;gap:.5rem;cursor:pointer;margin:0}.permission-module-toggle input[type=checkbox]{width:16px;height:16px;accent-color:#6366f1;cursor:pointer}.permission-module-name{font-size:.875rem;font-weight:600;color:#374151}.permission-actions{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;padding-left:1.625rem}.permission-action-label{display:flex;align-items:center;gap:.375rem;cursor:pointer;margin:0}.permission-action-label input[type=checkbox]{width:14px;height:14px;accent-color:#6366f1;cursor:pointer}.permission-action-text{font-size:.8125rem;color:#4b5563}#createRoleOffcanvas{position:fixed!important;top:0!important;right:0!important;bottom:0!important;width:500px;max-width:90vw;z-index:1045!important;background-color:#fff;box-shadow:-2px 0 8px #00000026;transform:translate(100%);transition:transform .3s ease-in-out;overflow-y:auto}#createRoleOffcanvas.show{transform:translate(0)}.offcanvas-backdrop{position:fixed!important;inset:0!important;z-index:1040!important;background-color:#00000080}@media(max-width:768px){#createRoleOffcanvas{width:100%!important;max-width:100%}.create-role-actions{flex-direction:column-reverse}.create-role-actions .btn{width:100%}}.roles-container{padding:0}.roles-header{display:flex;justify-content:space-between;align-items:center}.status-table-wrapper{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;overflow:hidden}.status-table{width:100%;margin:0;border-collapse:collapse}.status-table thead{background:#f8f9fa}.status-table thead th{padding:1rem;text-align:left;font-weight:600;font-size:.875rem;color:#374151;text-transform:uppercase;letter-spacing:.025em;border-bottom:2px solid #e5e7eb}.status-table tbody td{padding:1rem;border-bottom:1px solid #f3f4f6;font-size:.875rem;color:#1f2937}.status-table tbody tr:last-child td{border-bottom:none}.status-table-row:hover{background-color:#f9fafb}.status-name{font-weight:500;color:#1f2937}.status-description{color:#6b7280}.status-actions{display:flex;gap:.5rem;align-items:center}.status-actions .btn{padding:.375rem .75rem;font-size:.875rem}@media(max-width:768px){.status-table-wrapper{overflow-x:auto}.status-table{min-width:600px}.status-table thead th,.status-table tbody td{padding:.75rem .5rem;font-size:.8125rem}}.status-controls{display:flex;justify-content:space-between;align-items:center;padding:1rem 0;flex-wrap:wrap;gap:1rem}.status-controls .controls-left{display:flex;align-items:center;gap:.75rem}.status-controls .icon-btn{background:none;border:none;padding:.5rem;color:#6b7280;cursor:pointer;border-radius:6px;transition:background-color .15s,color .15s;display:flex;align-items:center;justify-content:center}.status-controls .icon-btn:hover{background-color:#f3f4f6;color:#374151}@media(max-width:768px){.status-controls{flex-direction:column;align-items:stretch}.status-controls .controls-left{width:100%}}.create-status-form{padding:.5rem 0}.create-status-form .form-label{font-weight:500;color:#374151;margin-bottom:.5rem}.create-status-form .form-control{border:1px solid #d1d5db;border-radius:6px;padding:.625rem .75rem;font-size:.875rem;transition:border-color .15s,box-shadow .15s}.create-status-form .form-control:focus{outline:none;border-color:#0d6efd;box-shadow:0 0 0 3px #0d6efd1a}.create-status-form textarea.form-control{resize:vertical;min-height:100px}.create-status-actions{display:flex;justify-content:flex-end;gap:.75rem;padding-top:1rem;border-top:1px solid #e5e7eb}.create-status-actions .btn{min-width:120px;padding:.625rem 1.25rem;font-weight:500;border-radius:6px}.create-status-actions .btn-primary{background-color:#0d6efd;border-color:#0d6efd}.create-status-actions .btn-primary:hover:not(:disabled){background-color:#0b5ed7;border-color:#0a58ca}.create-status-actions .btn-secondary{background-color:#6c757d;border-color:#6c757d;color:#fff}.create-status-actions .btn-secondary:hover:not(:disabled){background-color:#5c636a;border-color:#565e64}.create-status-actions .btn:disabled{opacity:.6;cursor:not-allowed}.create-status-form .text-danger{color:#dc3545}#createStatusOffcanvas{position:fixed!important;top:0!important;right:0!important;bottom:0!important;width:500px;max-width:90vw;z-index:1045!important;background-color:#fff;box-shadow:-2px 0 8px #00000026;transform:translate(100%);transition:transform .3s ease-in-out;overflow-y:auto}#createStatusOffcanvas.show{transform:translate(0)}.create-status-form+.offcanvas-backdrop,.status-container .offcanvas-backdrop{position:fixed!important;inset:0!important;z-index:1040!important;background-color:#00000080}@media(max-width:768px){#createStatusOffcanvas{width:100%!important;max-width:100%}.create-status-actions{flex-direction:column-reverse}.create-status-actions .btn{width:100%}}.status-container{padding:0}.status-header{display:flex;justify-content:space-between;align-items:center}.page-title{font-size:1.75rem;font-weight:700;color:#1f2937;margin:0}
