*{box-sizing:border-box;margin:0;padding:0}html,body,#root{width:100%;min-height:100vh}body{background:#111827;font-family:Arial,Helvetica,sans-serif}.sidebar{color:#fff;background:#0f172a;border-right:1px solid #1e293b;flex-direction:column;width:260px;min-height:100vh;display:flex}.sidebar-header{text-align:center;padding:25px}.sidebar-logo{width:110px}.sidebar-menu{flex-direction:column;flex:1;padding:15px;display:flex}.sidebar-menu a{color:#cbd5e1;border-radius:12px;margin-bottom:8px;padding:14px 16px;font-weight:500;text-decoration:none;transition:all .2s}.sidebar-menu a:hover{color:#fff;background:#1e293b;transform:translate(4px)}.sidebar-footer{border-top:1px solid #1e293b;margin-top:auto;padding:20px}.logout-btn{color:#fff;cursor:pointer;background:#dc2626;border:none;border-radius:10px;width:100%;padding:14px;font-size:14px;font-weight:600;transition:all .2s}.logout-btn:hover{background:#b91c1c}.topbar{background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;height:70px;padding:0 25px;display:flex}.topbar-title{font-size:22px;font-weight:700}.topbar-user{font-weight:600}.dashboard{display:flex}.dashboard-content{background:#f3f4f6;flex:1;min-height:100vh}.dashboard-body{padding:25px}.cards{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;margin-top:25px;display:grid}.card{background:#fff;border-radius:16px;padding:24px;transition:all .2s;box-shadow:0 4px 12px #00000014}.card:hover{transform:translateY(-3px)}.card h3{color:#666;margin-bottom:10px;font-size:15px}.card h2{font-size:32px;font-weight:700}.dashboard-table{background:#fff;border-radius:16px;margin-top:30px;padding:20px;box-shadow:0 4px 12px #00000014}.dashboard-table table{border-collapse:collapse;width:100%}.dashboard-table th{text-align:left;border-bottom:1px solid #eee;padding:14px}.dashboard-table td{border-bottom:1px solid #f5f5f5;padding:14px}.status{border-radius:999px;padding:6px 12px;font-size:12px;font-weight:600}.status.Waiting{color:#856404;background:#fff3cd}.status.Ready{color:#155724;background:#d4edda}.status.In\ Progress{color:#004085;background:#cce5ff}.active-card{border-left:5px solid #2563eb}.waiting-card{border-left:5px solid #f59e0b}.ready-card{border-left:5px solid #10b981}.delivered-card{border-left:5px solid #6366f1}.dashboard-subtitle{color:#6b7280;margin-top:-10px;margin-bottom:20px}.modal-overlay{background:#00000080;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal{background:#fff;border-radius:12px;width:700px;padding:25px}.modal input,.modal textarea,.modal select{width:100%;margin-bottom:10px;padding:10px}.autocomplete-list{background:#fff;border:1px solid #ddd;max-height:200px;overflow-y:auto}.autocomplete-item{cursor:pointer;padding:10px}.autocomplete-item:hover{background:#f5f5f5}.details-grid{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px;display:grid}.text-box{white-space:pre-wrap;background:#f5f5f5;border-radius:6px;min-height:80px;margin-bottom:15px;padding:12px}table{border-collapse:collapse;background:#fff;border-radius:12px;width:100%;overflow:hidden;box-shadow:0 2px 10px #00000014}thead{color:#fff;background:#111827}th{text-align:left;padding:16px}td{border-bottom:1px solid #e5e7eb;padding:14px 16px}tr:hover{background:#f9fafb}.edit-btn:hover,.delete-btn:hover{opacity:.9}.toolbar{gap:15px;margin-bottom:20px;display:flex}.toolbar input{border:1px solid #d1d5db;border-radius:10px;flex:1;padding:12px}.toolbar select{border:1px solid #d1d5db;border-radius:10px;padding:12px}.pagination{justify-content:center;align-items:center;gap:20px;margin-top:20px;display:flex}.pagination button{color:#fff;cursor:pointer;background:#111827;border:none;border-radius:8px;padding:10px 16px}.workorders-header{justify-content:space-between;align-items:center;margin-bottom:25px;display:flex}.workorders-tools{align-items:center;gap:15px;display:flex}.search-box{border:1px solid #d1d5db;border-radius:10px;width:320px;padding:12px 15px;font-size:14px}.filter-select{border:1px solid #d1d5db;border-radius:10px;min-width:150px;padding:12px}.new-order-btn{color:#fff;cursor:pointer;background:#ef4444;border:none;border-radius:10px;padding:12px 22px;font-weight:600}.new-order-btn:hover{background:#dc2626}.orders-table{border-collapse:collapse;background:#fff;border-radius:15px;width:100%;overflow:hidden;box-shadow:0 4px 20px #00000014}.orders-table thead{color:#fff;background:#0f172a}.orders-table th{text-align:left;padding:18px}.orders-table td{border-bottom:1px solid #e5e7eb;padding:16px}.orders-table tr:hover{background:#f8fafc}.status{border-radius:999px;padding:7px 14px;font-size:13px;font-weight:600;display:inline-block}.ready{color:#166534!important;background:#dcfce7!important}.progress{color:#1d4ed8!important;background:#dbeafe!important}.waiting{color:#92400e!important;background:#fef3c7!important}.delivered{color:#374151!important;background:#e5e7eb!important}.edit-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;padding:8px 14px}.delete-btn{color:#fff;cursor:pointer;background:#dc2626;border:none;border-radius:8px;padding:8px 14px}.pdf-btn{color:#fff;cursor:pointer;background:#059669;border:none;border-radius:8px;padding:8px 14px}.actions{gap:8px;display:flex}.page-btn{cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:10px;padding:10px 18px}.page-btn.active{color:#fff;background:#ef4444;border:none}.payment-status{border-radius:999px;padding:7px 14px;font-size:13px;font-weight:600;display:inline-block}.payment-paid{color:#166534;background:#dcfce7}.payment-unpaid{color:#dc2626;background:#fee2e2}.payment-partial{color:#92400e;background:#fef3c7}.payment-status:before{content:"";border-radius:50%;width:8px;height:8px;margin-right:8px;display:inline-block}.payment-paid:before{background:#22c55e}.payment-unpaid:before{background:#ef4444}.payment-partial:before{background:#f59e0b}.payment-fortnox{color:#166534;background:#dcfce7}.payment-fortnox:before{background:#22c55e}.mechanic-page{box-sizing:border-box;background:#f4f6f9;width:100%;min-height:100vh;padding:24px}.mechanic-header{justify-content:space-between;align-items:center;margin-bottom:25px;display:flex}.mechanic-header h1{color:#0f172a;letter-spacing:-2px;margin:0;font-size:58px;font-weight:800}.logout-btn{color:#ef4444;cursor:pointer;background:#fff;border:2px solid #ef4444;border-radius:16px;width:auto;min-width:140px;height:60px;padding:0 30px;font-size:18px;font-weight:700;transition:all .2s}.logout-btn:hover{color:#fff;background:#ef4444}.search-box{background:#fff;border-radius:20px;align-items:center;gap:15px;width:100%;max-width:900px;margin-bottom:25px;padding:18px;display:flex;box-shadow:0 4px 18px #00000014}.search-box input{border:1px solid #d1d5db;border-radius:14px;flex:1;width:100%;max-width:900px;height:60px;padding:0 20px;font-size:18px}.vehicle-info{grid-template-columns:repeat(6,minmax(220px,1fr));gap:20px;margin-bottom:30px;display:grid}.vehicle-card{background:#fff;border-radius:20px;padding:25px;box-shadow:0 4px 20px #00000014}.vehicle-card span{color:#6b7280;margin-bottom:10px;font-size:15px;display:block}.vehicle-card h2{margin:0;font-size:30px;font-weight:700;line-height:1.2}.status-card{background:#ecfdf5;border-left:5px solid #22c55e}.status-green{color:#16a34a}.status-blue{color:#2563eb}.status-orange{color:#f59e0b}.board{grid-template-columns:minmax(300px,1fr) minmax(300px,1fr) minmax(300px,1fr) minmax(300px,1fr);gap:25px;width:100%;display:grid}.card-column{background:#fff;border-radius:24px;min-height:650px;padding:25px;box-shadow:0 4px 20px #00000014}.card-column h3{margin-top:0;margin-bottom:25px;font-size:32px;font-weight:700}.fault-card{border-top:6px solid #ef4444}.todo-card{border-top:6px solid #f59e0b}.done-card{border-top:6px solid #22c55e}.final-card{border-top:6px solid #3b82f6}.task{background:#f8fafc;border-radius:14px;align-items:center;gap:12px;margin-bottom:12px;padding:15px;font-size:16px;font-weight:600;display:flex}.task input{width:18px;height:18px}.task.done{color:#166534;background:#dcfce7}.final-card label{align-items:center;gap:12px;margin-bottom:20px;font-size:18px;font-weight:500;display:flex}.final-card input{width:20px;height:20px}.ready-btn{color:#fff;cursor:pointer;background:#16a34a;border:none;border-radius:14px;width:100%;height:60px;margin-top:25px;font-size:18px;font-weight:700}.ready-btn:hover{background:#15803d}@media (width<=1600px){.board{grid-template-columns:repeat(2,1fr)}}@media (width<=900px){.board{grid-template-columns:1fr}.vehicle-info{flex-direction:column}.search-box{max-width:100%}.mechanic-header h1{font-size:42px}}.customer-fault{margin-bottom:25px}.customer-fault p{background:#f8fafc;border-radius:10px;padding:15px}.mechanic-findings input{border:1px solid #d1d5db;border-radius:10px;width:100%;height:45px;margin-top:10px;padding:0 15px}.finding-list{margin-top:15px}.finding-item{background:#fff7ed;border-left:4px solid #f59e0b;border-radius:8px;margin-bottom:10px;padding:10px 12px}.suggestion-box{background:#fff;border:1px solid #e5e7eb;border-radius:12px;max-height:250px;margin-top:6px;overflow:hidden auto;box-shadow:0 8px 20px #00000014}.suggestion-item{cursor:pointer;padding:12px 14px;transition:all .15s}.suggestion-item:hover{background:#f3f4f6}.suggestion-item.active{color:#fff;background:#2563eb}.plate-search{flex:1;width:100%;position:relative}.plate-dropdown{z-index:9999;background:#fff;border-radius:12px;width:100%;position:absolute;top:55px;left:0;overflow:hidden;box-shadow:0 10px 25px #00000026}.plate-option{cursor:pointer;border-bottom:1px solid #eee;padding:12px 15px}.plate-option:hover{background:#f3f4f6}.plate-option.active{color:#fff;background:#2563eb}.plate-option small{opacity:.8;margin-top:3px;display:block}
