.mechanic-page{background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh}.login-logo{max-width:90px;height:auto;margin:0 auto .5rem;display:block}.login-logo-fallback{font-size:2rem;margin-bottom:.5rem;color:#1f2937}.language-switcher-login{display:flex;justify-content:center;margin-bottom:1rem}.language-switcher-login .language-select{padding:6px 28px 6px 10px;border:1px solid rgba(0,0,0,.1);border-radius:6px;background:#fffffff2;color:var(--color-text);font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease;box-shadow:0 1px 3px #00000014;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%23666' d='M5 7L1 3h8z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center;min-width:120px}.language-switcher-login .language-select:hover{border-color:#667eea4d;background:#fff;box-shadow:0 2px 6px #0000001f}.language-switcher-login .language-select:focus{outline:none;border-color:var(--color-primary);box-shadow:0 0 0 2px #667eea26}.loading-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;color:#fff;text-align:center;gap:1rem}.loading-spinner{width:50px;height:50px;border:4px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error-screen{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:1rem}.error-card{background:#fff;border-radius:12px;padding:2rem;text-align:center;max-width:400px;box-shadow:0 10px 40px #0003}.error-icon{font-size:4rem;margin-bottom:1rem}.error-card h1{font-size:1.5rem;color:#dc2626;margin-bottom:.5rem}.error-card p{color:#6b7280;margin-bottom:1rem}.error-code{font-family:monospace;font-size:.875rem;color:#9ca3af;background:#f3f4f6;padding:.5rem;border-radius:6px}.login-container{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:1rem}.login-card{background:#fff;border-radius:12px;padding:2rem 1.5rem;width:100%;max-width:400px;box-shadow:0 10px 40px #0003;position:relative}.login-header{text-align:center;margin-bottom:2rem}.login-header h2{font-size:1.25rem;color:#4b5563;margin-bottom:.25rem}.equipment-preview{background:#f3f4f6;border-radius:8px;padding:1rem;margin-bottom:1.5rem}.preview-item{display:flex;justify-content:space-between;padding:.5rem 0;border-bottom:1px solid #e5e7eb}.preview-item:last-child{border-bottom:none}.preview-label{font-weight:600;color:#6b7280;font-size:.875rem}.preview-value{color:#1f2937;font-size:.875rem;text-align:right}.mechanic-header{background:#fff;box-shadow:0 2px 8px #0000001a;border-radius:12px;margin-bottom:1rem;padding:0}.header-content{padding:1rem 1.5rem;display:flex;justify-content:space-between;align-items:center;gap:1rem}.header-logo{display:flex;align-items:center;gap:.5rem}.header-logo-img{max-height:32px;width:auto}.header-logo-fallback{font-size:1.25rem;color:#1f2937;margin:0;font-weight:600}.header-info{display:flex;align-items:center;gap:.75rem}.mechanic-name{font-size:.875rem;color:#6b7280;font-weight:500;white-space:nowrap;display:none}.is-auditor .mechanic-header{border-left:4px solid #f59e0b}.is-auditor .mechanic-name:before{content:"👁️ "}.mechanic-main{max-width:800px;margin:0 auto;padding:1rem 1rem 2rem}section{background:#fff;border-radius:12px;padding:1.5rem;margin-bottom:1rem;box-shadow:0 2px 8px #0000001a}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.section-header h2{font-size:1.25rem;color:#1f2937;margin:0}.equipment-card{border:2px solid #e5e7eb;border-radius:8px;padding:1rem}.equipment-header{display:flex;align-items:center;gap:1rem;margin-bottom:1rem;padding-bottom:1rem;border-bottom:2px solid #e5e7eb}.equipment-icon{font-size:2.5rem;flex-shrink:0}.equipment-title h3{font-size:1.25rem;color:#1f2937;margin:0 0 .25rem}.equipment-type{color:#6b7280;font-size:.875rem;margin:0}.equipment-details{display:flex;flex-direction:column;gap:.75rem}.detail-row{display:flex;justify-content:space-between;align-items:center}.detail-label{font-weight:600;color:#6b7280;font-size:.875rem}.detail-value{color:#1f2937;font-size:.875rem;text-align:right}.status-badge{display:inline-block;padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase}.status-badge.status-active{background:#d1fae5;color:#065f46}.status-badge.status-maintenance{background:#fef3c7;color:#92400e}.status-badge.status-inactive{background:#fee2e2;color:#991b1b}.work-history{margin-top:1rem}.no-history{text-align:center;color:#9ca3af;padding:2rem;font-style:italic}.history-item{border:1px solid #e5e7eb;border-radius:8px;padding:1rem;margin-bottom:.75rem;transition:all .2s}.history-item:hover{box-shadow:0 2px 8px #0000001a}.history-item:last-child{margin-bottom:0}.history-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.history-date{font-weight:600;color:#1f2937;font-size:.875rem}.history-type{padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase}.history-type.maintenance{background:#dbeafe;color:#1e40af}.history-type.repair{background:#fef3c7;color:#92400e}.history-type.inspection{background:#e0e7ff;color:#4338ca}.history-type.emergency{background:#fee2e2;color:#991b1b}.history-description{color:#4b5563;font-size:.875rem;margin-bottom:.5rem;line-height:1.5}.history-checklist{font-size:.75rem;color:#059669;margin-bottom:.5rem;font-weight:500}.history-footer{display:flex;justify-content:space-between;align-items:center;font-size:.75rem;color:#9ca3af;padding-top:.5rem;border-top:1px solid #f3f4f6}.history-mechanic,.history-next{display:flex;align-items:center;gap:.25rem}.work-log-form .form-group{margin-bottom:1.25rem}.work-log-form label{display:block;font-weight:600;color:#374151;margin-bottom:.5rem;font-size:.875rem}.required{color:#dc2626}.optional{font-weight:400;color:#9ca3af;font-size:.75rem;margin-left:.25rem}.work-log-form input[type=date],.work-log-form select,.work-log-form textarea{width:100%;padding:.75rem;border:1px solid #d1d5db;border-radius:6px;font-size:1rem;font-family:inherit;transition:all .2s}.work-log-form input:focus,.work-log-form select:focus,.work-log-form textarea:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.work-log-form textarea{resize:vertical;min-height:100px}.checklist-items{background:#f9fafb;border:1px solid #e5e7eb;border-radius:6px;padding:.75rem}.checklist-item{padding:.5rem 0;border-bottom:1px solid #e5e7eb}.checklist-item:last-child{border-bottom:none}.checklist-item label{display:flex;align-items:center;gap:.75rem;cursor:pointer;margin:0;font-weight:400}.checklist-item input[type=checkbox]{width:20px;height:20px;cursor:pointer;flex-shrink:0}.checklist-item span{flex:1;color:#4b5563;font-size:.875rem}.btn{padding:.75rem 1.5rem;border:none;border-radius:6px;font-weight:600;font-size:.875rem;cursor:pointer;transition:all .2s;text-align:center;display:inline-flex;align-items:center;justify-content:center;gap:.5rem}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:#2563eb;color:#fff}.btn-primary:hover:not(:disabled){background:#1d4ed8}.btn-secondary{background:#6b7280;color:#fff}.btn-secondary:hover:not(:disabled){background:#4b5563}.btn-block{width:100%}.btn-sm{padding:.5rem 1rem;font-size:.75rem}@media (max-width: 640px){.btn{min-height:44px}}.work-item-row{display:flex;gap:.5rem;align-items:center;margin-bottom:.5rem}.work-item-row .work-item-name{flex:1;padding:.6rem .75rem;border:1px solid #d1d5db;border-radius:8px;font-size:.875rem;background:#fff;color:#111827}.work-item-row .work-item-hours{width:70px;padding:.6rem .5rem;border:1px solid #d1d5db;border-radius:8px;font-size:.875rem;background:#fff;color:#111827;text-align:center}.work-item-row .work-item-name:focus,.work-item-row .work-item-hours:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.work-item-remove{flex-shrink:0;width:32px;height:32px;border:none;background:#fee2e2;color:#dc2626;border-radius:6px;cursor:pointer;font-size:1rem;line-height:1;display:flex;align-items:center;justify-content:center}.work-item-remove:hover{background:#fecaca}#addWorkItemBtn{margin-top:.25rem}.form-group{margin-bottom:1rem}.form-group label{display:block;font-weight:600;color:#374151;margin-bottom:.5rem;font-size:.875rem}.form-group input,.form-group select{width:100%;padding:.75rem;border:1px solid #d1d5db;border-radius:6px;font-size:1rem;transition:all .2s}.form-group input:focus,.form-group select:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.error-message{display:none;background:#fee2e2;color:#991b1b;padding:.75rem;border-radius:6px;font-size:.875rem;margin-bottom:1rem;border:1px solid #fecaca}.error-message.show{display:block}@media (min-width: 640px){.mechanic-name{display:inline}.header-content{padding:.75rem 1rem}}@media (min-width: 768px){.mechanic-main{padding:2rem}section{padding:2rem}.equipment-details{display:grid;grid-template-columns:1fr 1fr;gap:1rem}}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}section{animation:fadeIn .3s ease-out}.hidden{display:none!important}@media screen and (max-width: 640px){input,select,textarea{font-size:16px!important}}.btn-danger-outline{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;background:transparent;color:#dc2626;border:1.5px solid #fca5a5;border-radius:8px;font-weight:500;font-size:14px;cursor:pointer;transition:all .2s ease}.btn-danger-outline:hover{background-color:#fef2f2;border-color:#dc2626;color:#b91c1c;box-shadow:0 2px 4px #dc26261a}.btn-danger-outline:active{transform:translateY(1px)}.btn-danger-outline i{width:18px;height:18px}.info-block{border-radius:10px;padding:1rem 1.25rem;margin-bottom:.75rem}.info-block-company{background:#eff6ff;border:1.5px solid #bfdbfe}.info-block-equipment{background:#f9fafb;border:1.5px solid #e5e7eb}.info-block-title{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#9ca3af;margin-bottom:.4rem}.info-block-company-name{font-size:1rem;font-weight:700;color:#1e40af;margin-bottom:.25rem}.info-block-phone{font-size:.95rem;color:#2563eb;font-weight:600;text-decoration:none;display:inline-flex;align-items:center;gap:.3rem}.info-block-phone:hover{text-decoration:underline}.action-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:.75rem}.btn-action{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:14px 8px;border-radius:10px;border:none;cursor:pointer;font-weight:600;font-size:.78rem;transition:opacity .15s,transform .1s}.btn-action:active{transform:scale(.97)}.btn-action-icon{font-size:1.4rem;line-height:1}.btn-action-label{line-height:1}.btn-action-audit{background:#f0fdf4;color:#166534;border:1.5px solid #bbf7d0}.btn-action-audit:hover{background:#dcfce7}.btn-action-request{background:#fef2f2;color:#991b1b;border:1.5px solid #fecaca}.btn-action-request:hover{background:#fee2e2}.btn-action-specialist{background:#f0f9ff;color:#075985;border:1.5px solid #bae6fd}.btn-action-specialist:hover{background:#e0f2fe}.btn-request-service{width:100%;background:#dc2626;color:#fff;font-size:1rem;font-weight:700;padding:.9rem;border-radius:8px;margin-bottom:.75rem;border:none;cursor:pointer;transition:background .2s}.btn-request-service:hover{background:#b91c1c}.login-divider{text-align:center;color:#9ca3af;font-size:.8rem;margin:.75rem 0;position:relative}.overdue-text{color:#dc2626;font-weight:600}.login-auditor-hint{font-size:.75rem;color:#9ca3af;text-align:center;margin-top:.5rem;line-height:1.4}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:1rem}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080}.modal-content{background:#fff;border-radius:12px;padding:1.5rem;width:100%;max-width:480px;max-height:90vh;overflow-y:auto;position:relative;z-index:1}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.25rem}.modal-header h2{font-size:1.1rem;color:#1f2937;margin:0}.modal-close{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#9ca3af;line-height:1;padding:0}.modal-actions{display:flex;gap:.75rem;margin-top:1rem}.modal-actions .btn{flex:1}.photo-preview{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.5rem}.photo-preview img{width:80px;height:80px;object-fit:cover;border-radius:6px;border:1px solid #e5e7eb}.open-request-banner{background:#fffbeb;border:1px solid #f59e0b;border-left:4px solid #f59e0b;border-radius:10px;padding:1rem 1.25rem;margin-bottom:1rem}.open-request-content{display:flex;align-items:flex-start;gap:.75rem}.open-request-icon{font-size:1.25rem;flex-shrink:0;margin-top:1px}.open-request-info strong{display:block;color:#92400e;font-size:.9rem;margin-bottom:.25rem}.open-request-info p{color:#78350f;font-size:.85rem;margin:0;line-height:1.4}.close-request-option{background:#f0fdf4;border:1px solid #86efac;border-radius:8px;padding:.75rem 1rem}.close-request-label{display:flex;align-items:center;gap:.625rem;cursor:pointer;font-size:.875rem;color:#166534;font-weight:500}.close-request-label input[type=checkbox]{width:1rem;height:1rem;flex-shrink:0;accent-color:#16a34a}.work-log-detail{display:flex;flex-direction:column;gap:1rem}.detail-section{padding-bottom:1rem;border-bottom:1px solid #f1f5f9}.detail-section:last-of-type{border-bottom:none;padding-bottom:0}.detail-description{color:#374151;line-height:1.6;margin:0;white-space:pre-wrap}.detail-checklist h4{margin:0 0 .75rem;color:#1f2937;font-size:.95rem}.detail-checklist-list{margin:0;padding-left:1.25rem;display:flex;flex-direction:column;gap:.4rem}.detail-checklist-list li{color:#374151;font-size:.9rem}.detail-footer{display:flex;flex-direction:column;gap:.4rem;font-size:.85rem;color:#6b7280}.signature-modal-content{padding:1.25rem;max-height:90vh;overflow-y:auto}.signature-hint{font-size:.9rem;color:#6b7280;margin:0 0 .75rem;text-align:center}.signature-canvas-wrapper{width:100%;border:2px solid #d1d5db;border-radius:8px;background:#fff;overflow:hidden;touch-action:none;cursor:crosshair}.signature-canvas-wrapper canvas{display:block;width:100%;height:160px;touch-action:none}.signature-actions{display:flex;justify-content:flex-end;margin:.5rem 0}.signature-loading{display:flex;flex-direction:column;align-items:center;gap:1rem;padding:2rem 0;color:#6b7280}.detail-act-link{display:inline-flex;align-items:center;gap:.4rem;padding:.4rem .85rem;background:#f0fdf4;border:1px solid #86efac;border-radius:6px;color:#16a34a;font-size:.85rem;font-weight:500;text-decoration:none;margin-top:.5rem}.detail-act-link:hover{background:#dcfce7}.history-act-link{padding-top:.5rem}
