:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}*{margin:0;padding:0;box-sizing:border-box}body{margin-top:20px;display:grid;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;background:#f0f8ff;min-height:100vh;padding:20px}.app{max-width:1200px;margin:0 auto;background:#fff;border-radius:20px;box-shadow:0 20px 60px #0000004d;overflow:hidden}.header{position:fixed;top:0;left:0;right:0;background:#e53e3e;color:#fff;padding:30px;text-align:center;border-radius:0;z-index:1000;box-shadow:0 2px 10px #0000001a}.header h1{font-size:2.5rem;margin-bottom:10px}.header p{opacity:.9;font-size:1.1rem}.page{padding-top:120px}@media(max-width:768px){.header{padding:20px}.page{padding-top:46px;margin-top:-26px}}.stats-bar{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-bottom:30px}.stat-card{background:#f8f9fa;color:#e53e3e;padding:20px;border-radius:12px;text-align:center;box-shadow:0 4px 15px #0000001a}.stat-number{display:block;font-size:2.5rem;font-weight:700;margin-bottom:5px}.stat-label{font-size:.9rem;opacity:.9}.controls{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;flex-wrap:wrap;gap:20px}.btn{padding:12px 24px;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;min-width:100px;min-height:40px}.btn-primary{background:linear-gradient(135deg,#4caf50,#45a049);color:#fff}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 5px 15px #4caf5066}.btn-success{background:linear-gradient(135deg,#4caf50,#45a049);color:#fff}.btn-warning{background:linear-gradient(135deg,#ff9800,#f57c00);color:#fff}.btn-secondary{background:#6c757d;color:#fff}.btn-export{background:linear-gradient(135deg,#2196f3,#1976d2);color:#fff}.search-filter{display:flex;gap:15px;flex-wrap:wrap}.search-input{padding:12px 20px;border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;min-width:300px}.filter-select{padding:12px 20px;border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;background:#fff}.add-form{background:#f8f9fa;padding:25px;border-radius:12px;margin-bottom:30px;border:2px dashed #dee2e6}.form-group{color:#000;margin-bottom:px}.add-form h3{margin-bottom:20px;color:#333}.form-modal{position:fixed!important;inset:0!important;z-index:1000!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#00000080!important;overflow:auto!important}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px;margin-bottom:20px}.form-group{margin-bottom:15px}.auth-panel h2{margin-bottom:20px;color:#333}.form-grid input{padding:12px;border:2px solid #e0e0e0;border-radius:8px;font-size:1rem}.form-grid input,.form-grid textarea,.search-input,.filter-select,input,textarea,select{background:#fff;color:#222;padding:12px;border:1px solid #e6e9ef;border-radius:8px;font-size:1rem;box-shadow:inset 0 1px 2px #0000000a;outline:none}.form-grid input:focus,.form-grid textarea:focus,.search-input:focus,.filter-select:focus,input:focus,textarea:focus,select:focus{border-color:#a7c1ff;box-shadow:0 0 0 4px #6797ff1f}.form-grid input::placeholder,.form-grid textarea::placeholder,.search-input::placeholder,input::placeholder,textarea::placeholder{color:#00000073;opacity:1}.form-actions{display:flex;gap:15px}.orders-list{display:flex;flex-direction:column;gap:25px;margin-bottom:40px}.order-card{border:1px solid #e0e0e0;border-radius:12px;padding:25px;margin-top:30px;background:#fff;transition:all .3s ease;box-shadow:0 4px 6px #0000000d}.order-card:hover{box-shadow:0 8px 25px #0000001a;transform:translateY(-2px)}.order-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:15px;border-bottom:2px solid #f0f0f0}.order-id-status{display:flex;align-items:center;gap:15px}.order-id{font-size:1.2rem;font-weight:700;color:#333}.status-badge{padding:6px 12px;border-radius:20px;font-size:.85rem;font-weight:600}.status-deposit_received{background:#ff9800;color:#fff}.status-sourced{background:#2196f3;color:#fff}.status-purchased{background:#4caf50;color:#fff}.status-export_docs{background:#9c27b0;color:#fff}.status-shipped{background:#ff5722;color:#fff}.status-arrived{background:#3f51b5;color:#fff}.status-balance_paid{background:#009688;color:#fff}.status-delivered{background:#607d8b;color:#fff}.order-dates{display:flex;gap:15px;font-size:.9rem;color:#666}.order-body{display:grid;grid-template-columns:2fr 1fr;gap:30px;margin-bottom:25px}.customer-info h3{font-size:1.3rem;margin-bottom:10px;color:#333}.phone,.car-requested{color:#666;margin-bottom:8px;font-size:1rem}.financial-info{color:#000;background:#f8f9fa;padding:20px;border-radius:8px}.amount-row{display:flex;justify-content:space-between;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid #e0e0e0}.amount-row:last-child{margin-bottom:0;border-bottom:none}.amount{font-weight:700;font-size:1.1rem}.balance-due{color:#ff5722}.progress-tracker{margin:25px 0}.progress-bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;margin-top:10px;width:100%}.progress-step{display:flex;flex-direction:column;align-items:center;position:relative;flex:1}.progress-step.active .step-dot{background:#4caf50;transform:scale(1.2)}.progress-step.active:before{content:"";position:absolute;top:50%;left:-50%;right:50%;height:3px;background:#4caf50;z-index:1}.progress-step:first-child.active:before{display:none}.step-dot{width:20px;height:20px;background:#e0e0e0;border-radius:50%;margin-bottom:5px;position:relative;z-index:2;transition:all .25s ease}.progress-step:before{content:"";position:absolute;top:50%;left:-50%;right:50%;height:3px;background:#e0e0e0;z-index:1;transform:translateY(-50%);transition:background .25s ease}.progress-step:first-child:before{display:none}.progress-step:nth-child(1).active .step-dot{background:#e53935}.progress-step:nth-child(2).active .step-dot{background:#fb8c00}.progress-step:nth-child(3).active .step-dot{background:#fdd835}.progress-step:nth-child(4).active .step-dot{background:#8e24aa}.progress-step:nth-child(5).active .step-dot{background:#ff7043}.progress-step:nth-child(6).active .step-dot{background:#3949ab}.progress-step:nth-child(7).active .step-dot{background:#009688}.progress-step:nth-child(8).active .step-dot{background:#43a047}.progress-step:nth-child(2).active:before{background:linear-gradient(90deg,#df1616,#df3e16)}.progress-step:nth-child(3).active:before{background:linear-gradient(90deg,#df3e16,#df6616)}.progress-step:nth-child(4).active:before{background:linear-gradient(90deg,#df6616,#da8d1b)}.progress-step:nth-child(5).active:before{background:linear-gradient(90deg,#da8d1b,#dac01b)}.progress-step:nth-child(6).active:before{background:linear-gradient(90deg,#d7bf1d,#bfd71d)}.progress-step:nth-child(7).active:before{background:linear-gradient(90deg,#bdd520,#86d520)}.progress-step:nth-child(8).active:before{background:linear-gradient(90deg,#86d322,#52c520)}.step-dot,.progress-step:before{transition:background .3s ease,transform .2s ease,opacity .2s ease}@media(max-width:480px){.progress-bar[data-current="7"] .progress-step:nth-child(8) .step-dot{background:linear-gradient(135deg,#52c520,#1daf1d);width:28px;height:28px;transform:scale(1.1)}}@media(max-width:480px){.progress-bar{justify-content:center;gap:18px}.progress-step{display:none}.progress-bar[data-current="0"] .progress-step:nth-child(1),.progress-bar[data-current="0"] .progress-step:nth-child(2){display:flex;flex-direction:column;align-items:center}.progress-bar[data-current="0"] .progress-step:nth-child(1):after{content:"· · ·";color:#bbb;font-size:14px;margin-top:6px}.progress-bar[data-current="1"] .progress-step:nth-child(1),.progress-bar[data-current="1"] .progress-step:nth-child(2),.progress-bar[data-current="1"] .progress-step:nth-child(3){display:flex;flex-direction:column;align-items:center}.progress-bar[data-current="1"] .progress-step:nth-child(1):after,.progress-bar[data-current="1"] .progress-step:nth-child(2):after{content:"· · ·";color:#bbb;font-size:14px;margin-top:6px}.progress-bar[data-current="2"] .progress-step:nth-child(1),.progress-bar[data-current="2"] .progress-step:nth-child(3),.progress-bar[data-current="2"] .progress-step:nth-child(4){display:flex;flex-direction:column;align-items:center}.progress-bar[data-current="2"] .progress-step:nth-child(1):after,.progress-bar[data-current="2"] .progress-step:nth-child(3):after{content:"· · ·";color:#bbb;font-size:14px;margin-top:6px}.progress-bar[data-current="3"] .progress-step:nth-child(1),.progress-bar[data-current="3"] .progress-step:nth-child(4),.progress-bar[data-current="3"] .progress-step:nth-child(5){display:flex;flex-direction:column;align-items:center}.progress-bar[data-current="3"] .progress-step:nth-child(1):after,.progress-bar[data-current="3"] .progress-step:nth-child(4):after{content:"· · ·";color:#bbb;font-size:14px;margin-top:6px}.progress-bar[data-current="4"] .progress-step:nth-child(1),.progress-bar[data-current="4"] .progress-step:nth-child(5),.progress-bar[data-current="4"] .progress-step:nth-child(6){display:flex;flex-direction:column;align-items:center}.progress-bar[data-current="4"] .progress-step:nth-child(1):after,.progress-bar[data-current="4"] .progress-step:nth-child(5):after{content:"· · ·";color:#bbb;font-size:14px;margin-top:6px}.progress-bar[data-current="5"] .progress-step:nth-child(1),.progress-bar[data-current="5"] .progress-step:nth-child(6),.progress-bar[data-current="5"] .progress-step:nth-child(7){display:flex;flex-direction:column;align-items:center}.progress-bar[data-current="5"] .progress-step:nth-child(1):after,.progress-bar[data-current="5"] .progress-step:nth-child(6):after{content:"· · ·";color:#bbb;font-size:14px;margin-top:6px}.progress-bar[data-current="6"] .progress-step:nth-child(1),.progress-bar[data-current="6"] .progress-step:nth-child(7),.progress-bar[data-current="6"] .progress-step:nth-child(8){display:flex;flex-direction:column;align-items:center}.progress-bar[data-current="6"] .progress-step:nth-child(1):after,.progress-bar[data-current="6"] .progress-step:nth-child(7):after{content:"· · ·";color:#bbb;font-size:14px;margin-top:6px}.progress-bar[data-current="7"] .progress-step:nth-child(8){display:flex;flex-direction:column;align-items:center}.progress-bar[data-current="7"] .progress-step:nth-child(8) .step-dot{width:28px;height:28px;background:#43a047;transform:scale(1.1)}.progress-step .step-dot{width:22px;height:22px}}@media(max-width:768px){.app{border-radius:0}.order-body{grid-template-columns:1fr;gap:20px}.search-input{min-width:100%}.controls{flex-direction:column;align-items:stretch}.progress-labels span{font-size:.6rem}.order-header{flex-direction:column;align-items:flex-start;gap:15px}.status-buttons{flex-direction:column;width:100%}.status-buttons button{width:100%}}.dates-timeline{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:12px;font-size:.95rem;color:#666}.dates-timeline span{background:#f1f3f5;padding:8px 10px;border-radius:8px;display:inline-flex;align-items:center;gap:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;max-width:100%}@media(max-width:480px){.dates-timeline{gap:6px;font-size:.85rem}.dates-timeline span{flex:1 1 100%;padding:6px 8px}}@media(min-width:481px)and (max-width:768px){.dates-timeline span{flex:1 1 calc(50% - 8px);padding:6px 8px}}@media(max-width:480px){.progress-bar[data-current="7"] .progress-step{display:none!important}.progress-bar[data-current="7"] .progress-step:nth-child(8){display:flex!important;flex-direction:column;align-items:center;justify-content:center;position:relative;z-index:3}.progress-bar[data-current="7"] .progress-step:nth-child(8):before,.progress-bar[data-current="7"] .progress-step:nth-child(8):after{display:none!important;content:none!important}.progress-bar[data-current="7"]:before,.progress-bar[data-current="7"]:after{display:none!important;content:none!important}.progress-bar[data-current="7"] .progress-step:nth-child(8) .step-dot{width:32px!important;height:32px!important;background:linear-gradient(135deg,#52c520,#1daf1d)!important;box-shadow:0 8px 20px #43a04738!important;transform:scale(1.1)!important;border:none!important}}.id-and-meta{display:flex;align-items:center;gap:8px}.compact-meta{display:flex;flex-direction:column;margin-top:4px;min-width:0}.compact-car{font-weight:600;color:#222;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.compact-details{font-size:.85rem;color:#777;display:flex;gap:6px;align-items:center;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.compact-year,.compact-color,.compact-date{opacity:.95}.compact-sep{color:#bbb;margin:0 4px}.compact-notes{display:flex;align-items:center;gap:8px;color:#666;font-size:.85rem;margin-top:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:46ch}.compact-notes .notes-icon{flex:0 0 auto;opacity:.9}.compact-notes .notes-text{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}.order-body .notes{margin-top:8px;background:#fbfcfe;border:1px solid #eef3fb;padding:8px 10px;border-radius:6px;color:#333;font-size:.95rem;line-height:1.25;white-space:normal;word-break:break-word}@media(max-width:420px){.compact-notes{max-width:28ch;font-size:.8rem;gap:6px}}.group-header,.month-header{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;background:#fafbfc;border:1px solid #eef2f6;border-radius:8px;margin-bottom:8px;cursor:pointer;gap:12px}.group-header:hover,.month-header:hover{background:#f4f6f9}.group-header-left,.month-left{display:flex;align-items:center;gap:8px}.group-year{color:#000;font-weight:700;font-size:1.02rem}.month-name{color:#000;font-size:1rem;font-weight:600}.group-count,.month-count{color:#0c0101;font-weight:600}.months-list{margin:10px 6px 16px;padding-left:6px}.month-group{margin-bottom:10px}.month-orders{margin-top:8px;display:grid;gap:10px}@media(max-width:560px){.group-header,.month-header{padding:8px 10px}.group-year{font-size:.98rem}.month-name{color:#000;font-size:.95rem;font-weight:600}}.stat-card.active-clickable{cursor:pointer;transition:background .18s ease,transform .18s ease,box-shadow .18s ease}.stat-card.active-clickable:hover{transform:translateY(-3px);box-shadow:0 12px 28px #0000002e;background:linear-gradient(135deg,#ad8285,#5b1e21)}.stat-card.active-clickable.active-filter:hover{transform:translateY(-3px);box-shadow:0 12px 28px #0000002e}.auth-header{background:#f8f9fa;padding:15px 30px;border-bottom:1px solid #e0e0e0;display:flex;justify-content:flex-end;align-items:center;gap:12px}.user-info,.auth-actions{display:flex;align-items:center;gap:15px}.user-email{color:#666;font-size:.9rem}.btn-auth{background:#6c757d;color:#fff;padding:8px 16px;font-size:.9rem;border:none;border-radius:6px;cursor:pointer}.btn-auth:hover{opacity:.95}.btn-signup{background:#28a745}.btn-sync{background:#17a2b8;color:#fff;padding:8px 16px;font-size:.9rem;border:none;border-radius:6px;cursor:pointer}.btn-sync:disabled{opacity:.6;cursor:not-allowed}.cloud-hint{color:#666;font-size:.85rem;font-style:italic}.sync-status{color:#28a745;font-size:.85rem;animation:fadeIn .3s ease}.whatsapp-menu{position:fixed;inset:0;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:2000}.whatsapp-menu-content{background:#fff;padding:30px;border-radius:12px;max-width:400px;width:90%;display:flex;flex-direction:column;gap:15px;box-shadow:0 10px 30px #0000002e}.btn-whatsapp{background:linear-gradient(135deg,#25d366,#128c7e);color:#fff;padding:12px 20px;text-align:left;display:flex;align-items:center;gap:10px;border:none;border-radius:8px;cursor:pointer}.btn-whatsapp:hover{background:linear-gradient(135deg,#128c7e,#075e54)}.btn-icon-whatsapp{color:#25d366;font-size:1.2rem;background:transparent;border:none;cursor:pointer;padding:6px;border-radius:6px}.btn-icon img{width:20px;height:20px}.btn-icon-whatsapp:hover{background:#25d3660f}.btn-text{background:none;color:#007bff;text-decoration:underline;padding:0;font-size:.9rem;border:none;cursor:pointer}.btn-text:hover{color:#0056b3}.loading-overlay{position:fixed;inset:0;background:#fffc;display:flex;justify-content:center;align-items:center;z-index:3000}.loading-spinner{border:4px solid #f3f3f3;border-top:4px solid #3498db;border-radius:50%;width:40px;height:40px;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@media(max-width:768px){.auth-header{padding:10px 20px;justify-content:center}.user-info,.auth-actions{flex-wrap:wrap;gap:10px}.user-email{font-size:.8rem}.btn-auth,.btn-sync{font-size:.8rem;padding:6px 12px}}.home-header{display:flex;justify-content:flex-end;padding:10px 20px}.profile-icon{background:#fff;border:none;font-size:1.5rem;cursor:pointer;padding:5px;border-radius:50%}.profile-icon:hover{background:#0000001a}.sidebar-overlay{position:fixed!important;inset:0!important;background:#00000080!important;z-index:9999!important;display:flex!important;justify-content:flex-end!important;align-items:stretch!important}.sidebar{background:#fff!important;width:300px!important;height:100vh!important;padding:20px!important;box-shadow:-2px 0 10px #0000001a!important;display:flex!important;flex-direction:column!important;border-left:2px solid #ccc!important;transform:translate(0)!important}.sidebar-header{display:flex!important;justify-content:space-between!important;align-items:center!important;margin-bottom:20px!important}.close-sidebar{background:none!important;border:none!important;font-size:1.5rem!important;cursor:pointer!important;color:#333!important}.sidebar-content{flex:1!important;display:flex!important;flex-direction:column!important;gap:10px!important}.btn-logout{background:#dc3545!important;color:#fff!important;padding:10px 20px!important;border:none!important;border-radius:5px!important;cursor:pointer!important;width:100%!important;margin-top:auto!important}.btn-logout:hover{background:#c82333!important}.google-signin{margin-top:20px;text-align:center}.btn-google{background:#4285f4;color:#fff;padding:10px 20px;border:none;border-radius:5px;cursor:pointer;font-size:.9rem;display:inline-flex;align-items:center;gap:10px}.btn-google:hover{background:#3367d6}.btn-google:disabled{opacity:.6;cursor:not-allowed}.menu-wrapper{position:relative;display:inline-block}.menu-dropdown{position:absolute;top:100%;right:0;background:#fff;border-radius:8px;box-shadow:0 8px 24px #0000001f;min-width:140px;z-index:20;overflow:hidden}.menu-item{width:100%;padding:10px 12px;text-align:left;background:none;border:none;cursor:pointer;color:#5f9ea0}.menu-item:hover{background:#c4c7cc}.menu-delete{color:#d32f2f}.btn-menu{background:transparent;color:#000;font-size:28px;padding:unset}.btn-menu:hover{background:#000;color:#fff}.year-group{margin-bottom:10px;border:1px solid #e0e0e0;border-radius:8px;overflow:hidden;background:#f9f9f9}.group-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#fff;border-bottom:1px solid #e0e0e0;cursor:pointer;transition:background .2s}.group-header:hover{background:#f0f0f0}.group-header-left{display:flex;align-items:center;gap:8px}.group-year{font-size:1.2rem;font-weight:700;color:#333}.group-count{font-size:.9rem;color:#666}.group-header-right{font-size:1.2rem;color:#666}.months-list{padding-left:20px;background:#f9f9f9}.month-group{margin-bottom:8px;border:1px solid #e0e0e0;border-radius:6px;overflow:hidden;background:#fff}.month-header{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;background:#f8f8f8;cursor:pointer;transition:background .2s}.month-header:hover{background:#f0f0f0}.month-left{display:flex;align-items:center;gap:8px}.month-name{font-size:1rem;font-weight:600;color:#333}.month-count{font-size:.85rem;color:#666}.month-right{font-size:1rem;color:#666}.month-orders{padding-left:20px;padding-top:10px;padding-bottom:10px;background:#fff}.month-orders .order-card{margin-bottom:10px}@media(max-width:768px){.group-header,.month-header{padding:10px 12px}.months-list{padding-left:15px}.group-year,.month-name{font-size:1rem}}.btn{min-width:100px;min-height:40px;transition:all .2s ease}.year-group,.month-group{transition:all .3s ease}.months-list,.month-orders{transition:max-height .3s ease;overflow:hidden}body{overflow-x:hidden}.dashboard{min-height:100vh;margin-top:80px}.orders-list{min-height:400px}.modal-content{background:#fff;padding:30px;border-radius:12px;max-width:600px;width:90%;max-height:80vh;overflow-y:auto;box-shadow:0 10px 30px #0003;display:flex;flex-direction:column;gap:20px}@media(max-width:768px){.modal-content{padding:20px;width:95%;max-height:90vh}}@media(max-width:768px){.order-card{max-width:100%!important;margin:0 10px;overflow-x:hidden}.order-card.expanded{width:calc(100% - 20px)}.progress-tracker{overflow-x:auto;padding:10px 0}.progress-bar{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;min-width:100%}.progress-step{flex:0 0 auto;min-width:40px;margin:5px}.step-label{font-size:.8rem}.order-details{display:flex;flex-direction:column;gap:10px}.detail-row{display:flex;flex-direction:column;align-items:flex-start}.detail-label{font-weight:700;margin-bottom:5px}.order-actions{display:flex;flex-wrap:wrap;gap:5px}.btn{min-width:80px}}@media(max-width:480px){.progress-step{min-width:30px}.step-dot{width:15px;height:15px}.order-card{margin:0 -10px}.order-card.expanded{width:calc(100% - 10px)}}.month-group.collapsed{margin-bottom:5px;height:38px}.month-group.collapsed .month-header{padding:5px 14px;font-size:.9rem}.month-group.expanded{margin-bottom:10px}.month-group.expanded .month-header{padding:10px 14px;font-size:1rem}.order-detail-page{padding:20px;max-width:800px;margin:0 auto;background:#f8f9fa;min-height:100vh;color:#333;border-radius:8px;box-shadow:0 4px 15px #0000001a}.detail-header{display:flex;align-items:center;gap:15px;margin-bottom:20px;background:#fff;padding:15px;border-radius:8px;box-shadow:0 2px 10px #0000000d}.detail-header h2{color:#333}.detail-content{display:flex;flex-direction:column;gap:20px}.order-summary{background:#fff;padding:20px;border-radius:8px;display:flex;flex-direction:column;gap:10px;box-shadow:0 2px 10px #0000000d;color:#333}.summary-row{display:flex;justify-content:space-between;flex-wrap:wrap;color:#555}.detail-actions{display:flex;gap:10px;flex-wrap:wrap;background:#fff;padding:15px;border-radius:8px;box-shadow:0 2px 10px #0000000d}.progress-tracker,.dates-timeline{background:#fff;padding:15px;border-radius:8px;box-shadow:0 2px 10px #0000000d}@media(max-width:768px){.order-detail-page{padding:10px;background:#f8f9fa}.detail-header{flex-direction:column;align-items:flex-start;background:#fff}.summary-row{flex-direction:column;gap:5px}.detail-actions{flex-direction:column;background:#fff}.detail-actions .btn{width:100%}.order-summary,.progress-tracker,.dates-timeline{background:#fff}}.analytics-page{padding:20px;width:990px;margin:0 auto;background:#f8f9fa;min-height:100vh;color:#333;border-radius:8px;box-shadow:0 4px 15px #0000001a}.analytics-header{display:flex;align-items:center;gap:15px;margin-bottom:30px}.analytics-content{display:flex;flex-direction:column;gap:30px}.analytics-placeholder{text-align:center;padding:50px;background:#f8f9fa;border-radius:12px;color:#666}@media(max-width:768px){.analytics-page{padding:10px;width:20rem}.analytics-header{flex-direction:column;align-items:flex-start}}.next-stage-action{text-align:center;margin:20px 0}@media(max-width:480px){.progress-bar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px;min-width:100%;padding:0 5px}.progress-step{display:flex!important;flex:0 0 auto;min-width:25px;margin:2px;position:relative;flex-direction:column;align-items:center}.step-dot{width:12px;height:12px;margin-bottom:2px}.step-label{font-size:.7rem}.progress-step:before{height:2px;top:50%;left:-50%;right:50%;transform:translateY(-50%)}.progress-step.active:before{height:2px}.progress-step:after{display:none!important}.progress-bar[data-current="7"] .progress-step:nth-child(8) .step-dot{width:16px;height:16px;background:linear-gradient(135deg,#52c520,#1daf1d);transform:scale(1)}.progress-bar[data-current="7"] .progress-step{display:flex!important}}@media(max-width:768px){.stats-bar,.mobile-stats{display:none}.sidebar{width:200px!important;padding:15px!important}}@media(min-width:769px){.stats-bar{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-bottom:30px}}@media(max-width:768px){.desktop-controls{display:none}}.bottom-nav{display:none}@media(max-width:768px){.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #e0e0e0;box-shadow:0 -2px 10px #0000001a;z-index:1000;padding:10px 0;justify-content:space-around;align-items:center}.nav-btn{display:flex;flex-direction:column;align-items:center;background:none;border:none;cursor:pointer;padding:5px;min-width:60px;transition:background .2s}.nav-btn:hover{background:#0000000d;border-radius:8px}.nav-btn:disabled{opacity:.5;cursor:not-allowed}.nav-icon{font-size:1.5rem;margin-bottom:2px}.nav-label{font-size:.75rem;color:#666}.dashboard{padding-bottom:80px}.orders-list{margin-top:-49px}.nav-icon img{width:24px;height:24px;object-fit:contain}}.mobile-search-filter{display:none}@media(max-width:768px){.mobile-search-filter{display:block;padding:15px;border-radius:8px}.mobile-search-filter .search-filter{display:flex;flex-direction:column;gap:10px;margin-left:-16px;margin-bottom:51px}.mobile-search-filter .search-input,.mobile-search-filter .filter-select{width:100%}.year-group,.month-group{transition:all .3s ease}.months-list{max-height:0;overflow:hidden;transition:max-height .3s ease}.months-list.open{max-height:2000px}.month-orders{max-height:0;overflow:hidden;transition:max-height .3s ease}.month-orders.open{max-height:1000px}.orders-list{transition:none;gap:12px}}@media(min-width:769px){.mobile-search-filter{display:none}}.nav-icon img{width:24px;height:24px;object-fit:contain}.header-content{display:flex;align-items:center;justify-content:center;gap:379px}.header-content .nav-icon img{width:30px;height:30px;object-fit:contain}@media(max-width:768px){.header{flex-direction:column;gap:10px}.header-content{margin-right:152px;display:flex;gap:10px}.header-content .nav-icon img{width:25px;height:25px}}.burger-menu{background:none;border:none;font-size:1.5rem;color:#fff;cursor:pointer;padding:5px;display:none}@media(max-width:768px){.burger-menu{display:block;position:absolute;top:22px;right:24px}.home-header{display:none}}.close-sidebar{display:block!important}.analytics-stats-bar{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:30px}.analytics-stat-card{background:#f8f9fa;color:#131212;padding:25px;border-radius:12px;text-align:center;box-shadow:0 4px 15px #0000001a;border:2px solid #d32f2f;width:100%;box-sizing:border-box}.analytics-stat-card .stat-number{display:block;font-size:2.8rem;font-weight:700;margin-bottom:5px}.analytics-stat-card .stat-label{font-size:1rem;opacity:.9}@media(max-width:768px){.analytics-stats-bar{grid-template-columns:1fr;gap:15px;padding:0 10px}.analytics-stat-card{padding:15px;border-radius:8px;max-width:100%}.analytics-stat-card .stat-number{font-size:2rem}.analytics-stat-card .stat-label{font-size:.9rem}}@media(max-width:480px){.analytics-stats-bar{gap:10px;padding:0 5px}.analytics-stat-card{padding:12px}.analytics-stat-card .stat-number{font-size:1.8rem}.analytics-stat-card .stat-label{font-size:.8rem}}.upload-area{max-height:0;overflow:hidden;transition:max-height .3s ease,padding .3s ease;background:#f8f9fa;padding:0 10px;border-radius:8px;margin-top:5px}.upload-area.open{max-height:400px;padding:10px}.upload-toggle{width:100%;display:flex;justify-content:space-between;align-items:center}.pictures-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:10px}.picture-thumb-wrapper{position:relative;display:inline-block}.picture-thumb{width:100%;height:80px;object-fit:cover;border-radius:6px;border:1px solid #ddd}.remove-picture{position:absolute;top:-5px;right:-5px;background:#e53e3e;color:#fff;border:none;border-radius:50%;width:20px;height:20px;font-size:.7rem;cursor:pointer;display:flex;align-items:center;justify-content:center}.order-pictures{margin:10px 0;padding-top:15px;border-top:1px solid #e0e0e0}.vin{font-family:monospace;font-size:.9rem;color:#555}.form-group.full-width{grid-column:1 / -1}@media(max-width:768px){.pictures-grid{grid-template-columns:repeat(2,1fr)}.picture-thumb{height:60px}}.picture-thumb-wrapper.clickable{cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.picture-thumb-wrapper.clickable:hover{transform:scale(1.05);box-shadow:0 4px 12px #00000026;border-radius:6px}.pictures-label{font-size:.95rem;font-weight:600;color:#333;margin-bottom:8px}.picture-viewer-overlay{position:fixed;inset:0;background:#000000eb;z-index:99999;display:flex;align-items:center;justify-content:center}.picture-viewer{position:relative;max-width:90vw;max-height:90vh;display:flex;flex-direction:column;align-items:center;gap:15px}.viewer-content{position:relative;display:flex;align-items:center;justify-content:center;width:100%}.viewer-image{max-width:85vw;max-height:75vh;object-fit:contain;border-radius:8px;box-shadow:0 10px 40px #00000080;-webkit-user-select:none;user-select:none}.viewer-close{position:absolute;top:-40px;right:0;background:none;border:none;color:#fff;font-size:2rem;cursor:pointer;padding:5px 10px;z-index:100000;transition:opacity .2s}.viewer-close:hover{opacity:.7}.viewer-arrow{background:#ffffff26;border:none;color:#fff;font-size:3rem;cursor:pointer;padding:10px 15px;border-radius:50%;transition:background .2s;position:absolute;top:50%;transform:translateY(-50%);z-index:100000;line-height:1}.viewer-prev{left:-60px}.viewer-next{right:-60px}.viewer-arrow:hover{background:#ffffff4d}.viewer-counter{color:#ffffffb3;font-size:.95rem;text-align:center}@media(max-width:768px){.viewer-image{max-width:95vw;max-height:70vh}.viewer-arrow{font-size:2rem;padding:8px 12px}.viewer-prev{left:5px}.viewer-next{right:5px}.viewer-close{top:-35px;right:5px;font-size:1.5rem}}.step-tooltip{position:absolute;bottom:100%;left:50%;transform:translate(-50%);background:#333;color:#fff;font-size:.75rem;padding:4px 8px;border-radius:4px;white-space:nowrap;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease,visibility .2s ease;z-index:100}.step-tooltip:after{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border:5px solid transparent;border-top-color:#333}.progress-step:hover .step-tooltip{opacity:1;visibility:visible}.progress-step{position:relative}.progress-step.current .step-dot{box-shadow:0 0 0 3px #e53e3e4d;transform:scale(1.2)}@media(max-width:768px){.progress-step:active .step-tooltip{opacity:1;visibility:visible}}
