@import url(https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap);body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f2f3f7;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}b,div,h1,h2,h3,h4,h5,h6,p,pre,small,span,strong{font-family:Rubik}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.auth-form{max-width:400px;width:100%}.auth-form__error{animation:shakeX .5s ease-in-out;background-color:#fee2e2;border:1px solid #fecaca;border-radius:.5rem;color:#dc2626;font-size:.875rem;margin-bottom:1rem;padding:.75rem}.auth-form__group{animation:fadeInUp .6s ease-out backwards;margin-bottom:1.25rem}.auth-form__group:nth-child(2){animation-delay:.1s}.auth-form__group:nth-child(3){animation-delay:.2s}.auth-form__label{color:#374151;display:block;font-size:.875rem;font-weight:500;margin-bottom:.5rem;transition:color .3s ease}.auth-form__input{background:#fff;border:1.5px solid #d1d5db;border-radius:.5rem;font-size:.9375rem;padding:.625rem 0;text-indent:10px;transition:all .3s cubic-bezier(.4,0,.2,1);width:100%}.auth-form__input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.auth-form__input:hover{border-color:#9ca3af}.auth-form__input::placeholder{color:#9ca3af;font-size:.875rem}.auth-form__submit{animation:fadeInUp .6s ease-out .3s backwards;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:.5rem;color:#fff;cursor:pointer;font-size:.9375rem;font-weight:600;margin-top:.5rem;overflow:hidden;padding:.75rem;position:relative;transition:all .3s cubic-bezier(.4,0,.2,1);width:100%}.auth-form__submit:before{background:#ffffff4d;border-radius:50%;content:"";height:0;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .6s,height .6s;width:0}.auth-form__submit:hover:not(:disabled){box-shadow:0 8px 16px #667eea66;transform:translateY(-2px)}.auth-form__submit:hover:not(:disabled):before{height:300px;width:300px}.auth-form__submit:active:not(:disabled){transform:translateY(0)}.auth-form__submit:disabled{cursor:not-allowed;opacity:.6}.auth-form__helper{animation:fadeIn 1.2s ease-out;color:#6b7280;font-size:.8125rem;margin-top:1rem;text-align:center}@keyframes shakeX{0%,to{transform:translateX(0)}10%,30%,50%,70%,90%{transform:translateX(-10px)}20%,40%,60%,80%{transform:translateX(10px)}}.auth-wrapper{align-items:center;animation:gradientShift 10s ease infinite;background:linear-gradient(135deg,#667eea,#764ba2);background-size:200% 200%;display:flex;justify-content:center;min-height:100vh;padding:1.5rem}.auth-module{animation:fadeInUp .8s cubic-bezier(.4,0,.2,1);max-width:440px;width:100%}.auth-module__card{background:#fff;border-radius:1rem;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;padding:2rem 2.5rem;transition:transform .3s ease,box-shadow .3s ease}.auth-module__card:hover{box-shadow:0 25px 30px -5px #00000026,0 15px 15px -5px #0000000f;transform:translateY(-4px)}.auth-module__logo{margin-bottom:1.75rem;text-align:center}.auth-module__logo-image{animation:float 3s ease-in-out infinite;border-radius:1rem;height:100px;margin-bottom:1rem;transition:transform .3s ease;width:100px}.auth-module__logo-image:hover{transform:scale(1.05)}.auth-module__title{animation:slideInDown .6s ease-out;color:#1f2937;font-size:1.75rem;font-weight:700;margin-bottom:.5rem}.auth-module__subtitle{animation:fadeIn 1s ease-out;color:#6b7280;font-size:.9375rem;margin-bottom:.5rem}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}@keyframes gradientShift{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}.dashboard{animation:fadeIn .5s ease-in-out;height:100%;width:100%}.dashboard__header{animation:slideInDown .6s ease-out;margin-bottom:2rem}.dashboard__header h1{color:#1f2937;font-size:2rem;font-weight:700;margin-bottom:.5rem}.dashboard__header p{color:#6b7280;font-size:1rem}.dashboard__stats{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));margin-bottom:2rem}.dashboard__business-stats{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.business-stat{align-items:center;animation:fadeInUp .6s ease-out backwards;background:#fff;border-radius:1rem;box-shadow:0 1px 3px #0000001a;display:flex;gap:1rem;padding:1.5rem;transition:transform .3s ease,box-shadow .3s ease}.business-stat:first-child{animation-delay:.4s}.business-stat:nth-child(2){animation-delay:.5s}.business-stat:nth-child(3){animation-delay:.6s}.business-stat:nth-child(4){animation-delay:.7s}.business-stat:hover{box-shadow:0 8px 16px #00000026;transform:translateY(-4px)}.business-stat__icon{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:.75rem;color:#fff;display:flex;flex-shrink:0;height:56px;justify-content:center;transition:transform .3s ease;width:56px}.business-stat:hover .business-stat__icon{transform:scale(1.1) rotate(-5deg)}.business-stat__content h4{color:#1f2937;font-size:1.5rem;font-weight:700;margin-bottom:.25rem}.business-stat__content p{color:#6b7280;font-size:.875rem}.dashboard-loading{align-items:center;animation:fadeIn .3s ease-in-out;display:flex;flex-direction:column;justify-content:center;min-height:50vh}.dashboard-loading__spinner{margin-bottom:1.5rem}.dashboard-loading__logo{border-radius:1rem;height:120px;width:120px}.dashboard-loading__logo,.dashboard-loading__text{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.dashboard-loading__text{color:#6b7280;font-size:1.25rem;font-weight:600}.stat-card{animation:fadeInUp .6s ease-out backwards;background:#fff;border-radius:1rem;box-shadow:0 1px 3px #0000001a;padding:1.5rem;transition:transform .3s ease,box-shadow .3s ease}.stat-card:first-child{animation-delay:.1s}.stat-card:nth-child(2){animation-delay:.2s}.stat-card:nth-child(3){animation-delay:.3s}.stat-card:nth-child(4){animation-delay:.4s}.stat-card:nth-child(5){animation-delay:.5s}.stat-card:hover{box-shadow:0 8px 16px #00000026;transform:translateY(-4px)}.stat-card__header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.stat-card__label{color:#6b7280;font-size:.875rem;font-weight:500}.stat-card__icon{align-items:center;border-radius:.75rem;display:flex;height:48px;justify-content:center;transition:transform .3s ease;width:48px}.stat-card:hover .stat-card__icon{transform:scale(1.1) rotate(5deg)}.stat-card__value{color:#1f2937;font-size:1.875rem;font-weight:700}.stat-card--income .stat-card__icon{background-color:#dcfce7;color:#16a34a}.stat-card--expense .stat-card__icon{background-color:#fee2e2;color:#dc2626}.stat-card--profit .stat-card__icon{background-color:#dbeafe;color:#2563eb}.stat-card--cash .stat-card__icon{background-color:#fff7ed;color:#f97316}.stat-card--capital .stat-card__icon{background-color:#f0fdf4;color:#059669}@keyframes slideDown{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}@keyframes slideInRight{0%{opacity:0;transform:translateX(30px)}to{opacity:1;transform:translateX(0)}}@keyframes scaleIn{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}@keyframes scanLine{0%{top:10%}50%{top:90%}to{top:10%}}@keyframes shake{0%,to{transform:translateX(0)}25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}@keyframes bounce{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}@keyframes glow{0%,to{box-shadow:0 0 5px #10b9814d}50%{box-shadow:0 0 15px #10b98180}}@keyframes slideInFromBottom{0%{opacity:0;transform:translateY(100%)}to{opacity:1;transform:translateY(0)}}.calculator{animation:fadeIn .4s ease-out;background:linear-gradient(135deg,#f3f4f6,#fff);display:flex;flex-direction:column;gap:12px;height:100%;min-height:100vh;padding-bottom:80px;position:relative;width:100%}@media(max-width:768px){.calculator{padding-bottom:140px}}.notification{align-items:center;animation:slideDown .3s ease-out,fadeIn .3s ease-out;border-radius:12px;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;display:flex;font-size:14px;font-weight:600;gap:10px;left:50%;padding:12px 24px;position:fixed;top:20px;transform:translateX(-50%);z-index:1000}.notification--success{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.notification--error{animation:slideDown .3s ease-out,shake .5s ease-in-out;background:linear-gradient(135deg,#ef4444,#eb1515);color:#fff}.notification--info{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff}@media(max-width:768px){.notification{font-size:12px;max-width:90%;padding:10px 16px}}.calculator__header{align-items:center;background:#fff;border-bottom:2px solid #e5e7eb;box-shadow:0 1px 2px #0000000d;display:flex;justify-content:space-between;padding:12px 20px}.calculator__header-content h1{align-items:center;color:#1f2937;display:flex;font-size:22px;font-weight:700;gap:10px;margin-bottom:2px}.calculator__header-content h1 .header-icon{color:#3b82f6}.calculator__header-content p{color:#6b7280;font-size:12px}.calculator__header-actions{display:flex;gap:8px}@media(max-width:768px){.calculator__header{padding:10px 12px}.calculator__header-content h1{font-size:16px}.calculator__header-content p{font-size:10px}}.icon-btn{align-items:center;background:#fff;border:2px solid #e5e7eb;border-radius:8px;color:#4b5563;cursor:pointer;display:flex;height:38px;justify-content:center;transition:all .2s ease;width:38px}.icon-btn:hover{border-color:#3b82f6;color:#3b82f6;transform:translateY(-2px)}.icon-btn--primary{background:#3b82f6;border-color:#3b82f6;color:#fff}.icon-btn--primary:hover{background:#2563eb;border-color:#2563eb;color:#fff}.sessions-tabs{animation:slideDown .3s ease-out;display:flex;gap:8px;overflow-x:auto;padding:0 20px}.sessions-tabs::-webkit-scrollbar{height:4px}.sessions-tabs::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:2px}@media(max-width:768px){.sessions-tabs{gap:6px;padding:0 12px}}.session-tab{align-items:center;animation:scaleIn .3s ease-out;background:#fff;border:2px solid #e5e7eb;border-radius:8px;display:flex;overflow:hidden;transition:all .2s ease}.session-tab--active{background:#fff;border-color:#3b82f6}.session-tab--active .session-tab__main{color:#3b82f6}.session-tab--minimized{opacity:.6}.session-tab--minimized .session-tab__main span{font-style:italic}.session-tab__main{align-items:center;background:#0000;border:none;color:#4b5563;cursor:pointer;display:flex;font-size:13px;font-weight:600;gap:6px;padding:8px 12px;transition:all .2s ease}.session-tab__main:hover{color:#3b82f6}.session-tab__badge{align-items:center;background:#10b981;border-radius:9px;color:#fff;display:inline-flex;font-size:10px;font-weight:700;height:18px;justify-content:center;min-width:18px;padding:0 5px}.session-tab__close,.session-tab__minimize{align-items:center;background:#0000;border:none;border-left:1px solid #e5e7eb;color:#9ca3af;cursor:pointer;display:flex;height:100%;justify-content:center;transition:all .2s ease;width:28px}.session-tab__close:hover,.session-tab__minimize:hover{background:#f3f4f6;color:#4b5563}.session-tab__close:hover{background:#ef4444;color:#fff}.scanner-panel{animation:slideDown .4s ease-out;display:flex;gap:12px;padding:0 20px}.scanner-panel__barcode,.scanner-panel__search{align-items:center;background:#fff;border:2px solid #e5e7eb;border-radius:12px;display:flex;flex:1 1;gap:10px;height:44px;padding:0 14px;transition:all .3s ease}.scanner-panel__barcode:focus-within,.scanner-panel__search:focus-within{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.scanner-panel .barcode-icon,.scanner-panel .search-icon{color:#9ca3af;flex-shrink:0}.scanner-panel .barcode-input,.scanner-panel .search-input{background:#0000;border:none;color:#1f2937;flex:1 1;font-size:13px;outline:none}.scanner-panel .barcode-input::placeholder,.scanner-panel .search-input::placeholder{color:#9ca3af}.scanner-panel .clear-btn{align-items:center;background:#f3f4f6;border:none;border-radius:50%;color:#6b7280;cursor:pointer;display:flex;height:26px;justify-content:center;transition:all .2s ease;width:26px}.scanner-panel .clear-btn:hover{background:#ef4444;color:#fff}.scanner-panel .scan-camera-btn{align-items:center;background:linear-gradient(135deg,#3b82f6,#2563eb);border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:12px;font-weight:600;gap:6px;padding:8px 12px;transition:all .3s ease}.scanner-panel .scan-camera-btn:hover{box-shadow:0 4px 12px #3b82f64d;transform:scale(1.05)}@media(max-width:768px){.scanner-panel{flex-direction:column;gap:8px;padding:0 12px}.scanner-panel__barcode,.scanner-panel__search{height:42px;padding:0 12px}}.calculator__body{flex:1 1;overflow-y:auto;padding:0 20px}@media(max-width:768px){.calculator__body{padding:0 12px}}.calculator__main{grid-gap:20px;display:grid;gap:20px;grid-template-columns:1fr 500px;height:100%}@media(max-width:1200px){.calculator__main{grid-template-columns:1fr 400px}}@media(max-width:1024px){.calculator__main{grid-template-columns:1fr}}.section-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:12px}.section-header h2{align-items:center;color:#1f2937;display:flex;font-size:15px;font-weight:600;gap:8px}.cart-badge{align-items:center;animation:bounce .3s ease;background:#3b82f6;border-radius:10px;color:#fff;display:inline-flex;font-size:11px;font-weight:700;height:20px;justify-content:center;min-width:20px;padding:0 6px}.clear-cart-btn{align-items:center;background:#0000;border:2px solid #ef4444;border-radius:8px;color:#ef4444;cursor:pointer;display:flex;font-size:12px;font-weight:600;gap:6px;padding:6px 10px;transition:all .2s ease}.clear-cart-btn:hover{background:#ef4444;color:#fff}.products-section{background:#fff;border-radius:16px;box-shadow:0 1px 2px #0000000d;display:flex;flex-direction:column;max-height:calc(100vh - 280px);overflow:hidden;padding:16px}@media(max-width:768px){.products-section{max-height:none;padding:12px}}.products-list{flex:1 1;overflow-y:auto}.products-list__header{grid-gap:12px;background:#f3f4f6;border-radius:8px;color:#6b7280;display:grid;font-size:11px;font-weight:700;gap:12px;grid-template-columns:2fr 1.5fr 1fr 1fr 120px;letter-spacing:.5px;margin-bottom:8px;padding:10px 12px;position:-webkit-sticky;position:sticky;text-transform:uppercase;top:0;z-index:10}@media(max-width:768px){.products-list__header{display:none}}.product-row{grid-gap:12px;align-items:center;animation:slideUp .3s ease-out backwards;border-bottom:1px solid #f3f4f6;display:grid;gap:12px;grid-template-columns:2fr 1.5fr 1fr 1fr 120px;padding:12px;transition:all .2s ease}.product-row:hover{background:#f3f4f6}.product-row--selected{animation:glow 2s ease-in-out infinite;background:linear-gradient(135deg,#b6f9e3,#fff);border-left:3px solid #10b981}.product-row .col-name{color:#1f2937;font-size:13px;font-weight:600}.product-row .col-barcode{color:#6b7280;font-family:monospace;font-size:11px}.product-row .col-category .category-badge{background:#f3f4f6;border-radius:4px;color:#4b5563;display:inline-block;font-size:10px;font-weight:600;padding:3px 8px;text-transform:uppercase}.product-row .col-price{color:#10b981;font-size:14px;font-weight:700}.product-row .col-actions{display:flex;justify-content:flex-end}@media(max-width:768px){.product-row{gap:8px;grid-template-columns:1fr auto auto;padding:10px}.product-row .col-barcode,.product-row .col-category{display:none}.product-row .col-name,.product-row .col-price{font-size:12px}}.quantity-controls{align-items:center;display:flex;gap:4px}.quantity-btn{align-items:center;background:#fff;border:2px solid #d1d5db;border-radius:6px;cursor:pointer;display:flex;height:28px;justify-content:center;transition:all .2s ease;width:28px}.quantity-btn--minus{border-color:#ef4444;color:#ef4444}.quantity-btn--minus:hover{background:#ef4444;color:#fff}.quantity-btn--plus{border-color:#10b981;color:#10b981}.quantity-btn--plus:hover{background:#10b981;color:#fff}.quantity-btn:active{transform:scale(.9)}.quantity-value{color:#1f2937;font-size:14px;font-weight:700;min-width:30px;text-align:center}.btn-add-product{align-items:center;background:linear-gradient(135deg,#3b82f6,#2563eb);border:none;border-radius:6px;color:#fff;cursor:pointer;display:flex;height:32px;justify-content:center;transition:all .3s ease;width:32px}.btn-add-product:hover{box-shadow:0 4px 12px #3b82f64d;transform:scale(1.1)}.btn-add-product:active{transform:scale(.95)}.cart-section{background:#fff;border-radius:16px;box-shadow:0 1px 2px #0000000d;display:flex;flex-direction:column;max-height:calc(100vh - 380px);overflow:hidden;padding:16px;transition:all .3s ease}.cart-section--active{border:2px solid #10b981;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}@media(max-width:1024px){.cart-section{max-height:none}}@media(max-width:768px){.cart-section{padding:12px}}.cart-empty{align-items:center;animation:fadeIn .4s ease-out;color:#9ca3af;display:flex;flex:1 1;flex-direction:column;justify-content:center;padding:40px 20px;text-align:center}.cart-empty svg{margin-bottom:12px;opacity:.5}.cart-empty p{color:#6b7280;font-size:14px;font-weight:600;margin-bottom:4px}.cart-empty span{font-size:12px}.cart-items{border-bottom:2px solid #e5e7eb;display:flex;flex:1 1;flex-direction:column;gap:6px;margin-bottom:12px;overflow-y:auto;padding-bottom:12px}.cart-item{align-items:center;animation:slideInRight .3s ease-out backwards;background:#f3f4f6;border-radius:8px;display:flex;gap:10px;padding:10px 12px}.cart-item__info{flex:1 1;min-width:0}.cart-item__name{color:#1f2937;display:block;font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cart-item__price{color:#6b7280;font-size:11px}.cart-item__total{color:#10b981;font-size:14px;font-weight:700;white-space:nowrap}.cart-item__remove{align-items:center;background:#0000;border:none;border-radius:50%;color:#9ca3af;cursor:pointer;display:flex;height:26px;justify-content:center;transition:all .2s ease;width:26px}.cart-item__remove:hover{background:#ef4444;color:#fff}.cart-discount{margin-bottom:12px}.cart-discount label{align-items:center;color:#4b5563;display:flex;font-size:12px;font-weight:600;gap:6px;margin-bottom:8px}.discount-type-toggle{display:flex;gap:4px;margin-bottom:8px}.discount-type-toggle .toggle-btn{align-items:center;background:#f3f4f6;border:2px solid #e5e7eb;border-radius:6px;color:#6b7280;cursor:pointer;display:flex;height:32px;justify-content:center;transition:all .2s ease;width:36px}.discount-type-toggle .toggle-btn:hover{border-color:#10b981;color:#10b981}.discount-type-toggle .toggle-btn.active{background:#10b981;border-color:#10b981;color:#fff}.discount-buttons{display:flex;flex-wrap:wrap;gap:6px}.discount-btn{background:#f3f4f6;border:2px solid #e5e7eb;border-radius:6px;color:#4b5563;cursor:pointer;font-size:12px;font-weight:600;padding:6px 12px;transition:all .2s ease}.discount-btn:hover{border-color:#10b981;color:#10b981}.discount-btn.active{background:#10b981;border-color:#10b981;color:#fff}.discount-input{border:2px solid #e5e7eb;border-radius:6px;color:#1f2937;font-size:12px;font-weight:600;height:32px;padding:0 8px;text-align:center;transition:all .2s ease;width:60px}.discount-input:focus{border-color:#10b981;outline:none}.discount-input::-webkit-inner-spin-button,.discount-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.total-summary{animation:slideInFromBottom .4s ease-out;background:#fff;border:2px solid #10b981;border-radius:16px;bottom:80px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;min-width:280px;padding:16px 20px;position:fixed;right:20px;z-index:99}.total-summary__details{border-bottom:2px dashed #e5e7eb;margin-bottom:12px;padding-bottom:12px}.total-summary .total-row{color:#4b5563;display:flex;font-size:13px;justify-content:space-between;margin-bottom:4px}.total-summary .total-row--discount{color:#ef4444}.total-summary__total{align-items:center;display:flex;justify-content:space-between}.total-summary__total span{color:#4b5563;font-size:14px;font-weight:600}.total-summary__total strong{color:#10b981;font-size:24px;font-weight:800}@media(max-width:768px){.total-summary{bottom:140px;left:12px;min-width:auto;right:12px}}.calculator__footer{background:#fff;border-top:2px solid #e5e7eb;bottom:0;box-shadow:0 -4px 12px #0000001a;display:flex;gap:10px;left:0;padding:12px 20px;position:fixed;right:0;z-index:100}@media(max-width:768px){.calculator__footer{bottom:60px;gap:6px;padding:10px 12px}}.btn-action{align-items:center;border:none;border-radius:12px;cursor:pointer;display:flex;flex:1 1;font-size:14px;font-weight:600;gap:8px;height:48px;justify-content:center;transition:all .3s ease}.btn-action kbd{background:#fff3;border-radius:4px;display:inline-block;font-family:inherit;font-size:10px;padding:2px 6px}.btn-action:disabled{cursor:not-allowed;opacity:.4;transform:none!important}.btn-action:not(:disabled):hover{transform:translateY(-3px)}.btn-action:not(:disabled):active{transform:translateY(-1px)}.btn-action--secondary{background:#e5e7eb;color:#374151}.btn-action--secondary:not(:disabled):hover{background:#d1d5db}.btn-action--preview{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff}.btn-action--preview:not(:disabled):hover{box-shadow:0 6px 20px #3b82f666}.btn-action--cash{background:linear-gradient(135deg,#22c55e,#1a9a49);color:#fff}.btn-action--cash:not(:disabled):hover{box-shadow:0 6px 20px #22c55e66}.btn-action--debt{background:linear-gradient(135deg,#f97316,#d65b06);color:#fff}.btn-action--debt:not(:disabled):hover{box-shadow:0 6px 20px #f9731666}@media(max-width:768px){.btn-action{font-size:12px;gap:4px;height:44px}.btn-action kbd{display:none}}.modal-overlay{background:#0009;padding:20px}.modal{animation:scaleIn .3s ease-out;border-radius:20px;width:100%}.modal__header{padding:16px 20px}.modal__header h3{align-items:center;color:#1f2937;display:flex;font-size:16px;font-weight:700;gap:10px}.modal__close{border-radius:50%;color:#4b5563;height:34px;width:34px}.modal__close:hover{background:#ef4444;color:#fff}.modal__body{padding:20px}.modal__footer{border-top:1px solid #e5e7eb;padding:16px 20px}.modal__footer p{color:#6b7280;font-size:12px;text-align:center}.scanner-modal .scanner-view{aspect-ratio:4/3;background:#1f2937;border-radius:12px;overflow:hidden;position:relative;width:100%}.scanner-modal .scanner-video{height:100%;object-fit:cover;width:100%}.scanner-modal .scanner-overlay{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.scanner-modal .scanner-frame{border:3px solid #10b981cc;border-radius:8px;box-shadow:0 0 0 9999px #00000080;height:40%;position:relative;width:70%}.scanner-modal .scanner-line{animation:scanLine 2s ease-in-out infinite;background:linear-gradient(90deg,#0000,#10b981,#0000);height:3px;left:0;position:absolute;right:0}.scanner-modal .scanner-hint{background:#000000b3;border-radius:8px;bottom:16px;color:#fff;font-size:12px;left:50%;padding:8px 16px;position:absolute;transform:translateX(-50%);white-space:nowrap}.scanner-modal .camera-error{align-items:center;color:#ef4444;display:flex;flex-direction:column;justify-content:center;padding:40px 20px;text-align:center}.scanner-modal .camera-error svg{margin-bottom:16px;opacity:.7}.scanner-modal .camera-error p{font-size:13px;margin-bottom:16px}.scanner-modal .camera-error .retry-btn{align-items:center;background:#3b82f6;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:13px;font-weight:600;gap:8px;padding:10px 20px;transition:all .2s ease}.scanner-modal .camera-error .retry-btn:hover{background:#2563eb}.scanner-modal .manual-barcode{display:flex;gap:8px}.scanner-modal .manual-barcode input{border:2px solid #e5e7eb;border-radius:8px;color:#1f2937;flex:1 1;font-size:13px;height:42px;padding:0 14px;transition:all .2s ease}.scanner-modal .manual-barcode input:focus{border-color:#3b82f6;outline:none}.scanner-modal .manual-barcode button{align-items:center;background:#3b82f6;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;height:42px;justify-content:center;transition:all .2s ease;width:42px}.scanner-modal .manual-barcode button:hover{background:#2563eb}.receipt-modal{max-width:400px}.receipt-modal .receipt-preview{background:#fff;border:2px dashed #d1d5db;border-radius:12px;font-family:Courier New,monospace;font-size:12px;padding:20px;text-align:center}.receipt-modal .receipt-header{margin-bottom:12px}.receipt-modal .receipt-header h4{font-size:16px;margin-bottom:4px}.receipt-modal .receipt-header p{color:#6b7280;font-size:11px;margin:2px 0}.receipt-modal .receipt-divider{color:#9ca3af;letter-spacing:2px;margin:10px 0}.receipt-modal .receipt-items{margin-bottom:8px;text-align:left}.receipt-modal .receipt-item{display:flex;flex-wrap:wrap;justify-content:space-between;margin-bottom:6px}.receipt-modal .receipt-item__name{font-weight:600;width:100%}.receipt-modal .receipt-item__qty{color:#6b7280}.receipt-modal .receipt-item__total{font-weight:600}.receipt-modal .receipt-discount,.receipt-modal .receipt-subtotal,.receipt-modal .receipt-total{display:flex;justify-content:space-between;margin:4px 0}.receipt-modal .receipt-discount{color:#ef4444}.receipt-modal .receipt-total{font-size:14px;font-weight:700;margin-top:8px}.receipt-modal .receipt-thanks{color:#6b7280;font-style:italic;margin-top:12px}.checkout-modal .checkout-summary{background:#f3f4f6;border-radius:12px;margin-bottom:16px;padding:16px}.checkout-modal .checkout-items{border-bottom:1px dashed #d1d5db;display:flex;flex-direction:column;gap:6px;margin-bottom:10px;padding-bottom:10px}.checkout-modal .checkout-item{color:#4b5563;display:flex;font-size:12px;justify-content:space-between}.checkout-modal .checkout-discount{border-bottom:1px dashed #d1d5db;color:#ef4444;display:flex;font-size:12px;justify-content:space-between;margin-bottom:10px;padding-bottom:10px}.checkout-modal .checkout-total{align-items:center;display:flex;font-size:14px;justify-content:space-between}.checkout-modal .checkout-total span{color:#4b5563}.checkout-modal .checkout-total strong{color:#10b981;font-size:20px}.checkout-modal .payment-method{text-align:center}.checkout-modal .payment-method p{color:#1f2937;font-size:13px;font-weight:600;margin-bottom:12px}.checkout-modal .payment-icon{color:#22c55e;display:flex;justify-content:center}.checkout-modal .btn-cancel,.checkout-modal .btn-confirm{align-items:center;border-radius:12px;cursor:pointer;display:flex;flex:1 1;font-size:14px;font-weight:600;gap:8px;height:44px;justify-content:center;transition:all .3s ease}.checkout-modal .btn-cancel{background:#f3f4f6;border:2px solid #d1d5db;color:#4b5563}.checkout-modal .btn-cancel:hover{background:#e5e7eb}.checkout-modal .btn-confirm{background:linear-gradient(135deg,#10b981,#059669);border:none;color:#fff}.checkout-modal .btn-confirm:hover{box-shadow:0 6px 20px #10b98166;transform:translateY(-2px)}.checkout-modal .btn-confirm:disabled{box-shadow:none!important;cursor:not-allowed;opacity:.5;transform:none!important}.checkout-modal .btn-confirm--return{background:linear-gradient(135deg,#f59e0b,#c57f08)}.checkout-modal .btn-confirm--return:hover{box-shadow:0 6px 20px #f59e0b66}.debt-modal{max-width:480px}.debt-modal .debt-summary{align-items:center;background:linear-gradient(135deg,#fddcc4,#feeadd);border-radius:12px;display:flex;justify-content:space-between;margin-bottom:16px;padding:12px 16px}.debt-modal .debt-summary span{color:#4b5563;font-size:13px}.debt-modal .debt-summary strong{color:#f97316;font-size:20px}.return-modal{max-width:540px}.return-modal .modal__header{background:linear-gradient(135deg,#f59e0b,#cf8508)}.return-modal .modal__header h3{color:#fff}.return-modal .modal__header .modal__close{color:#fffc}.return-modal .modal__header .modal__close:hover{background:#fff3;color:#fff}.return-modal .return-empty{align-items:center;background:linear-gradient(180deg,#f3f4f6,#fff);border:2px dashed #e5e7eb;border-radius:16px;display:flex;flex-direction:column;justify-content:center;padding:50px 20px}.return-modal .return-empty svg{color:#d1d5db;opacity:.7}.return-modal .return-empty p{color:#6b7280;font-size:18px;font-weight:700;margin-top:16px}.return-modal .return-empty small{color:#9ca3af;font-size:13px;margin-top:6px}.return-modal .return-header{align-items:center;background:linear-gradient(135deg,#fde8c5,#fdf0d9);border:1px solid #fbd89e;border-radius:12px;display:flex;justify-content:space-between;margin-bottom:16px;padding:14px 18px}.return-modal .return-hint{align-items:center;color:#ac6f07;display:flex;font-size:14px;font-weight:700;gap:8px;margin:0}.return-modal .return-hint:before{animation:pulse 1.5s infinite;background:#f59e0b;border-radius:50%;content:"";height:8px;width:8px}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.8)}}.return-modal .btn-return-all{align-items:center;background:linear-gradient(135deg,#ef4444,#ec1e1e);border:none;border-radius:8px;box-shadow:0 4px 12px #ef44444d;color:#fff;cursor:pointer;display:flex;font-size:13px;font-weight:700;gap:8px;padding:10px 18px;transition:all .3s ease}.return-modal .btn-return-all:hover{background:linear-gradient(135deg,#ed2d2d,#d41212);box-shadow:0 6px 16px #ef444466;transform:translateY(-2px)}.return-modal .btn-return-all:active{transform:translateY(0)}.return-modal .return-products-list{display:flex;flex-direction:column;gap:10px;max-height:320px;overflow-y:auto;padding:4px}.return-modal .return-product-item{align-items:center;background:#fff;border:2px solid #f3f4f6;border-radius:12px;box-shadow:0 2px 8px #1f29370a;display:flex;gap:16px;justify-content:space-between;padding:16px 18px;transition:all .25s ease}.return-modal .return-product-item:hover{background:linear-gradient(135deg,#fdf0d9,#fff);border-color:#f59e0b;box-shadow:0 4px 16px #f59e0b26;transform:translateX(4px)}.return-modal .return-product-item:hover .btn-return-item{background:linear-gradient(135deg,#f59e0b,#c57f08)}.return-modal .return-product-info{display:flex;flex:1 1;flex-direction:column;gap:4px}.return-modal .return-product-name{color:#1f2937;font-size:15px;font-weight:700;line-height:1.3}.return-modal .return-product-details{color:#3b82f6;font-size:13px;font-weight:600}.return-modal .return-product-barcode{background:#f3f4f6;border-radius:4px;color:#9ca3af;font-family:SF Mono,Monaco,monospace;font-size:11px;padding:2px 8px;width:-webkit-fit-content;width:fit-content}.return-modal .btn-return-item{align-items:center;background:linear-gradient(135deg,#f6a823,#f59e0b);border:none;border-radius:8px;box-shadow:0 3px 10px #f59e0b40;color:#fff;cursor:pointer;display:flex;font-size:13px;font-weight:700;gap:8px;padding:12px 20px;transition:all .25s ease;white-space:nowrap}.return-modal .btn-return-item:hover{box-shadow:0 5px 14px #f59e0b59;transform:scale(1.05)}.return-modal .btn-return-item:active{transform:scale(.98)}.return-modal .return-history{border-top:2px solid #f3f4f6;margin-top:24px;padding-top:20px}.return-modal .return-history h4{align-items:center;color:#6b7280;display:flex;font-size:13px;font-weight:700;gap:8px;letter-spacing:.5px;margin-bottom:14px;text-transform:uppercase}.return-modal .return-history h4:before{background:#10b981;border-radius:2px;content:"";height:16px;width:4px}.return-modal .return-history-list{display:flex;flex-direction:column;gap:8px;max-height:180px;overflow-y:auto}.return-modal .return-history-item{grid-gap:12px;align-items:center;background:linear-gradient(135deg,#b1f8e1,#c4fae8);border-left:4px solid #10b981;border-radius:8px;display:grid;font-size:13px;gap:12px;grid-template-columns:1fr auto auto auto;padding:12px 16px;transition:all .2s ease}.return-modal .return-history-item:hover{background:linear-gradient(135deg,#9ef7d9,#b1f8e1)}.return-modal .return-history-name{color:#1f2937;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.return-modal .return-history-qty{background:#fff;border-radius:12px;color:#6b7280;font-size:12px;font-weight:600;padding:2px 10px}.return-modal .return-history-price{color:#10b981;font-size:14px;font-weight:800}.return-modal .return-history-date{color:#9ca3af;font-size:11px;white-space:nowrap}.debt-modal .client-search{align-items:center;background:#f3f4f6;border:2px solid #e5e7eb;border-radius:12px;display:flex;gap:10px;margin-bottom:12px;padding:10px 14px;transition:all .2s ease}.debt-modal .client-search:focus-within{border-color:#3b82f6}.debt-modal .client-search input{background:#0000;border:none;color:#1f2937;flex:1 1;font-size:13px;outline:none}.debt-modal .client-search input::placeholder{color:#9ca3af}.debt-modal .clients-list{margin-bottom:12px;max-height:250px;overflow-y:auto}.debt-modal .client-item{align-items:center;border:2px solid #0000;border-radius:8px;cursor:pointer;display:flex;gap:12px;padding:12px;transition:all .2s ease}.debt-modal .client-item:hover{background:#f3f4f6}.debt-modal .client-item--selected{background:#b6f9e3;border-color:#10b981}.debt-modal .client-item__avatar{align-items:center;background:#e5e7eb;border-radius:50%;color:#6b7280;display:flex;height:40px;justify-content:center;width:40px}.debt-modal .client-item__info{flex:1 1}.debt-modal .client-item__name{color:#1f2937;display:block;font-size:13px;font-weight:600}.debt-modal .client-item__phone{align-items:center;color:#6b7280;display:flex;font-size:11px;gap:4px}.debt-modal .client-item__check{color:#10b981}.debt-modal .no-clients{color:#9ca3af;font-size:13px;padding:20px;text-align:center}.debt-modal .btn-add-client{align-items:center;background:#fff;border:2px dashed #d1d5db;border-radius:12px;color:#4b5563;cursor:pointer;display:flex;font-size:13px;font-weight:600;gap:8px;height:44px;justify-content:center;transition:all .2s ease;width:100%}.debt-modal .btn-add-client:hover{border-color:#3b82f6;color:#3b82f6}.debt-modal .add-client-form{animation:slideUp .3s ease-out}.debt-modal .add-client-form h4{color:#1f2937;font-size:14px;font-weight:700;margin-bottom:16px}.debt-modal .add-client-form .form-group{margin-bottom:14px}.debt-modal .add-client-form .form-group label{align-items:center;color:#4b5563;display:flex;font-size:12px;font-weight:600;gap:6px;margin-bottom:6px}.debt-modal .add-client-form .form-group input{border:2px solid #e5e7eb;border-radius:8px;color:#1f2937;font-size:13px;height:42px;padding:0 14px;transition:all .2s ease;width:100%}.debt-modal .add-client-form .form-group input:focus{border-color:#3b82f6;outline:none}.debt-modal .add-client-form .form-actions{display:flex;gap:10px;margin-top:16px}.debt-modal .add-client-form .form-actions .btn-cancel,.debt-modal .add-client-form .form-actions .btn-save{align-items:center;border-radius:8px;cursor:pointer;display:flex;flex:1 1;font-size:13px;font-weight:600;gap:6px;height:42px;justify-content:center;transition:all .2s ease}.debt-modal .add-client-form .form-actions .btn-cancel{background:#f3f4f6;border:2px solid #d1d5db;color:#4b5563}.debt-modal .add-client-form .form-actions .btn-cancel:hover{background:#e5e7eb}.debt-modal .add-client-form .form-actions .btn-save{background:#10b981;border:none;color:#fff}.debt-modal .add-client-form .form-actions .btn-save:hover{background:#059669}.return-modal .form-group{margin-bottom:14px}.return-modal .form-group label{align-items:center;color:#4b5563;display:flex;font-size:12px;font-weight:600;gap:6px;margin-bottom:6px}.return-modal .form-group input,.return-modal .form-group textarea{border:2px solid #e5e7eb;border-radius:8px;color:#1f2937;font-family:inherit;font-size:13px;padding:10px 14px;transition:all .2s ease;width:100%}.return-modal .form-group input:focus,.return-modal .form-group textarea:focus{border-color:#3b82f6;outline:none}.return-modal .form-group input{height:42px}.return-modal .form-group textarea{resize:none}.return-modal .return-preview{animation:scaleIn .3s ease-out;background:#fce2b6;border:2px solid #f59e0b;border-radius:12px;padding:14px}.return-modal .return-preview p{color:#1f2937;font-size:13px;margin-bottom:6px}.return-modal .return-preview p strong{color:#f59e0b}.return-modal .return-preview p:last-child{margin-bottom:0}.hotkeys-modal .hotkeys-list{display:flex;flex-direction:column;gap:6px}.hotkeys-modal .hotkey-item{align-items:center;background:#f3f4f6;border-radius:8px;display:flex;gap:14px;padding:10px 14px}.hotkeys-modal .hotkey-item kbd{background:#fff;border:2px solid #e5e7eb;border-radius:6px;box-shadow:0 2px 0 #d1d5db;color:#1f2937;display:inline-block;font-family:inherit;font-size:12px;font-weight:700;min-width:45px;padding:5px 8px;text-align:center}.hotkeys-modal .hotkey-item span{color:#4b5563;font-size:13px}.mobile-nav{background:#fff;border-top:2px solid #e5e7eb;bottom:0;display:flex;justify-content:space-around;left:0;padding:8px 0;position:fixed;right:0;z-index:101}.mobile-nav button{align-items:center;background:#0000;border:none;color:#6b7280;cursor:pointer;display:flex;flex-direction:column;font-size:10px;font-weight:600;gap:3px;padding:8px 16px;transition:all .2s ease}.mobile-nav button:active{color:#3b82f6;transform:scale(.95)}.cart-item--discounted{background:linear-gradient(135deg,#b6f9e3,#f3f4f6);border-left:3px solid #10b981}.cart-item__discount-badge{background:#10b981;border-radius:4px;color:#fff;display:inline-block;font-size:10px;font-weight:700;margin-left:8px;padding:2px 6px}.cart-item__original-total{color:#9ca3af;margin-left:4px;text-decoration:line-through}.cart-item__quantity-controls{align-items:center;display:flex;gap:4px;margin-right:10px}.cart-item__quantity-controls .qty-btn{align-items:center;border:none;border-radius:6px;cursor:pointer;display:flex;height:26px;justify-content:center;transition:all .2s ease;width:26px}.cart-item__quantity-controls .qty-btn--minus{background:#e5e7eb;color:#4b5563}.cart-item__quantity-controls .qty-btn--minus:hover{background:#ef4444;color:#fff}.cart-item__quantity-controls .qty-btn--plus{background:#3b82f6;color:#fff}.cart-item__quantity-controls .qty-btn--plus:hover{background:#0b63f3}.cart-item__quantity-controls .qty-value{color:#1f2937;font-size:14px;font-weight:700;min-width:28px;text-align:center}.cash-calculator-modal{max-width:520px}.cash-calculator-modal .cash-calculator__total{align-items:center;background:linear-gradient(135deg,#a9f0c3,#bff4d3);border-radius:12px;display:flex;justify-content:space-between;margin-bottom:20px;padding:16px 20px}.cash-calculator-modal .cash-calculator__total span{color:#374151;font-size:16px;font-weight:600}.cash-calculator-modal .cash-calculator__total strong{color:#22c55e;font-size:28px;font-weight:800}.cash-calculator-modal .cash-calculator__label{color:#4b5563;font-size:13px;font-weight:600;margin-bottom:10px}.cash-calculator-modal .cash-calculator__banknotes{margin-bottom:20px}.cash-calculator-modal .banknotes-grid{grid-gap:8px;display:grid;gap:8px;grid-template-columns:repeat(3,1fr)}.cash-calculator-modal .banknote-btn{background:linear-gradient(145deg,#fff,#f3f4f6);border:2px solid #e5e7eb;border-radius:12px;color:#1f2937;cursor:pointer;font-size:18px;font-weight:700;height:52px;overflow:hidden;position:relative;transition:all .2s ease}.cash-calculator-modal .banknote-btn:after{bottom:4px;color:#9ca3af;content:"TJS";font-size:9px;font-weight:600;position:absolute;right:6px}.cash-calculator-modal .banknote-btn:hover{background:linear-gradient(145deg,#bff4d3,#a9f0c3);border-color:#22c55e;box-shadow:0 4px 12px #22c55e33;transform:translateY(-2px)}.cash-calculator-modal .banknote-btn:active{transform:translateY(0)}.cash-calculator-modal .cash-calculator__manual{margin-bottom:20px}.cash-calculator-modal .manual-input-row{display:flex;gap:8px}.cash-calculator-modal .manual-cash-input{border:2px solid #e5e7eb;border-radius:8px;color:#1f2937;flex:1 1;font-size:16px;font-weight:600;height:46px;padding:0 14px;transition:all .2s ease}.cash-calculator-modal .manual-cash-input:focus{border-color:#22c55e;outline:none}.cash-calculator-modal .manual-cash-input::placeholder{color:#9ca3af;font-weight:400}.cash-calculator-modal .btn-add-cash{align-items:center;background:#22c55e;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;height:46px;justify-content:center;transition:all .2s ease;width:46px}.cash-calculator-modal .btn-add-cash:hover{background:#1a9a49}.cash-calculator-modal .cash-calculator__result{background:#f3f4f6;border-radius:12px;padding:16px}.cash-calculator-modal .cash-client-section{border-top:1px solid #e5e7eb;margin-top:16px;padding-top:16px}.cash-calculator-modal .cash-client-section .clients-list{max-height:160px}.cash-calculator-modal .client-search{align-items:center;background:#f3f4f6;border:2px solid #e5e7eb;border-radius:12px;display:flex;gap:10px;margin-bottom:12px;padding:10px 14px;transition:all .2s ease}.cash-calculator-modal .client-search:focus-within{border-color:#3b82f6}.cash-calculator-modal .client-search input{background:#0000;border:none;color:#1f2937;flex:1 1;font-size:13px;outline:none}.cash-calculator-modal .client-search input::placeholder{color:#9ca3af}.cash-calculator-modal .clients-list{margin-bottom:12px;max-height:250px;overflow-y:auto}.cash-calculator-modal .client-item{align-items:center;border:2px solid #0000;border-radius:8px;cursor:pointer;display:flex;gap:12px;padding:12px;transition:all .2s ease}.cash-calculator-modal .client-item:hover{background:#f3f4f6}.cash-calculator-modal .client-item--selected{background:#b6f9e3;border-color:#10b981}.cash-calculator-modal .client-item__avatar{align-items:center;background:#e5e7eb;border-radius:50%;color:#6b7280;display:flex;height:40px;justify-content:center;width:40px}.cash-calculator-modal .client-item__info{flex:1 1}.cash-calculator-modal .client-item__name{color:#1f2937;display:block;font-size:13px;font-weight:600}.cash-calculator-modal .client-item__phone{align-items:center;color:#6b7280;display:flex;font-size:11px;gap:4px}.cash-calculator-modal .client-item__check{color:#10b981}.cash-calculator-modal .no-clients{color:#9ca3af;font-size:13px;padding:20px;text-align:center}.cash-calculator-modal .btn-add-client{align-items:center;background:#fff;border:2px dashed #d1d5db;border-radius:12px;color:#4b5563;cursor:pointer;display:flex;font-size:13px;font-weight:600;gap:8px;height:44px;justify-content:center;transition:all .2s ease;width:100%}.cash-calculator-modal .btn-add-client:hover{border-color:#3b82f6;color:#3b82f6}.cash-calculator-modal .add-client-form{animation:slideUp .3s ease-out}.cash-calculator-modal .add-client-form h4{color:#1f2937;font-size:14px;font-weight:700;margin-bottom:16px}.cash-calculator-modal .add-client-form .form-group{margin-bottom:14px}.cash-calculator-modal .add-client-form .form-group label{align-items:center;color:#4b5563;display:flex;font-size:12px;font-weight:600;gap:6px;margin-bottom:6px}.cash-calculator-modal .add-client-form .form-group input{border:2px solid #e5e7eb;border-radius:8px;color:#1f2937;font-size:13px;height:42px;padding:0 14px;transition:all .2s ease;width:100%}.cash-calculator-modal .add-client-form .form-group input:focus{border-color:#3b82f6;outline:none}.cash-calculator-modal .add-client-form .form-actions{display:flex;gap:10px;margin-top:16px}.cash-calculator-modal .add-client-form .form-actions .btn-cancel,.cash-calculator-modal .add-client-form .form-actions .btn-save{align-items:center;border-radius:8px;cursor:pointer;display:flex;flex:1 1;font-size:13px;font-weight:600;gap:6px;height:42px;justify-content:center;transition:all .2s ease}.cash-calculator-modal .add-client-form .form-actions .btn-cancel{background:#f3f4f6;border:2px solid #d1d5db;color:#4b5563}.cash-calculator-modal .add-client-form .form-actions .btn-cancel:hover{background:#e5e7eb}.cash-calculator-modal .add-client-form .form-actions .btn-save{background:#10b981;border:none;color:#fff}.cash-calculator-modal .add-client-form .form-actions .btn-save:hover{background:#059669}.cash-calculator-modal .result-row{align-items:center;display:flex;gap:10px;margin-bottom:10px}.cash-calculator-modal .result-row:last-child{margin-bottom:0}.cash-calculator-modal .result-row span{color:#4b5563;font-size:14px}.cash-calculator-modal .result-row strong{font-size:18px;margin-left:auto}.cash-calculator-modal .result-row .cash-received{color:#3b82f6}.cash-calculator-modal .result-row .change-amount{color:#6b7280}.cash-calculator-modal .result-row--change.has-change{background:linear-gradient(135deg,#9ef7d9,#b6f9e3);border:2px solid #10b981;border-radius:8px;margin:-4px -4px 0;padding:12px}.cash-calculator-modal .result-row--change.has-change .change-amount{color:#10b981;font-size:24px}.cash-calculator-modal .result-row--warning{background:#fef7f7;border-radius:8px;color:#ef4444;padding:10px 12px}.cash-calculator-modal .result-row--warning span{color:#ef4444;font-weight:600}.cash-calculator-modal .btn-reset-cash{align-items:center;background:#e5e7eb;border:none;border-radius:50%;color:#6b7280;cursor:pointer;display:flex;height:28px;justify-content:center;transition:all .2s ease;width:28px}.cash-calculator-modal .btn-reset-cash:hover{background:#ef4444;color:#fff}.item-discount-modal{max-width:440px}.item-discount-modal .item-discount__product{background:#f3f4f6;border-radius:12px;margin-bottom:16px;padding:14px 16px}.item-discount-modal .item-discount__name{color:#1f2937;display:block;font-size:15px;font-weight:700;margin-bottom:4px}.item-discount-modal .item-discount__price{color:#6b7280;font-size:13px}.item-discount-modal .item-discount__label{color:#4b5563;font-size:13px;font-weight:600;margin-bottom:10px}.item-discount-modal .item-discount__type{margin-bottom:16px}.item-discount-modal .item-discount__type .discount-type-toggle{display:flex;gap:8px}.item-discount-modal .item-discount__type .discount-type-toggle .toggle-btn{align-items:center;background:#f3f4f6;border:2px solid #e5e7eb;border-radius:8px;color:#4b5563;cursor:pointer;display:flex;flex:1 1;font-size:13px;font-weight:600;gap:8px;height:40px;justify-content:center;transition:all .2s ease}.item-discount-modal .item-discount__type .discount-type-toggle .toggle-btn:hover{border-color:#10b981;color:#10b981}.item-discount-modal .item-discount__type .discount-type-toggle .toggle-btn.active{background:#10b981;border-color:#10b981;color:#fff}.item-discount-modal .item-discount__value{margin-bottom:16px}.item-discount-modal .item-discount__value .discount-buttons{display:flex;flex-wrap:wrap;gap:8px}.item-discount-modal .item-discount__preview{background:linear-gradient(135deg,#a8f7dd,#b6f9e3);border:2px solid #10b981;border-radius:12px;padding:14px 16px;text-align:center}.item-discount-modal .item-discount__preview p{color:#374151;font-size:14px}.item-discount-modal .item-discount__preview p strong{color:#10b981;font-size:18px}.scan-action-modal{max-width:420px}.scan-action-modal .scan-action__product{background:linear-gradient(135deg,#f3f4f6,#fff);border-left:4px solid #3b82f6;border-radius:12px;margin-bottom:20px;padding:16px}.scan-action-modal .scan-action__product-info{display:flex;flex-direction:column;gap:4px}.scan-action-modal .scan-action__product-name{color:#1f2937;font-size:18px;font-weight:700}.scan-action-modal .scan-action__product-barcode{color:#6b7280;font-family:monospace;font-size:12px}.scan-action-modal .scan-action__product-price{color:#10b981;font-size:20px;font-weight:800;margin-top:4px}.scan-action-modal .scan-action__question{color:#4b5563;font-size:14px;font-weight:600;margin-bottom:16px;text-align:center}.scan-action-modal .scan-action__buttons{grid-gap:12px;display:grid;gap:12px;grid-template-columns:1fr 1fr}.scan-action-modal .scan-action-btn{align-items:center;border:3px solid #0000;border-radius:16px;cursor:pointer;display:flex;flex-direction:column;gap:8px;justify-content:center;padding:24px 16px;transition:all .3s ease}.scan-action-modal .scan-action-btn span{font-size:16px;font-weight:700}.scan-action-modal .scan-action-btn small{font-size:11px;opacity:.8}.scan-action-modal .scan-action-btn--sell{background:linear-gradient(135deg,#9ef7d9,#b6f9e3);border-color:#6ff3c7;color:#0c8a60}.scan-action-modal .scan-action-btn--sell:hover{background:linear-gradient(135deg,#10b981,#0ea271);border-color:#10b981;box-shadow:0 8px 20px #10b9814d;color:#fff;transform:translateY(-4px)}.scan-action-modal .scan-action-btn--return{background:linear-gradient(135deg,#fce2b6,#fdeccf);border-color:#facf85;color:#ac6f07}.scan-action-modal .scan-action-btn--return:hover{background:linear-gradient(135deg,#f59e0b,#dd8e09);border-color:#f59e0b;box-shadow:0 8px 20px #f59e0b4d;color:#fff;transform:translateY(-4px)}.scan-action-modal .scan-action-btn:active{transform:translateY(-2px)}::-webkit-scrollbar{height:5px;width:5px}::-webkit-scrollbar-track{background:#f3f4f6;border-radius:3px}::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#9ca3af}.modal__close--styled{align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#ffffff26;border:2px solid #ffffff4d;border-radius:50%;color:#fff;cursor:pointer;display:flex;height:36px;justify-content:center;transition:all .2s ease;width:36px}.modal__close--styled:hover{background:#ffffff4d;border-color:#ffffff80;transform:rotate(90deg)}.btn-styled-close{align-items:center;background:#e5e7eb;border:2px solid #d1d5db;border-radius:12px;color:#374151;cursor:pointer;display:flex;flex:1 1;font-size:14px;font-weight:600;gap:8px;height:44px;justify-content:center;transition:all .3s ease}.btn-styled-close:hover{background:#d1d5db;transform:translateY(-2px)}.btn-styled-back{align-items:center!important;background:#fff!important;border:2px solid #d1d5db!important;border-radius:12px!important;color:#374151!important;cursor:pointer;display:flex!important;flex:1 1;font-size:14px!important;font-weight:600!important;gap:8px!important;height:44px;justify-content:center!important;transition:all .3s ease!important}.btn-styled-back:hover{background:#f3f4f6!important;border-color:#9ca3af!important;transform:translateY(-2px)}.btn-styled-pay{align-items:center!important;background:linear-gradient(135deg,#10b981,#059669)!important;border:none!important;border-radius:12px!important;color:#fff!important;cursor:pointer;display:flex!important;flex:2 1;font-size:14px!important;font-weight:700!important;gap:8px!important;height:44px;justify-content:center!important;transition:all .3s ease!important}.btn-styled-pay:hover{box-shadow:0 6px 20px #10b98166!important;transform:translateY(-2px)}.btn-styled-pay:disabled{box-shadow:none!important;cursor:not-allowed;opacity:.5;transform:none!important}.btn-styled-pay--debt{background:linear-gradient(135deg,#f97316,#d65b06)!important}.btn-styled-pay--debt:hover{box-shadow:0 6px 20px #f9731666!important}.btn-styled-pay--debt:disabled{box-shadow:none!important;cursor:not-allowed;opacity:.5;transform:none!important}.cash-transfer-modal{max-width:500px}.cash-transfer-modal .modal__header--transfer{background:linear-gradient(135deg,#3b82f6,#2563eb);border-bottom:none}.cash-transfer-modal .modal__header--transfer h3{color:#fff}.cash-transfer-modal .modal__header--transfer .modal__close{background:#ffffff26;color:#fffc}.cash-transfer-modal .modal__header--transfer .modal__close:hover{background:#ffffff4d;color:#fff}.transfer-summary{margin-bottom:24px}.transfer-summary__row{grid-gap:12px;display:grid;gap:12px;grid-template-columns:1fr 1fr}.transfer-summary__item{background:#f3f4f6;border:2px solid #e5e7eb;border-radius:12px;padding:16px;text-align:center}.transfer-summary__label{color:#6b7280;display:block;font-size:12px;font-weight:600;letter-spacing:.5px;margin-bottom:8px;text-transform:uppercase}.transfer-summary__value{display:block;font-size:22px;font-weight:800}.transfer-summary__value--sales{color:#3b82f6}.transfer-summary__value--cash{color:#10b981}.transfer-form .form-group{margin-bottom:16px}.transfer-form .form-group label{align-items:center;color:#4b5563;display:flex;font-size:12px;font-weight:600;gap:6px;margin-bottom:6px}.transfer-form .form-group input{background:#fff;border:2px solid #e5e7eb;border-radius:8px;color:#1f2937;font-size:14px;height:44px;padding:0 14px;transition:all .2s ease;width:100%}.transfer-form .form-group input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.transfer-checkbox{margin-top:20px}.transfer-checkbox .checkbox-label{align-items:center;background:#fff;border:2px solid #e6effe;border-radius:12px;cursor:pointer;display:flex;gap:12px;padding:14px 16px;transition:all .2s ease}.transfer-checkbox .checkbox-label:hover{border-color:#3b82f6}.transfer-checkbox .checkbox-label input[type=checkbox]{display:none}.transfer-checkbox .checkbox-custom{align-items:center;background:#fff;border:2px solid #d1d5db;border-radius:6px;display:flex;flex-shrink:0;height:22px;justify-content:center;transition:all .2s ease;width:22px}input:checked+.transfer-checkbox .checkbox-custom{background:#3b82f6;border-color:#3b82f6}input:checked+.transfer-checkbox .checkbox-custom:after{border:solid #fff;border-width:0 2px 2px 0;content:"";height:10px;margin-top:-2px;transform:rotate(45deg);width:6px}.transfer-checkbox input:checked+.checkbox-custom{background:#3b82f6;border-color:#3b82f6}.transfer-checkbox input:checked+.checkbox-custom:after{border:solid #fff;border-width:0 2px 2px 0;content:"";height:10px;margin-top:-2px;transform:rotate(45deg);width:6px}.transfer-checkbox .checkbox-text{color:#1f2937;font-size:14px;font-weight:600}.btn-confirm--transfer{background:linear-gradient(135deg,#3b82f6,#2563eb)!important}.btn-confirm--transfer:hover{box-shadow:0 6px 20px #3b82f666!important}.cash-close-modal{max-height:90vh;max-width:600px}.cash-close-modal .modal__header--close-cash{background:linear-gradient(135deg,#1f2937,#374151);border-bottom:none}.cash-close-modal .modal__header--close-cash h3{color:#fff}.cash-close-modal .modal__header--close-cash .modal__close{background:#ffffff26;color:#fffc}.cash-close-modal .modal__header--close-cash .modal__close:hover{background:#ffffff4d;color:#fff}.cash-close-body{display:flex;flex-direction:column;gap:16px}.cash-close-section{background:#fff;border:2px solid #e5e7eb;border-radius:12px;overflow:hidden;transition:all .2s ease}.cash-close-section:hover{border-color:#d1d5db}.cash-close-section__header{align-items:center;background:#f3f4f6;border-bottom:1px solid #e5e7eb;display:flex;gap:10px;padding:12px 16px}.cash-close-section__header h4{color:#1f2937;flex:1 1;font-size:13px;font-weight:700;margin:0}.cash-close-section__header svg{color:#6b7280;flex-shrink:0}.cash-close-section__content{padding:12px 16px}.cash-close-section--highlight{background:#fff;border-color:#3b82f6}.cash-close-section--highlight .cash-close-section__header{background:#fefeff;border-bottom-color:#e6effe}.cash-close-section--highlight .cash-close-section__header svg{color:#3b82f6}.cash-close-section--total{background:#b1f8e1;border-color:#10b981}.cash-close-section--total .cash-close-section__header{background:#9ef7d9;border-bottom-color:#87f5d0}.cash-close-section--total .cash-close-section__header svg{color:#10b981}.cash-close-section--total .cash-close-section__header h4{color:#0c8a60}.section-total{font-size:16px;font-weight:800;white-space:nowrap}.section-total--debt{color:#f97316}.section-total--income{color:#10b981}.section-total--expense{color:#ef4444}.section-total--return{color:#f59e0b}.section-total--sales{color:#3b82f6}.section-total--total{color:#10b981;font-size:20px}.cash-close-list{display:flex;flex-direction:column;gap:8px;max-height:160px;overflow-y:auto}.cash-close-list__item{align-items:center;background:#f3f4f6;border-radius:8px;display:flex;justify-content:space-between;padding:10px 12px;transition:all .2s ease}.cash-close-list__item:hover{background:#e5e7eb}.cash-close-list__info{display:flex;flex-direction:column;gap:2px}.cash-close-list__name{color:#1f2937;font-size:13px;font-weight:600}.cash-close-list__detail{color:#6b7280;font-size:11px}.cash-close-list__amount{font-size:14px;font-weight:700;white-space:nowrap}.cash-close-list__amount--debt{color:#f97316}.cash-close-list__amount--income{color:#10b981}.cash-close-list__amount--expense{color:#ef4444}.cash-close-list__amount--return{color:#f59e0b}.cash-close-list__amount--sales{color:#3b82f6}.cash-close-empty{color:#9ca3af;font-size:13px;font-style:italic;padding:8px 0;text-align:center}.btn-confirm--close-cash{background:linear-gradient(135deg,#1f2937,#374151)!important}.btn-confirm--close-cash:hover{box-shadow:0 6px 20px #1f293766!important}.prev-report-info p{color:#4b5563;font-size:13px;margin-bottom:4px}.prev-report-info p strong{color:#3b82f6}.prev-report-info p:last-child{margin-bottom:0}.debtors{animation:fadeIn .5s ease-in-out;width:100%}.debtors__header{align-items:center;animation:slideInDown .6s ease-out;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:2rem}.debtors__header-content h1{color:#1f2937;font-size:2rem;font-weight:700;margin-bottom:.5rem}.debtors__header-content p{color:#6b7280;font-size:1rem}.debtors__summary{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));margin-bottom:2rem}.debtors__list{animation:fadeInUp .6s ease-out .2s backwards}.summary-card__icon{background:linear-gradient(135deg,#ef4444,#dc2626)}.summary-card--debt .summary-card__icon{background:linear-gradient(135deg,#f59e0b,#d97706)}.debtors-table{background:#fff;border-radius:1rem;box-shadow:0 1px 3px #0000001a}.debtors-table__header{background:#f9fafb;color:#374151;font-size:.875rem;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.debtors-table__header,.debtors-table__row{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:2fr 1.5fr 1.5fr 1fr;padding:1.25rem 1.5rem}.debtors-table__row{align-items:center;animation:fadeInUp .4s ease-out backwards;border-top:1px solid #f3f4f6;position:relative;transition:background .2s ease}.debtors-table__row:first-child{animation-delay:.05s}.debtors-table__row:nth-child(2){animation-delay:.1s}.debtors-table__row:nth-child(3){animation-delay:.15s}.debtors-table__row:nth-child(4){animation-delay:.2s}.debtors-table__row:nth-child(5){animation-delay:.25s}.debtors-table__row:nth-child(6){animation-delay:.3s}.debtors-table__row:nth-child(7){animation-delay:.35s}.debtors-table__row:nth-child(8){animation-delay:.4s}.debtors-table__row:nth-child(9){animation-delay:.45s}.debtors-table__row:nth-child(10){animation-delay:.5s}.debtors-table__row:nth-child(11){animation-delay:.55s}.debtors-table__row:nth-child(12){animation-delay:.6s}.debtors-table__row:nth-child(13){animation-delay:.65s}.debtors-table__row:nth-child(14){animation-delay:.7s}.debtors-table__row:nth-child(15){animation-delay:.75s}.debtors-table__row:nth-child(16){animation-delay:.8s}.debtors-table__row:nth-child(17){animation-delay:.85s}.debtors-table__row:nth-child(18){animation-delay:.9s}.debtors-table__row:nth-child(19){animation-delay:.95s}.debtors-table__row:nth-child(20){animation-delay:1s}.debtors-table__row:hover{background:#f9fafb}.debtor-name{align-items:center;color:#1f2937;display:flex;font-weight:600;gap:.75rem}.debtor-name svg{color:#667eea}.debt-amount{color:#f59e0b;font-size:.9375rem;font-weight:600}.debtors-loading{align-items:center;animation:fadeIn .3s ease-in-out;display:flex;flex-direction:column;justify-content:center;min-height:50vh}.debtors-loading .spinner{animation:spin 1s linear infinite;border:4px solid #f3f4f6;border-radius:50%;border-top-color:#667eea;height:48px;margin-bottom:1rem;width:48px}.debtors-loading p{color:#6b7280;font-weight:500}@media(max-width:768px){.debtors-table__header,.debtors-table__row{gap:.5rem;grid-template-columns:1fr}.debtors-table__header{display:none}.debtors-table__row{padding:1rem}}.debtors-table .head,.debtors-table .row{border-bottom:1px solid #eee;display:grid;grid-template-columns:2fr 2fr 1fr 40px;padding:10px}.icon{cursor:pointer}.modal-bg{align-items:center;background:#0006;display:flex;inset:0;justify-content:center;position:fixed}.modal{max-height:80vh;overflow:auto;padding:20px;width:500px}.item{border-bottom:1px solid #eee;padding:6px 0}.debt{color:red;margin-left:8px}.client-menu{animation:fadeInUp .2s ease-out;background:#fff;border-radius:.5rem;box-shadow:0 4px 12px #0000001a;overflow:hidden;position:absolute;right:-7px;top:30px;z-index:10}@media screen and (max-width:768px){.client-menu{right:0}}.client-menu .client-menu-item{cursor:pointer;padding:.5rem 1rem;transition:all .2s ease}.client-menu .client-menu-item:hover{background:#f3f4f6}.payment-history .item{border-bottom:1px solid #eee;font-size:.9375rem;padding:.5rem}.payment-history{margin-top:1.5rem;max-height:190px;overflow-y:auto;padding-right:6px}.payment-history h3{color:#1f2937;font-size:1rem;font-weight:600;margin-bottom:.75rem}.payment-history{scrollbar-color:#667eea #f3f4f6;scrollbar-width:thin}.payment-history::-webkit-scrollbar{width:6px}.payment-history::-webkit-scrollbar-track{background:#f3f4f6;border-radius:10px}.payment-history::-webkit-scrollbar-thumb{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:10px}.payment-item{animation:fadeInUp .2s ease-out;background:#f9fafb;border:1px solid #e5e7eb;border-radius:.5rem;margin-bottom:.5rem;padding:.75rem}.payment-item__date{color:#6b7280;font-size:.75rem;margin-bottom:.25rem}.payment-item__price{color:#16a34a;font-size:.95rem;font-weight:700}.payment-item__comment{color:#374151;font-size:.85rem;margin-top:.25rem}.pagination .pagination-btn{background:#f3f4f6;border:none}.pagination .pagination-btn:hover{background:#e5e7eb;color:#1f2937}.pagination .pagination-btn.active{background:linear-gradient(135deg,#667eea,#764ba2);pointer-events:none}.checks-list{display:flex;flex-direction:column;gap:12px}.check-item{background:#f8f9fb;border:1px solid #e6e8ec;border-radius:14px;cursor:pointer;padding:14px;transition:.2s}.check-item:hover{box-shadow:0 6px 16px #00000014;transform:translateY(-2px)}.check-item__top{font-weight:600}.check-item__bottom,.check-item__top{display:flex;justify-content:space-between}.check-item__bottom{color:#555;margin-top:6px}.check-details{display:flex;flex-direction:column;gap:16px}.check-details__header,.check-products{display:flex;flex-direction:column;gap:10px}.check-product-item{grid-gap:12px;background:#f7f8fa;border:1px solid #e6e8ec;border-radius:12px;display:grid;font-weight:500;gap:12px;grid-template-columns:1fr auto auto;padding:12px}.check-details-receipt{background:#fff;border-radius:12px;box-shadow:0 4px 15px #0000001a;margin:auto;max-width:500px;padding:20px}.check-details-receipt .check-receipt-header{align-items:center;display:flex;gap:15px;margin-bottom:15px}.check-details-receipt .check-receipt-header .check-receipt-info h3{font-size:18px;font-weight:700;margin:0 0 5px}.check-details-receipt .check-receipt-header .check-receipt-info div{font-size:14px;margin-bottom:3px}.check-details-receipt .check-receipt-products .check-product-row{border-bottom:1px dashed #ccc;display:flex;font-size:14px;justify-content:space-between;padding:6px 0}.check-details-receipt .check-receipt-products .check-product-row .product-name{flex:1 1}.check-details-receipt .check-receipt-products .check-product-row .product-count{text-align:center;width:50px}.check-details-receipt .check-receipt-products .check-product-row .product-price{text-align:right;width:80px}.finances{animation:fadeIn .5s ease-in-out;width:100%}.finances__header{align-items:center;animation:slideInDown .6s ease-out;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:2rem}.finances__header-content h1{color:#1f2937;font-size:2rem;font-weight:700;margin-bottom:.5rem}.finances__header-content p{color:#6b7280;font-size:1rem}.finances__cards{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));margin-bottom:2rem}.finances__operations{animation:fadeInUp .6s ease-out .3s backwards}.finance-card{align-items:center;animation:fadeInUp .6s ease-out backwards;background:#fff;border-radius:1rem;box-shadow:0 1px 3px #0000001a;display:flex;gap:1.25rem;padding:1.5rem;transition:transform .3s ease,box-shadow .3s ease}.finance-card:first-child{animation-delay:.1s}.finance-card:nth-child(2){animation-delay:.2s}.finance-card:nth-child(3){animation-delay:.3s}.finance-card:hover{box-shadow:0 8px 16px #00000026;transform:translateY(-4px)}.finance-card__icon{align-items:center;border-radius:.75rem;display:flex;flex-shrink:0;height:64px;justify-content:center;transition:transform .3s ease;width:64px}.finance-card:hover .finance-card__icon{transform:scale(1.1) rotate(-5deg)}.finance-card__content{flex:1 1}.finance-card__label{color:#6b7280;font-size:.875rem;font-weight:500;margin-bottom:.5rem}.finance-card__value{color:#1f2937;font-size:1.75rem;font-weight:700}.finance-card--income .finance-card__icon{background:#dcfce7;color:#16a34a}.finance-card--expense .finance-card__icon{background:#fee2e2;color:#dc2626}.finance-card--profit .finance-card__icon{background:#dbeafe;color:#2563eb}.section-title{color:#1f2937;font-size:1.5rem;font-weight:700;margin-bottom:1.5rem}.operations-list{background:#fff;border-radius:1rem;box-shadow:0 1px 3px #0000001a;overflow:hidden}.operation-item{animation:fadeInUp .4s ease-out backwards;border-bottom:1px solid #f3f4f6;display:flex;gap:1rem;padding:1.25rem 1.5rem;transition:background .2s ease}.operation-item:first-child{animation-delay:.15s}.operation-item:nth-child(2){animation-delay:.2s}.operation-item:nth-child(3){animation-delay:.25s}.operation-item:nth-child(4){animation-delay:.3s}.operation-item:nth-child(5){animation-delay:.35s}.operation-item:nth-child(6){animation-delay:.4s}.operation-item:nth-child(7){animation-delay:.45s}.operation-item:nth-child(8){animation-delay:.5s}.operation-item:nth-child(9){animation-delay:.55s}.operation-item:nth-child(10){animation-delay:.6s}.operation-item:last-child{border-bottom:none}.operation-item:hover{background:#f9fafb}.operation-item__icon{align-items:center;border-radius:.5rem;display:flex;flex-shrink:0;height:48px;justify-content:center;width:48px}.operation-item__icon .icon-income{color:#16a34a}.operation-item__icon .icon-expense{color:#dc2626}.operation-item__content{flex:1 1}.operation-item__header{align-items:flex-start;display:flex;gap:1rem;justify-content:space-between;margin-bottom:.5rem}.operation-item__header h4{color:#1f2937;font-size:1rem;font-weight:600}.operation-item__footer{align-items:center;display:flex;font-size:.875rem;gap:1rem}.operation-amount{font-size:1.125rem;font-weight:700;white-space:nowrap}.operation-amount.amount-income{color:#16a34a}.operation-amount.amount-expense{color:#dc2626}.operation-type{border-radius:.375rem;font-size:.75rem;font-weight:600;padding:.25rem .75rem}.operation-type.type-income{background:#dcfce7;color:#16a34a}.operation-type.type-expense{background:#fee2e2;color:#dc2626}.operation-date{align-items:center;color:#6b7280;display:flex;gap:.375rem}.finances-loading{align-items:center;animation:fadeIn .3s ease-in-out;display:flex;flex-direction:column;justify-content:center;min-height:50vh}.finances-loading .spinner{animation:spin 1s linear infinite;border:4px solid #f3f4f6;border-radius:50%;border-top-color:#667eea;height:48px;margin-bottom:1rem;width:48px}.finances-loading p{color:#6b7280;font-weight:500}@media(max-width:768px){.operation-item__header{align-items:flex-start;flex-direction:column}.operation-item__footer{flex-wrap:wrap}}.products-table-test-title{display:none;font-weight:700}@media screen and (max-width:768px){.products-table-test-title{display:block}}.products__filter{align-items:flex-end;display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:1.5rem}.products__filter .form-group{align-items:center;display:flex;flex-direction:row}.products__filter .form-group label{color:#374151;font-size:.875rem;margin-bottom:.25rem}.products__filter .form-group input{border:1px solid #d1d5db;border-radius:.375rem;font-size:.875rem;padding:.5rem .75rem;width:150px}@media(max-width:640px){.products__filter .form-group input{width:100%}}@media screen and (max-width:405px){.products__filter .form-group{width:47%}}.products__filter button{align-self:flex-start;height:3.7rem;max-width:200px}@media(max-width:640px){.products__filter button{max-width:none;width:100%}}.products{animation:fadeIn .5s ease-in-out;width:100%}.products__header{align-items:center;animation:slideInDown .6s ease-out;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:2rem}.products__header-content h1{color:#1f2937;font-size:2rem;font-weight:700;margin-bottom:.5rem}.products__header-content p{color:#6b7280;font-size:1rem}.products__summary{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));margin-bottom:2rem}.products__list{animation:fadeInUp .6s ease-out .2s backwards}.summary-card__icon{background:linear-gradient(135deg,#667eea,#764ba2)}.summary-card--value .summary-card__icon{background:linear-gradient(135deg,#10b981,#059669)}.products-table{background:#fff;border-radius:1rem;box-shadow:0 1px 3px #0000001a;overflow:hidden}.products-table__header{background:#f9fafb;color:#374151;font-size:.875rem;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.products-table__header,.products-table__row{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:2fr 1fr 1.3fr 1.3fr 1fr 1fr 1.3fr 120px;padding:1.25rem 1.5rem}.products-table__row{align-items:center;animation:fadeInUp .4s ease-out backwards;border-top:1px solid #f3f4f6;transition:background .2s ease}.products-table__row:first-child{animation-delay:.05s}.products-table__row:nth-child(2){animation-delay:.1s}.products-table__row:nth-child(3){animation-delay:.15s}.products-table__row:nth-child(4){animation-delay:.2s}.products-table__row:nth-child(5){animation-delay:.25s}.products-table__row:nth-child(6){animation-delay:.3s}.products-table__row:nth-child(7){animation-delay:.35s}.products-table__row:nth-child(8){animation-delay:.4s}.products-table__row:nth-child(9){animation-delay:.45s}.products-table__row:nth-child(10){animation-delay:.5s}.products-table__row:nth-child(11){animation-delay:.55s}.products-table__row:nth-child(12){animation-delay:.6s}.products-table__row:nth-child(13){animation-delay:.65s}.products-table__row:nth-child(14){animation-delay:.7s}.products-table__row:nth-child(15){animation-delay:.75s}.products-table__row:nth-child(16){animation-delay:.8s}.products-table__row:nth-child(17){animation-delay:.85s}.products-table__row:nth-child(18){animation-delay:.9s}.products-table__row:nth-child(19){animation-delay:.95s}.products-table__row:nth-child(20){animation-delay:1s}.products-table__row:hover{background:#f9fafb}.product-price,.product-quantity{color:#6b7280;font-size:.9375rem}.product-total{color:#059669;font-size:.9375rem;font-weight:600}.product-actions{display:flex;gap:.5rem}.action-btn{padding:.5rem}.action-btn--edit{color:#2563eb}.action-btn--history{background:#ede9fe;color:#6d28d9}.action-btn--history:hover{background:#ddd6fe;transform:scale(1.1)}.action-btn--print{background:#d1fae5;color:#059669}.action-btn--print:hover{background:#a7f3d0;transform:scale(1.1)}.action-btn--delete{color:#dc2626}.empty-state{animation:fadeInUp .6s ease-out;background:#fff;border-radius:1rem;padding:4rem 2rem;text-align:center}.empty-state svg{color:#d1d5db;margin-bottom:1rem}.empty-state h3{color:#374151;font-size:1.25rem;font-weight:600;margin-bottom:.5rem}.empty-state p{color:#6b7280}.products-loading{align-items:center;animation:fadeIn .3s ease-in-out;display:flex;flex-direction:column;justify-content:center;min-height:50vh}.products-loading .spinner{animation:spin 1s linear infinite;border:4px solid #f3f4f6;border-radius:50%;border-top-color:#667eea;height:48px;margin-bottom:1rem;width:48px}.products-loading p{color:#6b7280;font-weight:500}.barcode-input-wrapper{align-items:center;display:flex;gap:.5rem}.barcode-input-wrapper input{border:2px solid #e5e7eb;border-radius:.5rem;flex:1 1;font-size:1rem;padding:.75rem;transition:all .2s ease}.barcode-input-wrapper input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.barcode-input-wrapper input::placeholder{color:#9ca3af}.btn-generate{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:.5rem;color:#fff;cursor:pointer;display:flex;flex-shrink:0;height:44px;justify-content:center;padding:0;transition:all .2s ease;width:44px}.btn-generate:hover{box-shadow:0 4px 12px #667eea66;transform:scale(1.05)}.btn-generate:active{transform:scale(.95)}.btn-generate svg{transition:transform .3s ease}.btn-generate:hover svg{transform:rotate(180deg)}@media(max-width:768px){.products-table__header,.products-table__row{gap:.5rem;grid-template-columns:1fr}.products-table__header{display:none}.products-table__row{padding:1rem}.product-actions{justify-content:flex-start}}.products__controls{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:1.5rem}.search-box{align-items:center;background:#fff;border:2px solid #e5e7eb;border-radius:.75rem;display:flex;flex:1 1;gap:.5rem;min-width:240px;padding:.75rem 1rem;transition:all .2s ease}.search-box svg{color:#9ca3af;flex-shrink:0}.search-box input{border:none;color:#374151;font-size:.95rem;outline:none;width:100%}.search-box input::placeholder{color:#9ca3af}.search-box:focus-within{border-color:#667eea;box-shadow:0 0 0 3px #667eea26}.search-box:focus-within svg{color:#667eea}.sort-select{background:#fff;border:2px solid #e5e7eb;border-radius:.75rem;color:#374151;cursor:pointer;font-size:.95rem;font-weight:500;min-width:200px;padding:.75rem 1rem;transition:all .2s ease}.sort-select:hover{border-color:#c7d2fe}.sort-select:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea26;outline:none}.error{animation:fadeIn .3s ease-in-out;background:#fee2e2;border-radius:.75rem;color:#991b1b;font-weight:500;margin-bottom:1.5rem;padding:1rem 1.25rem}@media(max-width:768px){.products-table__header{display:none}.products-table__row{background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem;padding:1rem}.products-table__row div{color:#374151;display:flex;font-size:.95rem;justify-content:space-between}.products-table__row div:first-child{font-weight:600}.products-table__row .product-actions{gap:.5rem;justify-content:flex-start;margin-top:.5rem}}.title-name-product{display:none;font-weight:700}@media screen and (max-width:768px){.title-name-product{display:block}}.pagination{margin-top:2rem}.pagination button{background:#fff;border:1px solid #e5e7eb;border-radius:.5rem;cursor:pointer;padding:.5rem .75rem}.pagination button.active{background:#667eea;border-color:#667eea;color:#fff}.pagination button:disabled{cursor:not-allowed;opacity:.5}.sales{animation:fadeIn .5s ease-in-out;width:100%}.sales__header{align-items:center;animation:slideInDown .6s ease-out;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:2rem}.sales__header-content h1{color:#1f2937;font-size:2rem;font-weight:700;margin-bottom:.5rem}.sales__header-content p{color:#6b7280;font-size:1rem}.sales__header .sales-filter{align-items:center;display:flex;flex-wrap:wrap;gap:10px}@media screen and (max-width:1000px){.sales__header .sales-filter .form-group{width:47%}}.sales__header .sales-filter .btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;height:67px;margin-top:25px}.sales__summary{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));margin-bottom:2rem}.sales__list{animation:fadeInUp .6s ease-out .2s backwards}.sales-loading{align-items:center;animation:fadeIn .3s ease-in-out;display:flex;flex-direction:column;justify-content:center;min-height:50vh}.sales-loading .spinner{animation:spin 1s linear infinite;border:4px solid #f3f4f6;border-radius:50%;border-top-color:#3b82f6;height:48px;margin-bottom:1rem;width:48px}.sales-loading p{color:#6b7280;font-weight:500}.sales-table{background:#fff;border-radius:1rem;box-shadow:0 1px 3px #0000001a;overflow:hidden}@media screen and (max-width:768px){.sales-table{background-color:#f2f3f7;box-shadow:none}}.sales-table__header{background:#f9fafb;color:#374151;font-size:.875rem;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.sales-table__header,.sales-table__row{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:1.2fr 2fr 1.2fr 1.5fr 1.2fr 1fr;padding:1.25rem 1.5rem}.sales-table__row{align-items:center;animation:fadeInUp .4s ease-out backwards;border-top:1px solid #f3f4f6;transition:background .2s ease}.sales-table__row:first-child{animation-delay:.05s}.sales-table__row:nth-child(2){animation-delay:.1s}.sales-table__row:nth-child(3){animation-delay:.15s}.sales-table__row:nth-child(4){animation-delay:.2s}.sales-table__row:nth-child(5){animation-delay:.25s}.sales-table__row:nth-child(6){animation-delay:.3s}.sales-table__row:nth-child(7){animation-delay:.35s}.sales-table__row:nth-child(8){animation-delay:.4s}.sales-table__row:nth-child(9){animation-delay:.45s}.sales-table__row:nth-child(10){animation-delay:.5s}.sales-table__row:nth-child(11){animation-delay:.55s}.sales-table__row:nth-child(12){animation-delay:.6s}.sales-table__row:nth-child(13){animation-delay:.65s}.sales-table__row:nth-child(14){animation-delay:.7s}.sales-table__row:nth-child(15){animation-delay:.75s}.sales-table__row:nth-child(16){animation-delay:.8s}.sales-table__row:nth-child(17){animation-delay:.85s}.sales-table__row:nth-child(18){animation-delay:.9s}.sales-table__row:nth-child(19){animation-delay:.95s}.sales-table__row:nth-child(20){animation-delay:1s}.sales-table__row:hover{background:#f9fafb}.sale-date{color:#6b7280;font-size:.9375rem}.sale-product{align-items:center;color:#1f2937;display:flex;font-weight:600;gap:.75rem}.sale-product svg{color:#3b82f6;flex-shrink:0}.sale-quantity{color:#6b7280;font-size:.9375rem}.sale-amount{color:#10b981;font-size:.9375rem;font-weight:600}.sale-status{align-items:center;display:flex}.status-badge{border-radius:.5rem;justify-content:center;transition:all .2s ease}.status-badge--paid{background:#d1fae5;color:#065f46}.status-badge--debt{background:#fee2e2;color:#991b1b}.summary-card--total .summary-card__icon{background:linear-gradient(135deg,#10b981,#059669)}.btn-add{box-shadow:0 2px 8px #3b82f64d}.btn-add:hover{box-shadow:0 4px 12px #3b82f666}.form-group input:focus,.form-group select:focus{box-shadow:0 0 0 3px #3b82f61a}.btn-primary{background:linear-gradient(135deg,#10b981,#059669)}.btn-primary:hover{box-shadow:0 4px 12px #10b98166}@media(max-width:768px){.sales-table__header{display:none}.sales-table__row{background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;box-shadow:0 1px 2px #0000000d;gap:.75rem;grid-template-columns:1fr;margin-bottom:.75rem;padding:1rem}.sales-table__row:hover{background:#fff;box-shadow:0 2px 4px #0000001a}.sales-table .sale-date{color:#9ca3af;font-size:.8125rem;order:1}.sales-table .sale-product{font-size:1rem;order:2}.sales-table .sale-quantity{font-size:.875rem;order:3}.sales-table .sale-amount{font-size:1.125rem;order:4}.sales-table .sale-status{order:5}.sales__header{align-items:flex-start;flex-direction:column}.sales__header-content{width:100%}.sales__header .btn-add{justify-content:center;width:100%}.sales__summary{grid-template-columns:1fr}}@media(max-width:480px){.sales__header-content h1{font-size:1.5rem}.sales__header-content p{font-size:.875rem}.summary-card{padding:1rem}.summary-card__icon{height:48px;width:48px}.summary-card__content h3{font-size:1.25rem}.summary-card__content p{font-size:.8125rem}}.sales__filter{align-items:flex-end;display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:2rem}.sales__filter .form-group{min-width:240px}.sales-pagination{align-items:center;display:flex;gap:1rem;justify-content:center;margin-top:1.5rem}.sales-pagination span{color:#374151;font-weight:600}.sales-pagination button:disabled{cursor:not-allowed;opacity:.5}.pagination{align-items:center;display:flex;gap:.5rem;justify-content:center;margin-top:1.5rem}.pagination .pagination-btn{background:#fff;border:1px solid #e5e7eb;border-radius:.5rem;color:#374151;cursor:pointer;font-weight:600;height:36px;min-width:36px;transition:all .2s ease}.pagination .pagination-btn:hover:not(:disabled){background:#f3f4f6}.pagination .pagination-btn:disabled{cursor:not-allowed;opacity:.5}.pagination .pagination-btn.active{background:#3b82f6;border-color:#3b82f6;color:#fff}.receipt{font-family:monospace;max-width:420px}.receipt__header{align-items:center;border-bottom:1px dashed #000;display:flex;justify-content:space-between;margin-bottom:10px;padding-bottom:8px}.receipt__header-title{font-size:16px;font-weight:700}.receipt__id{color:#555;font-size:12px}.receipt__close{align-items:center;background:#f3f4f6;border:none;border-radius:8px;cursor:pointer;display:flex;font-size:22px;height:32px;justify-content:center;width:32px}.receipt__close:hover{background:#e5e7eb}.receipt__info{font-size:13px;margin-bottom:10px}.receipt__products{border-bottom:1px dashed #000;border-top:1px dashed #000;margin:8px 0;padding:8px 0}.receipt__row{grid-gap:8px;display:grid;font-size:13px;gap:8px;grid-template-columns:1fr auto auto;margin-bottom:6px}.receipt__product-name{font-weight:600}.receipt__footer{align-items:center;display:flex;justify-content:space-between;margin-top:12px}.receipt__total{font-size:18px;font-weight:700}.receipt__qr{border:1px dashed #000;padding:4px}.staff{animation:fadeIn .4s ease-out;display:flex;flex-direction:column;gap:24px;height:100%;width:100%}.staff__header{align-items:center;border-bottom:2px solid #e5e7eb;display:flex;justify-content:space-between;padding-bottom:16px}.staff__header-content h1{color:#1f2937;font-size:28px;font-weight:700;margin-bottom:4px}.staff__header-content p{color:#6b7280;font-size:14px}.staff__summary{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.staff__list{flex:1 1;overflow-y:auto}.staff-loading{align-items:center;display:flex;flex-direction:column;gap:16px;height:100%;justify-content:center}.staff-loading .spinner{animation:spin .8s linear infinite;border:4px solid #e5e7eb;border-radius:50%;border-top-color:#3b82f6;height:40px;width:40px}.staff-loading p{color:#6b7280;font-size:16px}.staff-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}.staff-card{animation:slideUp .4s ease-out;background:#fff;border:2px solid #e5e7eb;border-radius:12px;display:flex;gap:16px;padding:20px;transition:all .3s ease}.staff-card:hover{border-color:#3b82f6;box-shadow:0 4px 12px #3b82f626;transform:translateY(-2px)}.staff-card__avatar{align-items:center;background:linear-gradient(135deg,#3b82f6,#2563eb);border-radius:12px;color:#fff;display:flex;flex-shrink:0;height:64px;justify-content:center;width:64px}.staff-card__info{display:flex;flex:1 1;flex-direction:column;gap:8px}.staff-card__info h3{color:#1f2937;font-size:18px;font-weight:600;margin:0}.staff-card__info .position{color:#6b7280;font-size:14px;margin:0}.staff-card__info .contact-info{display:flex;flex-direction:column;gap:6px;margin-top:4px}.staff-card__info .contact-item{align-items:center;color:#4b5563;display:flex;font-size:14px;gap:8px}.staff-card__info .contact-item svg{color:#3b82f6;flex-shrink:0}.staff-card__info .contact-item span{word-break:break-all}.staff-card__info .salary{align-items:center;border-top:1px solid #e5e7eb;display:flex;font-size:14px;gap:8px;margin-top:8px;padding-top:8px}.staff-card__info .salary span{color:#6b7280}.staff-card__info .salary strong{color:#10b981;font-size:16px}.summary-card{animation:slideUp .4s ease-out;border:2px solid #e5e7eb;border-radius:12px;gap:16px;padding:20px;transition:all .3s ease}.summary-card:hover{box-shadow:0 4px 12px #00000014;transform:translateY(-2px)}.summary-card__icon{background:linear-gradient(135deg,#3b82f6,#2563eb);border-radius:12px}.summary-card__content h3{font-size:28px;margin:0 0 4px}.summary-card__content p{font-size:14px;margin:0}.btn-add{background:linear-gradient(135deg,#3b82f6,#2563eb);border-radius:10px;gap:8px;height:44px;padding:0 20px}.btn-add:hover{box-shadow:0 4px 12px #3b82f64d}.modal-overlay{animation:fadeIn .3s ease-out;inset:0}.modal{border-radius:16px;max-height:90vh;overflow-y:auto}.modal__header{border-bottom:2px solid #e5e7eb;padding:20px 24px}.modal__header h2{font-size:20px;font-weight:600;margin:0}.modal__close{border-radius:8px;height:32px;width:32px}.modal__body{gap:16px;padding:24px}.modal__footer{border-top:2px solid #e5e7eb;gap:12px;padding:16px 24px}.form-group{gap:8px}.form-group label{font-size:14px}.form-group input,.form-group select{border-radius:8px;font-size:14px;height:44px;padding:0 12px}.form-group input:focus,.form-group select:focus{border-color:#3b82f6}.btn-primary,.btn-secondary{border-radius:10px;flex:1 1;height:44px;transition:all .3s ease}.btn-primary:hover,.btn-secondary:hover{transform:translateY(-2px)}.btn-primary:active,.btn-secondary:active{transform:translateY(0)}.btn-primary{background:linear-gradient(135deg,#3b82f6,#2563eb)}.btn-primary:hover{box-shadow:0 4px 12px #10b9814d}.btn-secondary{background:#fff;border:2px solid #e5e7eb;color:#6b7280}.btn-secondary:hover{background:#f9fafb;border-color:#d1d5db}.staff-card{overflow:hidden;padding-right:110px;position:relative}.staff-card .actions{display:flex;gap:8px;position:absolute;right:12px;top:12px}.opt_block{align-items:center;display:flex;gap:10px}.sidebar{animation:slideInLeft .5s ease-out;background-color:#fff;border-right:1px solid #e5e7eb;bottom:0;display:flex;flex-direction:column;left:0;position:fixed;top:0;transition:transform .3s cubic-bezier(.4,0,.2,1);width:280px;z-index:100}@media(max-width:768px){.sidebar{transform:translateX(-100%)}.sidebar--mobile-open{transform:translateX(0)}}.sidebar__mobile-button{background:#fff;border:1px solid #e5e7eb;border-radius:.5rem;cursor:pointer;display:none;left:1rem;padding:.5rem;position:fixed;top:1rem;transition:all .3s ease;z-index:90}@media(max-width:768px){.sidebar__mobile-button{display:block}}.sidebar__mobile-button:hover{background-color:#f9fafb;transform:scale(1.05)}.sidebar__mobile-button:active{transform:scale(.95)}.sidebar__header{align-items:center;animation:fadeIn .6s ease-out;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:1.5rem}.sidebar__logo-container{align-items:center;display:flex;gap:.75rem}.sidebar__logo{border-radius:.5rem;height:40px;transition:transform .3s ease;width:40px}.sidebar__logo:hover{transform:rotate(1turn)}.sidebar__logo-text{color:#1f2937;font-size:1.25rem;font-weight:700}.sidebar__close-button{background:none;border:none;color:#6b7280;cursor:pointer;display:none;padding:.5rem;transition:all .3s ease}@media(max-width:768px){.sidebar__close-button{display:block}}.sidebar__close-button:hover{color:#1f2937;transform:rotate(90deg)}.sidebar__nav{flex:1 1;overflow-y:auto;padding:1rem}.sidebar__nav-item{align-items:center;background:none;border:none;border-radius:.5rem;color:#6b7280;cursor:pointer;display:flex;font-size:.9375rem;font-weight:500;gap:.75rem;margin-bottom:.25rem;overflow:hidden;padding:.875rem 1rem;position:relative;transition:all .3s cubic-bezier(.4,0,.2,1);width:100%}.sidebar__nav-item:before{background:linear-gradient(135deg,#667eea,#764ba2);content:"";height:100%;left:0;position:absolute;top:0;transform:scaleY(0);transition:transform .3s ease;width:3px}.sidebar__nav-item:hover{background-color:#f3f4f6;color:#1f2937;transform:translateX(4px)}.sidebar__nav-item:hover:before{transform:scaleY(1)}.sidebar__nav-item--active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;transform:translateX(4px)}.sidebar__nav-item--active:before{background:#fff;transform:scaleY(1)}.sidebar__nav-item--active:hover{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.sidebar__logout{align-items:center;background:none;border:1px solid #e5e7eb;border-radius:.5rem;color:#ef4444;cursor:pointer;display:flex;font-size:.9375rem;font-weight:500;gap:.75rem;justify-content:center;margin:1rem;padding:.875rem 1rem;transition:all .3s cubic-bezier(.4,0,.2,1)}.sidebar__logout:hover{background-color:#fef2f2;border-color:#ef4444;box-shadow:0 4px 8px #ef444433;transform:translateY(-2px)}.sidebar__logout:active{transform:translateY(0)}.sidebar__overlay{display:none}@media(max-width:768px){.sidebar__overlay{animation:fadeIn .3s ease-out;background-color:#00000080;display:block;inset:0;position:fixed;z-index:90}}@keyframes slideInLeft{0%{transform:translateX(-100%)}to{transform:translateX(0)}}.dashboard-layout{background-color:#f3f4f6;display:flex;min-height:100vh}.dashboard-layout__main{animation:fadeIn .5s ease-out;flex:1 1;margin-left:280px;padding:2rem}@media(max-width:768px){.dashboard-layout__main{margin-left:0;padding:4rem 1rem 1rem}}.returns{animation:fadeIn .5s ease-in-out;width:100%}.returns__header{align-items:center;animation:slideInDown .6s ease-out;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:2rem}.returns__header-content h1{color:#1f2937;font-size:2rem;font-weight:700;margin-bottom:.5rem}.returns__header-content p{color:#6b7280;font-size:1rem}.returns__summary{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));margin-bottom:2rem}.returns__list{animation:fadeInUp .6s ease-out .2s backwards}.btn-add{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:.5rem;box-shadow:0 2px 8px #667eea4d;color:#fff;cursor:pointer;display:flex;font-weight:600;gap:.5rem;padding:.75rem 1.5rem;transition:all .3s ease}.btn-add:hover{box-shadow:0 4px 12px #667eea66;transform:translateY(-2px)}.btn-add:active{transform:translateY(0)}.summary-card{align-items:center;animation:fadeInUp .6s ease-out backwards;background:#fff;border-radius:1rem;box-shadow:0 1px 3px #0000001a;display:flex;gap:1rem;padding:1.5rem;transition:transform .3s ease,box-shadow .3s ease}.summary-card:first-child{animation-delay:.1s}.summary-card:nth-child(2){animation-delay:.2s}.summary-card:nth-child(3){animation-delay:.3s}.summary-card:nth-child(4){animation-delay:.4s}.summary-card:hover{box-shadow:0 8px 16px #00000026;transform:translateY(-4px)}.summary-card__icon{align-items:center;border-radius:.75rem;color:#fff;display:flex;flex-shrink:0;height:56px;justify-content:center;transition:transform .3s ease;width:56px}.summary-card__icon--package{background:linear-gradient(135deg,#3b82f6,#2563eb)}.summary-card__icon--return{background:linear-gradient(135deg,#10b981,#059669)}.summary-card__icon--defect{background:linear-gradient(135deg,#ef4444,#dc2626)}.summary-card__icon--amount{background:linear-gradient(135deg,#f59e0b,#d97706)}.summary-card:hover .summary-card__icon{transform:scale(1.1) rotate(-5deg)}.summary-card__content h3{color:#1f2937;font-size:1.5rem;font-weight:700;margin-bottom:.25rem}.summary-card__content p{color:#6b7280;font-size:.875rem}.returns-table{background:#fff;border-radius:1rem;box-shadow:0 1px 3px #0000001a;overflow:hidden}.returns-table__header{background:#f9fafb;color:#374151;font-size:.875rem;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.returns-table__header,.returns-table__row{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:2fr 1fr 1fr 1fr 1.2fr 1fr 1fr;padding:1.25rem 1.5rem}.returns-table__row{align-items:center;animation:fadeInUp .4s ease-out backwards;border-top:1px solid #f3f4f6;transition:background .2s ease}.returns-table__row:first-child{animation-delay:.05s}.returns-table__row:nth-child(2){animation-delay:.1s}.returns-table__row:nth-child(3){animation-delay:.15s}.returns-table__row:nth-child(4){animation-delay:.2s}.returns-table__row:nth-child(5){animation-delay:.25s}.returns-table__row:nth-child(6){animation-delay:.3s}.returns-table__row:nth-child(7){animation-delay:.35s}.returns-table__row:nth-child(8){animation-delay:.4s}.returns-table__row:nth-child(9){animation-delay:.45s}.returns-table__row:nth-child(10){animation-delay:.5s}.returns-table__row:nth-child(11){animation-delay:.55s}.returns-table__row:nth-child(12){animation-delay:.6s}.returns-table__row:nth-child(13){animation-delay:.65s}.returns-table__row:nth-child(14){animation-delay:.7s}.returns-table__row:nth-child(15){animation-delay:.75s}.returns-table__row:nth-child(16){animation-delay:.8s}.returns-table__row:nth-child(17){animation-delay:.85s}.returns-table__row:nth-child(18){animation-delay:.9s}.returns-table__row:nth-child(19){animation-delay:.95s}.returns-table__row:nth-child(20){animation-delay:1s}.returns-table__row:hover{background:#f9fafb}.product-name{align-items:center;color:#1f2937;display:flex;font-weight:600;gap:.75rem}.product-name svg{color:#667eea}.quantity{color:#6b7280;font-weight:500}.reason{color:#374151;font-weight:500}.amount{color:#f59e0b;font-size:.9375rem;font-weight:600}.status-badge{align-items:center;border-radius:.375rem;display:inline-flex;font-size:.75rem;font-weight:600;letter-spacing:.5px;padding:.375rem .75rem;text-transform:uppercase}.status-badge--return{background:#d1fae5;color:#065f46}.status-badge--defect{background:#fee2e2;color:#991b1b}.actions{display:flex;gap:.5rem}.action-btn{align-items:center;border:none;border-radius:.375rem;cursor:pointer;display:flex;height:32px;justify-content:center;transition:all .2s ease;width:32px}.action-btn--edit{background:#dbeafe;color:#1e40af}.action-btn--edit:hover{background:#bfdbfe;transform:scale(1.1)}.action-btn--success{background:#d1fae5;color:#065f46}.action-btn--success:hover{background:#a7f3d0;transform:scale(1.1)}.action-btn--danger{background:#fee2e2;color:#991b1b}.action-btn--danger:hover{background:#fecaca;transform:scale(1.1)}.action-btn--delete{background:#fee2e2;color:#991b1b}.action-btn--delete:hover{background:#fecaca;transform:scale(1.1)}.returns-loading{align-items:center;animation:fadeIn .3s ease-in-out;display:flex;flex-direction:column;justify-content:center;min-height:50vh}.returns-loading .spinner{animation:spin 1s linear infinite;border:4px solid #f3f4f6;border-radius:50%;border-top-color:#667eea;height:48px;margin-bottom:1rem;width:48px}.returns-loading p{color:#6b7280;font-weight:500}.modal-overlay{align-items:center;animation:fadeIn .2s ease-out;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.modal{animation:slideUp .3s ease-out;background:#fff;border-radius:1rem;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;max-width:500px;width:90%}.modal__header{align-items:center;border-bottom:2px solid #f3f4f6;display:flex;justify-content:space-between;padding:1.5rem}.modal__header h2{color:#1f2937;font-size:1.5rem;font-weight:700}.modal__close{align-items:center;background:#f3f4f6;border:none;border-radius:.5rem;color:#6b7280;cursor:pointer;display:flex;font-size:24px;height:36px;justify-content:center;transition:all .2s ease;width:36px}.modal__close:hover{background:#e5e7eb;color:#1f2937}.modal__body{display:flex;flex-direction:column;gap:1.25rem;padding:1.5rem}.modal__footer{border-top:2px solid #f3f4f6;display:flex;gap:1rem;justify-content:flex-end;padding:1.5rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{color:#374151;font-size:.875rem;font-weight:600}.form-group input,.form-group select{border:2px solid #e5e7eb;border-radius:.5rem;font-size:1rem;padding:.75rem;transition:all .2s ease}.form-group input:focus,.form-group select:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.form-group input::placeholder,.form-group select::placeholder{color:#9ca3af}.form-group select{cursor:pointer}.btn-primary,.btn-secondary{border:none;border-radius:.5rem;cursor:pointer;font-size:1rem;font-weight:600;padding:.75rem 1.5rem;transition:all .2s ease}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.btn-primary:hover{box-shadow:0 4px 12px #667eea66;transform:translateY(-2px)}.btn-secondary{background:#f3f4f6;color:#374151}.btn-secondary:hover{background:#e5e7eb}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes slideInDown{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}@keyframes slideUp{0%{opacity:0;transform:translateY(30px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes spin{to{transform:rotate(1turn)}}@media(max-width:1024px){.returns-table__header,.returns-table__row{font-size:.8125rem;gap:.5rem;grid-template-columns:1.5fr .8fr .8fr .8fr 1fr .8fr .8fr;padding:1rem}}@media(max-width:768px){.returns__summary{grid-template-columns:repeat(2,1fr)}.returns-table__header{display:none}.returns-table__row{border-left:4px solid #667eea;gap:.75rem;grid-template-columns:1fr;padding:1.25rem}.returns-table__row>div{align-items:center;display:flex;justify-content:space-between}.returns-table__row>div:before{color:#6b7280;content:attr(data-label);font-size:.8125rem;font-weight:600;text-transform:uppercase}.returns-table__row .actions,.returns-table__row .product-name{justify-content:flex-start}.returns-table__row .actions:before,.returns-table__row .product-name:before{display:none}.modal{width:95%}}@media(max-width:480px){.returns__summary{grid-template-columns:1fr}.returns__header-content h1{font-size:1.5rem}}.returns-error{animation:fadeIn .3s ease-in-out,fadeOut .5s ease-in-out 3s forwards;background:#fee2e2;border-left:4px solid #ef4444;border-radius:.5rem;box-shadow:0 2px 4px #0000001a;color:#991b1b;font-weight:600;margin-bottom:1.5rem;padding:1rem 1.5rem}@keyframes fadeOut{to{height:0;margin:0;opacity:0;padding:0;transform:translateY(-10px)}}
/*# sourceMappingURL=main.1370c783.css.map*/