.signature-container{margin:24px 0;padding:20px;border:1px solid #e0e0e0;border-radius:8px;background-color:#f9f9f9}.signature-container h3{margin-top:0;margin-bottom:8px;color:#1a5490;font-size:18px}.signature-instruction{margin:0 0 12px;color:#666;font-size:14px}.signature-pad-wrapper{border:2px solid #ccc;background-color:#fff;margin-bottom:12px;border-radius:4px;overflow:hidden}.signature-canvas{display:block;cursor:crosshair}.signature-buttons{display:flex;gap:10px;justify-content:flex-end}.btn-primary,.btn-secondary{padding:10px 20px;border:none;border-radius:4px;font-size:14px;font-weight:500;cursor:pointer;transition:background-color .2s}.btn-primary:hover{background-color:#143d6b}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f5f5f5}.jobcard-form-container{max-width:900px;margin:0 auto;padding:20px;background-color:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a}.form-header{display:flex;justify-content:space-between;align-items:flex-start;gap:2rem;margin-bottom:32px;border-bottom:2px solid #1a5490;padding-bottom:20px;flex-wrap:wrap}.form-header div{flex:1;text-align:left}.form-header h1{font-size:32px;color:#1a5490;margin-bottom:8px}.form-header p{color:#666;font-size:16px}.form-header .btn{padding:10px 16px;background-color:#6b7280;color:#fff;border:none;border-radius:4px;cursor:pointer;font-weight:500;white-space:nowrap;transition:all .3s}.form-header .btn:hover{background-color:#4b5563}.alert{padding:12px 16px;border-radius:4px;margin-bottom:20px;font-weight:500}.alert-success{background-color:#d4edda;color:#155724;border:1px solid #c3e6cb}.alert-error{background-color:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.jobcard-form{display:flex;flex-direction:column;gap:24px}.form-section{border:1px solid #e0e0e0;border-radius:8px;padding:20px;background-color:#fafafa}.form-section legend{font-size:18px;font-weight:600;color:#1a5490;padding:0 8px;margin-left:-8px}.form-group{margin-bottom:16px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-group label{display:block;margin-bottom:6px;font-weight:500;color:#333;font-size:14px}.required{color:#e74c3c;margin-left:4px}.form-group input,.form-group textarea{width:100%;padding:10px 12px;border:1px solid #ccc;border-radius:4px;font-size:14px;font-family:inherit;transition:border-color .2s,box-shadow .2s}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#1a5490;box-shadow:0 0 0 3px #1a54901a}.form-group input::placeholder,.form-group textarea::placeholder{color:#999}.signature-preview{padding:12px 16px;background-color:#d4edda;border:1px solid #c3e6cb;border-radius:4px;text-align:center}.signature-status{color:#155724;font-weight:500;margin:0}.form-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:20px;padding-top:20px;border-top:1px solid #e0e0e0}.btn{padding:12px 24px;border:none;border-radius:4px;font-size:16px;font-weight:600;cursor:pointer;transition:background-color .2s,opacity .2s}.btn-primary{background-color:#1a5490;color:#fff}.btn-primary:hover:not(:disabled){background-color:#143d6b}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.btn-secondary{background-color:#e0e0e0;color:#333}.btn-secondary:hover{background-color:#d0d0d0}.file-input{display:block;width:100%;padding:10px 12px;border:2px dashed #1a5490;border-radius:4px;font-size:14px;cursor:pointer;transition:border-color .2s}.file-input:focus{outline:none;border-color:#143d6b}.form-help-text{font-size:13px;color:#666;margin-top:6px;margin-bottom:0}.form-section-hint{font-size:14px;color:#666;margin-bottom:16px;font-style:italic}.images-section{margin-top:20px;padding-top:20px;border-top:1px solid #ddd}.images-section h4{margin-bottom:12px;color:#1a5490;font-size:16px}.image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:16px;margin-bottom:16px}.image-preview-item{border:1px solid #ddd;border-radius:8px;padding:12px;text-align:center;background-color:#fff;transition:box-shadow .2s}.image-preview-item:hover{box-shadow:0 4px 12px #0000001a}.image-preview-item.selected{border-color:#1a5490;background-color:#f0f7ff}.image-preview-item.uploaded{border-color:#28a745;background-color:#f1f9f1}.image-preview-item img{width:100%;height:120px;object-fit:cover;border-radius:4px;margin-bottom:8px}.image-filename{font-size:12px;color:#666;word-break:break-word;margin-bottom:8px;max-height:40px;overflow:hidden}.image-checkbox{display:flex;align-items:center;justify-content:center;gap:6px;font-size:13px;color:#333;margin-bottom:8px;cursor:pointer}.image-checkbox input[type=checkbox]{cursor:pointer}.btn-small{padding:6px 12px;font-size:12px;width:100%}.btn-danger{background-color:#dc3545;color:#fff}.btn-danger:hover{background-color:#c82333}.form-actions-inline{display:flex;gap:12px;justify-content:flex-start;margin-top:12px}@media(max-width:768px){.jobcard-form-container{padding:16px}.form-header h1{font-size:24px}.form-row{grid-template-columns:1fr}.form-actions{flex-direction:column-reverse}.btn{width:100%}.image-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}}.jobcards-list-container{max-width:1200px;margin:0 auto;background:#fff;border-radius:12px;box-shadow:0 10px 30px #0003;padding:2rem}.list-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;flex-wrap:wrap;gap:1rem}.list-header h1{margin:0;font-size:2rem;color:#1f2937}.list-header p{margin:.25rem 0 0;color:#6b7280}.filters{margin-bottom:2rem;padding:1rem;background:#f9fafb;border-radius:8px;display:flex;gap:1rem;flex-wrap:wrap}.filter-group{display:flex;align-items:center;gap:.5rem}.filter-group label{font-weight:500;color:#374151}.filter-group select{min-width:150px}.loading{text-align:center;padding:3rem;color:#6b7280;font-size:1.1rem}.empty-state{text-align:center;padding:4rem 2rem;color:#6b7280}.empty-state p{font-size:1.2rem;margin-bottom:1rem}.table-container{overflow-x:auto;margin-bottom:2rem}.jobcards-table{width:100%;border-collapse:collapse;font-size:.95rem}.jobcards-table thead{background:#f3f4f6;border-bottom:2px solid #e5e7eb}.jobcards-table th{padding:1rem;text-align:left;font-weight:600;color:#374151;white-space:nowrap}.jobcards-table td{padding:1rem;border-bottom:1px solid #e5e7eb;color:#374151}.jobcards-table tbody tr:hover{background:#f9fafb}.jobcards-table strong{color:#1f2937}.badge{display:inline-block;padding:.25rem .75rem;border-radius:9999px;font-size:.85rem;font-weight:600;white-space:nowrap}.badge-warning{background:#fef3c7;color:#92400e}.badge-success{background:#dcfce7;color:#166534}.badge-info{background:#cffafe;color:#164e63}.badge-gray{background:#f3f4f6;color:#374151}.badge-sm{padding:.2rem .5rem;font-size:.75rem}.pagination{display:flex;justify-content:center;align-items:center;gap:1rem;padding:1rem;background:#f9fafb;border-radius:8px}.pagination button{padding:.5rem 1rem;border:1px solid #d1d5db;border-radius:6px;background:#fff;color:#374151;cursor:pointer;font-weight:500;transition:all .3s}.pagination button:hover:not(:disabled){background:#f3f4f6;border-color:#9ca3af}.pagination button:disabled{opacity:.5;cursor:not-allowed}.pagination span{color:#6b7280;font-weight:500}@media(max-width:768px){.jobcards-list-container{padding:1rem}.list-header{flex-direction:column;align-items:stretch}.list-header button{width:100%}.filters{flex-direction:column}.filter-group{flex-direction:column;align-items:flex-start}.jobcards-table{font-size:.85rem}.jobcards-table th,.jobcards-table td{padding:.75rem .5rem}.pagination{flex-direction:column;gap:.5rem}.pagination button{width:100%}}.jobcard-detail-container{max-width:1000px;margin:0 auto;background:#fff;border-radius:12px;box-shadow:0 10px 30px #0003;padding:2rem}.detail-header{display:grid;grid-template-columns:1fr auto;gap:2rem;margin-bottom:2rem;padding-bottom:2rem;border-bottom:2px solid #e5e7eb}.detail-header h1{margin:0;font-size:2rem;color:#1f2937}.subtitle{margin:.5rem 0 0;font-size:1.2rem;color:#6b7280}.header-actions{display:flex;flex-direction:column;gap:.75rem;align-items:flex-end}.header-actions>div{display:flex;gap:.75rem;flex-wrap:wrap;justify-content:flex-end}.header-actions button{padding:.75rem 1.5rem;border-radius:6px;border:none;font-weight:600;cursor:pointer;transition:all .3s;font-size:.95rem;white-space:nowrap}.detail-content{margin:2rem 0}.detail-section{margin-bottom:2.5rem;padding:1.5rem;background:#f9fafb;border-radius:8px}.detail-section h2{margin:0 0 1.5rem;font-size:1.4rem;color:#1f2937;border-bottom:2px solid #e5e7eb;padding-bottom:.75rem}.detail-section h3{margin:1rem 0;font-size:1.1rem;color:#374151}.info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:1rem}.info-item{display:flex;flex-direction:column}.info-item.full-width{grid-column:1 / -1}.info-item label{font-weight:600;color:#374151;margin-bottom:.5rem;font-size:.9rem;text-transform:uppercase;letter-spacing:.5px}.info-item p{margin:0;color:#1f2937;font-size:1rem;padding:.75rem;background:#fff;border-radius:6px;border:1px solid #e5e7eb}.info-item input,.info-item textarea,.info-item select{padding:.75rem;border:1px solid #d1d5db;border-radius:6px;font-size:1rem;font-family:inherit;transition:all .3s}.info-item input:focus,.info-item textarea:focus,.info-item select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.badge{display:inline-block;padding:.5rem 1rem;border-radius:6px;font-size:.9rem;font-weight:600;width:fit-content}.badge-pending{background:#fef3c7;color:#92400e}.badge-approved{background:#dcfce7;color:#166534}.badge-completed{background:#cffafe;color:#164e63}.images-section{margin-bottom:2rem}.image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:1rem;margin:1rem 0}.image-item{border:1px solid #e5e7eb;border-radius:8px;overflow:hidden;background:#fff;transition:all .3s}.image-item:hover{box-shadow:0 4px 12px #0000001a}.image-item img{width:100%;height:150px;object-fit:cover}.image-filename{padding:.75rem;font-size:.85rem;color:#374151;word-break:break-word;margin:0;background:#f9fafb;border-bottom:1px solid #e5e7eb}.image-checkbox{padding:.75rem;border-bottom:1px solid #e5e7eb}.image-checkbox label{display:flex;align-items:center;gap:.5rem;margin:0;cursor:pointer;font-size:.9rem;color:#374151}.image-checkbox input{cursor:pointer}.image-item button{width:100%;border-radius:0;padding:.5rem;border:none;background:#fee2e2;color:#991b1b;cursor:pointer;font-weight:500;transition:all .3s}.image-item button:hover{background:#fecaca}.upload-section{background:#fff;padding:1.5rem;border-radius:8px;border:2px dashed #d1d5db}.upload-section h3{margin-top:0}.file-input{width:100%;padding:1rem;border:2px solid #d1d5db;border-radius:6px;cursor:pointer}.selected-files{margin-top:1rem}.file-list{background:#f9fafb;border-radius:6px;max-height:200px;overflow-y:auto;margin-bottom:1rem}.file-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem;border-bottom:1px solid #e5e7eb;font-size:.9rem;color:#374151}.file-item:last-child{border-bottom:none}.file-item button{background:none;border:none;color:#ef4444;cursor:pointer;padding:.25rem .5rem;font-size:1rem;transition:all .3s}.file-item button:hover{color:#dc2626}.action-buttons{display:flex;gap:1rem;justify-content:flex-end;margin-top:2rem;padding-top:2rem;border-top:2px solid #e5e7eb;flex-wrap:wrap}.action-buttons button{padding:.75rem 1.5rem;border-radius:6px;border:none;font-weight:600;cursor:pointer;transition:all .3s;display:inline-flex;align-items:center;gap:.5rem;min-width:120px}.btn{padding:.75rem 1.5rem;border-radius:6px;border:none;font-weight:600;cursor:pointer;transition:all .3s;display:inline-flex;align-items:center;gap:.5rem;font-size:1rem}.btn-primary{background:#3b82f6;color:#fff}.btn-primary:hover{background:#2563eb;box-shadow:0 4px 12px #3b82f64d}.btn-secondary{background:#6b7280;color:#fff}.btn-secondary:hover{background:#4b5563}.btn-success{background:#10b981;color:#fff}.btn-success:hover{background:#059669;box-shadow:0 4px 12px #10b9814d}.btn-info{background:#0891b2;color:#fff}.btn-info:hover{background:#0e7490}.btn-ghost{background:transparent;color:#3b82f6;border:1px solid #3b82f6}.btn-ghost:hover{background:#eff6ff}.btn-error{background:#ef4444;color:#fff}.btn-error:hover{background:#dc2626}.btn-sm{padding:.5rem 1rem;font-size:.9rem;min-width:auto!important}.alert{padding:1rem;border-radius:8px;margin-bottom:1.5rem;display:flex;align-items:center;gap:.75rem}.alert-error{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}.alert-success{background:#dcfce7;color:#166534;border:1px solid #bbf7d0}.metadata{margin-top:2rem;padding:1rem;background:#f3f4f6;border-radius:8px;font-size:.9rem;color:#6b7280;border-left:4px solid #9ca3af}.metadata p{margin:.25rem 0}.loading-container,.error-container{text-align:center;padding:3rem;background:#fff;border-radius:12px;box-shadow:0 10px 30px #0003}.error-container{color:#991b1b}@media(max-width:768px){.jobcard-detail-container{padding:1rem}.detail-header{grid-template-columns:1fr}.header-actions{align-items:flex-start}.header-actions>div{justify-content:flex-start;width:100%}.header-actions button{flex:1;min-width:120px}.detail-section{padding:1rem}.info-grid{grid-template-columns:1fr}.image-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}.action-buttons{flex-direction:column}.action-buttons button{width:100%}}.flex{display:flex}.min-h-screen{min-height:100vh}.items-center{align-items:center}.justify-center{justify-content:center}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}html,body{width:100%;height:100%;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}#root{width:100%;height:100%}:root{--color-primary:#1a5490;--color-secondary:#667eea;--color-accent:#764ba2;--color-success:#28a745;--color-error:#e74c3c;--color-warning:#ffc107}
