body{margin:0;min-height:100vh}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-feature-settings:"cv02","cv03","cv04","cv11";background:linear-gradient(135deg,#0a0a0a,#1a1a1a);background-attachment:fixed;color:#fff;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}*{font-family:Inter,sans-serif}.App{background:linear-gradient(135deg,#0a0a0a,#1a1a1a);background-attachment:fixed;min-height:100vh}.dashboard{margin:0 auto;max-width:1600px;padding:1rem 3rem 2rem}.dashboard-header{backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);background:#ffffffb3;border:1px solid #ffffff4d;border-radius:16px;box-shadow:0 8px 32px #0000000f;margin-bottom:2rem;padding:1rem 1.5rem;position:-webkit-sticky;position:sticky;top:1rem;z-index:100}.dashboard-header-content{align-items:center;display:flex;justify-content:space-between;max-width:100%}.dashboard-brand{align-items:center;display:flex;gap:1rem}.dashboard-logo{align-items:center;background:linear-gradient(135deg,#000000e6,#000000b3);border-radius:10px;box-shadow:0 4px 12px #00000026;display:flex;height:40px;justify-content:center;width:40px}.dashboard-logo-icon{grid-gap:2px;display:grid;gap:2px;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr);height:20px;width:20px}.dashboard-logo-icon-square{background-color:#fff;border-radius:2px}.dashboard-title{color:#000;font-size:1.5rem;font-weight:700;letter-spacing:-.02em;line-height:1.2;margin:0}.dashboard-header-actions{align-items:center;display:flex;gap:1rem}.period-selector{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:#ffffff80;border:1px solid #00000014;border-radius:10px;display:flex;gap:.25rem;padding:.25rem}.period-button{background:#0000;border:none;border-radius:8px;color:#0009;cursor:pointer;font-family:Inter,sans-serif;font-size:.75rem;font-weight:600;letter-spacing:.01em;padding:.5rem .875rem;transition:all .2s ease}.period-button:hover{background-color:#0000000d;color:#000c}.period-button.active{background:#000000e6;box-shadow:0 2px 8px #00000026;color:#fff}.metrics-grid,.secondary-metrics-grid{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:repeat(4,1fr);margin-top:2rem}.metric-card{background:#fff;border:1px solid #0000000f;border-radius:12px;box-shadow:0 2px 8px #0000000a;overflow:hidden;padding:2rem;position:relative;transition:all .3s ease}.metric-card:before{background:linear-gradient(90deg,#0000,#0000001a,#0000);content:"";height:2px;left:0;opacity:0;position:absolute;right:0;top:0;transition:opacity .3s ease}.metric-card:hover{border-color:#0000001a;box-shadow:0 4px 16px #00000014;transform:translateY(-2px)}.metric-card:hover:before{opacity:1}.metric-card-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:1.5rem}.metric-icon{align-items:center;color:#0009;display:flex;height:32px;justify-content:center;width:32px}.metric-change{background-color:#0000000a;border-radius:4px;color:#0009;font-size:.75rem;font-weight:600;padding:.25rem .5rem}.metric-label{color:#00000080;font-size:.75rem;font-weight:500;letter-spacing:.05em;margin-bottom:.75rem;text-transform:uppercase}.metric-value{color:#000;font-size:2.25rem;font-weight:800;letter-spacing:-.02em;line-height:1.1}.metric-subtext{color:#0006;font-size:.7rem;font-weight:500;margin-top:.5rem}.metric-debug{color:#0000004d;font-size:.65rem;font-weight:400;margin-top:.5rem}.debug-info{background-color:#00000005;border-radius:8px;color:#00000080;font-size:.75rem;margin-top:2rem;padding:1rem;text-align:center}.metric-value.green{color:#000c}.icon-line-graph{height:24px;opacity:.7;position:relative;width:24px}.icon-line-graph:before{background-color:currentColor;border-radius:1px;height:2px}.icon-line-graph:after,.icon-line-graph:before{bottom:2px;content:"";left:0;position:absolute;width:100%}.icon-line-graph:after{background:currentColor;-webkit-clip-path:polygon(0 100%,15% 75%,30% 85%,45% 60%,60% 70%,75% 45%,90% 55%,100% 35%,100% 100%);clip-path:polygon(0 100%,15% 75%,30% 85%,45% 60%,60% 70%,75% 45%,90% 55%,100% 35%,100% 100%);height:100%;opacity:.4}.icon-target{height:24px;opacity:.7;position:relative;width:24px}.icon-target:before{height:100%;width:100%}.icon-target:after,.icon-target:before{border:2px solid;border-radius:50%;content:"";left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.icon-target:after{box-shadow:inset 0 0 0 1px currentColor;height:60%;width:60%}.icon-people{height:24px;opacity:.7;position:relative;width:24px}.icon-people:before{border-radius:50% 50% 50% 0;left:2px}.icon-people:after,.icon-people:before{background-color:currentColor;bottom:0;content:"";height:9px;position:absolute;width:9px}.icon-people:after{border-radius:50% 50% 0 50%;right:2px}.icon-shield{height:24px;opacity:.7;position:relative;width:24px}.icon-shield:before{border-left:11px solid #0000;border-right:11px solid #0000;border-top:7px solid;content:"";height:0;left:50%;position:absolute;top:0;transform:translateX(-50%);width:0}.icon-shield:after{background-color:currentColor;border-radius:0 0 3px 3px;-webkit-clip-path:polygon(0 0,100% 0,100% 85%,50% 100%,0 85%);clip-path:polygon(0 0,100% 0,100% 85%,50% 100%,0 85%);content:"";height:calc(100% - 7px);left:0;position:absolute;top:7px;width:100%}.loading-state{align-items:center;display:flex;flex-direction:column;gap:1rem;justify-content:center;padding:4rem 2rem}.loading-spinner{animation:spin .8s linear infinite;border:3px solid #0000001a;border-radius:50%;border-top-color:#000;height:40px;width:40px}.loading-state p{color:#00000080;font-size:.875rem;font-weight:500}.error-state{align-items:center;display:flex;flex-direction:column;gap:1rem;justify-content:center;padding:4rem 2rem;text-align:center}.error-state h2{color:#000;font-size:1.5rem;font-weight:700;margin-bottom:.5rem}.error-state p{color:#0009;font-size:.875rem;margin-bottom:1rem}.retry-button{background-color:#000;border:none;border-radius:8px;box-shadow:0 2px 8px #00000026;color:#fff;cursor:pointer;font-family:Inter,sans-serif;font-size:.875rem;font-weight:600;padding:.75rem 1.5rem;transition:all .2s ease}.retry-button:hover{background-color:#000000d9;box-shadow:0 4px 12px #0003;transform:translateY(-1px)}@media (max-width:1400px){.metrics-grid,.secondary-metrics-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:768px){.dashboard{padding:1.5rem}.dashboard-header{margin-bottom:1.5rem;padding:.875rem 1rem}.dashboard-header-content{align-items:flex-start;flex-direction:column;gap:1rem}.dashboard-header-actions{width:100%}.dashboard-title{font-size:1.25rem}.metrics-grid,.secondary-metrics-grid{gap:1.5rem;grid-template-columns:1fr}.period-selector{flex-wrap:wrap;width:100%}.period-button{flex:1 1;font-size:.7rem;min-width:0;padding:.4rem .75rem}.metric-card{padding:1.5rem}.total-incl-card{padding:2rem 1.5rem}.total-incl-value{font-size:2.25rem}}.sales-orders-section{width:100%}.sales-orders-section h2{color:#000;font-size:1.5rem;font-weight:700;letter-spacing:-.01em;margin-bottom:1.5rem}.table-container{background:#fff;border:1px solid #00000014;border-radius:8px;box-shadow:0 1px 3px #0000000d;overflow-x:auto}.sales-orders-table thead{background:linear-gradient(135deg,#00000005,#0000000d);border-bottom:2px solid #0000001a}.sales-orders-table th{border-right:1px solid #0000000f;color:#000000b3;padding:1rem .75rem}.sales-orders-table tbody tr{border-bottom:1px solid #0000000f;transition:background-color .2s ease}.sales-orders-table tbody tr:hover{background-color:#00000005}.sales-orders-table td{border-right:1px solid #0000000a;color:#000c}.status-badge{padding:.25rem .75rem}.status-badge.status-open{background-color:#3b82f61a;color:#3b82f6}.status-badge.status-dispatched{background-color:#22c55e1a;color:#22c55e}.status-badge.status-draft{background-color:#9ca3af1a;color:#9ca3af}.paid-badge{border-radius:4px;display:inline-block;font-size:.7rem;font-weight:600;letter-spacing:.05em;padding:.25rem .75rem;text-transform:uppercase}.paid-badge.paid-full{background-color:#22c55e1a;color:#22c55e}.paid-badge.paid-partial{background-color:#fbbf241a;color:#fbbf24}.paid-badge.paid-invoiced{background-color:#3b82f61a;color:#3b82f6}.paid-badge.paid-imported{background-color:#8b5cf61a;color:#8b5cf6}.chat-icon{font-size:.875rem;margin-left:.5rem;opacity:.5}.pagination{align-items:center;display:flex;gap:1rem;justify-content:center;margin-top:1.5rem;padding:1rem}.pagination-button{background-color:#fff;border:1px solid #0000001a;border-radius:6px;color:#000000b3;cursor:pointer;font-family:Inter,sans-serif;font-size:.875rem;font-weight:600;padding:.5rem 1rem;transition:all .2s ease}.pagination-button:hover:not(:disabled){background-color:#0000000d;border-color:#00000026}.pagination-button:disabled{cursor:not-allowed;opacity:.4}.pagination-info,.total-records{color:#0009;font-size:.875rem;font-weight:500}.refresh-button{background-color:#000;border:none;border-radius:6px;color:#fff;cursor:pointer;font-family:Inter,sans-serif;font-size:.875rem;font-weight:600;padding:.5rem 1rem;transition:all .2s ease}.refresh-button:hover:not(:disabled){background-color:#000000d9;transform:translateY(-1px)}.refresh-button:disabled{cursor:not-allowed;opacity:.6}.loading{color:#00000080;font-size:.875rem;padding:2rem;text-align:center}.error-message{background-color:#ef44441a;border-radius:6px;color:#dc2626;font-size:.875rem;margin-bottom:1rem;padding:1rem}.main-navigation{background:#0000;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;padding:1.5rem 0;position:-webkit-sticky;position:sticky;top:0;z-index:1000}.nav-container{grid-gap:2rem;align-items:center;display:grid;gap:2rem;grid-template-columns:1fr auto 1fr;margin:0 auto;max-width:1600px;padding:0 3rem}.nav-brand{align-items:center;display:flex;justify-content:center}.nav-title{color:#fff;font-size:.875rem;font-weight:500;letter-spacing:.15em;line-height:1.2;margin:0;text-transform:uppercase}.nav-links{align-items:center;display:flex;gap:2rem}.nav-links-left{justify-content:flex-start}.nav-links-right{justify-content:flex-end}.nav-link{color:#fffc;font-family:Inter,sans-serif;font-size:.75rem;font-weight:500;letter-spacing:.15em;padding:0;position:relative;text-decoration:none;text-transform:uppercase;transition:all .3s ease}.nav-link.active,.nav-link:hover{color:#fff;opacity:1}@media (max-width:1024px){.nav-container{gap:1.5rem;padding:0 2rem}.nav-links{gap:1.5rem}.nav-title{font-size:.75rem}.nav-link{font-size:.7rem}}@media (max-width:768px){.nav-container{gap:1rem;grid-template-columns:1fr;padding:0 1.5rem}.nav-brand{order:-1}.nav-links{flex-wrap:wrap;justify-content:space-around;width:100%}.nav-links-left,.nav-links-right{justify-content:center}.nav-link{font-size:.65rem}.nav-title{font-size:.7rem}}.incentives-page{background:linear-gradient(135deg,#0a0a0a,#1a1a1a);background-position:50%;background-repeat:no-repeat;background-size:cover;color:#fff;display:flex;flex-direction:column;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;min-height:100vh;overflow:hidden;padding:0;position:relative}.incentives-logo{left:50%;position:fixed;text-align:center;top:3rem;transform:translateX(-50%);z-index:100}.logo-main{color:#fff;font-size:2.5rem;font-weight:700;letter-spacing:.05em;line-height:1.2;margin-bottom:.25rem}.logo-subtitle{color:#ffffffb3;font-size:.75rem;font-weight:500;letter-spacing:.2em;text-transform:uppercase}.incentives-content{align-items:center;display:flex;flex:1 1;flex-direction:column;justify-content:center;margin:0 auto;max-width:1400px;padding:8rem 3rem 12rem;position:relative;text-align:center;width:100%;z-index:1}.reward-name{color:#fff;font-size:8rem;font-weight:800;letter-spacing:.02em;line-height:1.1;margin-bottom:1.5rem;text-shadow:0 4px 20px #00000080;text-transform:uppercase}.reward-subtitle{color:#ffffffd9;font-size:1.5rem;font-style:italic;font-weight:300;line-height:1.6;margin-bottom:4rem;max-width:800px}.achievement-stats{flex-wrap:wrap;gap:3rem;justify-content:center;margin-bottom:3rem}.achievement-stats,.stat-item{align-items:center;display:flex}.stat-item{flex-direction:column;gap:.5rem}.stat-label{color:#fff9;font-size:.75rem;font-weight:600;letter-spacing:.15em;text-transform:uppercase}.stat-value{color:#fff;font-size:2rem;font-weight:700;letter-spacing:-.02em}.stat-divider{background:#fff3;height:60px;width:1px}.progress-container{margin-bottom:2rem;max-width:600px;width:100%}.progress-bar-wrapper{background:#fff3;height:2px;overflow:hidden;position:relative;width:100%}.progress-bar-fill{background:#fff;height:100%;position:relative;transition:width .6s ease}.progress-bar-fill:after{animation:shimmer 2s ease-in-out infinite;background:linear-gradient(90deg,#0000,#ffffff80,#0000);bottom:0;content:"";left:0;position:absolute;right:0;top:0}.status-badge{background:#0000;border:1px solid #ffffff4d;color:#fff9;font-size:.75rem;letter-spacing:.2em;margin-top:1rem;padding:.5rem 2rem}.status-badge.active{background:#22c55e1a;border-color:#22c55e80;color:#22c55e}.status-badge.locked{border-color:#fff3;color:#fff6}.incentives-pagination{align-items:center;bottom:3rem;color:#fff;display:flex;font-size:.875rem;font-weight:500;gap:1rem;left:50%;letter-spacing:.1em;position:fixed;transform:translateX(-50%);z-index:100}.pagination-number{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.pagination-separator{opacity:.5}.slide-arrow{align-items:center;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #fff3;color:#fff;cursor:pointer;display:flex;font-size:2rem;height:60px;justify-content:center;position:fixed;top:50%;transform:translateY(-50%);transition:all .3s ease;width:60px;z-index:100}.slide-arrow:hover{background:#ffffff1a;border-color:#fff6;transform:translateY(-50%) scale(1.1)}.slide-arrow-left{left:2rem}.slide-arrow-right{right:2rem}@media (max-width:1200px){.reward-name{font-size:6rem}}@media (max-width:768px){.incentives-logo{top:2rem}.logo-main{font-size:1.75rem}.logo-subtitle{font-size:.65rem}.incentives-content{padding:6rem 1.5rem 10rem}.reward-name{font-size:3.5rem}.reward-subtitle{font-size:1.25rem;margin-bottom:3rem}.achievement-stats{flex-direction:column;gap:2rem}.stat-divider{display:none}.slide-arrow,.stat-value{font-size:1.5rem}.slide-arrow{height:50px;width:50px}.slide-arrow-left{left:1rem}.slide-arrow-right{right:1rem}.incentives-pagination{bottom:2rem}}@media (max-width:480px){.reward-name{font-size:2.5rem}.reward-subtitle{font-size:1rem}}.leaderboard-page{align-items:center;background:linear-gradient(135deg,#0a0a0a,#1a1a1a);display:flex;justify-content:center;min-height:100vh}.leaderboard-redirect{color:#fff;text-align:center}.redirect-spinner{animation:spin .8s linear infinite;border:3px solid #ffffff1a;border-radius:50%;border-top-color:#fbbf24;height:40px;margin:0 auto 1rem;width:40px}@keyframes spin{to{transform:rotate(1turn)}}.leaderboard-redirect p{color:#ffffffb3;font-size:.875rem}.library-page{background:linear-gradient(135deg,#0a0a0a,#1a1a1a);color:#fff;font-family:Inter,sans-serif;min-height:100vh;overflow:hidden;padding:3rem 2rem;position:relative}.library-page:before{animation:float 20s ease-in-out infinite;background:radial-gradient(circle,#fbbf241a 0,#0000 70%);height:600px;right:-20%;top:-50%;width:600px}.library-page:after,.library-page:before{border-radius:50%;content:"";position:absolute}.library-page:after{animation:float 25s ease-in-out infinite reverse;background:radial-gradient(circle,#22c55e14 0,#0000 70%);bottom:-30%;height:500px;left:-10%;width:500px}@keyframes float{0%,to{transform:translate(0) scale(1)}50%{transform:translate(30px,-30px) scale(1.1)}}.library-container{margin:0 auto;max-width:1400px}.library-header{margin-bottom:3rem;text-align:center}.library-title{color:#fff;font-size:3rem;font-weight:800;letter-spacing:-.02em;margin-bottom:.5rem}.library-subtitle{color:#ffffffb3;font-size:1.125rem;font-weight:400}.library-filters{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center;margin-bottom:2rem}.filter-button{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:#ffffff14;border:1px solid #ffffff2e;border-radius:12px;color:#ffffffb3;cursor:pointer;font-family:Inter,sans-serif;font-size:.875rem;font-weight:600;letter-spacing:.05em;padding:.75rem 1.5rem;text-transform:uppercase;transition:all .3s ease}.filter-button:hover{background:#ffffff1f;border-color:#ffffff4d;box-shadow:0 4px 12px #0003;color:#fff;transform:translateY(-2px)}.filter-button.active{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:#fbbf2440;border-color:#fbbf2480;box-shadow:0 4px 16px #fbbf2433;color:#fbbf24}.library-grid{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}.library-card{backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);background:#ffffff14;border:1px solid #ffffff2e;border-radius:20px;box-shadow:0 4px 16px #0003;display:flex;flex-direction:column;gap:1rem;overflow:hidden;padding:2rem;position:relative;transition:all .3s ease}.library-card:before{background:linear-gradient(90deg,#0000,#fbbf2480,#0000);content:"";height:2px;left:0;opacity:0;position:absolute;right:0;top:0;transition:opacity .3s ease}.library-card:hover{background:#ffffff1f;border-color:#fbbf2466;box-shadow:0 12px 32px #0006;transform:translateY(-6px)}.library-card:hover:before{opacity:1}.library-card-header{align-items:center;display:flex;justify-content:space-between}.library-card-category{background:#fbbf2433;border:1px solid #fbbf244d;border-radius:6px;color:#fbbf24;font-size:.75rem;font-weight:600;letter-spacing:.05em;padding:.375rem .75rem;text-transform:uppercase}.library-card-date{color:#ffffff80;font-size:.75rem;font-weight:500}.library-card-title{color:#fff;font-size:1.25rem;font-weight:700;line-height:1.3;margin:0}.library-card-description{color:#ffffffb3;flex:1 1;font-size:.875rem;line-height:1.6}.library-card-button{background:#ffffff1a;border:1px solid #fff3;border-radius:8px;color:#fff;cursor:pointer;font-size:.875rem;font-weight:600;letter-spacing:.05em;margin-top:auto;padding:.75rem 1.5rem;text-transform:uppercase;transition:all .2s ease}.library-card-button:hover{background:#fff3;border-color:#ffffff4d}@media (max-width:768px){.library-page{padding:2rem 1rem}.library-title{font-size:2rem}.library-grid{grid-template-columns:1fr}}.sales-page{background:linear-gradient(135deg,#0a0a0a,#1a1a1a);color:#fff;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;min-height:100vh;padding:2rem 0 4rem;position:relative}.sales-container{margin:0 auto;max-width:1800px;padding:0 3rem}.sales-header{align-items:center;display:flex;flex-wrap:wrap;gap:1.5rem;justify-content:space-between;margin-bottom:3rem;padding-top:2rem}.sales-header-left{flex:1 1;min-width:0}.sales-create-order-btn{align-items:center;background:linear-gradient(135deg,#3b82f6,#2563eb);border:none;border-radius:8px;box-shadow:0 2px 8px #3b82f659;color:#fff;cursor:pointer;display:inline-flex;flex-shrink:0;font-family:Inter,sans-serif;font-size:.875rem;font-weight:600;gap:.5rem;letter-spacing:.02em;padding:.75rem 1.5rem;transition:all .2s ease}.sales-create-order-btn:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 4px 12px #3b82f673;transform:translateY(-1px)}.sales-create-order-btn:active{transform:translateY(0)}.sales-title{color:#fff;font-family:Inter,sans-serif;font-size:2.5rem;font-weight:700;letter-spacing:-.02em;margin:0 0 .5rem}.sales-subtitle{color:#fff9;font-size:.875rem;font-weight:500;letter-spacing:.15em;margin:0;text-transform:uppercase}.sales-kpi-section{margin-bottom:3rem}.sales-kpi-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.sales-kpi-card{background:#ffffff08;border:1px solid #ffffff14;border-radius:8px;display:flex;flex-direction:column;gap:.75rem;padding:1.5rem;transition:all .3s ease}.sales-kpi-card:hover{background:#ffffff0d;border-color:#ffffff1f;transform:translateY(-2px)}.sales-kpi-card.primary{background:#ffffff0d;border-color:#ffffff26}.sales-kpi-label{color:#fff9;font-family:Inter,sans-serif;font-size:.7rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase}.sales-kpi-value{font-feature-settings:"tnum";color:#fff;font-family:Inter,sans-serif;font-size:2rem;font-variant-numeric:tabular-nums;font-weight:700;letter-spacing:-.02em;line-height:1.2}.sales-kpi-subtext{color:#ffffff80;font-weight:500}.sales-kpi-change,.sales-kpi-subtext{font-family:Inter,sans-serif;font-size:.75rem}.sales-kpi-change{font-weight:600}.sales-kpi-change.positive{color:#22c55e}.sales-kpi-change.negative{color:#ef4444}.sales-orders-section{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;overflow:hidden}.sales-section-header{align-items:center;background:#2d2d2d;border-bottom:none;display:flex;justify-content:space-between;margin-bottom:0;padding:1rem 1.5rem}.sales-section-title{color:#fffc;font-family:Inter,sans-serif;font-size:.875rem;font-weight:500;letter-spacing:.02em;margin:0;text-transform:uppercase}.sales-section-actions{display:flex;gap:.75rem}.sales-export-btn,.sales-filter-btn{background:#3a3a3a;border:none;border-radius:4px;color:#fff;cursor:pointer;font-family:Inter,sans-serif;font-size:.75rem;font-weight:500;letter-spacing:.05em;padding:.5rem 1rem;text-transform:uppercase;transition:all .2s ease}.sales-export-btn:hover,.sales-filter-btn:hover{background:#4a4a4a;color:#fff}.sales-table-wrapper{-webkit-overflow-scrolling:touch;background:#fff;overflow-x:auto}.sales-orders-table{background:#fff;border-collapse:collapse;font-family:Inter,sans-serif;font-size:.875rem;width:100%}.sales-orders-table thead{background:#f8f9fa;border-bottom:1px solid #e0e0e0}.sales-orders-table th{border-right:1px solid #e0e0e0;color:#1a1a1a;font-family:Inter,sans-serif;font-size:.7rem;font-weight:600;letter-spacing:.05em;padding:.875rem .75rem;text-align:left;text-transform:uppercase;white-space:nowrap}.sales-orders-table th:last-child{border-right:none}.sales-orders-table tbody tr{background:#fff;border-bottom:1px solid #e8e8e8;transition:background .2s ease}.sales-orders-table tbody tr:hover{background:#f8f9fa}.sales-orders-table tbody tr:last-child{border-bottom:none}.sales-orders-table td{border-right:1px solid #e8e8e8;color:#1a1a1a;font-family:Inter,sans-serif;font-weight:400;padding:.875rem .75rem;white-space:nowrap}.sales-orders-table td:last-child{border-right:none}.status-badge{border-radius:4px;color:#fff;display:inline-block;font-family:Inter,sans-serif;font-size:.7rem;font-weight:600;letter-spacing:.05em;padding:.35rem .75rem;text-transform:uppercase;white-space:nowrap}.status-open{background:#60a5fa;border:none}.status-dispatched{background:#4ade80;border:none}.status-completed{background:#22c55e;border:none}.ref-cell{align-items:center;display:flex;gap:.5rem}.ref-icon{border:1.5px solid #6b7280;border-radius:2px;flex-shrink:0;height:12px;position:relative;width:12px}.ref-icon:before{border:1px solid #9ca3af;border-radius:1px;bottom:2px;content:"";left:2px;position:absolute;right:2px;top:2px}.total-cell{font-feature-settings:"tnum";color:#1a1a1a;font-variant-numeric:tabular-nums;font-weight:600}.invoice-badge{background:#f3f4f6;border:1px solid #e5e7eb;border-radius:4px;color:#374151;display:inline-block;font-family:Inter,sans-serif;font-size:.7rem;font-weight:500;padding:.25rem .5rem;text-transform:capitalize}@media (max-width:1400px){.sales-container{padding:0 2rem}}@media (max-width:1024px){.sales-kpi-grid{gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.sales-orders-table{font-size:.8rem}.sales-orders-table td,.sales-orders-table th{padding:.75rem .5rem}}@media (max-width:768px){.sales-container{padding:0 1.5rem}.sales-title{font-size:2rem}.sales-kpi-grid{grid-template-columns:1fr}.sales-section-header{align-items:flex-start;flex-direction:column;gap:1rem}.sales-orders-section{padding:1.5rem}.sales-table-wrapper{overflow-x:scroll}.sales-orders-table{min-width:1200px}}@media (max-width:480px){.sales-container{padding:0 1rem}.sales-title{font-size:1.75rem}.sales-kpi-value{font-size:1.5rem}.sales-orders-section{padding:1rem}}.create-order-overlay{align-items:center;animation:createOrderFadeIn .2s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0009;display:flex;inset:0;justify-content:center;overflow-y:auto;padding:2rem;position:fixed;z-index:1000}@keyframes createOrderFadeIn{0%{opacity:0}to{opacity:1}}.create-order-modal{animation:createOrderSlideIn .25s ease;background:#1a1a1a;border:1px solid #ffffff1a;border-radius:12px;box-shadow:0 24px 48px #00000080;display:flex;flex-direction:column;max-height:calc(100vh - 4rem);max-width:900px;width:100%}@keyframes createOrderSlideIn{0%{opacity:0;transform:scale(.98) translateY(10px)}to{opacity:1;transform:scale(1) translateY(0)}}.create-order-modal-header{border-bottom:1px solid #ffffff14;flex-shrink:0;padding:1.5rem 1.75rem;position:relative}.create-order-modal-title{color:#fff;font-family:Inter,sans-serif;font-size:1.375rem;font-weight:700;letter-spacing:-.02em;margin:0 0 .25rem}.create-order-modal-subtitle{color:#ffffff8c;font-family:Inter,sans-serif;font-size:.75rem;letter-spacing:.1em;margin:0;text-transform:uppercase}.create-order-close{align-items:center;background:#ffffff0f;border:none;border-radius:8px;color:#fffc;cursor:pointer;display:flex;font-size:1.5rem;height:36px;justify-content:center;line-height:1;padding:0;position:absolute;right:1.25rem;top:1.25rem;transition:background .2s,color .2s;width:36px}.create-order-close:hover{background:#ffffff1f;color:#fff}.create-order-modal-body{flex:1 1;overflow-y:auto;padding:1.5rem 1.75rem}.create-order-section{margin-bottom:1.75rem}.create-order-section:last-of-type{margin-bottom:0}.create-order-section-title{color:#fff9;font-family:Inter,sans-serif;font-size:.7rem;font-weight:600;letter-spacing:.12em;margin:0 0 .75rem;text-transform:uppercase}.create-order-grid{grid-gap:.75rem 1rem;display:grid;gap:.75rem 1rem}.create-order-grid-2{grid-template-columns:repeat(2,1fr)}.create-order-grid-3{grid-template-columns:repeat(3,1fr)}.create-order-field{display:flex;flex-direction:column;gap:.35rem}.create-order-field.full{grid-column:1/-1}.create-order-field label{color:#ffffff8c;font-family:Inter,sans-serif;font-size:.7rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase}.create-order-field input,.create-order-field select{background:#ffffff0f;border:1px solid #ffffff1f;border-radius:6px;color:#fff;font-family:Inter,sans-serif;font-size:.875rem;padding:.6rem .75rem;transition:border-color .2s,background .2s;width:100%}.create-order-field input::placeholder{color:#ffffff59}.create-order-field input:focus,.create-order-field select:focus{background:#ffffff14;border-color:#3b82f6;outline:none}.create-order-field select{-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath fill='rgba(255,255,255,0.5)' d='M6 8 1 3h10z'/%3E%3C/svg%3E");background-position:right .75rem center;background-repeat:no-repeat;cursor:pointer;padding-right:2rem}.create-order-line-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:.75rem}.create-order-add-line{background:none;border:none;color:#3b82f6;cursor:pointer;font-family:Inter,sans-serif;font-size:.75rem;font-weight:600;padding:.35rem .5rem}.create-order-add-line:hover{color:#60a5fa;text-decoration:underline}.create-order-line-table-wrap{background:#0003;border:1px solid #ffffff1a;border-radius:8px;overflow-x:auto}.create-order-line-table{border-collapse:collapse;font-family:Inter,sans-serif;font-size:.8125rem;width:100%}.create-order-line-table th{background:#ffffff0a;border-bottom:1px solid #ffffff14;color:#fff9;font-weight:600;letter-spacing:.05em;padding:.6rem .75rem;text-align:left;text-transform:uppercase}.create-order-line-table td{border-bottom:1px solid #ffffff0f;padding:.5rem .75rem;vertical-align:middle}.create-order-line-table tbody tr:last-child td{border-bottom:none}.create-order-line-table .col-qty{width:80px}.create-order-line-table .col-price{width:110px}.create-order-line-table .col-total{color:#fff;font-weight:600;width:100px}.create-order-line-table .col-action{width:44px}.create-order-line-table td input{background:#ffffff0f;border:1px solid #ffffff1a;border-radius:4px;color:#fff;font-size:.8125rem;padding:.45rem .5rem;width:100%}.create-order-line-table td input:focus{border-color:#3b82f6;outline:none}.create-order-remove-line{align-items:center;background:#ef444433;border:none;border-radius:4px;color:#f87171;cursor:pointer;display:inline-flex;font-size:1.1rem;height:28px;justify-content:center;line-height:1;padding:0;width:28px}.create-order-remove-line:hover:not(:disabled){background:#ef444459;color:#fff}.create-order-remove-line:disabled{cursor:not-allowed;opacity:.4}.create-order-totals{border-top:1px solid #ffffff14;margin-top:1rem;padding-top:1.25rem}.create-order-totals-grid{display:flex;flex-wrap:wrap;gap:2rem;justify-content:flex-end}.create-order-tax-field{max-width:100px}.create-order-summary{display:flex;flex-direction:column;gap:.5rem;min-width:220px}.create-order-summary-row{color:#ffffffbf;display:flex;font-size:.875rem;justify-content:space-between}.create-order-summary-row.total{border-top:1px solid #ffffff1f;color:#fff;font-size:1rem;font-weight:700;margin-top:.25rem;padding-top:.5rem}.create-order-modal-footer{background:#00000026;border-radius:0 0 12px 12px;border-top:1px solid #ffffff14;display:flex;flex-shrink:0;gap:.75rem;justify-content:flex-end;padding:1.25rem 1.75rem}.create-order-btn{border:none;border-radius:8px;cursor:pointer;font-family:Inter,sans-serif;font-size:.875rem;font-weight:600;padding:.65rem 1.25rem;transition:all .2s}.create-order-btn.secondary{background:#ffffff14;border:1px solid #ffffff26;color:#ffffffe6}.create-order-btn.secondary:hover{background:#ffffff1f;color:#fff}.create-order-btn.primary{background:linear-gradient(135deg,#3b82f6,#2563eb);box-shadow:0 2px 8px #3b82f659;color:#fff}.create-order-btn.primary:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 4px 12px #3b82f673;transform:translateY(-1px)}@media (max-width:768px){.create-order-grid-2,.create-order-grid-3{grid-template-columns:1fr}.create-order-totals-grid{align-items:stretch;flex-direction:column}.create-order-tax-field{max-width:none}}.admin-login{align-items:center;background:linear-gradient(135deg,#0a0a0a,#1a1a1a);color:#fff;display:flex;justify-content:center;min-height:100vh}.admin-login-box{backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);background:#ffffff14;border:1px solid #ffffff2e;border-radius:20px;box-shadow:0 8px 32px #0000004d;max-width:400px;overflow:hidden;padding:3rem;position:relative;width:100%}.admin-login-box:before{animation:liquid-move 20s ease-in-out infinite;background:radial-gradient(circle,#fbbf241a 0,#0000 70%);content:"";height:200%;left:-50%;position:absolute;top:-50%;width:200%}@keyframes liquid-move{0%,to{transform:translate(0) rotate(0deg)}50%{transform:translate(30px,30px) rotate(180deg)}}.admin-login-box h2{font-size:1.5rem;font-weight:700;margin-bottom:2rem;text-align:center}.admin-password-input{background:#ffffff1a;border:1px solid #fff3;border-radius:8px;color:#fff;font-size:1rem;margin-bottom:1rem;padding:.75rem 1rem;width:100%}.admin-password-input::placeholder{color:#ffffff80}.admin-error{color:#ef4444;font-size:.875rem;margin-bottom:1rem;text-align:center}.admin-login-button{background:#fbbf24;border:none;border-radius:8px;color:#000;cursor:pointer;font-size:1rem;font-weight:600;padding:.75rem 1.5rem;transition:all .2s ease;width:100%}.admin-login-button:hover{background:#f59e0b}.admin-page{background:linear-gradient(135deg,#0a0a0a,#1a1a1a);color:#fff;min-height:100vh;padding:2rem}.admin-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:2rem}.admin-header h1{font-size:2rem;font-weight:800;margin:0}.admin-logout-button{background:#ef444433;border:1px solid #ef444466;border-radius:8px;color:#ef4444;cursor:pointer;font-size:.875rem;font-weight:600;padding:.75rem 1.5rem;transition:all .2s ease}.admin-logout-button:hover{background:#ef44444d}.admin-tabs{border-bottom:1px solid #ffffff1a;display:flex;gap:.5rem;margin-bottom:2rem}.admin-tab{background:#0000;border:none;border-bottom:2px solid #0000;color:#ffffffb3;cursor:pointer;font-size:.875rem;font-weight:600;letter-spacing:.05em;padding:.75rem 1.5rem;text-transform:uppercase;transition:all .2s ease}.admin-tab:hover{color:#fff}.admin-tab.active{border-bottom-color:#fbbf24;color:#fbbf24}.admin-content{margin:0 auto;max-width:1200px}.admin-section{backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);background:#ffffff14;border:1px solid #ffffff2e;border-radius:20px;box-shadow:0 8px 32px #0003;margin-bottom:2rem;overflow:hidden;padding:2rem;position:relative}.admin-section:before{animation:shimmer 3s ease-in-out infinite;background:linear-gradient(90deg,#0000,#fbbf2480,#0000);content:"";height:2px;left:0;position:absolute;right:0;top:0}@keyframes shimmer{0%,to{opacity:.3}50%{opacity:1}}.admin-section h2{color:#fbbf24;font-size:1.5rem;font-weight:700;margin-bottom:1.5rem}.admin-form{display:flex;flex-direction:column;gap:1rem}.form-row{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(2,1fr)}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{color:#ffffffe6;font-size:.875rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase}.form-group input,.form-group textarea{background:#ffffff1a;border:1px solid #fff3;border-radius:8px;color:#fff;font-family:inherit;font-size:1rem;padding:.75rem 1rem}.form-group input::placeholder,.form-group textarea::placeholder{color:#ffffff80}.form-group textarea{min-height:100px;resize:vertical}.form-group label input[type=checkbox]{margin-right:.5rem;width:auto}.form-actions{display:flex;gap:1rem;margin-top:1rem}.admin-save-button{background:#22c55e;border:none;border-radius:8px;color:#000;cursor:pointer;font-size:.875rem;font-weight:600;letter-spacing:.05em;padding:.75rem 1.5rem;text-transform:uppercase;transition:all .2s ease}.admin-save-button:hover{background:#16a34a}.admin-cancel-button{background:#ffffff1a;border:1px solid #fff3;border-radius:8px;color:#fff;cursor:pointer;font-size:.875rem;font-weight:600;letter-spacing:.05em;padding:.75rem 1.5rem;text-transform:uppercase;transition:all .2s ease}.admin-cancel-button:hover{background:#fff3}.admin-list{backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);background:#ffffff14;border:1px solid #ffffff2e;border-radius:20px;box-shadow:0 8px 32px #0003;padding:2rem}.drag-hint{color:#ffffff80;font-size:.75rem;font-style:italic;font-weight:400;margin-left:.5rem}.admin-list h3{color:#fbbf24;font-size:1.25rem;font-weight:700;margin-bottom:1.5rem}.admin-item{align-items:center;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:#ffffff14;border:1px solid #ffffff2e;border-radius:12px;cursor:move;display:flex;justify-content:space-between;margin-bottom:.75rem;padding:1rem;position:relative;transition:all .3s ease}.admin-item:hover{background:#ffffff1f;border-color:#fbbf2466;box-shadow:0 4px 16px #0000004d;transform:translateY(-2px)}.admin-item.dragging{opacity:.5;transform:scale(.95)}.admin-item-drag-handle{color:#fff6;cursor:grab;font-size:1.2rem;letter-spacing:-.2em;line-height:1;margin-right:1rem;-webkit-user-select:none;user-select:none}.admin-item-drag-handle:active{cursor:grabbing}.admin-item:hover .admin-item-drag-handle{color:#fbbf24cc}.admin-item-info{display:flex;flex:1 1;flex-direction:column;gap:.5rem}.admin-item-info strong{color:#fff;font-size:1rem}.file-meta{color:#ffffffb3;display:flex;font-size:.875rem;gap:1rem}.file-meta a{color:#fbbf24;text-decoration:none}.file-meta a:hover{text-decoration:underline}.active-badge{background:#22c55e33;border:1px solid #22c55e66;border-radius:4px;color:#22c55e;display:inline-block;font-size:.75rem;font-weight:600;margin-left:.5rem;padding:.25rem .5rem}.admin-item-actions{display:flex;gap:.5rem}.admin-item-actions button{background:#ffffff1a;border:1px solid #fff3;border-radius:6px;color:#fff;cursor:pointer;font-size:.875rem;font-weight:600;padding:.5rem 1rem;transition:all .2s ease}.admin-item-actions button:hover{background:#fff3}.delete-button{background:#ef444433!important;border-color:#ef444466!important;color:#ef4444!important}.delete-button:hover{background:#ef44444d!important}.folder-list{display:flex;flex-direction:column;gap:.5rem}.folder-item-container{align-items:center;display:flex;gap:1rem}.folder-item{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;color:#ffffffb3;cursor:pointer;flex:1 1;font-size:.875rem;font-weight:600;padding:.75rem 1rem;text-align:left;transition:all .2s ease}.folder-item:hover{background:#ffffff1a;color:#fff}.folder-item.active{background:#fbbf2433;border-color:#fbbf2466;color:#fbbf24}.folder-actions{display:flex;gap:.5rem}.folder-actions button{background:#ffffff1a;border:1px solid #fff3;border-radius:6px;color:#fff;cursor:pointer;font-size:.875rem;font-weight:600;padding:.5rem 1rem;transition:all .2s ease}.folder-actions button:hover{background:#fff3}.file-upload-section{margin-bottom:1rem}.file-upload-label{background:#fbbf24;border:none;border-radius:8px;color:#000;cursor:pointer;display:inline-block;font-size:.875rem;font-weight:600;letter-spacing:.05em;padding:.75rem 1.5rem;text-transform:uppercase;transition:all .2s ease}.file-upload-label:hover{background:#f59e0b}.upload-note{color:#ffffffb3;font-size:.875rem;margin-top:.5rem}.admin-create-button{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:linear-gradient(135deg,#fbbf244d,#fbbf2433);border:1px solid #fbbf2466;border-radius:12px;color:#fbbf24;cursor:pointer;font-family:Inter,sans-serif;font-size:.875rem;font-weight:600;letter-spacing:.05em;padding:.75rem 1.5rem;text-transform:uppercase;transition:all .3s ease}.admin-create-button:hover{background:linear-gradient(135deg,#fbbf2466,#fbbf244d);border-color:#fbbf2499;box-shadow:0 4px 16px #fbbf244d;transform:translateY(-2px)}.modal-overlay{align-items:center;animation:fadeIn .3s ease;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);background:#000000b3;bottom:0;display:flex;justify-content:center;left:0;padding:2rem;position:fixed;right:0;top:0;z-index:10000}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{animation:slideUp .3s ease;backdrop-filter:blur(30px) saturate(180%);-webkit-backdrop-filter:blur(30px) saturate(180%);background:#141414f2;border:1px solid #fff3;border-radius:24px;box-shadow:0 20px 60px #00000080;max-height:90vh;max-width:700px;overflow-y:auto;padding:0;position:relative;width:100%}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.modal-content:before{animation:liquid-flow 3s ease-in-out infinite;background:linear-gradient(90deg,#0000,#fbbf2499,#fbbf24cc,#fbbf2499,#0000);content:"";height:3px;left:0;position:absolute;right:0;top:0}@keyframes liquid-flow{0%,to{transform:translateX(-100%)}50%{transform:translateX(100%)}}.modal-header{align-items:center;border-bottom:1px solid #ffffff1a;display:flex;justify-content:space-between;padding:2rem 2rem 1rem}.modal-header h2{color:#fbbf24;font-family:Inter,sans-serif;font-size:1.75rem;font-weight:700;margin:0}.modal-close{align-items:center;background:#ffffff1a;border:1px solid #fff3;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-family:Inter,sans-serif;font-size:1.5rem;height:36px;justify-content:center;line-height:1;transition:all .2s ease;width:36px}.modal-close:hover{background:#ef44444d;border-color:#ef444480;transform:rotate(90deg)}.modal-content .admin-form{padding:2rem}.image-preview-container{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;margin-bottom:1rem;overflow:hidden;position:relative}.image-preview{display:block;max-height:300px;object-fit:contain;width:100%}.delete-image-button{background:#ef4444e6;border:1px solid #ef4444;border-radius:6px;color:#fff;cursor:pointer;font-size:.875rem;font-weight:600;padding:.5rem 1rem;position:absolute;right:.5rem;top:.5rem;transition:all .2s ease;z-index:10}.delete-image-button:hover{background:#ef4444;transform:scale(1.05)}.image-upload-placeholder{background:#ffffff0d;border:2px dashed #fff3;border-radius:8px;margin-bottom:.5rem;padding:2rem;text-align:center}.image-upload-placeholder p{color:#ffffff80;font-size:.875rem;margin:0}.admin-cancel-button:disabled,.admin-save-button:disabled{cursor:not-allowed;opacity:.5;pointer-events:none}@media (max-width:768px){.admin-page{padding:1rem}.form-row{grid-template-columns:1fr}.admin-item{align-items:flex-start;flex-direction:column;gap:1rem}.admin-item-actions{justify-content:flex-end;width:100%}.image-preview{max-height:200px}}
/*# sourceMappingURL=main.231923ac.css.map*/