[data-theme=light]{--color-background: hsl(0, 0%, 83%);--color-background2: rgba(255, 255, 255, .075);--color-text: hsl(0, 0%, 0%);--color-surface: hsl(0, 0%, 95%);--color-border: hsl(0, 0%, 85%);--color-primary: #ca2026;--color-primary-intense: #ad0006;--color-primary-bg: hsl(0, 48%, 49%);--color-primary-bg-select: hsla(0, 80%, 36%, .767);--color-primary-bg-select-deep: hsla(209, 80%, 36%, .247);--color-primary-bg-select-2: hsla(0, 77%, 74%, .767);--color-primary-hover: hsl(351, 100%, 32%);--color-secondary: hsl(351, 100%, 44%);--color-accent: hsl(0, 100%, 75%);--color-link: hsl(210, 70%, 50%);--color-link-hover: hsl(210, 70%, 40%);--color-button-text: hsl(0, 0%, 100%);--color-button-background: var(--color-primary);--color-button-hover: hsl(226, 99%, 35%);--color-button-disabled: hsl(0, 0%, 80%);--color-input-background: hsl(0, 0%, 100%);--color-input-border: hsl(0, 0%, 75%);--color-input-placeholder: hsl(0, 0%, 60%);--color-input-focus: var(--color-primary);--color-shadow: hsla(0, 0%, 0%, .1);--color-card-background: hsl(0, 0%, 98%);--color-modal-background: hsla(0, 0%, 0%, .25);--color-skeleton: #e0e0e0;--color-skeleton-bg: #f5f5f5;--color-skeleton-light: #f0f0f0;--color-border: #ddd;--transition-speed: .3s;--border-radius: .5rem;--color-disabled: #915c5e}[data-theme=dark]{--color-background: hsl(0, 0%, 8%);--color-text: hsl(0, 0%, 90%);--color-surface: hsl(0, 0%, 12%);--color-border: hsl(0, 0%, 25%);--color-background2: rgba(20, 20, 20, .425);--color-primary: hsl(0, 0%, 25%);--color-primary-intense: hsl(0, 0%, 11%);--color-primary-bg: hsl(0, 0%, 40%);--color-primary-bg-select: hsl(0, 1%, 29%);--color-primary-bg-select-deep: hsla(0, 1%, 29%, .233);--color-primary-bg-select-2: hsl(0, 0%, 67%);--color-primary-hover: hsl(210, 90%, 50%);--color-secondary: hsl(351, 99%, 50%);--color-accent: hsl(0, 100%, 70%);--color-link: hsl(210, 70%, 65%);--color-link-hover: hsl(210, 70%, 55%);--color-button-text: hsl(0, 0%, 100%);--color-button-background: var(--color-primary);--color-button-hover: var(--color-primary-hover);--color-button-disabled: hsl(0, 0%, 30%);--color-input-background: hsl(0, 0%, 10%);--color-input-border: hsl(0, 0%, 30%);--color-input-placeholder: hsl(0, 0%, 60%);--color-input-focus: var(--color-primary);--color-shadow: hsla(0, 0%, 0%, .4);--color-card-background: hsl(0, 0%, 10%);--color-modal-background: hsla(0, 0%, 100%, .05);--color-skeleton: #444;--color-skeleton-bg: #2a2a2a;--color-skeleton-light: #555;--color-border: #444;--transition-speed: .3s;--border-radius: .5rem;--color-disabled: #915c5e}body{background-color:var(--color-background);color:var(--color-text);transition:background-color .3s,color .3s}.header{background-color:var(--color-surface);border-bottom:1px solid var(--color-border)}.layout{display:flex;height:100vh;height:100dvh;overflow:hidden}.main-area{flex:1;transition:margin-left .3s ease;display:flex;flex-direction:column;overflow:hidden}.content{padding:1rem;transition:all ease-in-out .3s;flex:1;overflow-y:auto;overflow-x:hidden;height:0;scrollbar-width:thin;scrollbar-color:var(--color-primary) var(--color-background)}.content::-webkit-scrollbar{width:8px;height:8px}.content::-webkit-scrollbar-track{background:var(--color-background);border-radius:4px}.content::-webkit-scrollbar-thumb{background:var(--color-primary);border-radius:4px}.content::-webkit-scrollbar-thumb:hover{background:var(--color-primary-hover)}.content::-webkit-scrollbar-button{display:none}.toggle-button{position:fixed;bottom:1rem;left:.5rem;z-index:1000;background:var(--color-primary);color:#fff;border:none;border-radius:0 5px 5px 0;padding:.5rem;cursor:pointer}@media (max-width: 768px){.content{padding:1rem;transition:all ease-in-out .3s;flex:1;overflow-y:auto}}.dashboard-container{display:flex;gap:20px;width:100%;padding:1rem;box-sizing:border-box;-webkit-user-select:none;user-select:none}.container-1{width:100%}.container-1 .resume-details{padding:10px;background-color:var(--color-surface);border-radius:10px;height:83.5vh;scrollbar-color:var(--color-primary) transparent}.container-2{width:100%}.stats-container{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem;margin:1.5rem 0;padding:20px}.stat-card{background:var(--color-card-background);padding:.8rem;border-radius:var(--border-radius);box-shadow:var(--color-shadow) 0 2px 8px;text-align:center;transition:transform .3s ease;border-top:4px solid var(--color-primary);width:80%;height:auto}.stat-card h3{color:var(--color-text);margin-bottom:.5rem;font-size:.9rem}.stat-card p{font-size:1.8rem;font-weight:700;margin:.5rem 0;color:var(--color-text)}.stat-card span{font-size:.7rem;color:var(--color-input-placeholder);display:block}.stat-card.clickable{cursor:pointer;transition:all .2s ease;position:relative;-webkit-user-select:none;user-select:none}.stat-card.clickable:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.stat-card.clickable:active{transform:translateY(0);box-shadow:0 2px 6px #0000001a}.stat-card.clickable:after{content:"📌";position:absolute;top:10px;right:10px;font-size:16px;opacity:0;transition:opacity .2s ease}.stat-card.clickable:hover:after{opacity:.7}.stat-card.warning{border-top-color:var(--color-accent)}.stat-card.warning p,.stat-card.warning span{color:#000}.stat-card.warning.clickable:hover{box-shadow:0 4px 12px #ffc1074d}.stat-card.danger{border-top-color:#ff6b6b}.stat-card.danger p,.stat-card.danger span{color:#fff}.stat-card.danger.clickable:hover{box-shadow:0 4px 12px #dc35454d}.stat-card.info{border-top-color:var(--color-link)}.stat-card.info p{color:var(--color-link)}.stat-card.info.clickable:hover{box-shadow:0 4px 12px #17a2b84d}.charts-tabbed-container{width:100%;height:50%;margin-bottom:1.5rem;border:1px solid rgb(207,207,207);box-shadow:0 4px 12px #636c6d4d}.chart-tabs{display:flex;background:var(--color-card-background);border-radius:var(--border-radius) var(--border-radius) 0 0;box-shadow:var(--color-shadow) 0 2px 8px;overflow-x:auto;scrollbar-width:thin}.chart-tabs::-webkit-scrollbar{height:4px}.chart-tabs::-webkit-scrollbar-track{background:transparent}.chart-tabs::-webkit-scrollbar-thumb{background:var(--color-border);border-radius:2px}.chart-tab{flex:1;min-width:max-content;padding:.75rem;background:transparent;border:none;color:var(--color-text);font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease;border-bottom:3px solid transparent;white-space:nowrap}.chart-tab:hover{background:#8884d81a;color:var(--color-text)}.chart-tab.active{background:#d8848426;border-bottom-color:var(--color-primary);color:var(--color-primary);font-weight:600}.chart-container.tabbed{border-radius:0 0 var(--border-radius) var(--border-radius);height:100%;width:100%}.chart-container.tabbed h3{display:none}.products-datagrid{background:var(--color-card-background);padding:1rem;border-radius:var(--border-radius);box-shadow:var(--color-shadow) 0 2px 8px;height:fit-content;max-height:600px;overflow:hidden}.products-datagrid.compact{padding:.75rem;max-height:450px}.datagrid-header{display:flex;align-items:center;margin-bottom:1rem;padding-bottom:.5rem;border-bottom:1px solid var(--color-border)}.products-datagrid.compact .datagrid-header{margin-bottom:.75rem;padding-bottom:.4rem}.dashboard-main-content{gap:1.5rem;width:100%;align-items:flex-start}.dashboard-right-panel{flex:0 0 48%;display:flex;justify-content:flex-end;min-width:0}@media (max-width: 1200px){.dashboard-main-content{flex-direction:column}.dashboard-left-panel,.dashboard-right-panel{flex:1 1 100%}.dashboard-right-panel{justify-content:flex-start}}@media (max-width: 768px){.products-datagrid{padding:.5rem;max-height:300px}.datagrid-header h3{font-size:12px!important}.filter-badge{font-size:9px!important;padding:2px 6px!important}}.products-datagrid>div[style*=overflowY]{scrollbar-width:thin;scrollbar-color:var(--color-border) transparent}.products-datagrid>div[style*=overflowY]::-webkit-scrollbar{width:6px}.products-datagrid>div[style*=overflowY]::-webkit-scrollbar-track{background:transparent}.products-datagrid>div[style*=overflowY]::-webkit-scrollbar-thumb{background:var(--color-border);border-radius:3px}.products-datagrid>div[style*=overflowY]::-webkit-scrollbar-thumb:hover{background:#999}@media (max-width: 768px){.dashboard-container{padding:.5rem;gap:15px;flex-direction:column}.charts-tabbed-container{width:100%;margin-bottom:1.5rem;border:2px solid var(--color-primary);position:static}.chart-tab{padding:.6rem .8rem;font-size:.8rem}.chart-tabs{gap:0}}@media (max-width: 600px){.dashboard-container{padding:.5rem;gap:15px;flex-direction:column}.charts-tabbed-container{width:100%;margin-bottom:1.5rem;border:2px solid var(--color-primary);position:static}.stats-container{gap:1rem;grid-template-columns:repeat(2,1fr)}.stat-card{padding:.5rem}.stat-card p{font-size:1.5rem}.stat-card.clickable:after{font-size:14px;top:5px;right:5px}}@media (min-width: 601px) and (max-width: 900px){.stats-container{grid-template-columns:repeat(3,1fr)}}@media (min-width: 768px){.charts-row{flex-direction:row}.chart-container{flex:1;min-width:0}}@media (min-width: 901px){.stats-container{grid-template-columns:repeat(5,1fr)}}@media (min-width: 1024px){.dashboard-container{flex-direction:row;align-items:flex-start;min-height:100vh;height:auto}.container-1{flex:3;padding-right:1rem}.container-2{flex:1;min-width:300px;max-width:400px;order:0;position:sticky;top:1rem;max-height:82vh}.stat-card{padding:1rem}.stat-card p{font-size:2.2rem}.stat-card span{font-size:.8rem}.chart-container{min-height:400px}.chart-container .recharts-wrapper{height:300px!important}}.navbar{background:var(--color-primary);color:#fff;padding:.75rem 1.5rem;display:flex;justify-content:space-between;align-items:center;position:relative;z-index:100;box-shadow:0 2px 10px var(--color-shadow)}.navbar-left{display:flex;align-items:center;gap:1rem}.menu-button{background:none;border:none;padding:.5rem;border-radius:50%;cursor:pointer;transition:all var(--transition-speed);display:flex;align-items:center;justify-content:center}.menu-icon{color:var(--color-button-text);font-size:1.75rem;transition:transform .2s ease}.menu-button:hover{background-color:#ffffff1a}.menu-button:hover .menu-icon{transform:scale(1.1)}.menu-button:active{transform:scale(.95)}.user-profile{position:relative;border-radius:10px;box-shadow:0 0 10px #0000006e}.user-button{display:flex;align-items:center;gap:.75rem;background:none;border:none;cursor:pointer;padding:.5rem .75rem;border-radius:2rem;transition:all var(--transition-speed);background-color:#ffffff1a}.user-button:hover{background-color:#fff3}.user-avatar-img{width:2.5rem;height:2.5rem;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.3)}.user-info{display:flex;flex-direction:column;align-items:flex-start}.user-name{font-weight:500;font-size:.95rem;color:var(--color-button-text);line-height:1.2}.user-role{font-size:.75rem;color:#fffc;margin-top:.1rem}.dropdown-icon{color:var(--color-button-text);font-size:1.25rem;transition:transform var(--transition-speed);margin-left:.25rem}.user-button[aria-expanded=true] .dropdown-icon{transform:rotate(180deg)}@media (max-width: 768px){.navbar{padding:.75rem 1rem}.user-name,.user-role{display:none}.user-button{padding:.25rem;border-radius:50%}}.user-button:hover{background-color:#fff;color:var(--secondary-color)}.avatar-dummy{width:32px;height:32px;border-radius:50%;background-color:#6c757d;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700}.user-name{font-weight:500}.dropdown-menu{position:absolute;right:0;top:100%;background-color:var(--secondary-color);border-radius:4px;box-shadow:0 2px 8px #0000001a;min-width:150px;z-index:100;overflow:hidden;display:flex;align-items:center;padding:10px}.dropdown-item{width:100%;text-align:center;background:none;border:none;cursor:pointer;color:var(--primary-contrast-color)}.dropdown-menu:hover,.dropdown-item:hover{background-color:#fff;color:#000}.user-button{display:flex;align-items:center;gap:8px;background-color:transparent;border:none;cursor:pointer;padding:8px 12px;border-radius:20px;transition:background-color .2s ease}.user-button:hover{background-color:#0000000d}.user-avatar-img{width:36px;height:36px;border-radius:50%;object-fit:cover;border:2px solid #ccc}.user-name{font-size:14px;color:var(--color-button-text)}.dropdown-icon{font-size:10px;margin-left:4px;color:var(--color-button-text)}.logo-words{color:var(--color-button-text);border:3px solid var(--color-button-text);padding:10px;border-radius:50%}.skeleton{animation:pulse 1.5s ease-in-out infinite;pointer-events:none;-webkit-user-select:none;user-select:none}.stat-card.skeleton{background:var(--color-skeleton-bg);border-top-color:var(--color-skeleton-bg)!important}.stat-card.skeleton .skeleton-title,.stat-card.skeleton .skeleton-value,.stat-card.skeleton .skeleton-description{background:var(--color-skeleton);border-radius:4px}.stat-card.skeleton .skeleton-title{width:70%;height:1.1rem;margin:0 auto .5rem}.stat-card.skeleton .skeleton-value{width:40%;height:2.2rem;margin:.5rem auto}.stat-card.skeleton .skeleton-description{width:80%;height:.8rem;margin:0 auto}.chart-container.skeleton{background:var(--color-skeleton-bg)}.skeleton-chart-title{width:50%;height:1.5rem;background:var(--color-skeleton);border-radius:4px;margin-bottom:1.5rem}.skeleton-chart-content{width:100%;height:300px;background:var(--color-skeleton);border-radius:4px}.skeleton-datagrid{margin-top:20px;border:1px solid var(--color-border);border-radius:var(--border-radius)}.skeleton-header{display:flex;background:var(--color-skeleton-bg);border-bottom:1px solid var(--color-border)}.skeleton-header-cell{flex:1;height:40px;margin:4px;background:var(--color-skeleton)}.skeleton-row{display:flex;border-bottom:1px solid var(--color-border);height:48px}.skeleton-cell{flex:1;height:20px;margin:14px 8px;background:var(--color-skeleton)}.skeleton-button{background:var(--color-skeleton);border-radius:4px;margin-left:auto}.skeleton-header .skeleton-title{margin:0}.skeleton-datagrid{width:100%;border:1px solid var(--color-border);border-radius:var(--border-radius);overflow:hidden;background:var(--color-card-background)}.skeleton-header{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));background:var(--color-skeleton-bg);border-bottom:1px solid var(--color-border);gap:1px}.skeleton-header-cell{padding:12px;background:var(--color-skeleton-bg)}.skeleton-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));border-bottom:1px solid var(--color-border);height:56px;gap:1px}.skeleton-cell{background:var(--color-card-background);padding:12px;display:flex;align-items:center}.skeleton-row .skeleton-cell{background:var(--color-skeleton-bg)}.sidebar{--sidebar-width: 250px;--sidebar-collapsed-width: 70px;--sidebar-item-height: 44px;--sidebar-icon-size: 24px;--sidebar-transition: var(--transition-speed) ease-in-out;background:var(--color-primary);color:#fff;min-height:100vh;height:auto;padding:1rem 0;height:100vh;height:100dvh;overflow-y:auto;flex-shrink:0;transition:width var(--sidebar-transition),transform var(--sidebar-transition);box-shadow:2px 0 15px #00000026;width:var(--sidebar-width);display:flex;flex-direction:column;will-change:width;transition:width .3s cubic-bezier(.4,0,.2,1)}.sidebar.collapsed{width:var(--sidebar-collapsed-width);transition:width .3s cubic-bezier(.4,0,.2,1)}.sidebar.hovered:not(.collapsed){width:var(--sidebar-width)}.sidebar nav{display:flex;flex-direction:column;height:100%;padding:0 .5rem}.sidebar-logo{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;margin-bottom:1rem;cursor:pointer;border-radius:var(--border-radius);transition:background-color var(--sidebar-transition)}.sidebar-logo:hover{background-color:#ffffff1a}.logo-image{width:40px;height:40px;object-fit:contain;transition:all var(--sidebar-transition)}.logo-text{font-weight:600;font-size:1.1rem;white-space:nowrap;opacity:1;transition:opacity var(--sidebar-transition)}.sidebar-menu{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.25rem}.submenu-container{display:flex;flex-direction:column;overflow:hidden;width:100%;border-radius:10px}.submenu-header{display:flex;align-items:center;width:93%;height:var(--sidebar-item-height);padding:0 .7rem;cursor:pointer;color:#fff;gap:.6rem;border-radius:10px;transition:all var(--sidebar-transition);background-color:var(--color-primary-intense);transition:all .3s ease;transform-origin:left center;position:relative;overflow:hidden}.submenu-header .material-symbols-outlined{padding:5px;background-color:var(--color-primary-intense);border-radius:10px}.submenu-header:after{content:"";position:absolute;top:50%;left:50%;width:5px;height:5px;background:#ffffff80;opacity:0;border-radius:100%;transform:scale(1) translate(-50%,-50%);transform-origin:50% 50%}.submenu-header:focus:not(:active):after{animation:ripple .6s ease-out}.submenu-header:hover{border:1px solid white}.submenu-header .material-symbols-outlined{font-size:var(--sidebar-icon-size);min-width:var(--sidebar-icon-size);transition:transform var(--sidebar-transition)}.menu-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:opacity var(--sidebar-transition);flex-grow:1}.arrow-icon{transition:transform var(--sidebar-transition);font-size:calc(var(--sidebar-icon-size) + 2px);transition:transform .3s cubic-bezier(.4,0,.2,1)}.submenu-container.open .arrow-icon{transform:rotate(180deg)}.submenu-items{list-style:none;padding-left:0;margin:.25rem 0 .5rem;max-height:0;overflow:hidden;transition:max-height .3s ease-out,opacity .2s ease;opacity:0}.submenu-items.open{max-height:1000px;opacity:1;transition:max-height .5s ease-in,opacity .3s ease .1s}.submenu-items.open .icon-menu.sub-item{opacity:1;height:var(--sidebar-item-height);padding:0 .75rem;margin:.125rem 0;transition:opacity .3s ease .2s,height .3s ease .1s}.submenu-container.open .submenu-items{max-height:1000px}.icon-menu{height:var(--sidebar-item-height);padding:0 .75rem;transition:all var(--sidebar-transition);position:relative;background-color:var(--color-primary-bg)}.icon-menu:hover{transform:translate(2px)}.icon-menu a{color:#fff;text-decoration:none;display:flex;align-items:center;height:100%;width:100%;padding:5px;justify-content:center}.icon-menu:hover{border:1px solid white}.icon-inside{display:flex;align-items:center;gap:.75rem;width:100%}.icon-menu .material-symbols-outlined{font-size:var(--sidebar-icon-size);min-width:var(--sidebar-icon-size);transition:transform var(--sidebar-transition)}.icon-menu:hover{background-color:var(--color-primary-bg-select)}.icon-menu.active{background-color:var(--color-primary-bg-select);font-weight:500;transition:all .3s cubic-bezier(.175,.885,.32,1.275)}.icon-menu.active:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background-color:#fff}.icon-menu.sub-item{background-color:var(--color-primary-bg-select-2);position:relative;transition:all .3s ease;opacity:0;height:0;padding:0;margin:0}.icon-menu.sub-item:hover{background-color:var(--color-primary-bg-select);position:relative}.icon-menu.sub-item:before{content:"";position:absolute;left:1.75rem;top:50%;width:.75rem;height:1px;background-color:#ffffff80}.sidebar.collapsed .menu-title,.sidebar.collapsed .logo-text{opacity:0;width:0;display:none}.sidebar.collapsed .submenu-header{justify-content:center;padding:0}.sidebar.collapsed .icon-menu{justify-content:center}.sidebar.collapsed .icon-menu.sub-item{padding-left:0}.sidebar.collapsed .icon-menu.sub-item:before{display:none}.sidebar.collapsed .arrow-icon{display:none}.icon-menu .tooltip{display:none;position:absolute;left:calc(var(--sidebar-collapsed-width) + 10px);background:var(--color-surface);color:var(--color-text);padding:.5rem 1rem;border-radius:var(--border-radius);white-space:nowrap;z-index:100;box-shadow:0 2px 10px #0000001a}.sidebar.collapsed .icon-menu:hover .tooltip{display:block}.sidebar-menu>li>a{display:flex;align-items:center;padding:0 1rem;color:var(--color-button-text);text-decoration:none;transition:all .3s ease;border-radius:var(--border-radius);background-color:var(--color-primary-intense)}.sidebar-menu>li>a:hover,.sidebar-menu>li>a.active{background-color:var(--color-primary-intense);color:var(--color-button-text)}.sidebar-menu>li>a .icon-inside{display:flex;align-items:center;gap:20px}.sidebar-menu>li>a .material-symbols-outlined{font-size:24px}@keyframes ripple{0%{transform:scale(0);opacity:.5}to{transform:scale(20);opacity:0}}.sidebar-menu>li{animation:fadeIn .3s ease forwards;opacity:0}.sidebar-menu>li:nth-child(1){animation-delay:.1s}.sidebar-menu>li:nth-child(2){animation-delay:.2s}.sidebar-menu>li:nth-child(3){animation-delay:.3s}@font-face{font-family:Material Symbols Outlined;font-style:normal;font-weight:100 700;font-display:block;src:url(/assets/material-symbols-outlined-Dgo0Z6hi.woff2) format("woff2")}@font-face{font-family:Material Symbols Rounded;font-style:normal;font-weight:100 700;font-display:block;src:url(/assets/material-symbols-rounded-DKQL_X-s.woff2) format("woff2")}.material-symbols-rounded{font-family:Material Symbols Rounded;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-feature-settings:"liga"}@font-face{font-family:Material Symbols Sharp;font-style:normal;font-weight:100 700;font-display:block;src:url(/assets/material-symbols-sharp-CLY-68Tg.woff2) format("woff2")}.material-symbols-sharp{font-family:Material Symbols Sharp;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-feature-settings:"liga"}*{margin:0;padding:0;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;-webkit-user-select:none;user-select:none}:root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: hsl(6, 78%, 57%);--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-container-width: fit-content;--toastify-toast-width: 320px;--toastify-toast-offset: 16px;--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));--toastify-toast-background: #fff;--toastify-toast-padding: 14px;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-toast-bd-radius: 6px;--toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, .1);--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error);--toastify-color-progress-bgo: .2}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;width:var(--toastify-container-width);box-sizing:border-box;color:#fff;display:flex;flex-direction:column}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right);align-items:end}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right);align-items:end}.Toastify__toast{--y: 0;position:relative;touch-action:none;width:var(--toastify-toast-width);min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:var(--toastify-toast-padding);border-radius:var(--toastify-toast-bd-radius);box-shadow:var(--toastify-toast-shadow);max-height:var(--toastify-toast-max-height);font-family:var(--toastify-font-family);z-index:0;display:flex;flex:1 auto;align-items:center;word-break:break-word}@media only screen and (max-width: 480px){.Toastify__toast-container{width:100vw;left:env(safe-area-inset-left);margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translate(0)}.Toastify__toast-container--rtl{right:env(safe-area-inset-right);left:initial}.Toastify__toast{--toastify-toast-width: 100%;margin-bottom:0;border-radius:0}}.Toastify__toast-container[data-stacked=true]{width:var(--toastify-toast-width)}.Toastify__toast--stacked{position:absolute;width:100%;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s}.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,.Toastify__toast--stacked[data-collapsed] .Toastify__close-button{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{content:"";position:absolute;left:0;right:0;height:calc(var(--g) * 1px);bottom:100%}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{content:"";position:absolute;left:0;right:0;bottom:0;height:100%;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-icon{margin-inline-end:10px;width:22px;flex-shrink:0;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.5s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;position:absolute;top:6px;right:6px;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;z-index:1}.Toastify__toast--rtl .Toastify__close-button{left:6px;right:unset}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:100%;z-index:1;opacity:.7;transform-origin:left}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right;border-bottom-left-radius:initial}.Toastify__progress-bar--wrp{position:absolute;overflow:hidden;bottom:0;left:0;width:100%;height:5px;border-bottom-left-radius:var(--toastify-toast-bd-radius);border-bottom-right-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{opacity:var(--toastify-color-progress-bgo);width:100%;height:100%}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg);opacity:1}to{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(110%,var(--y),0)}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(-110%,var(--y),0)}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown;animation-timing-function:ease-in;animation-duration:.3s}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.policy-maintenance{height:90%;width:100%;background-color:var(--color-surface);border-right:1px solid var(--color-border);overflow:hidden;display:flex;flex-direction:column;-webkit-user-select:none;user-select:none}.list-container{display:flex;flex-direction:column;height:90%;padding:1rem;gap:1rem}.maintenance-title{color:var(--color-text);margin:0;padding-bottom:.5rem;border-bottom:1px solid var(--color-border);font-size:18px}.maintenance-cards-container{display:flex;flex-direction:column;gap:1rem;flex:1;padding-right:.5rem}.maintenance-card{background-color:var(--color-card-background);border-radius:var(--border-radius);padding:1rem;box-shadow:0 2px 4px var(--color-shadow);transition:transform var(--transition-speed),box-shadow var(--transition-speed)}.maintenance-card:hover{transform:translateY(-2px);box-shadow:0 4px 8px var(--color-shadow)}.card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.policy-number{font-weight:700;color:var(--color-primary)}.priority-badge{color:#fff;padding:.25rem .5rem;border-radius:var(--border-radius);font-size:.75rem;font-weight:700}.client-name{font-weight:700;margin-bottom:.25rem}.maintenance-type{color:var(--color-text);margin-bottom:.5rem}.due-date{display:flex;justify-content:space-between;margin-bottom:1rem;font-size:.9rem}.days-remaining{font-weight:700}.action-button{width:100%;padding:.5rem;background-color:var(--color-button-background);color:var(--color-button-text);border:none;border-radius:var(--border-radius);cursor:pointer;transition:background-color var(--transition-speed)}.action-button:hover{background-color:var(--color-button-hover)}.maintenance-cards-container::-webkit-scrollbar{width:6px}.maintenance-cards-container::-webkit-scrollbar-track{background:var(--color-surface)}.maintenance-cards-container::-webkit-scrollbar-thumb{background-color:var(--color-border);border-radius:3px}.policy-maintenance{height:90%;width:100%;background-color:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--border-radius);overflow:hidden;display:flex;flex-direction:column}.list-container{display:flex;flex-direction:column;height:82vh;padding:1rem;gap:1rem;overflow-y:scroll;scrollbar-color:var(--color-primary) transparent}.toggle{display:flex;align-items:center;cursor:pointer;gap:8px;padding:10px;background-color:#ca2026;justify-content:space-between}.toggle-label-xd{font-size:15px;-webkit-user-select:none;user-select:none;color:#fff;font-weight:600}.toggle-switch{width:40px;height:20px;background-color:#ccc;border-radius:20px;position:relative;transition:background-color .3s}.toggle-switch.checked{background-color:#2eca20}.toggle-switch.disabled{opacity:.5;cursor:not-allowed}.toggle-thumb{width:16px;height:16px;background:#fff;border-radius:50%;position:absolute;top:2px;left:2px;transition:transform .3s}.toggle-switch.checked .toggle-thumb{transform:translate(20px)}.toggle-state-text{margin-left:8px}.toggle-switch{width:60px;height:30px;background:#ccc;border-radius:15px;position:relative;cursor:pointer}.toggle-thumb{width:20px;height:20px;background:#fff;border-radius:50%;position:absolute;top:5px;left:5px;transition:left .3s}.toggle-thumb.state-0{left:5px;background:green}.toggle-thumb.state-1{left:20px;background:orange}.toggle-thumb.state-2{left:35px;background:#00f}.toggle-label{margin-left:8px}.data-grid{width:100%;background-color:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--border-radius);box-shadow:0 2px 6px var(--color-shadow);color:var(--color-text);margin:1rem 0;position:relative}.data-grid-wrapper{width:100%;overflow-x:auto;overflow-y:visible;max-height:600px;position:relative}.data-grid table{min-width:100%;width:100%;border-collapse:separate;border-spacing:0;background-color:var(--color-surface)}.data-grid th{position:sticky;top:0;background-color:var(--color-primary);color:var(--color-button-text);font-weight:600;padding:.75rem 1rem;text-align:left;border-bottom:2px solid var(--color-border);z-index:10}.data-grid td{padding:.75rem 1rem;border-bottom:1px solid var(--color-border);text-align:left;vertical-align:middle;transition:background-color var(--transition-speed)}.data-grid tr:not(:first-child):hover td{background-color:var(--color-card-background)}.data-grid tr:nth-child(2n) td{background-color:var(--color-card-background)}.data-grid tr:nth-child(2n):hover td{background-color:color-mix(in srgb,var(--color-card-background) 90%,var(--color-primary))}.data-grid td[colspan]{text-align:center;padding:2rem;color:var(--color-input-placeholder);font-style:italic}.data-grid input{width:100%;padding:.5rem;border:1px solid var(--color-input-border);border-radius:calc(var(--border-radius) / 2);background-color:var(--color-input-background);color:var(--color-text);font-size:inherit;font-family:inherit}.data-grid input:focus{outline:none;border-color:var(--color-input-focus);box-shadow:0 0 0 3px #0077ff1a}.button-checkbox-delete{display:flex;justify-content:flex-end;padding:.5rem 1rem;background-color:var(--color-background);border-bottom:1px solid var(--color-border)}.delete-selected-button{padding:.5rem 1rem;background-color:var(--color-error);color:#fff;border:none;border-radius:var(--border-radius);cursor:pointer;transition:all var(--transition-speed);font-size:14px;font-weight:500;display:flex;align-items:center;gap:.5rem}.delete-selected-button:hover{background-color:var(--color-error-hover);transform:translateY(-1px);box-shadow:0 2px 4px #0000001a}.delete-selected-button:active{transform:translateY(0)}.actions-cell{text-align:center;padding:.5rem;position:relative}.actions-container{display:inline-block;position:relative}.actions-toggle{background-color:transparent;border:none;cursor:pointer;padding:.5rem;border-radius:var(--border-radius);display:flex;align-items:center;justify-content:center;transition:all var(--transition-speed);color:var(--color-text)}.actions-toggle:hover{background-color:#0000000d}.actions-toggle:active{background-color:#0000001a}.actions-toggle:disabled{opacity:.5;cursor:not-allowed}.actions-menu-portal{position:fixed;z-index:9999;filter:drop-shadow(0 4px 6px rgba(0,0,0,.1))}.actions-menu-content{background-color:var(--color-surface, white);border:1px solid var(--color-border, #e0e0e0);border-radius:8px;overflow:hidden;min-width:180px;animation:menuFadeIn .2s ease-out}@keyframes menuFadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.action-item{display:flex;align-items:center;gap:12px;width:100%;padding:12px 16px;text-align:left;background:none;border:none;cursor:pointer;font-size:14px;color:var(--color-text);transition:all var(--transition-speed);font-family:inherit}.action-item:hover{background-color:var(--color-hover, rgba(0, 0, 0, .05))}.action-item:active{background-color:var(--color-active, rgba(0, 0, 0, .1))}.action-item:disabled{opacity:.5;cursor:not-allowed}.action-item:disabled:hover{background-color:transparent}.action-item:not(:last-child){border-bottom:1px solid var(--color-border, rgba(0, 0, 0, .08))}.action-item-danger{color:var(--color-error, #dc2626)}.action-item-danger:hover{background-color:#dc26261a}.action-item .material-symbols-outlined{font-size:20px;flex-shrink:0}.delete-button{background:none;border:none;cursor:pointer;color:var(--color-error, #dc2626);padding:.5rem;border-radius:var(--border-radius);transition:all .2s ease;display:inline-flex;align-items:center;justify-content:center}.delete-button:hover{background-color:#dc26261a}.delete-button:active{background-color:#dc262633}.delete-button:disabled{opacity:.6;cursor:not-allowed}.delete-button .material-symbols-outlined{font-size:20px}.spinner{display:inline-block;width:16px;height:16px;border:2px solid rgba(0,0,0,.1);border-radius:50%;border-top-color:var(--color-primary, #3b82f6);animation:spin 1s linear infinite}.data-grid-wrapper::-webkit-scrollbar{height:8px;width:8px}.data-grid-wrapper::-webkit-scrollbar-track{background:var(--color-border);border-radius:4px}.data-grid-wrapper::-webkit-scrollbar-thumb{background:var(--color-primary);border-radius:4px}.data-grid-wrapper::-webkit-scrollbar-thumb:hover{background:var(--color-primary-hover)}.data-grid td[onclick]{cursor:pointer;position:relative}.data-grid td[onclick]:hover{background-color:color-mix(in srgb,var(--color-primary) 10%,transparent)!important}.data-grid td[onclick]:hover:after{content:"✏️";position:absolute;top:50%;right:8px;transform:translateY(-50%);font-size:12px;opacity:.5}@media (max-width: 768px){.data-grid th,.data-grid td{padding:.5rem .75rem;font-size:.875rem}.actions-menu-content{min-width:160px}.action-item{padding:10px 12px;font-size:13px}.action-item .material-symbols-outlined{font-size:18px}}@media (prefers-color-scheme: dark){.actions-menu-content{background-color:#1f2937;border-color:#374151;box-shadow:0 4px 6px #0000004d}.action-item{color:#e5e7eb}.action-item:hover{background-color:#ffffff1a}.action-item-danger{color:#ef4444}.action-item-danger:hover{background-color:#ef44441a}}.data-grid-wrapper.no-scroll{overflow-y:visible!important}.login-container{display:flex;justify-content:center;align-items:center;min-height:100vh;background:var(--primary-color)}.login-card{position:relative;z-index:1;background:var(--color-background2);backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px);padding:2rem;border-radius:15px;box-shadow:0 8px 32px #1f1f1f6e;border:1px solid rgba(255,255,255,.18);width:70%;max-width:400px;transition:transform .3s ease,backdrop-filter .3s ease;display:flex;flex-direction:column;align-items:center}.login-card:hover{transform:translateY(-5px);backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px)}.login-title{text-align:center;color:var(--color-text);margin-bottom:1.5rem;font-size:1.8rem}.form-group{display:flex;flex-direction:column;margin-bottom:1.5rem}.form-group label{display:flex;margin-bottom:.5rem;color:var(--color-text);font-weight:500}.form-group input{width:100%;padding:12px 15px;border:1px solid #ddd;border-radius:8px;font-size:1rem;transition:border-color .3s ease}.form-group input:focus{border-color:#4a6cf7;outline:none;box-shadow:0 0 0 3px #4a6cf71a}.login-button{width:100%;padding:12px;background-color:var(--color-secondary);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:background-color .3s ease;margin-top:1rem}.login-button:hover{background-color:var(--color-primary-hover)}.login-button:disabled{background-color:#917e7ec4!important;cursor:not-allowed!important}.form-group input:invalid:not(:placeholder-shown){border-color:#ff4757}.form-group input:invalid:not(:placeholder-shown):focus{box-shadow:0 0 0 3px #ff47571a}.img-container{display:flex;justify-content:center;padding-right:20px}.error-message{font-weight:600;margin-top:10px;text-align:center;color:red}.input-container-login{position:relative;width:100%;display:flex}.input-container-login .input-with-icon{padding-left:40px}.icon-inside-input{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:var(--color-secondary);pointer-events:none}.loader{width:20px;height:20px;border:3px solid #fff;border-top:3px solid #d22;border-radius:50%;animation:spin .7s linear infinite;display:inline-block;vertical-align:middle}.eye-icon-login{position:absolute;right:10px;bottom:10px;color:var(--color-secondary);font-size:50px;font-weight:600;cursor:pointer}.eye-icon-login:hover{transform:scale(1.1)}.login-container{position:relative;min-height:100vh;display:flex;justify-content:center;align-items:center;overflow:hidden}.background-carousel{position:absolute;top:0;left:0;width:100%;height:100%;z-index:-2}.background-slide{position:absolute;top:0;left:0;width:100%;height:100%;background-size:cover;background-position:center;background-repeat:no-repeat;opacity:0;transition:opacity 1s ease-in-out}.background-slide.active{opacity:1}.background-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:#0009;z-index:-1}.login-card{animation:slideUp .6s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@font-face{font-family:Material Symbols Outlined;font-style:normal;font-weight:100 700;font-display:block;src:url(/assets/material-symbols-outlined-Dgo0Z6hi.woff2) format("woff2")}.material-symbols-outlined{font-family:Material Symbols Outlined;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-feature-settings:"liga"}.user-profile-container{position:relative;font-family:Segoe UI,system-ui,-apple-system,sans-serif}.profile-card{position:absolute;right:0;top:calc(100% + .5rem);width:300px;background-color:var(--color-surface);border-radius:var(--border-radius);box-shadow:0 8px 24px var(--color-shadow);z-index:1000;overflow:hidden;transform-origin:top right;animation:scaleIn .2s ease-out}@keyframes scaleIn{0%{transform:scale(.95);opacity:0}to{transform:scale(1);opacity:1}}.profile-header{display:flex;align-items:center;padding:1.25rem;background:linear-gradient(135deg,var(--color-primary) 0%,color-mix(in srgb,var(--color-primary) 70%,var(--color-surface)) 100%);color:#fff}.profile-header-avatar{width:52px;height:52px;border-radius:50%;margin-right:1rem;object-fit:cover;border:2px solid rgba(255,255,255,.3);box-shadow:0 2px 4px #0000001a}.profile-info{flex:1;text-shadow:0 1px 2px rgba(0,0,0,.1)}.profile-name{margin:0;font-size:1.1rem;font-weight:600;color:#fff;line-height:1.3}.profile-email{margin:.25rem 0 0;font-size:.85rem;color:#ffffffe6}.profile-role{display:inline-block;margin-top:.5rem;padding:.25rem .75rem;font-size:.75rem;background-color:#ffffff26;color:#fff;border-radius:1rem;font-weight:500;letter-spacing:.5px;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.profile-darkmode-toggle{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1.25rem;cursor:pointer;transition:all var(--transition-speed);border-bottom:1px solid var(--color-border)}.profile-darkmode-toggle:hover{background-color:var(--color-card-background)}.toggle-content{display:flex;align-items:center;gap:.75rem}.toggle-icon{font-size:1.25rem;color:var(--color-accent);transition:transform .3s ease}.toggle-label{font-weight:500;color:var(--color-text)}.darkmode-switch{position:relative;display:inline-block;width:52px;height:28px}.darkmode-switch input{opacity:0;width:0;height:0}.darkmode-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:var(--color-border);transition:var(--transition-speed);border-radius:34px;display:flex;align-items:center}.darkmode-slider:before{position:absolute;content:"";height:22px;width:22px;left:3px;background-color:#fff;transition:var(--transition-speed);border-radius:50%;box-shadow:0 2px 4px #0003}.slider-icon{font-size:14px;margin:0 auto;width:100%;display:flex;justify-content:space-around;opacity:.9;color:#fff}.darkmode-switch input:checked+.darkmode-slider{background-color:var(--color-primary)}.darkmode-switch input:checked+.darkmode-slider:before{transform:translate(24px)}.profile-darkmode-toggle:hover .toggle-icon{transform:rotate(20deg)}@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(1.1)}to{transform:scale(1)}}.darkmode-switch input:checked+.darkmode-slider .slider-icon,.darkmode-switch input:not(:checked)+.darkmode-slider .slider-icon{animation:pulse .3s ease}.darkmode-switch input:checked+.darkmode-slider:before{transform:translate(20px);background-color:#fff}.profile-logout-btn{display:flex;align-items:center;justify-content:center;width:100%;padding:.85rem 1.25rem;background:none;border:none;color:var(--color-accent);font-size:.9rem;font-weight:500;cursor:pointer;transition:all var(--transition-speed);border-top:1px solid var(--color-border)}.profile-logout-btn:hover{background-color:color-mix(in srgb,var(--color-accent) 10%,transparent);color:var(--color-accent)}.profile-logout-btn:active{background-color:color-mix(in srgb,var(--color-accent) 20%,transparent)}.logout-icon{margin-right:.75rem;font-size:1.1rem;transition:transform .2s ease}.profile-logout-btn:hover .logout-icon{transform:translate(-2px)}.profile-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:var(--color-modal-background);z-index:999;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);animation:fadeIn .2s ease-out}.profile-card *{transition:color var(--transition-speed),background-color var(--transition-speed),border-color var(--transition-speed),transform .2s ease}.logo-words-inside{color:var(--color-button-text);border:3px solid var(--color-button-text);padding:10px;border-radius:50%;margin-right:10px}@media (max-width: 480px){.profile-card{width:280px;right:-.5rem}.profile-header{padding:1rem}}.drawer-overlay{position:fixed;top:8.5vh;left:0;width:100%;height:87vh;background-color:#1e1e1ef2;z-index:1000;transform:translate(-100%);transition:transform .3s ease;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding-top:20px;overflow-y:auto}.drawer-overlay.open{transform:translate(0)}.drawer-content{width:100%;max-width:300px;padding:20px;color:#fff;display:flex;flex-direction:column;align-items:flex-start;gap:10px}.drawer-logo{width:120px;margin-bottom:20px;cursor:pointer;align-self:center}.drawer-menu{width:100%;display:flex;flex-direction:column;list-style:none;padding:0;margin:0;gap:5px}.drawer-menu-item{width:100%;padding:12px 15px;border-radius:6px;transition:background-color .2s}.drawer-menu-item:hover{background-color:#ffffff1a}.drawer-menu-item.active{background-color:#fff3}.drawer-menu-item a{color:#fff;text-decoration:none;font-size:16px;display:flex;align-items:center;gap:12px;width:100%}.drawer-menu-item.sub-item{padding-left:40px;font-size:14px}.drawer-submenu{width:100%;margin-bottom:5px}.drawer-submenu-header{width:100%;padding:12px 15px;border-radius:6px;display:flex;align-items:center;gap:12px;cursor:pointer;transition:background-color .2s}.drawer-submenu-header:hover{background-color:#ffffff1a}.drawer-submenu-header.has-active{background-color:#ffffff26}.drawer-submenu-items{width:100%;padding-left:15px;margin-top:5px}.toolbar-category{display:flex;justify-content:space-between;margin-bottom:20px}.category-container{padding:20px;background-color:var(--color-surface);border-radius:var(--border-radius);box-shadow:0 2px 4px var(--color-shadow)}.category-container .category-actions{display:flex;gap:50px}.category-container .category-actions button{background-color:var(--color-primary);color:#fff;display:flex;align-items:center;gap:10px;padding:10px;border:none;font-size:15px;font-weight:600;border-radius:10px}.category-container .category-actions button:hover{background-color:#970000;cursor:pointer;scale:1.05}.category-container .category-actions button:active{scale:.95}.product-container{display:flex;flex-direction:column;width:97%;padding:20px;background-color:var(--color-surface);border-radius:var(--border-radius);box-shadow:0 2px 4px var(--color-shadow)}.title-button{display:flex;flex-direction:column;flex-wrap:wrap}.title-button h2{color:var(--color-text);font-size:1.75rem;margin:0;font-weight:600}.toolbar button{background-color:var(--color-button-background);color:var(--color-button-text);border:none;padding:.75rem 1.25rem;border-radius:var(--border-radius);cursor:pointer;font-weight:500;transition:all var(--transition-speed);display:flex;align-items:center;gap:.5rem;box-shadow:0 2px 4px var(--color-shadow)}.toolbar button:hover{background-color:var(--color-button-hover);transform:translateY(-1px);box-shadow:0 4px 6px var(--color-shadow)}.toolbar button:active{transform:translateY(0);box-shadow:0 2px 3px var(--color-shadow)}.product-container>p{text-align:center;padding:2rem;font-size:1.1rem}.product-container>p[style*="color: red"]{background-color:color-mix(in srgb,var(--color-accent) 10%,transparent);border-radius:var(--border-radius);border-left:4px solid var(--color-accent);padding:1rem}.modal{position:fixed;top:0;left:0;width:100%;height:100%;background-color:var(--color-modal-background);display:flex;justify-content:center;align-items:center;z-index:1000;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);animation:fadeIn var(--transition-speed) ease-out}.modal-content{margin:20px;background-color:var(--color-surface);padding:2rem;border-radius:var(--border-radius);box-shadow:0 4px 6px var(--color-shadow);width:90%;max-width:500px;max-height:90vh;overflow-y:auto;border:1px solid var(--color-border);animation:slideUp .3s ease-out}.modal-content .questions-container{display:grid;grid-template-columns:1fr 1fr}.modal-content h3{color:var(--color-text);margin-bottom:1.5rem;text-align:center;font-size:1.5rem}.modal-content label{display:block;margin-bottom:1rem;color:var(--color-text)}.modal-content input,.modal-content textarea,.modal-content select{width:100%;padding:.5rem;margin-top:.25rem;border:1px solid var(--color-input-border);border-radius:var(--border-radius);background-color:var(--color-input-background);color:var(--color-text);transition:border-color var(--transition-speed)}.modal-content input:focus,.modal-content textarea:focus,.modal-content select:focus{outline:none;border-color:var(--color-input-focus);box-shadow:0 0 0 2px #0077ff1a}.modal-content div{display:flex;justify-content:space-between;margin-top:1.5rem;gap:1rem}.modal-content button{flex:1;padding:.75rem;border:none;border-radius:var(--border-radius);cursor:pointer;font-weight:700;transition:background-color var(--transition-speed)}.header-section{display:flex;align-items:center;flex-wrap:wrap;margin-bottom:10px}.filter-info{display:flex;align-items:center}.filter-badge{white-space:nowrap}.clear-filter-btn:hover{background-color:#f5f5f5!important;border-color:#999!important}.quick-filters{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:15px}.filter-btn{transition:all .2s ease;font-size:14px}.filter-btn:hover{opacity:.8;transform:translateY(-1px)}.no-products{text-align:center;padding:40px;color:#666;background-color:#f8f9fa;border-radius:8px;border:2px dashed #dee2e6;margin:20px 0}@media (max-width: 768px){.header-section{flex-direction:column;align-items:flex-start}.filter-info{margin-top:10px}.quick-filters{flex-direction:column;width:100%}.filter-btn{width:100%;margin-bottom:5px}}.product-container{animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}@media (max-width: 480px){.modal-content{width:95%;padding:1.5rem}.modal-content div{flex-direction:column}.modal-content button{width:100%}}@media (max-width: 768px){.title-button{flex-direction:column;align-items:flex-start}.toolbar{width:100%;justify-content:flex-end}}@media (max-width: 480px){.toolbar button{padding:.6rem 1rem;font-size:.9rem}.title-button h2{font-size:1.5rem}}.warehouse-filter label{font-weight:500;cursor:pointer}.warehouse-filter select{background-color:#fff;cursor:pointer}.warehouse-filter select:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 .2rem #007bff40}.user-container{padding:20px;background-color:var(--color-surface);border-radius:var(--border-radius);box-shadow:0 2px 4px var(--color-shadow)}.user-container .user-actions{display:flex;gap:20px}.user-container .user-actions .toolbar button{background-color:var(--color-primary)}.user-container>p{text-align:center;padding:2rem;font-size:1.1rem}.user-container>p[style*="color: red"]{background-color:color-mix(in srgb,var(--color-accent) 10%,transparent);border-radius:var(--border-radius);border-left:4px solid var(--color-accent);padding:1rem}.eye-icon{position:absolute;right:10px;bottom:2px;color:var(--color-primary);font-size:30px;font-weight:600;cursor:pointer}.eye-icon:hover{transform:scale(1.1)}.input-container{position:relative;width:100%;display:flex}.input-container .input-with-icon{width:100%;padding-left:40px}.movement-in-skeleton{padding:1.5rem;max-width:1200px;margin:0 auto}.movements-in-container{padding:1.5rem;max-width:1200px;margin:0 auto}.movements-in-actions{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid var(--color-border)}@media (max-width: 768px){.movements-in-actions{flex-direction:column;align-items:flex-start;gap:1rem}.form-row{flex-direction:column;gap:1rem}.movement-item{flex-direction:column;gap:1rem;align-items:flex-start}.item-actions{align-self:flex-end}}.movement-out-skeleton{padding:1.5rem;max-width:1200px;margin:0 auto}.skeleton-row{display:flex;gap:.5rem;padding:1rem;background-color:var(--color-surface);border-radius:var(--border-radius)}.movements-out-container{padding:1.5rem;max-width:1200px;margin:0 auto}.movements-out-actions{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid var(--color-border)}.product-details-form{margin:1.5rem 0;padding:1rem;background-color:var(--color-card-background);border-radius:var(--border-radius)}.movement-items-section{margin:1.5rem 0}.movement-items-list{border:1px solid var(--color-border);border-radius:var(--border-radius);margin-top:1rem}.movement-item{padding:1rem;border-bottom:1px solid var(--color-border);display:flex;justify-content:space-between;align-items:center}.movement-item:last-child{border-bottom:none}.total-amount{text-align:right;padding:1rem;font-size:1.1rem;border-top:2px solid var(--color-border);margin-top:1rem}@media (max-width: 768px){.movements-out-actions{flex-direction:column;align-items:flex-start;gap:1rem}.form-row{flex-direction:column;gap:1rem}.movement-item{flex-direction:column;gap:1rem;align-items:flex-start}.item-actions{align-self:flex-end}}.supplier-container{padding:20px;background-color:var(--color-surface);border-radius:var(--border-radius);box-shadow:0 2px 4px var(--color-shadow)}.supplier-actions{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding:10px 0;border-bottom:1px solid var(--color-border)}.supplier-actions h2{color:var(--color-text);margin:0}.toolbar button{padding:8px 16px;background-color:var(--color-button-background);color:var(--color-button-text);border:none;border-radius:var(--border-radius);cursor:pointer;transition:background-color var(--transition-speed)}.toolbar button:hover{background-color:var(--color-button-hover)}.toolbar button:disabled{background-color:var(--color-button-disabled);cursor:not-allowed}.modal-content{background-color:var(--color-surface);padding:20px;border-radius:var(--border-radius);width:400px;max-width:90%;box-shadow:0 4px 8px var(--color-shadow);color:var(--color-text)}.modal-content h3{margin-top:0;color:var(--color-text)}.modal-content label{display:block;margin-bottom:10px;color:var(--color-text)}.modal-content input,.modal-content textarea{width:100%;padding:8px;margin-top:5px;background-color:var(--color-input-background);border:1px solid var(--color-input-border);border-radius:calc(var(--border-radius) / 2);color:var(--color-text);transition:border-color var(--transition-speed)}.modal-content input:focus,.modal-content textarea:focus{outline:none;border-color:var(--color-input-focus);box-shadow:0 0 0 2px var(--color-primary-bg-select-2)}.modal-content div{display:flex;justify-content:flex-end;margin-top:15px}.modal-content button{margin-left:10px;padding:8px 16px;border:none;border-radius:var(--border-radius);cursor:pointer;transition:background-color var(--transition-speed)}.modal-content button:first-child{background-color:var(--color-button-background);color:var(--color-button-text)}.modal-content button:first-child:hover{background-color:var(--color-button-hover)}.modal-content button:last-child{background-color:var(--color-secondary);color:var(--color-button-text)}.modal-content button:last-child:hover{background-color:var(--color-primary-hover)}.invalid{border-color:var(--color-accent)!important}.error{color:var(--color-accent);font-size:.8rem;margin-top:.2rem}.disabled{opacity:.6;cursor:not-allowed}.phone-input{display:flex;gap:8px}.phone-input select{width:150px}.modal-actions{display:flex;gap:10px;margin-top:20px}.modal-actions button{padding:8px 16px}.supplier-skeleton{width:100%}.skeleton-row{display:flex;margin-bottom:10px}.skeleton-cell{height:40px;background-color:#e0e0e0;border-radius:4px;margin-right:10px;flex:1;animation:pulse 1.5s infinite ease-in-out}.purchase-order-skeleton{padding:16px}.skeleton-row{height:50px;background-color:var(--color-skeleton);margin-bottom:8px;border-radius:var(--border-radius);animation:pulse 1.5s infinite ease-in-out}@keyframes pulse{0%,to{opacity:.6}50%{opacity:.3}}.category-container{position:relative}.modal-content{max-height:90vh;overflow:hidden;display:flex;flex-direction:column}.modal-body{overflow-y:auto;overflow-x:hidden;flex:1;padding:1rem}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:var(--color-modal-background);display:flex;justify-content:center;align-items:center;z-index:1000;opacity:0;transition:opacity var(--transition-speed) ease-in-out}.ReactModal__Overlay--after-open{opacity:1}.ReactModal__Overlay--before-close{opacity:0}.modal-content-2{position:relative;background:var(--color-surface);color:var(--color-text);border-radius:var(--border-radius);padding:1rem;width:90%;max-width:1200px;max-height:90vh;box-shadow:0 4px 6px var(--color-shadow);transform:translateY(-20px);transition:transform var(--transition-speed) ease-in-out;outline:none;border:1px solid var(--color-border);display:flex;flex-direction:column;overflow:hidden}.modal-body{flex:1;overflow-y:auto;padding:.5rem;width:100%}.ReactModal__Content--after-open{transform:translateY(0)}.ReactModal__Content--before-close{transform:translateY(-20px)}.modal-header-react{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:.75rem;border-bottom:1px solid var(--color-border)}.modal-title{margin:0;font-size:1.25rem;color:var(--color-primary)}.modal-close-btn-2{border:none;font-size:1.5rem;cursor:pointer;padding:0 .5rem;color:#fff;width:50px;background-color:var(--color-primary)}.modal-close-btn:hover{color:var(--color-primary-hover)}.modal-body::-webkit-scrollbar{width:8px}.modal-body::-webkit-scrollbar-track{background:var(--color-background)}.modal-body::-webkit-scrollbar-thumb{background-color:var(--color-primary-bg);border-radius:4px}.receive-container{width:100%;height:100%;display:flex;flex-direction:column;overflow:hidden}.who-receipt-container{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem;padding:.75rem;background:#f8f9fa;border-radius:8px}.who-receipt-container .text-inside{font-weight:600;min-width:150px}.who-receipt-container input{flex:1;padding:.5rem;border:1px solid #ddd;border-radius:4px}.table-responsive{flex:1;overflow:auto;min-height:0;scrollbar-color:var(--color-primary) var(--color-background)}.table-responsive::-webkit-scrollbar{width:8px;height:8px}.table-responsive::-webkit-scrollbar-track{background:var(--color-background);border-radius:4px}.table-responsive::-webkit-scrollbar-thumb{background-color:var(--color-primary);border-radius:4px;border:2px solid var(--color-background)}.table-responsive::-webkit-scrollbar-thumb:hover{background-color:var(--color-primary-hover)}.products-table{width:100%;border-collapse:collapse;font-size:.95rem;position:relative}.products-table th{background-color:var(--color-primary);color:#fff;font-weight:600;text-align:left;padding:1rem;position:sticky;top:0;z-index:10}.products-table td{padding:1rem;border-bottom:1px solid #eee;vertical-align:middle}.product-row:hover{background-color:#f8f9fa}.product-name{font-weight:500}.barcode-container{color:#666}.quantity-data .quantity-value{font-weight:600}.input-container{position:relative;display:flex;align-items:center;gap:.5rem}.quantity-input{width:80px;padding:.5rem;border:1px solid #ddd;border-radius:4px;text-align:center}.quantity-input.completed{background-color:#e8f5e9;color:#2e7d32;font-weight:700;border-color:#a5d6a7}.quantity-input.completed:disabled{pointer-events:none;-moz-appearance:textfield;appearance:textfield;-webkit-appearance:none;margin:0;border:5px solid red}.check-icon{color:#4caf50;font-size:1.2rem}.difference-data{text-align:center;font-weight:600}.difference-value{padding:.25rem .5rem;border-radius:4px}.difference-value.positive{color:#2e7d32;background-color:#e8f5e9}.difference-value.equal{color:#0824a5;background-color:#e8ecf5}.difference-value.negative{color:#c62828;background-color:#ffebee}.receipt-date{font-size:.85rem;color:#666}.receipt-date.pending{color:#c62828}.invoice-info{font-size:.75rem;color:#999;margin-top:.25rem}.invoice-ticket{border:1px solid #ddd;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px #0000001a;margin-top:1.5rem}.ticket-header{background-color:var(--color-primary);color:#fff;padding:1rem;display:flex;align-items:center;gap:.75rem}.ticket-header h3{margin:0;font-size:1.1rem}.ticket-icon{font-size:1.5rem}.ticket-content{padding:1.5rem;background:#fff}.ticket-field{margin-bottom:1rem}.ticket-field label{display:block;margin-bottom:.5rem;font-weight:600;color:#333}.ticket-field input{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem}.ticket-actions{margin-top:1.5rem;display:flex;justify-content:flex-end}.product-row.fully-received{background-color:#e8f5e9}.product-row.partially-received{background-color:#fff8e1}@media (max-width: 768px){.products-table th,.products-table td{padding:.75rem;font-size:.85rem}.quantity-input{width:60px}.invoice-ticket{margin-top:1rem}}@media (max-width: 576px){.who-receipt-container{flex-direction:column;align-items:flex-start;gap:.5rem}.products-table{font-size:.8rem}.ticket-content{padding:1rem}}.modal-body .receive-container{width:100%;max-width:100%;overflow-x:auto}.modal-body .table-responsive{width:100%;overflow-x:auto;max-height:400px;overflow-y:auto;margin-bottom:1rem}.modal-body .products-table{min-width:600px;width:100%}.modal-body .invoice-ticket{position:sticky;bottom:0;background:#fff;padding:1rem;border-top:1px solid #e0e0e0;margin-top:auto}.modal-sm .modal-body{max-height:70vh}.small-text-date{font-weight:700}@media (max-width: 768px){.modal-content{max-height:95vh;margin:10px}.modal-body .table-responsive{max-height:300px}.modal-body .products-table{font-size:.875rem}}@media (max-width: 768px){.products-table{font-size:.8rem}.products-table th,.products-table td{padding:.5rem}.quantity-input{width:60px}}.button{display:flex;padding:.5rem 1rem;border:none;border-radius:4px;font-weight:500;cursor:pointer;transition:background-color .3s,opacity .3s;font-size:1rem;text-align:center;align-items:center;gap:10px}.button .material-symbols-outlined{font-size:25px}.button:active{transform:scale(.98);box-shadow:0 2px 4px #0000001a}.primary{background-color:#3b82f6;color:#fff}.primary:hover{background-color:#2563eb}.secondary{background-color:#e5e7eb;color:#1f2937}.secondary:hover{background-color:#d1d5db}.danger{background-color:#ef4444;color:#fff}.danger:hover{background-color:#dc2626}.success{background-color:#10b981;color:#fff}.success:hover{background-color:#059669}.warning{background-color:#f59e0b;color:#1f2937}.warning:hover{background-color:#d97706}.purple{background-color:#8b5cf6;color:#fff}.purple:hover{background-color:#7c3aed}.pink{background-color:#ec4899;color:#fff}.pink:hover{background-color:#db2777}.dark{background-color:#1f2937;color:#fff}.dark:hover{background-color:#111827}.light{background-color:#f9fafb;color:#1f2937;border:1px solid #d1d5db}.light:hover{background-color:#f3f4f6}.button:active{transform:scale(.98);transition:transform .05s ease}.disabled:active{transform:none!important}.disabled{opacity:.5;cursor:not-allowed}.decision-container{width:100%}.decision-container .buttons-actions{display:flex;gap:10px;justify-content:center;margin-top:50px;margin-bottom:50px}.decision-container .title-container{display:flex;flex-direction:column;text-align:center;width:100%}.decision-container .title-container h3{width:100%;text-align:center}.decision-container .title-container .warning-message{color:red}.supplier-return-skeleton{padding:1.5rem;max-width:1200px;margin:0 auto}.supplier-returns-container{padding:1.5rem;margin:0 auto;width:98%;background-color:var(--color-surface);border-radius:10px;box-shadow:0 4px 12px var(--color-shadow)}.supplier-returns-actions{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid var(--color-border)}.modal-container-return{background-color:var(--color-surface);border-radius:var(--border-radius);max-height:90vh;overflow-y:auto}.items-section{margin:1.5rem 0;padding:1rem;background-color:var(--color-card-background);border-radius:var(--border-radius)}.items-section h4{margin-top:0;color:var(--color-primary)}.purchase-items-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1rem;margin-top:1rem}.purchase-item{padding:1rem;background-color:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--border-radius);display:flex;flex-direction:column;gap:.5rem}.purchase-item button{padding:.5rem;background-color:var(--color-primary);color:var(--color-button-text);border:none;border-radius:var(--border-radius);cursor:pointer;margin-top:.5rem}.purchase-item button:hover{background-color:var(--color-primary-hover)}.return-items-list{margin-top:1rem;border:1px solid var(--color-border);border-radius:var(--border-radius)}.return-item{display:flex;justify-content:space-between;align-items:center;padding:1rem;border-bottom:1px solid var(--color-border)}.return-item:last-child{border-bottom:none}.item-details{display:flex;flex-direction:column;gap:.25rem}.total-credit{text-align:right;padding:1rem;font-size:1.1rem;border-top:2px solid var(--color-border);margin-top:1rem}.modal-actions button:last-child{border:1px solid var(--color-border)}.action-btn.process{background-color:var(--color-success);color:var(--color-button-text)}.form-grid{display:flex}@media (max-width: 768px){.supplier-returns-actions{flex-direction:column;align-items:flex-start;gap:1rem}.form-row{flex-direction:column;gap:1rem}.purchase-items-list{grid-template-columns:1fr}}.modal-header-return{padding:1.5rem;background-color:var(--color-primary);color:#fff;display:flex;justify-content:space-between;align-items:center}.close-btn{background:none;border:none;color:#fff;font-size:1.5rem;cursor:pointer;padding:0 .5rem}.modal-body-return{padding:1.5rem;overflow-y:auto;flex-grow:1}.form-section-return .form-grid-return{display:flex;flex-wrap:wrap;gap:10px}.form-section-return .form-grid-return .form-input,.form-section-return .form-grid-return .form-select,.form-section-return .form-grid-return .total-amount{width:300px}.section-title-return{display:flex;align-items:center;color:var(--color-primary);margin-top:0;margin-bottom:1.5rem;font-size:1.2rem}.section-icon{margin-right:.75rem}.badge-return{margin-left:.75rem;background-color:var(--color-primary);color:var(--color-button-text);padding:.25rem .75rem;border-radius:20px;font-size:1rem}.form-group{margin-bottom:1rem}.form-group label{display:block;font-weight:500;color:var(--color-text-dark)}.form-input,.form-select{width:100%;padding:.75rem;border:1px solid var(--color-border);border-radius:6px;font-size:1rem;transition:all .2s;background-color:var(--color-input-background)}.form-input:focus,.form-select:focus{outline:none;border-color:var(--color-primary);box-shadow:0 0 0 2px var(--color-primary-light)}.total-amount-return{font-size:1.2rem;font-weight:600;color:var(--color-primary);padding:.75rem;background-color:var(--color-success-bg);border-radius:6px}.items-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem}.item-card-return{border:1px solid var(--color-border);border-radius:8px;padding:10px;display:flex;flex-direction:column;background-color:var(--color-surface)}.item-info-return h5{margin:0 0 .5rem;color:var(--color-primary)}.item-meta{display:flex;justify-content:space-between;font-size:.9rem;color:var(--color-text-light)}.item-actions{margin-top:1rem}.btn-add{background-color:var(--color-primary);color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;cursor:pointer;width:100%;transition:all .2s}.btn-add:hover{background-color:var(--color-primary-dark)}.btn-add:disabled{background-color:var(--color-disabled);cursor:not-allowed}.added-info{display:flex;justify-content:space-between;align-items:center;font-size:.9rem;color:var(--color-success)}.selected-items{display:flex;flex-direction:column;gap:.75rem}.selected-item{display:flex;justify-content:space-between;align-items:center;padding:1rem;background-color:var(--color-card-bg);border-radius:8px;border:1px solid var(--color-border-light)}.selected-item-info{flex-grow:1}.item-name{font-weight:500;margin-bottom:.5rem;display:block}.item-details{display:flex;align-items:center;gap:1.5rem}.quantity-control{display:flex;align-items:center;gap:.5rem}.qty-btn{width:28px;height:28px;border-radius:50%;border:1px solid var(--color-border);background-color:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center}.qty-btn:disabled{opacity:.5;cursor:not-allowed}.item-credit{font-weight:600;color:var(--color-success)}.btn-remove{background-color:transparent;border:1px solid var(--color-error);color:var(--color-error);padding:.5rem 1rem;border-radius:6px;cursor:pointer;transition:all .2s}.btn-remove:hover{background-color:var(--color-error-light)}.modal-footer{padding:1.5rem;display:flex;justify-content:flex-end;gap:1rem;border-top:1px solid var(--color-border-light)}.btn-cancel-return{background-color:transparent;border:1px solid var(--color-primary);color:var(--color-primary);font-weight:600;padding:.75rem 1.5rem;border-radius:6px;cursor:pointer;transition:all .2s}.btn-cancel-return:hover{background-color:var(--color-surface)}.btn-save-return{background-color:var(--color-primary);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:6px;cursor:pointer;transition:all .2s}.btn-save-return:hover{background-color:var(--color-primary-intense)}.btn-save-return:disabled{background-color:var(--color-disabled);cursor:not-allowed}.returns-table{width:100%;border-collapse:collapse;margin:1rem 0}.returns-table th,.returns-table td{padding:.75rem;text-align:left;border-bottom:1px solid #eee}.returns-table th{background-color:#f5f5f5;font-weight:600}.returns-table input[type=number]{width:70px;padding:.5rem;border:1px solid #ddd;border-radius:4px}.returns-table select{padding:.5rem;border:1px solid #ddd;border-radius:4px;min-width:120px}.returns-summary{margin-top:2rem;padding:1.5rem;background-color:#f9f9f9;border-radius:8px}.summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin:1rem 0}.summary-item{display:flex;justify-content:space-between;padding:.75rem;background:#fff;border-radius:6px;box-shadow:0 2px 4px #0000000d}.summary-item.total{background-color:#e8f5e9;font-weight:700}.reason-section{margin-top:1.5rem}.reason-section textarea{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:6px;resize:vertical;min-height:80px;margin-top:.5rem}.btn-remove{background:#ffebee;color:#c62828;border:none;padding:.5rem 1rem;border-radius:4px;cursor:pointer;transition:all .2s}.btn-remove:hover{background:#ffcdd2}@media (max-width: 768px){.modal-container{width:95%}.form-grid,.items-grid{grid-template-columns:1fr}.modal-footer{flex-direction:column}.modal-footer button{width:100%}}.category-container{padding:1.5rem;background-color:var(--color-background);min-height:100vh}.category-actions{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;padding-bottom:1rem;border-bottom:2px solid var(--color-border)}.category-actions h2{color:var(--color-text);font-size:2rem;font-weight:600;margin:0}.toolbar{display:flex;gap:1rem;align-items:center}.toolbar button{background-color:var(--color-button-background);color:var(--color-button-text);border:none;padding:.75rem 1.5rem;border-radius:var(--border-radius);font-weight:500;cursor:pointer;transition:all var(--transition-speed) ease;display:flex;align-items:center;gap:.5rem}.toolbar button:hover{background-color:var(--color-button-hover);transform:translateY(-1px);box-shadow:0 4px 8px var(--color-shadow)}.action-btn{padding:.4rem .8rem;border:none;border-radius:calc(var(--border-radius) * .5);font-size:.875rem;font-weight:500;cursor:pointer;transition:all var(--transition-speed) ease;white-space:nowrap}.action-btn:hover{transform:translateY(-1px);box-shadow:0 2px 4px var(--color-shadow)}.action-btn.edit{background-color:var(--color-primary);color:var(--color-button-text)}.action-btn.edit:hover{background-color:var(--color-primary-hover)}.action-btn.approve{background-color:#28a745;color:#fff}.action-btn.approve:hover{background-color:#218838}.action-btn.warning{background-color:#ffc107;color:#212529}.action-btn.warning:hover{background-color:#e0a800}.action-btn.danger{background-color:#dc3545;color:#fff}.action-btn.danger:hover{background-color:#c82333}.modal{position:fixed;top:0;left:0;right:0;bottom:0;background-color:var(--color-modal-background);display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-content{background-color:var(--color-surface);padding:2rem;border-radius:var(--border-radius);box-shadow:0 20px 40px var(--color-shadow);max-width:900px;width:90vw;max-height:90vh;overflow-y:auto;border:1px solid var(--color-border)}.modal-content h3{color:var(--color-text);margin:0 0 1.5rem;font-size:1.5rem;font-weight:600;border-bottom:2px solid var(--color-primary);padding-bottom:.5rem}.form-grid-clients{display:flex;gap:2rem;margin-bottom:1.5rem}.form-column{display:flex;gap:1rem}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem}.modal-content label{display:flex;flex-direction:column;gap:.5rem;color:var(--color-text);font-weight:500}.modal-content input,.modal-content select,.modal-content textarea{padding:.75rem;border:2px solid var(--color-input-border);border-radius:var(--border-radius);background-color:var(--color-input-background);color:var(--color-text);font-size:1rem;transition:all var(--transition-speed) ease}.modal-content input:focus,.modal-content select:focus,.modal-content textarea:focus{outline:none;border-color:var(--color-input-focus);box-shadow:0 0 0 3px hsla(var(--color-primary),.1)}.modal-content input::placeholder,.modal-content textarea::placeholder{color:var(--color-input-placeholder)}.modal-content textarea{resize:vertical;min-height:80px}.modal-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--color-border)}.btn-primary{background-color:var(--color-button-background);color:var(--color-button-text);border:none;padding:.75rem 2rem;border-radius:var(--border-radius);font-weight:600;cursor:pointer;transition:all var(--transition-speed) ease}.btn-primary:hover{background-color:var(--color-button-hover);transform:translateY(-1px);box-shadow:0 4px 8px var(--color-shadow)}.btn-secondary{background-color:transparent;color:var(--color-text);border:2px solid var(--color-border);padding:.75rem 2rem;border-radius:var(--border-radius);font-weight:600;cursor:pointer;transition:all var(--transition-speed) ease}.btn-secondary:hover{background-color:var(--color-surface);border-color:var(--color-primary);transform:translateY(-1px)}label:has(input[required]):before,label:has(select[required]):before{content:"* ";color:var(--color-secondary);font-weight:700}@media (max-width: 768px){.category-container{padding:1rem}.category-actions{flex-direction:column;gap:1rem;align-items:stretch}.category-actions h2{font-size:1.5rem;text-align:center}.toolbar{justify-content:center}.form-grid-clients{grid-template-columns:1fr;gap:1rem}.form-row{grid-template-columns:1fr}.modal-content{padding:1.5rem;margin:1rem;width:calc(100vw - 2rem)}.modal-actions{flex-direction:column-reverse}.btn-primary,.btn-secondary{width:100%;padding:1rem}.grid-actions{flex-direction:column;gap:.25rem}.action-btn{width:100%;text-align:center}}@media (max-width: 480px){.modal-content h3{font-size:1.25rem}.toolbar button{padding:.5rem 1rem;font-size:.875rem}}.error-message{color:var(--color-secondary);background-color:var(--color-surface);padding:1rem;border-radius:var(--border-radius);border-left:4px solid var(--color-secondary);margin:1rem 0}.status-active{color:#28a745;font-weight:600}.status-inactive{color:#ffc107;font-weight:600}.status-suspended{color:#dc3545;font-weight:600}@keyframes fadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.modal-content{animation:fadeIn .3s ease-out}.category-container{animation:fadeIn .5s ease-out}.input-wrapper{position:relative;display:flex;align-items:center}.input.valid{border:2px solid #4caf50}.input.invalid{border:2px solid #f44336}.checkmark{position:absolute;right:8px;color:#4caf50;font-size:1rem}.right-side{margin-right:10px}small.error{color:#f44336;font-size:.75rem}.sale-order-skeleton{padding:1rem;max-width:1200px;margin:0 auto}.skeleton-title{width:200px;height:32px;background-color:var(--color-skeleton);border-radius:var(--border-radius)}.skeleton-button{width:120px;height:40px;background-color:var(--color-skeleton);border-radius:var(--border-radius)}.skeleton-row{display:flex;width:100%;margin-bottom:.5rem;gap:.5rem}.skeleton-cell{height:40px;background-color:var(--color-skeleton);border-radius:var(--border-radius);flex:1}@media (max-width: 768px){.skeleton-row{flex-direction:column}.skeleton-cell{width:100%}}.category-container{width:98%;background-color:var(--color-surface)}.category-actions{display:flex;justify-content:space-between;align-items:start}.modal-content{background-color:var(--color-surface);padding:2rem;border-radius:var(--border-radius);width:90%;max-width:500px;box-shadow:0 4px 6px var(--color-shadow)}.modal-content input,.modal-content select,.modal-content textarea{width:100%;padding:.5rem;margin-top:.25rem;background-color:var(--color-input-background);border:1px solid var(--color-input-border);border-radius:var(--border-radius);color:var(--color-text)}.modal-content div{display:flex;justify-content:flex-end;gap:1rem;margin-top:1rem}.modal-content button{padding:.5rem 1rem;border-radius:var(--border-radius);cursor:pointer;transition:background-color var(--transition-speed)}.modal-content button:first-child{background-color:var(--color-primary);color:var(--color-button-text);border:none}.modal-content button:first-child:hover{background-color:var(--color-primary-hover)}.modal-content button:last-child{background-color:var(--color-primary);border:1px solid var(--color-border)}.action-btn{padding:.25rem .5rem;border-radius:var(--border-radius);border:none;cursor:pointer;font-size:.8rem;transition:opacity var(--transition-speed)}.action-btn:hover{opacity:.8}.action-btn.process{background-color:var(--color-primary);color:var(--color-button-text)}.action-btn.download{background-color:#6366f1;color:#fff;border:none;padding:6px 8px;border-radius:4px;cursor:pointer;font-size:11px;margin:2px;transition:background-color .2s ease;white-space:nowrap;display:inline-flex;align-items:center;gap:4px}.action-btn.download:hover{background-color:#4f46e5}.action-btn.download:active{background-color:#3730a3}.grid-actions{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;align-items:center;min-width:200px}.action-btn{border:none;padding:6px 8px;border-radius:4px;cursor:pointer;font-size:11px;margin:2px;transition:background-color .2s ease;white-space:nowrap;display:inline-block}.action-btn.process{background-color:#f59e0b;color:#fff}.action-btn.process:hover{background-color:#d97706}.action-btn.complete{background-color:#10b981;color:#fff}.action-btn.complete:hover{background-color:#059669}.action-btn.danger{background-color:#ef4444;color:#fff}.action-btn.danger:hover{background-color:#dc2626}.client-return-skeleton{padding:1.5rem;max-width:1200px;margin:0 auto}.skeleton-button{width:180px;height:40px;background-color:var(--color-skeleton);border-radius:var(--border-radius)}.client-returns-container{width:98%;background-color:var(--color-surface);padding:20px;border-radius:10px}.client-returns-actions{display:flex;justify-content:space-between;align-items:start;margin-bottom:1rem}.toolbar button{background-color:var(--color-primary);color:var(--color-button-text);border:none;padding:.5rem 1rem;border-radius:var(--border-radius);cursor:pointer;transition:background-color var(--transition-speed)}.step-section{margin-bottom:1.5rem;background:var(--color-card-background);padding:1rem;border-radius:var(--border-radius)}.sale-items-grid,.return-items-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1rem;margin-top:1rem}.card-item,.card-return-item{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--border-radius);padding:1rem;display:flex;flex-direction:column;gap:.5rem}.card-item .product-info,.card-return-item .product-info{display:flex;flex-direction:column;gap:.25rem}.card-item input[type=number]{width:60px;padding:.25rem;border:1px solid var(--color-input-border);border-radius:var(--border-radius)}.card-item .btn-add{background-color:var(--color-primary);color:var(--color-button-text);border:none;border-radius:var(--border-radius);padding:.5rem;cursor:pointer;margin-top:.5rem}.card-item .btn-add:hover{background-color:var(--color-primary-hover)}.card-return-item .btn-remove{background-color:var(--color-error);color:var(--color-button-text);border:none;border-radius:var(--border-radius);padding:.5rem;cursor:pointer;margin-top:.5rem}.card-return-item .btn-remove:hover{background-color:var(--color-secondary)}.total-refund{text-align:right;padding:1rem;font-size:1.1rem;border-top:2px solid var(--color-border);margin-top:1rem}@media (max-width: 768px){.client-returns-actions{flex-direction:column;align-items:flex-start;gap:1rem}.sale-items-grid,.return-items-grid{grid-template-columns:1fr}}.inventory-adjustment-skeleton{padding:1.5rem;max-width:1200px;margin:0 auto}.skeleton-title{width:250px;height:36px;background-color:var(--color-skeleton);border-radius:var(--border-radius)}.skeleton-button{width:150px;height:40px;background-color:var(--color-skeleton);border-radius:var(--border-radius)}.inventory-adjustment-container{padding:1.5rem;margin:0 auto}.inventory-adjustment-actions{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid var(--color-border)}.modal-adjustment{position:fixed;top:0;left:0;width:100%;height:100%;background-color:var(--color-modal-background);display:flex;justify-content:center;align-items:center;z-index:1000}.modal-content-adjustment{background-color:var(--color-surface);padding:2rem;border-radius:var(--border-radius);width:90%;max-width:800px;max-height:90vh;overflow-y:auto;box-shadow:0 4px 12px var(--color-shadow)}.product-selection{margin:1rem}.adjustment-form{margin:1.5rem 0;padding:1rem;background-color:var(--color-card-background);border-radius:var(--border-radius)}.adjustment-items-section{margin:1rem}.adjustment-items-list{border:1px solid var(--color-border);border-radius:var(--border-radius);margin-top:1rem;border:1px solid red;display:flex;flex-wrap:wrap;max-height:303px;overflow-y:auto}.adjustment-item{padding:1rem;border-bottom:1px solid var(--color-border);width:100%}.adjustment-item:last-child{border-bottom:none}.item-details{flex:1;display:flex;flex-direction:column;gap:.5rem;width:100%}.modal-actions-adjustment{display:flex;justify-content:flex-end;gap:1rem;margin-top:1.5rem}.modal-actions-adjustment button{padding:.75rem 1.5rem;border-radius:var(--border-radius);cursor:pointer;font-weight:500}.modal-actions-adjustment button:first-child{background-color:var(--color-primary);color:var(--color-button-text);border:none}.modal-actions-adjustment button:first-child:hover{background-color:var(--color-primary-hover)}.modal-actions-adjustment button:last-child{border:1px solid gray}.modal-actions-adjustment button:last-child:hover{background-color:var(--color-primary);color:#fff}@media (max-width: 768px){.inventory-adjustment-actions{flex-direction:column;align-items:flex-start;gap:1rem}.form-row{flex-direction:column;gap:1rem}.adjustment-item{flex-direction:column;gap:1rem;align-items:flex-start}.item-actions{align-self:flex-end}}.adjustment-item{padding:1rem;border:1px solid var(--color-border);border-radius:var(--border-radius);display:flex;justify-content:center;align-items:center;background-color:var(--color-background-light);box-shadow:0 2px 4px #0000001a;transition:all .2s ease}.adjustment-item:hover{box-shadow:0 4px 8px #00000026}.item-details{flex:1;display:flex;flex-direction:column;gap:.5rem;overflow:hidden}.item-name-adjust{font-size:1.5rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%;font-weight:800}.item-info-grid{display:grid;grid-template-columns:max-content 1fr;gap:.5rem 1rem;font-size:.9rem;width:100%}.reason-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.item-actions-adjustment{display:flex;align-items:center;margin-left:1rem;justify-content:center}.item-actions-adjustment button{padding:.5rem 1rem;background-color:var(--color-primary);color:var(--color-button-text);border:none;border-radius:var(--border-radius);cursor:pointer;transition:background-color .2s ease}.item-actions-adjustment button:hover{background-color:var(--color-secondary)}.transfer-skeleton{padding:1.5rem;max-width:1200px;margin:0 auto}.skeleton-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.skeleton-title{width:300px;height:36px;background-color:var(--color-skeleton);border-radius:var(--border-radius)}.skeleton-button{width:200px;height:40px;background-color:var(--color-skeleton);border-radius:var(--border-radius)}.skeleton-table{width:100%}.skeleton-row{display:flex;width:100%;margin-bottom:.75rem;gap:.75rem}.skeleton-cell{height:50px;background-color:var(--color-skeleton);border-radius:var(--border-radius);flex:1}.skeleton-cell:last-child{flex:2}@media (max-width: 768px){.skeleton-header{flex-direction:column;align-items:flex-start;gap:1rem}.skeleton-row{flex-direction:column}.skeleton-cell{width:100%}}.transfers-container{padding:1.5rem;margin:0 auto}.transfers-actions{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid var(--color-border)}.toolbar button{padding:.75rem 1.5rem;background-color:var(--color-primary);color:var(--color-button-text);border:none;border-radius:var(--border-radius);cursor:pointer;font-weight:500;transition:all var(--transition-speed)}.form-row label{flex:1}.modal{position:fixed;top:0;left:0;width:100%;height:100%;background-color:var(--color-modal-background);display:flex;justify-content:center;align-items:center;z-index:1000}.modal-content h3{margin-top:0;color:var(--color-primary);margin-bottom:1.5rem}.modal-content label{display:block;margin-bottom:1rem}.modal-content input,.modal-content select,.modal-content textarea{width:100%;padding:.75rem;margin-top:.5rem;background-color:var(--color-input-background);border:1px solid var(--color-input-border);border-radius:var(--border-radius);color:var(--color-text);transition:all var(--transition-speed)}.modal-content textarea{min-height:100px}.items-section{margin:1.5rem 0;display:flex;flex-direction:column}.products-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem;margin-top:1rem}.product-item{padding:1rem;background-color:var(--color-card-background);border:1px solid var(--color-border);border-radius:var(--border-radius);display:flex;justify-content:space-between;align-items:center}.product-actions{display:flex;gap:.5rem;align-items:center}.product-actions input{width:60px;padding:.5rem}.product-actions button{padding:.5rem 1rem;background-color:var(--color-primary);color:var(--color-button-text);border:none;border-radius:var(--border-radius);cursor:pointer}.product-actions button:hover{background-color:var(--color-primary-hover)}.transfer-items-section{margin:1.5rem 0}.transfer-items-list{border:1px solid var(--color-border);border-radius:var(--border-radius);margin-top:1rem}.transfer-item{padding:1rem;border-bottom:1px solid var(--color-border);display:flex;justify-content:space-between;align-items:center}.transfer-item:last-child{border-bottom:none}.item-actions button{padding:.5rem 1rem;background-color:var(--color-error);color:var(--color-button-text);border:none;border-radius:var(--border-radius);cursor:pointer}.item-actions button:hover{background-color:var(--color-secondary)}.modal-actions button{padding:.75rem 1.5rem;border-radius:var(--border-radius);cursor:pointer;font-weight:500}.modal-actions button:last-child{background-color:var(--color-primary);border:1px solid var(--color-border)}.modal-actions button:last-child:hover{background-color:var(--color-skeleton-light)}.action-btn{padding:.25rem .5rem;border-radius:var(--border-radius);border:none;cursor:pointer;font-size:.8rem;transition:all var(--transition-speed)}.action-btn.approve{background-color:var(--color-primary);color:var(--color-button-text)}.action-btn.complete{background-color:var(--color-success);color:var(--color-button-text)}.action-btn.reject{background-color:var(--color-error);color:var(--color-button-text)}@media (max-width: 768px){.transfers-actions{flex-direction:column;align-items:flex-start;gap:1rem}.form-row{flex-direction:column;gap:1rem}.products-list{grid-template-columns:1fr}.product-item{flex-direction:column;gap:1rem;align-items:flex-start}.product-actions{width:100%;justify-content:space-between}.transfer-item{flex-direction:column;gap:1rem;align-items:flex-start}.item-actions{align-self:flex-end}}.product-selection{display:flex;flex-direction:column;gap:1rem;margin-top:1rem}.product-dropdown select{width:100%;padding:.75rem;background-color:var(--color-input-background);border:1px solid var(--color-input-border);border-radius:var(--border-radius);color:var(--color-text)}.quantity-control{display:flex;gap:1rem;align-items:center}.quantity-control label{margin:0}.quantity-control input{width:80px;padding:.5rem}.quantity-control button{padding:.5rem 1rem;background-color:var(--color-primary);color:var(--color-button-text);border:none;border-radius:var(--border-radius);cursor:pointer}.quantity-control button:hover{background-color:var(--color-primary-hover)}.transfer-items-table{width:100%;margin-top:1rem;border:1px solid var(--color-border);border-radius:var(--border-radius);overflow:hidden}.transfer-items-table table{width:100%;border-collapse:collapse}.transfer-items-table th,.transfer-items-table td{padding:.75rem 1rem;text-align:left;border-bottom:1px solid var(--color-border)}.transfer-items-table th{background-color:var(--color-table-header);font-weight:500}.transfer-items-table tr:last-child td{border-bottom:none}.transfer-items-table button{padding:.25rem .5rem;background-color:var(--color-error);color:var(--color-button-text);border:none;border-radius:var(--border-radius);cursor:pointer}.transfer-items-table button:hover{background-color:var(--color-error-hover)}@media (max-width: 768px){.product-selection{flex-direction:column}.quantity-control{flex-direction:column;align-items:flex-start}.transfer-items-table{overflow-x:auto}.transfer-items-table table{min-width:600px}}.internal-consumption-skeleton{padding:1.5rem;max-width:1200px;margin:0 auto}.skeleton-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid var(--color-border)}.skeleton-title{width:200px;height:32px;background-color:var(--color-skeleton);border-radius:var(--border-radius);animation:pulse 1.5s infinite ease-in-out}.skeleton-button{width:150px;height:40px;background-color:var(--color-skeleton);border-radius:var(--border-radius);animation:pulse 1.5s infinite ease-in-out}.skeleton-table-header{display:flex;gap:1rem;margin-bottom:.5rem;padding:.5rem}.skeleton-header-cell{flex:1;height:20px;background-color:var(--color-skeleton-dark);border-radius:var(--border-radius);animation:pulse 1.5s infinite ease-in-out}.skeleton-table{display:flex;flex-direction:column;gap:.5rem}.skeleton-row{display:flex;gap:1rem;padding:1rem;background-color:var(--color-surface);border-radius:var(--border-radius);border:1px solid var(--color-border-light)}.skeleton-cell{flex:1;height:20px;background-color:var(--color-skeleton);border-radius:var(--border-radius);animation:pulse 1.5s infinite ease-in-out}.skeleton-cell:last-child{flex:.5}@keyframes pulse{0%{opacity:.6}50%{opacity:1}to{opacity:.6}}@media (max-width: 768px){.skeleton-row{flex-direction:column}.skeleton-cell{width:100%}.skeleton-header{flex-direction:column;align-items:flex-start;gap:1rem}.skeleton-table-header{display:none}}.internal-consumption-container{padding:1.5rem;max-width:1200px;margin:0 auto}.internal-consumption-actions{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid var(--color-border)}.internal-consumption-actions h2{margin:0;color:var(--color-text);font-size:1.5rem}.toolbar button{padding:.75rem 1.5rem;background-color:var(--color-primary);color:var(--color-button-text);border:none;border-radius:var(--border-radius);cursor:pointer;font-weight:500;transition:all var(--transition-speed);display:flex;align-items:center;gap:.5rem}.toolbar button:hover{background-color:var(--color-primary-hover);transform:translateY(-1px)}.form-row{display:flex;gap:1.5rem;margin-bottom:1rem}.form-row label{flex:1;font-weight:500;color:var(--color-text-secondary)}.modal{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.modal-content{background-color:var(--color-surface);padding:2rem;border-radius:var(--border-radius);width:90%;max-width:800px;max-height:90vh;overflow-y:auto;box-shadow:0 4px 12px var(--color-shadow)}.modal-content .modal-body{display:flex;flex-direction:column}.modal-content h3{margin-top:0;color:var(--color-primary);margin-bottom:1.5rem;font-size:1.25rem}.modal-content label{display:block;margin-bottom:1rem;font-weight:500;color:var(--color-text-secondary)}.modal-content input,.modal-content select,.modal-content textarea{width:100%;padding:.75rem;margin-top:.5rem;background-color:var(--color-input-background);border:1px solid var(--color-input-border);border-radius:var(--border-radius);color:var(--color-text);transition:all var(--transition-speed);font-size:.9rem}.modal-content input:focus,.modal-content select:focus,.modal-content textarea:focus{outline:none;border-color:var(--color-input-focus);box-shadow:0 0 0 2px var(--color-primary-bg-select-deep)}.modal-content textarea{min-height:100px;resize:vertical}.product-selection{margin:1.5rem 0}.product-selection select{width:100%}.product-details-form{margin:1.5rem 0;padding:1rem;background-color:var(--color-card-background);border-radius:var(--border-radius);border:1px solid var(--color-border-light)}.product-details-form h4{margin-top:0;margin-bottom:1rem;color:var(--color-text)}.consumption-items-section{margin:1.5rem 0;display:flex;flex-direction:column}.consumption-items-section h4{margin-bottom:.5rem;color:var(--color-text)}.consumption-items-list{border:1px solid var(--color-border);border-radius:var(--border-radius);margin-top:1rem;background-color:var(--color-surface)}.consumption-item{padding:1rem;border-bottom:1px solid var(--color-border-light);display:flex;justify-content:space-between;align-items:center;transition:background-color var(--transition-speed)}.consumption-item:hover{background-color:var(--color-hover)}.consumption-item:last-child{border-bottom:none}.item-details{flex:1;display:flex;flex-direction:column;gap:.5rem}.item-details span{font-size:.9rem;color:var(--color-text-secondary)}.item-details span strong{color:var(--color-text);font-weight:500}.item-actions button{padding:.5rem 1rem;background-color:var(--color-error);color:var(--color-button-text);border:none;border-radius:var(--border-radius);cursor:pointer;font-size:.8rem;transition:all var(--transition-speed)}.item-actions button:hover{background-color:var(--color-error-dark)}.total-amount{text-align:right;padding:1rem;font-size:1.1rem;border-top:2px solid var(--color-border);margin-top:1rem;font-weight:600;color:var(--color-text)}.modal-actions{display:flex;justify-content:flex-end;gap:1rem;margin-top:1.5rem}.modal-actions button{padding:.75rem 1.5rem;border-radius:var(--border-radius);cursor:pointer;font-weight:500;transition:all var(--transition-speed)}.modal-actions button:first-child{background-color:var(--color-primary);color:var(--color-button-text);border:none}.modal-actions button:first-child:hover{background-color:var(--color-primary-hover)}.modal-actions button:last-child{background-color:var(--color-primary);border:1px solid var(--color-border);color:var(--color-text-secondary)}.modal-actions button:last-child:hover{background-color:var(--color-hover);color:var(--color-text)}.grid-actions{display:flex;gap:.5rem;flex-wrap:wrap}.action-btn{padding:.5rem .75rem;border-radius:var(--border-radius);border:none;cursor:pointer;font-size:.8rem;transition:all var(--transition-speed);display:flex;align-items:center;gap:.3rem}.action-btn:hover{opacity:.9;transform:translateY(-1px)}.action-btn.submit{background-color:var(--color-info);color:var(--color-button-text)}.action-btn.approve{background-color:var(--color-success);color:var(--color-button-text)}.action-btn.complete{background-color:var(--color-primary);color:var(--color-button-text)}.action-btn.reject{background-color:var(--color-warning);color:var(--color-button-text-dark)}.action-btn.detail{background-color:var(--color-accent);color:var(--color-text)}.action-btn.danger{background-color:var(--color-error);color:var(--color-button-text)}@media (max-width: 768px){.internal-consumption-actions{flex-direction:column;align-items:flex-start;gap:1rem}.form-row{flex-direction:column;gap:1rem}.consumption-item{flex-direction:column;gap:1rem;align-items:flex-start}.item-actions{align-self:flex-end}.modal-actions{flex-direction:column}.modal-actions button{width:100%}}.purchase-order-detail{max-width:1200px;margin:2rem auto;padding:1.5rem;background-color:var(--color-surface);border-radius:var(--border-radius);box-shadow:0 4px 6px var(--color-shadow);color:var(--color-text)}.purchase-order-detail .header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;padding-bottom:1rem;border-bottom:1px solid var(--color-border)}.purchase-order-detail .header h1{margin:0;font-size:1.8rem;color:var(--color-primary)}.status-badge{padding:.5rem 1rem;border-radius:20px;font-weight:700;font-size:.85rem;text-transform:uppercase;letter-spacing:1px}.status-badge[data-status=draft]{background-color:#ff9800;color:#fff}.status-badge[data-status=approved]{background-color:#2196f3;color:#fff}.status-badge[data-status=received]{background-color:#4caf50;color:#fff}.status-badge[data-status=cancelled]{background-color:#f44336;color:#fff}.general-info{background-color:var(--color-card-background);padding:1.5rem;border-radius:var(--border-radius);margin-bottom:2rem;box-shadow:0 2px 4px var(--color-shadow)}.general-info h2{margin-top:0;margin-bottom:1.5rem;color:var(--color-primary);font-size:1.4rem}.info-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1rem;margin-bottom:1rem}.info-grid div{padding:.5rem}.notes{padding:.5rem;background-color:var(--color-primary-bg-select-deep);border-left:3px solid var(--color-primary);border-radius:0 var(--border-radius) var(--border-radius) 0}.items-section{margin-bottom:2rem}.items-section h2{margin-bottom:1rem;color:var(--color-primary);font-size:1.4rem}.items-table{width:100%;border-collapse:collapse;background-color:var(--color-card-background);box-shadow:0 2px 4px var(--color-shadow);border-radius:var(--border-radius);overflow:hidden}.items-table th{background-color:var(--color-primary);color:#fff;font-weight:600}.items-table tr:last-child td{border-bottom:none}.actions{display:flex;justify-content:flex-end;gap:1rem;margin-top:2rem}.actions button{padding:.75rem 1.5rem;border:none;border-radius:var(--border-radius);font-weight:600;cursor:pointer;transition:all var(--transition-speed) ease;color:var(--color-button-text)}.approve-btn{background-color:#4caf50}.approve-btn:hover{background-color:#3e8e41}.receive-btn{background-color:#2196f3}.receive-btn:hover{background-color:#0b7dda}.loading,.error,.not-found{padding:2rem;text-align:center;font-size:1.2rem;background-color:var(--color-surface);border-radius:var(--border-radius);margin:2rem auto;max-width:800px}.error{color:var(--color-secondary)}@media (max-width: 768px){.purchase-order-detail{padding:1rem;margin:1rem}.header{flex-direction:column;align-items:flex-start;gap:1rem}.info-grid{grid-template-columns:1fr}.items-table{display:block;overflow-x:auto}.actions{justify-content:center}}@media (max-width: 480px){.items-table th,.items-table td{padding:.75rem .5rem;font-size:.9rem}.actions{flex-direction:column}.actions button{width:100%}}.purchase-order-detail{transition:opacity .3s ease}.purchase-order-detail.disabled{opacity:.6;pointer-events:none}.error-message{color:#d32f2f;background-color:#fde8e8;padding:10px;border-radius:4px;margin-bottom:15px}.spinner{display:inline-block;width:12px;height:12px;border:2px solid rgba(255,255,255,.3);border-radius:50%;border-top-color:#fff;animation:spin 1s ease-in-out infinite;margin-right:8px}.add-item-btn:disabled{opacity:.7;cursor:not-allowed}.add-item-btn{padding:.75rem 1.5rem;background-color:var( --color-button-background );border:none;border-radius:var(--border-radius);font-weight:600;color:var(--color-button-text);cursor:pointer;transition:background-color var(--transition-speed) ease;margin-bottom:1rem}.add-item-btn:hover{background-color:var(--color-button-hover)}.add-item-btn:disabled{opacity:.7;cursor:not-allowed;background-color:var( --color-button-disabled )}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:var( --color-modal-background );z-index:1000;display:flex;justify-content:center;align-items:center;padding:10px}.modal-content2{background-color:var(--color-surface);border-radius:var(--border-radius);padding:20px;width:90%;max-width:600px;position:relative;z-index:1001;box-shadow:0 4px 12px var(--color-shadow);animation:slideIn .3s ease-out}@keyframes slideIn{0%{transform:translateY(-20px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--color-border);padding-bottom:10px}.modal-header h2{margin:0}.close-modal-btn{background:none;border:none;font-size:2rem;color:var(--color-text);cursor:pointer;padding:0;margin:0;transition:color .3s ease}.close-modal-btn:hover{color:var(--color-primary)}.form-group{margin-bottom:15px}label{font-weight:700}input,select{width:100%;padding:8px;border-radius:var(--border-radius);border:1px solid var(--color-border);margin-top:5px;transition:border-color .3s ease}input:focus,select:focus{border-color:var(--color-primary);outline:none}.modal-actions{display:flex;justify-content:space-between;gap:10px}.cancel-btn,.add-item-btn{padding:10px 20px;border-radius:var(--border-radius);font-size:1rem;cursor:pointer;border:none;transition:background-color .3s ease}.cancel-btn{background-color:var(--color-border);color:var(--color-text)}.cancel-btn:hover{background-color:var(--color-primary-bg-select)}.add-item-btn{background-color:var(--color-primary);color:var(--color-button-text)}.add-item-btn:hover{background-color:var(--color-primary-hover)}.add-item-btn:disabled{background-color:var(--color-button-disabled);cursor:not-allowed}.spinner{border:2px solid var(--color-primary);border-top:2px solid transparent;border-radius:50%;width:16px;height:16px;animation:spin 1s linear infinite}.form-group{margin-bottom:15px;display:flex;flex-direction:column}label{font-weight:700;margin-bottom:5px}input,select{width:100%;max-width:100%;padding:8px;border-radius:var(--border-radius);border:1px solid var(--color-border);margin-top:5px;box-sizing:border-box}input:disabled,select:disabled{background-color:#f5f5f5}.edit-buttons{display:flex;gap:1rem;margin-bottom:1rem}.supplier-select{width:100%}.notes-textarea{width:100%;min-height:80px;padding:.5rem;border:1px solid #ddd;border-radius:4px;resize:vertical}.mi-select{width:100%;padding:.5rem;border:1px solid #ddd;border-radius:4px;background-color:#fff}.mi-select:disabled{background-color:#f5f5f5;cursor:not-allowed}.buttons-and-tag{display:flex;justify-content:space-between}.back-btn{padding:.5rem 1rem;background-color:var(--color-primary);border:none;color:#fff;border-radius:var(--border-radius);cursor:pointer;transition:all var(--transition-speed) ease;font-weight:500}.purchase-order-table{width:100%;border-collapse:collapse;min-width:800px;overflow-y:auto}.table-scroll-wrapper::-webkit-scrollbar-thumb{background:var(--color-primary);border-radius:4px}.table-scroll-wrapper::-webkit-scrollbar-thumb:hover{background:var(--color-primary-dark)}.purchase-order-table thead{background-color:#f8f9fa;border-bottom:2px solid #dee2e6;position:sticky;top:0;z-index:10}.purchase-order-table th{padding:12px;text-align:left;font-weight:600;color:#dfdfdf;font-size:14px;background-color:#212529;position:sticky;top:0;z-index:10}.purchase-order-table tbody tr{border-bottom:1px solid #dee2e6}.purchase-order-table tbody tr:hover{background-color:#f8f9fa}.purchase-order-table td{padding:8px 12px}.iva-row{display:flex;align-items:center;justify-content:space-between}.iva-select{padding:3px 6px;border:1px solid #d1d1d1;border-radius:4px;font-size:13px;background-color:#f8f8f8;margin:0 4px;cursor:pointer}.iva-select:hover{border-color:#3b82f6}.iva-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f633}.iva-container{display:flex;align-items:center}.iva-container .iva-select{height:20px;padding:0;font-size:14px;color:#0000ffab;letter-spacing:1.5px;font-weight:600}.total-row.total-final{padding:5px;background-color:#21252918}.receipt-check{display:flex;justify-content:space-around;width:100%}.receipt-check .inputhcheck{padding:0}.table-actions-receive{margin-top:16px;display:flex;padding-right:30px}.add-row-btn-receive{padding:8px 16px;background-color:#a78528;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;font-weight:500;transition:background-color .2s;display:flex;align-items:center;gap:10px}.add-row-btn-receive:hover{background-color:#c4a82b}@media (max-width: 768px){.totals-section{flex-direction:column}.totals-container{width:100%}.purchase-order-table{font-size:12px}.purchase-order-table th,.purchase-order-table td{padding:6px}}.download-container{width:100%;height:50px;display:flex;gap:10px;justify-content:end}.download-container .pdf-button{display:flex;align-items:center;padding:5px;border:none;background-color:var(--color-primary);color:var(--color-surface);gap:5px;border-radius:5px}.download-container .pdf-button:hover{cursor:pointer;transform:scale(1.05)}.quote-container{max-width:1200px;margin:2rem auto;padding:1.5rem;background-color:var(--color-surface);border-radius:var(--border-radius);box-shadow:0 2px 10px var(--color-shadow);transition:all var(--transition-speed)}.quote-header{display:flex;flex-direction:column;gap:1rem;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid var(--color-border)}.quote-header h1{color:var(--color-primary);margin:0;font-size:1.75rem}.search-toolbar{display:flex;flex-wrap:wrap;gap:1rem;align-items:center;margin-bottom:1.5rem}.search-box{display:flex;flex:1;min-width:250px;gap:.75rem}.code-input{flex:1;padding:.75rem 1rem;font-size:1rem;background-color:var(--color-input-background);color:var(--color-text);border:1px solid var(--color-input-border);border-radius:var(--border-radius);transition:all var(--transition-speed)}.code-input::placeholder{color:var(--color-input-placeholder);opacity:.7}.code-input:focus{outline:none;border-color:var(--color-input-focus);box-shadow:0 0 0 2px var(--color-primary-bg-select-deep)}.search-button{padding:.75rem 1.5rem;background-color:var(--color-button-background);color:var(--color-button-text);border:none;border-radius:var(--border-radius);cursor:pointer;font-size:1rem;font-weight:500;transition:all var(--transition-speed);white-space:nowrap}.search-button:hover:not(:disabled){background-color:var(--color-button-hover);transform:translateY(-1px);box-shadow:0 2px 5px var(--color-shadow)}.search-button:active:not(:disabled){transform:translateY(0);box-shadow:none}.search-button:disabled{background-color:var(--color-button-disabled);cursor:not-allowed;opacity:.7}.error-message{color:var(--color-secondary);margin:1rem 0;padding:.75rem 1rem;background-color:var(--color-primary-bg-select-2);border-radius:var(--border-radius);border-left:4px solid var(--color-secondary);display:flex;align-items:center;gap:.5rem}.loader-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:200px;padding:2rem;background-color:var(--color-surface);border-radius:var(--border-radius)}.novel-loader{width:3rem;height:3rem;border:4px solid var(--color-skeleton);border-top:4px solid var(--color-secondary);border-radius:50%;animation:spin 1s linear infinite;margin-bottom:1rem}.results-container{margin-top:2rem;animation:fadeIn .5s ease-out}.results-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:.75rem;border-bottom:1px solid var(--color-border)}.results-header h2{color:var(--color-primary);margin:0;font-size:1.5rem}.equivalence-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.25rem;margin-top:1.5rem}.equivalence-item{background-color:var(--color-card-background);border:1px solid var(--color-border);padding:1.5rem;border-radius:var(--border-radius);transition:all var(--transition-speed);display:flex;flex-direction:column}.equivalence-item:hover{transform:translateY(-3px);box-shadow:0 4px 12px var(--color-shadow);border-color:var(--color-primary)}.equivalence-item h3{margin:0 0 .75rem;color:var(--color-primary);font-size:1.1rem}.equivalence-item p{margin:.25rem 0;color:var(--color-text);font-size:.95rem;line-height:1.5}.equivalence-item .price{font-weight:700;color:var(--color-secondary);font-size:1.2rem;margin-top:auto;padding-top:1rem}.skeleton-item{height:120px;background:linear-gradient(90deg,var(--color-skeleton-light) 25%,var(--color-skeleton) 50%,var(--color-skeleton-light) 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;border-radius:var(--border-radius)}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@media (max-width: 768px){.quote-container{padding:1rem;margin:1rem}.search-toolbar{flex-direction:column;align-items:stretch}.search-box{flex-direction:column;gap:.75rem}.search-button{width:100%}.equivalence-list{grid-template-columns:1fr}.results-header{flex-direction:column;align-items:flex-start;gap:1rem}}@media (max-width: 480px){.quote-header h1{font-size:1.5rem}.code-input{padding:.65rem .9rem}.search-button{padding:.65rem 1rem}.equivalence-item{padding:1.25rem}}.sale-order-detail{margin:2rem auto;padding:1.5rem;background-color:var(--color-surface);border-radius:var(--border-radius);box-shadow:0 4px 6px var(--color-shadow);color:var(--color-text)}.sale-order-detail .header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;padding-bottom:1rem;border-bottom:1px solid var(--color-border)}.sale-order-detail .back-btn{padding:.5rem 1rem;background-color:var(--color-border);border:none;border-radius:var(--border-radius);color:var(--color-text);cursor:pointer;transition:all var(--transition-speed) ease;font-weight:500}.sale-order-detail .back-btn:hover{background-color:var(--color-primary-bg-select);color:var(--color-primary)}.sale-order-detail .header h1{margin:0;font-size:1.8rem;color:var(--color-primary)}.status-badge-sale{border-radius:20px;font-weight:700;font-size:.85rem;text-transform:uppercase;letter-spacing:1px;color:#fff;background-color:#0b7dda;padding:10px;@keyframes slideIn{0%{transform:translateY(-20px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes spin{to{transform:rotate(360deg)}}}.status-badge-sale .general-info{background-color:var(--color-card-background);padding:1.5rem;border-radius:var(--border-radius);margin-bottom:2rem;box-shadow:0 2px 4px var(--color-shadow)}.status-badge-sale .general-info h2{margin-top:0;margin-bottom:1.5rem;color:var(--color-primary);font-size:1.4rem}.status-badge-sale .info-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1rem;margin-bottom:1rem}.status-badge-sale .info-grid div{padding:.5rem;background-color:var(--color-surface);border-radius:var(--border-radius);border-left:3px solid var(--color-primary)}.status-badge-sale .address-info,.status-badge-sale .notes,.status-badge-sale .remission-info{padding:1rem;background-color:var(--color-primary-bg-select-deep);border-left:3px solid var(--color-primary);border-radius:0 var(--border-radius) var(--border-radius) 0;margin-top:1rem}.status-badge-sale .items-section{margin-bottom:2rem}.status-badge-sale .items-section h2{margin-bottom:1rem;color:var(--color-primary);font-size:1.4rem}.status-badge-sale .items-table{width:100%;border-collapse:collapse;background-color:var(--color-card-background);box-shadow:0 2px 4px var(--color-shadow);border-radius:var(--border-radius);overflow:hidden}.status-badge-sale .items-table th,.status-badge-sale .items-table td{padding:1rem;text-align:left;border-bottom:1px solid var(--color-border)}.status-badge-sale .items-table th{background-color:var(--color-primary);color:#fff;font-weight:600}.status-badge-sale .items-table tr:last-child td{border-bottom:none}.status-badge-sale .items-table tr:hover{background-color:var(--color-primary-bg-select-deep)}.status-badge-sale .no-items{text-align:center;padding:2rem;background-color:var(--color-card-background);border-radius:var(--border-radius);color:var(--color-text-secondary)}.status-badge-sale .add-item-button-container{margin-bottom:2rem;text-align:center}.status-badge-sale .add-item-btn{padding:.75rem 1.5rem;background-color:var(--color-primary);border:none;border-radius:var(--border-radius);font-weight:600;color:#fff;cursor:pointer;transition:background-color var(--transition-speed) ease}.status-badge-sale .add-item-btn:hover{background-color:var(--color-primary-hover)}.status-badge-sale .add-item-btn:disabled{opacity:.7;cursor:not-allowed;background-color:#4e04048e}.status-badge-sale .modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;z-index:1000;display:flex;justify-content:center;align-items:center;padding:10px}.status-badge-sale .modal-content2{background-color:var(--color-surface);border-radius:var(--border-radius);padding:20px;width:90%;max-width:600px;position:relative;z-index:1001;box-shadow:0 4px 12px var(--color-shadow);animation:slideIn .3s ease-out}.status-badge-sale .modal-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--color-border);padding-bottom:10px;margin-bottom:20px}.status-badge-sale .modal-header h2{margin:0;color:var(--color-primary)}.status-badge-sale .close-modal-btn{background:none;border:none;font-size:2rem;color:var(--color-text);cursor:pointer;padding:0;margin:0;transition:color .3s ease}.status-badge-sale .close-modal-btn:hover{color:var(--color-primary)}.status-badge-sale .form-group{margin-bottom:15px;display:flex;flex-direction:column}.status-badge-sale .form-group label{font-weight:700;margin-bottom:5px;color:var(--color-text)}.status-badge-sale .form-group input,.status-badge-sale .form-group select{width:100%;max-width:100%;padding:10px;border-radius:var(--border-radius);border:1px solid var(--color-border);box-sizing:border-box;background-color:var(--color-surface);color:var(--color-text);transition:border-color .3s ease}.status-badge-sale .form-group input:focus,.status-badge-sale .form-group select:focus{border-color:var(--color-primary);outline:none;box-shadow:0 0 0 2px var(--color-primary-bg-select-deep)}.status-badge-sale .form-group input:disabled,.status-badge-sale .form-group select:disabled{background-color:var(--color-border);cursor:not-allowed}.status-badge-sale .error-message{color:var(--color-error);background-color:var(--color-error-bg);padding:10px;border-radius:var(--border-radius);margin-bottom:15px;border-left:3px solid var(--color-error)}.status-badge-sale .modal-actions{display:flex;justify-content:space-between;gap:10px;margin-top:20px}.status-badge-sale .modal-actions .cancel-btn{padding:10px 20px;background-color:var(--color-primary);color:var(--color-text);border:none;border-radius:var(--border-radius);cursor:pointer;transition:background-color .3s ease;font-weight:500}.status-badge-sale .modal-actions .cancel-btn:hover{background-color:var(--color-primary-bg-select)}.status-badge-sale .modal-actions .add-item-btn{padding:10px 20px;background-color:var(--color-primary);color:#fff;border:none;border-radius:var(--border-radius);cursor:pointer;transition:background-color .3s ease;font-weight:600;display:flex;align-items:center;gap:8px}.status-badge-sale .modal-actions .add-item-btn:hover{background-color:var(--color-primary-hover)}.status-badge-sale .modal-actions .add-item-btn:disabled{background-color:var(--color-border);cursor:not-allowed}.status-badge-sale .spinner{display:inline-block;width:12px;height:12px;border:2px solid rgba(255,255,255,.3);border-radius:50%;border-top-color:#fff;animation:spin 1s ease-in-out infinite}.status-badge-sale .actions{display:flex;justify-content:flex-end;gap:1rem;margin-top:2rem;flex-wrap:wrap}.status-badge-sale .actions button{padding:.75rem 1.5rem;border:none;border-radius:var(--border-radius);font-weight:600;cursor:pointer;transition:all var(--transition-speed) ease;color:#fff;display:flex;align-items:center;gap:.5rem}.status-badge-sale .actions button:disabled{opacity:.6;cursor:not-allowed}.status-badge-sale .approve-btn{background-color:#4caf50}.status-badge-sale .approve-btn:hover:not(:disabled){background-color:#3e8e41}.status-badge-sale .ship-btn{background-color:#2196f3}.status-badge-sale .ship-btn:hover:not(:disabled){background-color:#0b7dda}.status-badge-sale .download-btn{background-color:#6366f1}.status-badge-sale .download-btn:hover:not(:disabled){background-color:#4f46e5}.status-badge-sale .actions .cancel-btn{background-color:#f44336;color:#fff}.status-badge-sale .actions .cancel-btn:hover:not(:disabled){background-color:#da190b}.status-badge-sale .loading,.status-badge-sale .error,.status-badge-sale .not-found{padding:2rem;text-align:center;font-size:1.2rem;background-color:var(--color-surface);border-radius:var(--border-radius);margin:2rem auto;max-width:800px;box-shadow:0 2px 4px var(--color-shadow)}.status-badge-sale .error{color:var(--color-error);border-left:4px solid var(--color-error)}.status-badge-sale .not-found{color:var(--color-text-secondary)}@media (max-width: 768px){.status-badge-sale .sale-order-detail{padding:1rem;margin:1rem}.status-badge-sale .header{flex-direction:column;align-items:flex-start;gap:1rem}.status-badge-sale .header-content-sale{display:flex;width:100%;gap:.5rem}.status-badge-sale .info-grid{grid-template-columns:1fr}.status-badge-sale .items-table{display:block;overflow-x:auto;white-space:nowrap}.status-badge-sale .actions{justify-content:center;flex-direction:column}.status-badge-sale .actions button{width:100%;justify-content:center}.status-badge-sale .modal-content2{width:95%;padding:15px}.status-badge-sale .modal-actions{flex-direction:column;gap:10px}.status-badge-sale .modal-actions button{width:100%}}@media (max-width: 480px){.status-badge-sale .sale-order-detail{margin:.5rem;padding:.75rem}.status-badge-sale .items-table th,.status-badge-sale .items-table td{padding:.75rem .5rem;font-size:.9rem}.status-badge-sale .header h1{font-size:1.5rem}.status-badge-sale .general-info h2,.status-badge-sale .items-section h2{font-size:1.2rem}}.status-badge-sale .sale-order-detail.disabled{opacity:.6;pointer-events:none}@media print{.status-badge-sale .sale-order-detail{box-shadow:none;margin:0;padding:1rem}.status-badge-sale .actions,.status-badge-sale .add-item-button-container,.status-badge-sale .back-btn{display:none!important}.status-badge-sale .header{border-bottom:2px solid #000;margin-bottom:1rem}.status-badge-sale .items-table{box-shadow:none}.status-badge-sale .items-table th{background-color:#f0f0f0!important;color:#000!important}}.header-content-sale{display:flex;width:100%;gap:.5rem}.buttons-container-sale{display:flex;gap:10px}.provider-container{display:flex;align-items:center}.provider-container .input-client-name{margin:0;border-radius:5px;font-weight:600;padding:5px}.table-scroll-wrapper{background-color:#fff;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;overflow:hidden;border:2px solid rgb(32,32,32);max-height:290px;overflow-y:auto}.table-scroll-wrapper::-webkit-scrollbar{width:8px;height:8px}.table-scroll-wrapper::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.table-scroll-wrapper::-webkit-scrollbar-thumb{background:#3b82f6;border-radius:4px}.table-scroll-wrapper::-webkit-scrollbar-thumb:hover{background:#2563eb}.sale-order-table{width:100%;border-collapse:collapse;min-width:800px}.sale-order-table thead{background-color:#f8f9fa;border-bottom:2px solid #dee2e6;position:sticky;top:0;z-index:10}.sale-order-table th{padding:12px;text-align:left;font-weight:600;color:#dfdfdf;font-size:14px;background-color:#212529;position:sticky;top:0;z-index:10}.th-cantidad,.th-unidad{width:100px}.th-descripcion{width:40%}.th-precio,.th-total{width:150px}.th-actions{width:100px}.sale-order-table tbody tr{border-bottom:1px solid #dee2e6}.sale-order-table tbody tr:hover{background-color:#f8f9fa}.sale-order-table td{padding:8px 12px}.cantidad-input,.precio-input{width:100%;padding:6px 8px;border:1px solid #ced4da;border-radius:4px;font-size:14px;height:25px}.cantidad-input:focus,.precio-input:focus{outline:none;border-color:var(--color-primary);box-shadow:0 0 0 .2rem #ff000057}.unidad-select{width:100%;padding:3px 5px;border-radius:4px;font-size:14px;background-color:#fff;height:25px}.unidad-select:focus{box-shadow:0 0 0 .2rem #ff000057}.product-select{margin-bottom:8px}.product-select .select__control{min-height:36px;font-size:14px}.product-select .select__menu{z-index:1000}.descripcion-input{width:100%;padding:3px 5px;border:1px solid #ced4da;border-radius:4px;font-size:14px;height:25px}.total-td{font-weight:600;color:#495057}.remove-btn{padding:4px 12px;background-color:#dc3545;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:13px;transition:background-color .2s}.remove-btn:hover{background-color:#c82333}.table-actions{margin-top:16px}.add-row-btn{padding:8px 16px;background-color:#28a745;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;font-weight:500;transition:background-color .2s;display:flex;align-items:center;gap:10px}.add-row-btn:hover{background-color:#218838}.totals-section{margin-top:10px;display:flex;width:100%;gap:17%}.observations-section{display:flex;flex-direction:column;width:50%}.observations-section label{display:block;margin-bottom:8px;font-weight:600;color:#495057}.observations-textarea{width:100%;padding:10px;border:1px solid #ced4da;border-radius:4px;font-size:14px;resize:none;height:40px}.totals-container{background-color:#8080804b;border-radius:8px;border:1px solid #e0e0e0;box-shadow:0 2px 4px #0000000d;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;width:30%}.total-row{display:flex;justify-content:space-between;align-items:center;margin:0;font-size:14px;line-height:1.3;padding:5px}.total-row span:first-child{font-weight:500;color:#555}.total-row span:last-child{font-weight:600;color:#222}.total-final{padding-top:8px;border-top:1px solid #eaeaea;font-size:16px;margin-top:0}.total-final span{font-weight:700!important;color:red!important}.no-items{text-align:center;padding:10px;color:#666;font-style:italic}@media (max-width: 768px){.totals-section{flex-direction:column}.totals-container{width:100%}.sale-order-table{font-size:12px}.sale-order-table th,.sale-order-table td{padding:6px}}.top-container{width:100%;height:50px;display:flex;gap:10px;justify-content:start}.top-container .pdf-button{display:flex;align-items:center;padding:5px;border:none;background-color:var(--color-primary-bg-select);color:var(--color-surface);gap:5px;border-radius:5px}.top-container .pdf-button:hover{cursor:pointer;transform:scale(1.05)}.main-container{height:auto;overflow-y:auto;overflow-x:hidden}.main-container .buttons-container{display:flex;padding-left:10px}.main-container .purchase-order-container{background-color:#fff;border:1px solid gray;padding:5px;box-shadow:0 0 10px gray;overflow-x:hidden;position:relative}.main-container .purchase-order-container .purchase-order-header{display:grid;grid-template-columns:1.2fr 4fr 1fr;padding:0 10px}.main-container .purchase-order-container .purchase-order-header .initial-logo{display:flex;align-items:center;justify-content:end}.main-container .purchase-order-container .purchase-order-header .initial-logo img{width:160px;height:100px}.main-container .purchase-order-container .purchase-order-header .header-data{text-align:center}.main-container .purchase-order-container .purchase-order-header .header-data h2{color:#00f;font-weight:500;margin-bottom:10px;font-size:18px}.main-container .purchase-order-container .purchase-order-header .header-data h3{margin-bottom:5px;font-size:16px}.main-container .purchase-order-container .purchase-order-header .header-data h4{font-size:14px;margin-bottom:5px}.main-container .purchase-order-container .purchase-order-header .social-media-containers{display:flex;align-items:center;justify-content:center;gap:50px}.main-container .purchase-order-container .purchase-order-header .social-media-containers .fb-container,.main-container .purchase-order-container .purchase-order-header .social-media-containers .whatsapp-container{display:flex}.main-container .purchase-order-container .purchase-order-header .social-media-containers .fb-container img,.main-container .purchase-order-container .purchase-order-header .social-media-containers .whatsapp-container img{width:20px}.main-container .purchase-order-container .purchase-order-header .folio-container{display:flex;width:80%;gap:10px;align-items:end}.main-container .purchase-order-container .purchase-order-header .folio-container .folio-input{height:25px;color:red;font-weight:600;border:none}.main-container .purchase-order-container .divider{margin-top:10px;margin-bottom:10px;width:95%;height:3px;background-color:gray;justify-self:center}.main-container .purchase-order-container .purchase-order-data{display:grid;grid-template-columns:1fr 1fr 1fr;gap:200px;width:95%;padding:10px}.main-container .purchase-order-container .purchase-order-data .column1{display:flex;flex-direction:column}.main-container .purchase-order-container .purchase-order-data .column1 .provider-container{display:flex;align-items:center;gap:5px}.main-container .purchase-order-container .purchase-order-data .column1 .provider-container .text-inside{font-size:14px;font-weight:600}.main-container .purchase-order-container .purchase-order-data .column1 .provider-container input{width:100%}.main-container .purchase-order-container .purchase-order-data .column1 .buyer-container,.main-container .purchase-order-container .purchase-order-data .column1 .attention-container{display:flex;align-items:center;gap:5px}.main-container .purchase-order-container .purchase-order-data .column1 .buyer-container .text-inside,.main-container .purchase-order-container .purchase-order-data .column1 .attention-container .text-inside{font-size:14px;font-weight:600}.main-container .purchase-order-container .purchase-order-data .column2{display:flex;flex-direction:column;justify-content:space-around}.main-container .purchase-order-container .purchase-order-data .column2 .date-container{display:grid;grid-template-columns:1fr 1.5fr;align-items:center;gap:10px}.main-container .purchase-order-container .purchase-order-data .column2 .date-container .text-inside{font-size:14px;font-weight:600}.main-container .purchase-order-container .purchase-order-data .column2 .date-container input{width:100%}.main-container .purchase-order-container .purchase-order-data .column2 .email-container{display:flex;align-items:center;gap:10px}.main-container .purchase-order-container .purchase-order-data .column2 .email-container .text-inside{font-size:14px;font-weight:600}.main-container .purchase-order-container .purchase-order-data .column2 .email-container input{width:100%}.main-container .purchase-order-container .purchase-order-data .column3{display:flex;flex-direction:column;justify-content:space-around}.main-container .purchase-order-container .purchase-order-data .column3 .estimated-container{display:grid;grid-template-columns:1fr .5fr;align-items:center;gap:10px}.main-container .purchase-order-container .purchase-order-data .column3 .estimated-container .text-inside{font-size:14px;font-weight:600}.main-container .purchase-order-container .purchase-order-data .column3 .estimated-container input{width:100%}.main-container .purchase-order-container .purchase-order-data .column3 .delivery-place{display:grid;grid-template-columns:1fr 1.5fr;align-items:center;gap:10px}.main-container .purchase-order-container .purchase-order-data .column3 .delivery-place .text-inside{font-size:14px;font-weight:600}.main-container .purchase-order-container .purchase-order-data .column3 .delivery-place input{width:100%}.main-container .purchase-order-container .purchase-order-notes{padding:30px}.main-container .purchase-order-container .purchase-order-notes .conditions-container h5{text-align:center;margin-bottom:5px}.main-container .purchase-order-container .purchase-order-notes .conditions-container ol{margin-bottom:5px}.main-container .purchase-order-container .purchase-order-notes .conditions-container ol li{font-weight:600;font-size:14px}.main-container .purchase-order-container .purchase-order-notes .conditions-container ol li span,.main-container .purchase-order-container .purchase-order-notes .conditions-container h6 span{color:#00f}@media (width < 1450px){.main-container .purchase-order-container .purchase-order-header .folio-container{display:flex;width:90%;gap:5px;align-items:end}}@media (width < 1350px){.main-container .purchase-order-container .purchase-order-header .folio-container{display:flex;flex-direction:column;-webkit-user-select:none;user-select:none;gap:5px;align-items:center;justify-content:center}}@media (width < 1150px){.main-container .purchase-order-container .purchase-order-header .initial-logo{justify-content:start}.main-container .purchase-order-container .purchase-order-header .initial-logo img{width:100px;height:60px}.main-container .purchase-order-container .purchase-order-header .folio-container{display:flex;flex-direction:column;width:80%;gap:3px;align-items:center;justify-content:center}}@media (width < 500px){.main-container .purchase-order-container .purchase-order-header{display:flex;flex-direction:column}.main-container .purchase-order-container .purchase-order-header .initial-logo{display:none}.main-container .purchase-order-container .purchase-order-header .header-data .social-media-containers .fb-container img,.main-container .purchase-order-container .purchase-order-header .header-data .social-media-containers .whatsapp-container img{display:none}.main-container .purchase-order-container .purchase-order-header .folio-container{display:flex;flex-direction:row;width:50%;gap:3px;align-items:center;justify-content:end}.main-container .purchase-order-container .purchase-order-data{display:grid;grid-template-columns:1fr;grid-template-rows:1fr 1fr 1fr;gap:10px;width:95%;padding:10px}.main-container .purchase-order-container .purchase-order-data .column1{display:flex;flex-direction:column}.main-container .purchase-order-container .purchase-order-data .column1 .provider-container{display:flex;align-items:center;gap:5px}.main-container .purchase-order-container .purchase-order-data .column1 .provider-container .text-inside{font-size:14px;font-weight:600}.main-container .purchase-order-container .purchase-order-data .column1 .provider-container input{width:100%}.main-container .purchase-order-container .purchase-order-data .column1 .buyer-container,.main-container .purchase-order-container .purchase-order-data .column1 .attention-container{display:flex;align-items:center;gap:5px}.main-container .purchase-order-container .purchase-order-data .column1 .buyer-container .text-inside,.main-container .purchase-order-container .purchase-order-data .column1 .attention-container .text-inside{font-size:14px;font-weight:600}.main-container .purchase-order-container .purchase-order-data .column2{display:flex;flex-direction:column}.main-container .purchase-order-container .purchase-order-data .column2 .estimated-container{display:grid;grid-template-columns:1fr .5fr;align-items:center;gap:10px}.main-container .purchase-order-container .purchase-order-data .column2 .estimated-container .text-inside{font-size:14px;font-weight:600}.main-container .purchase-order-container .purchase-order-data .column2 .estimated-container input{width:100%}.main-container .purchase-order-container .purchase-order-data .column2 .date-container{display:grid;grid-template-columns:1fr 1.5fr;align-items:center;gap:10px}.main-container .purchase-order-container .purchase-order-data .column2 .date-container .text-inside{font-size:14px;font-weight:600}.main-container .purchase-order-container .purchase-order-data .column2 .date-container input{width:100%}.main-container .purchase-order-container .purchase-order-data .column2 .email-container{display:flex;align-items:center;gap:10px}.main-container .purchase-order-container .purchase-order-data .column2 .email-container .text-inside{font-size:14px;font-weight:600}.main-container .purchase-order-container .purchase-order-data .column2 .email-container input{width:100%}.main-container .purchase-order-container .purchase-order-data .column3{display:flex;flex-direction:column}.main-container .purchase-order-container .purchase-order-data .column3 .invoice-container{display:grid;grid-template-columns:1fr 2fr;align-items:center;gap:10px}.main-container .purchase-order-container .purchase-order-data .column3 .invoice-container .text-inside{font-size:14px;font-weight:600}.main-container .purchase-order-container .purchase-order-data .column3 .invoice-container input{width:100%}.main-container .purchase-order-container .purchase-order-data .column3 .invoice-date,.main-container .purchase-order-container .purchase-order-data .column3 .delivery-place{display:grid;grid-template-columns:1fr 1.5fr;align-items:center;gap:10px}.main-container .purchase-order-container .purchase-order-data .column3 .invoice-date .text-inside,.main-container .purchase-order-container .purchase-order-data .column3 .delivery-place .text-inside{font-size:14px;font-weight:600}.main-container .purchase-order-container .purchase-order-data .column3 .invoice-date input,.main-container .purchase-order-container .purchase-order-data .column3 .delivery-place input{width:100%}}.modal-create{display:flex;flex-direction:column;width:100%;padding:10px}.modal-create .div-buttons-modal{display:flex;gap:20px;margin-top:20px}.content-attach-div{display:flex;gap:10px;align-items:end}.hidden-file-input{display:none}.file-input-wrapper{margin:5px}.file-input-wrapper .material-symbols-outlined{font-variation-settings:"FILL" 0;transition:font-variation-settings .3s ease-in-out}.file-input-wrapper:hover .material-symbols-outlined{font-variation-settings:"FILL" 1}.file-input-label{cursor:pointer;display:inline-block}.content-attach-div{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}.text-area-create-div-purchase{margin-top:10px}.text-area-create-div-purchase .text-area-create{width:97%}.selected-files{margin-top:10px;display:flex;flex-wrap:wrap;gap:8px}.file-chip{display:flex;align-items:center;background:#f0f0f0;padding:5px 10px;border-radius:16px;font-size:14px}.file-chip button{margin-left:5px;background:none;border:none;cursor:pointer;color:#666}.content-attach-div{display:flex;gap:10px;margin-top:15px}.custom-file-button{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;background-color:#f0f0f0;border:1px solid #ddd;border-radius:4px;cursor:pointer;transition:all .3s ease;font-size:14px}.custom-file-button:hover{background-color:#e0e0e0;border-color:#bbb}.custom-file-button .icon{font-size:18px}.create-supplier-container{padding:2rem;background-color:var(--color-surface);border-radius:var(--border-radius);box-shadow:0 2px 10px var(--color-shadow)}.create-supplier-container h2{color:var(--color-primary);margin-bottom:2rem;text-align:center}.supplier-form{display:flex;flex-direction:column;gap:2rem}.form-step{border-radius:var(--border-radius)}.form-step-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid var(--color-border)}.form-step-header h3{margin:0;color:var(--color-primary)}.step-indicator{background-color:var(--color-primary);color:#fff;padding:.5rem 1rem;border-radius:var(--border-radius);font-size:.9rem}.form-columns{display:flex;gap:2rem}.form-column{flex:1}.form-section h4{margin-top:0;margin-bottom:1rem;color:var(--color-primary)}.form-section-full{margin-top:2rem}.form-group{margin-bottom:1.5rem}.form-row{display:flex;gap:1rem}.form-row .form-group{flex:1}label{display:block;margin-bottom:.5rem;font-weight:500;color:var(--color-text)}input,select,textarea{width:100%;padding:.75rem;border:1px solid var(--color-border);border-radius:var(--border-radius);background-color:var(--color-input-background);color:var(--color-text);font-size:1rem;transition:border-color var(--transition-speed)}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--color-input-focus);box-shadow:0 0 0 2px var(--color-primary-bg-select-deep)}.form-select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:1rem}.form-textarea{min-height:100px;resize:vertical}.invalid{border-color:var(--color-secondary)}.error-message{display:block;margin-top:.5rem;color:var(--color-secondary);font-size:.875rem}.form-actions{display:flex;justify-content:flex-end;gap:1rem}.next-button,.submit-button{background-color:var(--color-primary);color:var(--color-button-text);border:none;padding:.75rem 1.5rem;border-radius:var(--border-radius);cursor:pointer;font-weight:500;transition:background-color var(--transition-speed)}.next-button:hover,.submit-button:hover{background-color:var(--color-primary-hover)}.next-button:disabled,.submit-button:disabled{background-color:var(--color-button-disabled);cursor:not-allowed}.back-button{background-color:transparent;color:var(--color-text);border:1px solid var(--color-border);padding:.75rem 1.5rem;border-radius:var(--border-radius);cursor:pointer;transition:background-color var(--transition-speed)}.back-button:hover{background-color:var(--color-primary-bg-select-deep)}.container-modals{display:grid;grid-template-columns:1fr 1fr;gap:20px}.text-area-create-div .text-area-create{width:97%}.buttons-modal-create{display:flex;align-items:end;justify-content:space-between}input[type=file]{display:none}label[for=images],label[for=technicalSheet],label[for=safetySheet]{margin:0 5px;cursor:pointer}@media (max-width: 768px){.form-columns,.form-row{flex-direction:column;gap:1.5rem}.create-supplier-container,.form-step{padding:1rem}}.supplier-return-container{margin:0 auto;padding:20px;background-color:#fff;box-shadow:0 0 10px #0000001a;font-family:Arial,sans-serif}.supplier-return-header{display:flex;justify-content:space-between;margin-bottom:20px}.initial-logo img{height:80px}.header-data{text-align:center;flex-grow:1}.header-data h2{margin:0;font-size:1.5rem;color:#333}.header-data h3{margin:5px 0;font-size:1rem;color:#555}.header-data h4{margin:5px 0;font-size:.9rem;color:#666}.folio-container{display:flex;align-items:center}.text-inside{margin-right:10px;font-weight:700}.folio-input{padding:5px;border:1px solid #ddd;border-radius:4px;width:150px}.divider{border-bottom:1px solid #ddd;margin:15px 0}.supplier-return-data{display:flex;justify-content:space-between;margin-bottom:20px}.column1,.column2,.column3{flex:1;padding:0 10px}.provider-container,.buyer-container,.date-container,.order-container,.reason-container,.credit-container{margin-bottom:15px}.date-input{padding:5px;border:1px solid #ddd;border-radius:4px;width:100%}.items-table-container{margin:20px 0}.items-table th,.items-table td{border:1px solid #ddd;padding:8px;text-align:left}.items-table th{background-color:#313131}.supplier-return-notes{margin-top:20px}.conditions-container h5{margin-bottom:10px}.conditions-container ol{padding-left:20px}.conditions-container li{margin-bottom:5px}.loading,.error,.not-found{text-align:center;padding:20px;font-size:1.2rem}.error{color:#d32f2f}.not-found{color:#666}.status-badge-return{display:flex;padding:10px 8px;border-radius:12px;font-size:15px;font-weight:700;text-transform:capitalize;align-items:center;justify-content:center;margin-bottom:10px;color:#fff}.status-badge-return.draft{background:linear-gradient(135deg,#a0a0a0,silver)}.status-badge-return.pending{background:linear-gradient(135deg,#ffc107,#ffab00)}.status-badge-return.approved{background:linear-gradient(135deg,#28a745,#218838)}.status-badge-return.partially_received{background:linear-gradient(135deg,#17a2b8,#138496)}.status-badge-return.received{background:linear-gradient(135deg,#00bcd4,#0097a7)}.status-badge-return.cancelled{background:linear-gradient(135deg,#dc3545,#c82333)}.status-badge-return.returned{background:linear-gradient(135deg,#6c757d,#5a6268)}.status-badge-return.closed{background:linear-gradient(135deg,#495057,#343a40)}.product-detail-container{margin:0 auto;padding:2rem;color:var(--color-text);background-color:var(--color-surface);border-radius:var(--border-radius);box-shadow:0 2px 4px var(--color-shadow)}.product-container-detail{background-color:var(--color-background);border-radius:var(--border-radius);padding:1rem}.product-detail-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;flex-wrap:wrap;gap:1rem}.product-detail-header h1{font-size:2rem;margin:0;color:var(--color-primary);flex-grow:1}.product-detail-header h1 span{font-weight:600}.back-button{background-color:var(--color-primary);color:var(--color-button-text);border:none;padding:.5rem 1rem;border-radius:var(--border-radius);cursor:pointer;transition:background-color var(--transition-speed);display:flex;align-items:center;gap:.5rem}.product-detail-content{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-bottom:2rem}.product-images-section{display:flex;flex-direction:column;gap:1.5rem}.main-image{background-color:var(--color-card-background);border-radius:var(--border-radius);padding:1rem;aspect-ratio:5/2;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 4px var(--color-shadow);border:1px solid var(--color-border);transition:transform var(--transition-speed)}.main-image:hover{transform:scale(1.02);cursor:pointer}.image-placeholder{display:flex;flex-direction:column;align-items:center;color:var(--color-primary)}.image-placeholder.small{aspect-ratio:1/1;width:80px;justify-content:center}.image-placeholder .material-symbols-outlined{font-size:3rem;margin-bottom:.5rem}.thumbnail-images{display:flex;gap:1rem}.thumbnail{background-color:var(--color-card-background);border-radius:var(--border-radius);padding:.5rem;cursor:pointer;box-shadow:0 2px 4px var(--color-shadow);border:1px solid var(--color-border);transition:transform var(--transition-speed)}.thumbnail:hover{transform:scale(1.05)}.product-info-section{display:flex;flex-direction:column;gap:1.5rem}.product-info-card{background-color:var(--color-card-background);border-radius:var(--border-radius);padding:1.5rem;box-shadow:0 2px 4px var(--color-shadow);border:1px solid var(--color-border)}.product-info-card h2{margin-top:0;margin-bottom:1.5rem;color:var(--color-primary);font-size:1.25rem;border-bottom:1px solid var(--color-border);padding-bottom:.5rem}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.label{font-weight:700;color:var(--color-primary);font-size:.9rem}.value{font-size:1rem;color:var(--color-text)}.product-description{line-height:1.6;margin:0;color:var(--color-text)}.product-actions{display:flex;gap:1rem;margin-top:1rem}.product-actions button{padding:.75rem 1.5rem;border:none;border-radius:var(--border-radius);cursor:pointer;font-weight:700;transition:all var(--transition-speed);display:flex;align-items:center;gap:.5rem}.print-button{background-color:var(--color-secondary);color:var(--color-button-text)}.print-button:hover{background-color:var(--color-primary-hover)}.documents-section{background-color:var(--color-card-background);border-radius:var(--border-radius);padding:1.5rem;box-shadow:0 2px 4px var(--color-shadow);border:1px solid var(--color-border)}.documents-section h2{margin-top:0;color:var(--color-primary);border-bottom:1px solid var(--color-border);padding-bottom:.5rem}.documents-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1.5rem;margin-top:1.5rem}.document-card{background-color:var(--color-surface);border-radius:var(--border-radius);padding:1.5rem;display:flex;flex-direction:column;align-items:center;gap:.75rem;border:1px solid var(--color-border);transition:transform var(--transition-speed)}.document-card:hover{transform:translateY(-2px)}.document-card .material-symbols-outlined{font-size:2rem;color:var(--color-primary)}.download-button{background-color:transparent;color:var(--color-link);border:1px solid var(--color-link);border-radius:var(--border-radius);padding:.5rem 1rem;cursor:pointer;transition:all var(--transition-speed);font-weight:600}.download-button:hover{background-color:var(--color-link);color:var(--color-button-text)}.status-badge{display:inline-block;padding:.25rem .75rem;border-radius:1rem;font-size:.8rem;font-weight:700}.status-badge.in-stock{background-color:#91ee9133;color:#1fc71f}.status-badge.low-stock{background-color:#ffbf0033;color:#c90}.status-badge.out-of-stock{background-color:#d223;color:#c71f1f}.low-stock{color:var(--color-secondary);font-weight:700}.product-detail-loading,.product-detail-error,.product-detail-not-found{display:flex;flex-direction:column;align-items:center;justify-content:center;height:50vh;color:var(--color-text);gap:1rem}.product-detail-error button,.product-detail-not-found button{background-color:var(--color-primary);color:var(--color-button-text);border:none;padding:.75rem 1.5rem;border-radius:var(--border-radius);cursor:pointer;transition:background-color var(--transition-speed)}.product-detail-error button:hover,.product-detail-not-found button:hover{background-color:var(--color-primary-hover)}@media (max-width: 768px){.product-detail-container{padding:1rem}.product-detail-content,.info-grid{grid-template-columns:1fr}.product-detail-header{flex-direction:column;align-items:flex-start}.product-actions{width:100%;flex-direction:column}.product-actions button{width:100%}}.adjustment-detail-container{margin:0 auto;padding:2rem;background-color:var(--color-surface);border-radius:var(--border-radius);box-shadow:0 2px 10px var(--color-shadow)}.adjustment-detail-header{display:flex;flex-direction:column;gap:1rem;margin-bottom:2rem;padding-bottom:1rem;border-bottom:1px solid var(--color-border)}.adjustment-detail-header h1{margin:0;color:var(--color-primary)}.back-button{display:flex;align-items:center;gap:.5rem;background-color:var(--color-primary);color:var(--color-button-text);border:none;padding:.5rem 1rem;border-radius:var(--border-radius);cursor:pointer;transition:background-color var(--transition-speed);width:fit-content}.back-button:hover{background-color:var(--color-primary-hover)}.adjustment-number-status{display:flex;align-items:center;gap:1rem}.adjustment-number{font-weight:700;font-size:1.1rem}.status-badge{display:flex;align-items:center;gap:.5rem;padding:.25rem .75rem;border-radius:1rem;font-weight:500;font-size:.9rem}.status-badge.approved{background-color:#0080001a;color:green}.status-badge.pending{background-color:#ffa5001a;color:orange}.status-badge.rejected{background-color:#ff00001a;color:red}.adjustment-detail-content{display:flex;flex-direction:column;gap:2rem}.adjustment-info-section{display:flex;gap:2rem}.adjustment-info-card,.adjustment-notes-card{flex:1;background-color:var(--color-card-background);padding:1.5rem;border-radius:var(--border-radius);box-shadow:0 1px 3px var(--color-shadow)}.adjustment-info-card h2,.adjustment-notes-card h2{margin-top:0;margin-bottom:1.5rem;color:var(--color-primary);font-size:1.2rem}.info-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1.5rem}.info-item{display:flex;flex-direction:column;gap:.25rem}.info-label{font-weight:500;color:var(--color-primary);font-size:.9rem}.info-value{font-size:1rem}.adjustment-notes-card p{margin:0;line-height:1.6}.adjustment-items-section h2{color:var(--color-primary);margin-bottom:1rem}.no-items-message{padding:2rem;text-align:center;background-color:var(--color-card-background);border-radius:var(--border-radius);color:var(--color-text);opacity:.7}.items-table{width:100%;border-collapse:collapse;background-color:var(--color-card-background);border-radius:var(--border-radius);overflow:hidden}.items-table th,.items-table td{padding:1rem;text-align:left;border-bottom:1px solid var(--color-border)}.items-table th{background-color:var(--color-primary-bg-select-deep);color:var(--color-text);font-weight:500}.items-table tr:hover{background-color:var(--color-primary-bg-select-2)}.positive{color:green;font-weight:700}.negative{color:red;font-weight:700}.adjustment-detail-loading{padding:2rem}.skeleton-header,.skeleton-content{background-color:var(--color-skeleton);border-radius:var(--border-radius);margin-bottom:1rem}.skeleton-header{height:3rem;width:50%}.skeleton-content{height:20rem}.adjustment-detail-not-found{text-align:center;padding:2rem}@media (max-width: 768px){.adjustment-info-section{flex-direction:column}.adjustment-detail-container{padding:1rem}.info-grid{grid-template-columns:1fr}}.transfer-detail-container{padding:2rem;margin:0 auto}.transfer-detail-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.transfer-detail-header h2{color:var(--color-primary);margin:0}.transfer-detail-header button{padding:.5rem 1rem;background-color:var(--color-primary);color:var(--color-button-text);border:none;border-radius:var(--border-radius);cursor:pointer;transition:var(--transition-speed)}.transfer-detail-header button:hover{background-color:var(--color-primary-hover)}.transfer-detail-card{background-color:var(--color-surface);border-radius:var(--border-radius);box-shadow:0 2px 8px var(--color-shadow);padding:2rem}.transfer-detail-info{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem;margin-bottom:2rem;padding-bottom:2rem;border-bottom:1px solid var(--color-border)}.info-row{display:flex;flex-direction:column;gap:.25rem}.info-label{font-weight:500;color:var(--color-primary)}.info-value{color:var(--color-text)}.transfer-detail-items{margin-bottom:2rem}.transfer-detail-items h3{margin-bottom:1rem;color:var(--color-primary)}.items-table-container{overflow-x:auto}.items-table{width:100%;border-collapse:collapse;margin-top:1rem}.items-table th,.items-table td{padding:.75rem 1rem;text-align:left;border-bottom:1px solid var(--color-border)}.items-table th{background-color:var(--color-primary-bg-select-deep);color:var(--color-primary);font-weight:500}.items-table tr:hover{background-color:var(--color-primary-bg-select-deep)}.transfer-detail-meta{display:flex;justify-content:space-between;padding-top:1rem;border-top:1px solid var(--color-border);color:var(--color-text-secondary);font-size:.9rem}.transfer-detail-loading,.transfer-detail-error,.transfer-detail-not-found{display:flex;flex-direction:column;align-items:center;justify-content:center;height:50vh;gap:1rem}.loading-spinner{width:40px;height:40px;border:4px solid var(--color-primary);border-top-color:transparent;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width: 768px){.transfer-detail-info{grid-template-columns:1fr}.transfer-detail-header{flex-direction:column;gap:1rem;align-items:flex-start}.transfer-detail-meta{flex-direction:column;gap:.5rem}}.transfer-status-badge{display:inline-block;padding:.25rem .75rem;border-radius:1rem;color:orange;font-weight:500;font-size:.85rem;text-transform:capitalize}.client-detail-container{margin:0 auto;padding:2rem;color:var(--color-text)}.client-detail-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.client-detail-header h2{font-size:1.8rem;color:var(--color-primary)}.client-detail-card{background-color:var(--color-surface);border-radius:var(--border-radius);padding:1.5rem;margin-bottom:2rem;box-shadow:0 2px 4px var(--color-shadow)}.client-info-section{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-bottom:1.5rem}@media (max-width: 768px){.client-info-section{grid-template-columns:1fr}}.client-basic-info,.client-address-info{background-color:var(--color-card-background);padding:1rem;border-radius:var(--border-radius)}.client-basic-info h3,.client-address-info h3{margin-top:0;margin-bottom:1rem;color:var(--color-primary);border-bottom:1px solid var(--color-border);padding-bottom:.5rem}.client-additional-info{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--color-border)}.client-actions{display:flex;gap:1rem;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid var(--color-border)}.client-orders-section{background-color:var(--color-surface);border-radius:var(--border-radius);padding:1.5rem;box-shadow:0 2px 4px var(--color-shadow)}.client-orders-section h3{margin-top:0;color:var(--color-primary);border-bottom:1px solid var(--color-border);padding-bottom:.5rem}.action-btn{padding:.3rem .6rem;background-color:var(--color-primary);color:var(--color-button-text);border:none;border-radius:var(--border-radius);cursor:pointer;transition:var(--transition-speed)}.action-btn:hover{background-color:var(--color-primary-hover)}.action-btn.detail{background-color:var(--color-link)}.action-btn.detail:hover{background-color:var(--color-link-hover)}.error-message{color:var(--color-error);padding:2rem;text-align:center}.not-found{color:var(--color-text);padding:2rem;text-align:center}.actions-client-buttons{display:flex;align-items:center;gap:10px}.actions-client-buttons button{background-color:var(--color-primary);color:#fff;display:flex;align-items:center;gap:10px;padding:10px;border:none;font-size:15px;font-weight:600;border-radius:10px}.actions-client-buttons button:hover{background-color:#970000;cursor:pointer;scale:1.05}.actions-client-buttons button:active{scale:.95}.status-button.deactivate:hover{background-color:#808080e3}.status-button.activate{background-color:gray}.status-button.activate:hover{background-color:#cf1414e3}.sort-data-low .credit-info-low{display:flex;gap:20px}.service-order-skeleton{width:100%;padding:1rem;background-color:var(--color-surface);border-radius:var(--border-radius)}.skeleton-filter-row{display:flex;gap:.5rem;margin-bottom:1.5rem}.skeleton-filter-button{width:80px;height:36px;background-color:var(--color-skeleton);border-radius:var(--border-radius);animation:pulse 1.5s infinite ease-in-out}.skeleton-header-row{display:grid;grid-template-columns:repeat(6,1fr);gap:1rem;margin-bottom:.5rem}.skeleton-header{height:20px;background-color:var(--color-skeleton);border-radius:var(--border-radius);animation:pulse 1.5s infinite ease-in-out}.skeleton-row{display:grid;grid-template-columns:repeat(6,1fr);gap:1rem;margin-bottom:.75rem}.skeleton-cell{height:50px;background-color:var(--color-skeleton-light);border-radius:var(--border-radius);animation:pulse 1.5s infinite ease-in-out}@keyframes pulse{0%,to{opacity:.6}50%{opacity:1}}.service-order-container{padding:1rem;max-width:1600px;margin:0 auto}.service-order-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.service-order-header h2{color:var(--color-primary-intense);margin:0}.service-order-filters{display:flex;gap:.5rem;margin-bottom:1.5rem}.btn-primary{background-color:var(--color-primary);color:var(--color-button-text);border:none;border-radius:var(--border-radius);padding:.5rem 1rem;cursor:pointer;display:flex;align-items:center;gap:.5rem;font-weight:700}.btn-primary:hover{background-color:var(--color-primary-hover)}.btn-filter{background-color:var(--color-surface);color:var(--color-text);border:1px solid var(--color-border);border-radius:var(--border-radius);padding:.5rem 1rem;cursor:pointer}.btn-filter.active{background-color:var(--color-primary);color:var(--color-button-text);border-color:var(--color-primary)}.btn-filter:hover{background-color:var(--color-primary-bg-select-2)}.error-message{color:var(--color-accent);padding:1rem;background-color:var(--color-surface);border-radius:var(--border-radius);text-align:center}.modal-overlay-service-order{position:fixed;top:0;left:0;right:0;bottom:0;background-color:var(--color-modal-background);display:flex;justify-content:center;align-items:center;z-index:10000}.modal-content-service-order{background-color:var(--color-surface);border-radius:var(--border-radius);padding:1.5rem;width:90%;max-width:700px;max-height:90vh;overflow-y:auto;box-shadow:0 4px 20px var(--color-shadow)}.modal-header-service-order{display:flex;align-items:center;text-align:center;justify-content:space-between;margin-bottom:1.5rem;padding-bottom:.5rem;border-bottom:1px solid var(--color-border)}.modal-header h2{margin:0;color:var(--color-primary-intense)}.modal-close-service-order{background:none;border:none;font-size:1.5rem;cursor:pointer;color:var(--color-text)}.modal-step{display:flex;flex-direction:column;gap:1rem}.modal-step h3{margin:0 0 .5rem;color:var(--color-primary)}.option-buttons{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}.option-buttons button{display:flex;justify-content:center;align-items:center;flex-direction:column;gap:10px}.option-buttons button{flex:1;min-width:120px;padding:.75rem;background-color:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--border-radius);cursor:pointer;transition:all .2s}.option-buttons button:hover{background-color:var(--color-primary-bg-select-2)}.option-buttons button.active{background-color:var(--color-primary);color:var(--color-button-text);border-color:var(--color-primary)}.modal-actions{display:flex;justify-content:space-between;margin-top:1.5rem}.modal-actions button{padding:.5rem 1rem;border-radius:var(--border-radius);cursor:pointer;border:1px solid var(--color-border);background-color:var(--color-surface);color:var(--color-text)}.modal-actions button:last-child{background-color:var(--color-primary);color:var(--color-button-text);border:none}.modal-actions button:disabled{background-color:var(--color-button-disabled);cursor:not-allowed}.form-group{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.form-select,.form-input,.form-textarea{padding:.5rem;border:1px solid var(--color-border);border-radius:var(--border-radius);background-color:var(--color-input-background);color:var(--color-text)}.form-textarea{resize:vertical;min-height:80px}.modal-step-select{display:flex;align-items:center;gap:10px}.button-add-service-order{padding:5px;background-color:var(--color-primary);border:none;color:#fff;-webkit-user-select:none;user-select:none}.button-add-service-order:hover{background-color:#a30000;cursor:pointer}.button-add-service-order:active{transform:scale(.95)}@media (max-width: 768px){.service-order-header{flex-direction:column;align-items:flex-start;gap:1rem}.service-order-filters{flex-wrap:wrap}.option-buttons{flex-direction:column}.modal-content{width:95%;padding:1rem}}.modal-step strong{color:var(--color-primary);font-weight:600}.form-group{margin-bottom:1.5rem;padding:1rem;border:1px solid var(--color-border);border-radius:var(--border-radius);background:var(--color-background-light)}.form-group label{display:block;margin-bottom:.5rem;font-weight:500}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem}.form-column{display:flex;flex-direction:column;gap:.5rem}.checkbox-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}.checkbox-column{display:flex;flex-direction:column;gap:.5rem}.checkbox-label{display:flex;align-items:center;gap:.5rem;font-size:.9rem}.checkbox-label input[type=checkbox]{width:16px;height:16px}.form-input{width:100%;padding:.5rem;border:1px solid var(--color-border);border-radius:var(--border-radius);font-size:.9rem}.form-textarea{width:100%;padding:.5rem;border:1px solid var(--color-border);border-radius:var(--border-radius);font-size:.9rem;resize:vertical}.purchase-order-container-form{background:#fff;padding:10px 0;border:2px solid black;box-shadow:0 2px 10px #0000001a;max-width:1000px;margin:0 auto}.purchase-order-data-service-order{display:flex}.purchase-order-header{display:flex;justify-content:space-between;margin-bottom:20px}.initial-logo img{height:60px}.header-data{text-align:center;flex-grow:1;margin:0 20px}.header-data h2{font-size:14px;font-weight:700;margin:0;color:#000}.header-data h3{font-size:12px;margin:5px 0;color:#000}.header-data h4{font-size:11px;margin:5px 0;color:#000}.no-wrap{white-space:nowrap}.title-initial{border-top:1px solid black;border-bottom:1px solid black;background-color:#adaaaa;text-align:center;margin-bottom:10px}.title-initial h1{font-size:16px}:host .provider-container{display:flex;align-items:center}:host .provider-container .text-inside-os{font-size:13px;font-weight:600;margin-bottom:0}:host .provider-container input{font-size:11px;border:none;background-color:#fff;padding:0;font-weight:400;text-align:start;margin-left:10px}:host .provider-container .date-input-os{margin:0}.textarea-pad{padding:0 0 0 10px;display:flex;gap:10px;border:1px solid black}.equipment-row-os{display:flex;align-items:center;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif}.equipment-row-os .label{font-size:13px;font-weight:600;color:#000;margin-bottom:0}.equipment-row-os .value{font-size:11px;border:none;background-color:#fff;padding:0;font-weight:400;text-align:start;margin-left:10px}.compressor-data-content{display:grid;grid-template-columns:1fr 1fr}.compressor-data-content .column-left-os{display:flex;flex-direction:column;gap:10px}.whatsapp-service-order-content{display:flex;gap:10px;justify-content:center;align-items:center}.whatsapp-service-order-content img{width:18px;height:18px}.whatsapp-service-order-content .wsp-inside{display:flex;align-items:center;justify-content:center;gap:2px}.whatsapp-service-order-content .wsp-inside h4{font-size:10px}.whatsapp-service-order-content .wsp-inside img{width:18px;height:18px}.folio-container{display:flex;flex-direction:column;align-items:center}.text-inside{font-size:12px;font-weight:700;margin-bottom:5px;color:#333}.folio-input{border:1px solid #ddd;padding:5px;border-radius:4px;text-align:center;width:120px;font-weight:700}.divider{height:2px;background-color:#e53935;margin:15px 0}.purchase-order-data{display:flex;justify-content:space-between;margin-bottom:20px;gap:20px}.column1,.column2,.column3{flex:1}.provider-container,.buyer-container,.attention-container,.date-container,.email-container,.delivery-place,.estimated-container{margin-bottom:10px}.date-input{border:1px solid #ddd;padding:5px;border-radius:4px;width:100%}.equipment-info-section,.technical-data-section,.services-section,.comments-section{padding:10px}.comments-section-os{display:flex}.comments-section-os textarea{display:flex;width:100%}.equipment-details{display:grid;grid-template-columns:1fr;gap:10px}.equipment-row{display:flex;justify-content:space-between;padding:5px 0}.equipment-row .label{font-weight:700;color:#555}.equipment-row .value{color:#333}.last2inputs{display:flex}.signatures-os{display:flex;justify-content:space-around;align-items:end;height:100px;border:1px solid black}.signatures-os h4{font-size:11px}.modal-actions-os{display:flex;padding:10px;justify-content:space-around;gap:20px}.modal-actions-os .btn-secondary,.modal-actions-os .btn-primary{display:flex;justify-content:center}@media (max-width: 768px){.purchase-order-header{flex-direction:column;align-items:center}.purchase-order-data{flex-direction:column}.equipment-details{grid-template-columns:1fr}}.signature-container-os{display:flex;flex-direction:column;align-items:center;justify-content:center}.service-order-detail-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;background-color:#fff;padding:10px;border-radius:10px}.purchase-order-container{background-color:#fff;border:1px solid gray;padding:5px;box-shadow:0 0 10px gray;overflow-x:hidden;position:relative}.purchase-order-container .divider{margin-top:10px;margin-bottom:10px;width:95%;height:3px;background-color:gray;justify-self:center}.purchase-order-container .purchase-order-data{display:grid;grid-template-columns:1fr 1fr 1fr;gap:200px;width:95%;padding:10px}.purchase-order-container .purchase-order-data .column1{display:flex;flex-direction:column}.purchase-order-container .purchase-order-data .column1 .provider-container{display:flex;align-items:center;gap:5px}.purchase-order-container .purchase-order-data .column1 .provider-container .text-inside{font-size:14px;font-weight:600}.purchase-order-container .purchase-order-data .column1 .provider-container input{width:100%}.purchase-order-container .purchase-order-data .column1 .buyer-container,.purchase-order-container .purchase-order-data .column1 .attention-container{display:flex;align-items:center;gap:5px}.purchase-order-container .purchase-order-data .column1 .buyer-container .text-inside,.purchase-order-container .purchase-order-data .column1 .attention-container .text-inside{font-size:14px;font-weight:600}.purchase-order-container .purchase-order-data .column2{display:flex;flex-direction:column;justify-content:space-around}.purchase-order-container .purchase-order-data .column2 .date-container{display:grid;grid-template-columns:1fr 1.5fr;align-items:center;gap:10px}.purchase-order-container .purchase-order-data .column2 .date-container .text-inside{font-size:14px;font-weight:600}.purchase-order-container .purchase-order-data .column2 .date-container input{width:100%}.purchase-order-container .purchase-order-data .column2 .email-container{display:flex;align-items:center;gap:10px}.purchase-order-container .purchase-order-data .column2 .email-container .text-inside{font-size:14px;font-weight:600}.purchase-order-container .purchase-order-data .column2 .email-container input{width:100%}.purchase-order-container .purchase-order-data .column3{display:flex;flex-direction:column;justify-content:space-around}.purchase-order-container .purchase-order-data .column3 .estimated-container{display:grid;grid-template-columns:1fr .5fr;align-items:center;gap:10px}.purchase-order-container .purchase-order-data .column3 .estimated-container .text-inside{font-size:14px;font-weight:600}.purchase-order-container .purchase-order-data .column3 .estimated-container input{width:100%}.purchase-order-container .purchase-order-data .column3 .delivery-place{display:grid;grid-template-columns:1fr 1.5fr;align-items:center;gap:10px}.purchase-order-container .purchase-order-data .column3 .delivery-place .text-inside{font-size:14px;font-weight:600}.purchase-order-container .purchase-order-data .column3 .delivery-place input{width:100%}.purchase-order-container .purchase-order-notes{padding:30px}.purchase-order-container .purchase-order-notes .conditions-container h5{text-align:center;margin-bottom:5px}.purchase-order-container .purchase-order-notes .conditions-container ol{margin-bottom:5px}.purchase-order-container .purchase-order-notes .conditions-container ol li{font-weight:600;font-size:14px}.purchase-order-container .purchase-order-notes .conditions-container ol li span,.purchase-order-container .purchase-order-notes .conditions-container h6 span{color:#00f}.header-content-sale-new{display:flex;width:100%;gap:.5rem;align-items:center}.header-content-sale-new .back-btn{display:flex;align-items:center;gap:10px;font-size:15px}.folio-container-new{display:flex;align-items:center;gap:10px}.folio-container-new .text-inside{margin:0}.folio-container-new .folio-input{height:25px;color:red;font-weight:600;border:none}.sale-order-data-new{display:grid;grid-template-columns:1fr 1fr 1fr;gap:50px;width:95%;padding:10px}.sale-order-data-new .column1-new{display:flex;flex-direction:column}.sale-order-data-new .column1-new .provider-container{display:flex;gap:5px}.sale-order-data-new .column1-new .provider-container .text-inside{font-size:14px;font-weight:600}.sale-order-data-new .column1-new .provider-container input{width:100%}.sale-order-data-new .column1-new .buyer-container-new{display:flex;align-items:center;gap:5px}.sale-order-data-new .column1-new .buyer-container-new .text-inside-new{font-size:14px;font-weight:600}.sale-order-data-new .column1-new .buyer-container-new .folio-input{width:100%;text-align:start}.sale-order-data-new .column1-new .attention-container{display:flex;align-items:center;gap:5px}.sale-order-data-new .column1-new .attention-container .text-inside{font-size:14px;font-weight:600}.sale-order-data-new .column2{display:flex;flex-direction:column;justify-content:space-around}.sale-order-data-new .column2 .date-container{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:10px}.sale-order-data-new .column2 .date-container .text-inside{font-size:14px;font-weight:600}.sale-order-data-new .column2 .date-container input{width:100%}.sale-order-data-new .column2 .email-container{display:flex;align-items:center;gap:10px}.sale-order-data-new .column2 .email-container .text-inside{font-size:14px;font-weight:600}.sale-order-data-new .column2 .email-container input{width:100%}.sale-order-data-new .column3{display:flex;flex-direction:column;justify-content:space-around}.sale-order-data-new .column3 .estimated-container{display:grid;grid-template-columns:1fr .5fr;align-items:center;gap:10px}.sale-order-data-new .column3 .estimated-container .text-inside{font-size:14px;font-weight:600}.sale-order-data-new .column3 .estimated-container input{width:100%}.sale-order-data-new .column3 .delivery-place{display:grid;grid-template-columns:1fr 1.5fr;align-items:center;gap:10px}.sale-order-data-new .column3 .delivery-place .text-inside{font-size:14px;font-weight:600}.sale-order-data-new .column3 .delivery-place input{width:100%}.main-container{max-width:1600px;margin:0 auto;padding:20px;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;color:#333;border:1px solid gray;background-color:#fff}.buttons-and-tag{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.status-badge-return{padding:5px 15px;border-radius:20px;color:#fff;font-weight:700;text-transform:uppercase;font-size:.9rem}.status-badge-return.pending{background-color:#f0ad4e}.status-badge-return.approved{background-color:#5cb85c}.status-badge-return.rejected{background-color:#d9534f}.status-badge-return.processed{background-color:#0275d8}.buttons-container{display:flex;gap:10px}.client-return-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.initial-logo img{width:100px;height:auto}.header-data h2,.header-data h3,.header-data h4{margin:0}.header-data h3{font-weight:400;font-size:1rem}.header-data h4{font-weight:400;font-size:.8rem}.folio-container{display:flex;flex-direction:column;align-items:flex-start}.folio-container .text-inside{font-weight:700;margin-bottom:5px}.folio-input{padding:5px 10px;border-radius:5px;border:1px solid #ccc;width:150px;background-color:#f9f9f9}.divider{border-bottom:1px solid #ccc;margin:15px 0}.client-return-data{display:flex;gap:20px;margin-bottom:20px}.client-return-data>div{flex:1;display:flex;flex-direction:column;gap:10px}.text-inside{font-weight:700;margin-bottom:5px}.date-input{padding:5px 10px;border-radius:5px;border:1px solid #ccc;background-color:#f9f9f9}.items-table-container{margin-bottom:20px;overflow-x:auto}.items-table{width:100%;border-collapse:collapse}.items-table th,.items-table td{border:1px solid #ccc;padding:8px 12px;text-align:left}.items-table th{background-color:#f2f2f2}.client-return-notes{margin-top:20px}.notes-textarea{width:100%;padding:8px 10px;border-radius:5px;border:1px solid #ccc;resize:none;background-color:#f9f9f9}.loading,.error,.not-found{text-align:center;font-size:1.1rem;padding:20px;color:#555}.error{color:red}.not-found{color:#777}.social-media-containers{display:flex;align-items:center;justify-content:center;gap:50px}.social-media-containers .fb-container,.social-media-containers .whatsapp-container{display:flex}.social-media-containers .fb-container img,.social-media-containers .whatsapp-container img{width:20px}.supplier-detail-container{margin:0 auto;padding:2rem;color:var(--color-text)}.supplier-detail-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.supplier-detail-header h2{font-size:1.8rem;color:var(--color-primary)}.back-button{padding:.5rem 1rem;background-color:var(--color-button-background);color:var(--color-button-text);border:none;border-radius:var(--border-radius);cursor:pointer;transition:var(--transition-speed)}.back-button:hover{background-color:var(--color-button-hover)}.supplier-detail-card{background-color:var(--color-surface);border-radius:var(--border-radius);padding:1.5rem;margin-bottom:2rem;box-shadow:0 2px 4px var(--color-shadow)}.supplier-info-section{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-bottom:1.5rem}@media (max-width: 768px){.supplier-info-section{grid-template-columns:1fr}}.supplier-basic-info,.supplier-address-info{background-color:var(--color-card-background);padding:1rem;border-radius:var(--border-radius)}.supplier-basic-info h3,.supplier-address-info h3{margin-top:0;margin-bottom:1rem;color:var(--color-primary);border-bottom:1px solid var(--color-border);padding-bottom:.5rem}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.info-row{margin-bottom:.5rem;display:flex;flex-wrap:wrap}.info-label{font-weight:700;margin-right:.5rem;color:var(--color-primary);min-width:120px}.info-value{flex:1}.supplier-additional-info{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--color-border)}.notes{margin-top:1rem;padding:1rem;background-color:var(--color-background2);border-radius:var(--border-radius)}.supplier-actions{display:flex;gap:1rem;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid var(--color-border)}.edit-button,.status-button{padding:.75rem 1.5rem;border:none;border-radius:var(--border-radius);cursor:pointer;font-weight:700;transition:var(--transition-speed)}.edit-button{background-color:var(--color-primary);color:var(--color-button-text)}.edit-button:hover{background-color:var(--color-primary-hover)}.status-button{background-color:var(--color-secondary);color:var(--color-button-text)}.status-button.deactivate{background-color:var(--color-background);color:#000}.status-button.activate{background-color:var(--color-success)}.status-button:hover{opacity:.9}.supplier-orders-section{background-color:var(--color-surface);border-radius:var(--border-radius);padding:1.5rem;box-shadow:0 2px 4px var(--color-shadow)}.supplier-orders-section h3{margin-top:0;color:var(--color-primary);border-bottom:1px solid var(--color-border);padding-bottom:.5rem}.no-orders{text-align:center;padding:2rem;color:var(--color-text);opacity:.7}.actions-supplier-buttons{display:flex;align-items:center;gap:10px}.actions-supplier-buttons button{background-color:var(--color-primary);color:#fff;display:flex;align-items:center;gap:10px;padding:10px;border:none;font-size:15px;font-weight:600;border-radius:10px;transition:var(--transition-speed)}.actions-supplier-buttons button:hover{cursor:pointer;scale:1.05}.actions-supplier-buttons button:active{scale:.95}.status-badge.active{color:green}.status-badge.inactive{color:red}.sort-data-low{display:flex;justify-content:space-between}.credit-info-low{display:flex;gap:20px}.actions-client-buttons,.supplier-actions-buttons{display:flex;gap:10px}.warehouse-container{padding:20px;background-color:var(--color-surface);border-radius:var(--border-radius);box-shadow:0 2px 4px var(--color-shadow)}.warehouse-actions{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.toolbar button{background-color:var(--color-primary);color:var(--color-button-text);border:none;padding:6px 12px;border-radius:var(--border-radius);cursor:pointer}.toolbar button:hover{filter:brightness(1.1)}.error-message{color:red;margin-top:5px;font-size:.9rem}.modal{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;display:flex;align-items:center;justify-content:center}.modal-content{background-color:var(--color-surface);padding:20px;border-radius:var(--border-radius)}.modal-buttons{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.invalid-input{border:1px solid red}
