:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.5;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;min-width:320px;min-height:100vh}#root{min-height:100vh}*{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:#0d1117;min-height:100vh;color:#e6edf3}.app-container{max-width:1200px;margin:0 auto;padding:2rem;position:relative}.floating-start-button{position:fixed;top:2rem;right:2rem;z-index:100;background:#238636;color:#fff;border:none;padding:1rem 1.5rem;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:.5rem;box-shadow:0 4px 12px #23863666;transition:all .3s ease}.floating-start-button:hover:not(:disabled){background:#2ea043;box-shadow:0 6px 16px #23863680;transform:translateY(-2px)}.floating-start-button:disabled{opacity:.7;cursor:not-allowed}.floating-start-button.processing{background:#f79000}.floating-start-button.processing:hover{background:#f79000;transform:none}.floating-start-button .spinner{display:inline-block;width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin 1s linear infinite}.floating-start-button span:not(.spinner){font-size:1.2rem}.floating-start-button.stop-button{background:#da3633}.floating-start-button.stop-button:hover:not(:disabled){background:#f85149;box-shadow:0 6px 16px #da363380}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.1)}}.app-header{text-align:center;color:#e6edf3;margin-bottom:3rem}.app-header h1{font-size:2.5rem;margin-bottom:.5rem;color:#fff;font-weight:700}.app-header p{font-size:1.1rem;color:#8b949e}.tenders-container{background:#161b22;border:1px solid #30363d;border-radius:16px;padding:2rem;box-shadow:0 10px 40px #00000080}.tenders-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:2px solid #30363d}.tenders-header h2{color:#fff;font-size:1.8rem;font-weight:700;margin:0}.tenders-filters{display:flex;gap:1rem;align-items:center}.search-bar-wrapper{position:relative;display:flex;align-items:center}.search-input{padding:.75rem 1rem .75rem 2.5rem;border:1px solid #30363d;border-radius:8px;font-size:.95rem;width:320px;transition:all .3s ease;background:#0d1117;color:#e6edf3}.search-input:focus{outline:none;border-color:#58a6ff;background:#161b22;box-shadow:0 0 0 3px #58a6ff1a}.search-input::placeholder{color:#8b949e}.search-icon{position:absolute;left:.75rem;font-size:1.2rem;color:#8b949e;pointer-events:none;font-weight:300;opacity:.7}.deadline-filter{padding:.75rem 1rem;border:1px solid #30363d;border-radius:8px;font-size:.95rem;background:#0d1117;color:#e6edf3;cursor:pointer;transition:all .3s ease;min-width:180px}.deadline-filter:focus{outline:none;border-color:#58a6ff;background:#161b22;box-shadow:0 0 0 3px #58a6ff1a}.deadline-filter option{background:#161b22;color:#e6edf3}.tenders-table-wrapper{overflow-x:auto;border-radius:8px;border:1px solid #30363d}.tenders-table{width:100%;border-collapse:collapse;background:#0d1117}.tenders-table thead{background:#161b22;border-bottom:2px solid #30363d}.tenders-table th{padding:1rem;text-align:left;font-weight:600;color:#8b949e;font-size:.9rem;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap}.tenders-table td{padding:1rem;border-bottom:1px solid #21262d;vertical-align:middle;color:#e6edf3}.tender-row{transition:background-color .2s ease}.tender-row:hover{background-color:#161b22}.tender-row.processing-row{background-color:#1c2128}.tender-id-badge{display:inline-block;padding:.4rem .8rem;background:#1f6feb;color:#fff;border-radius:6px;font-size:.85rem;font-weight:600;font-family:Monaco,Courier New,monospace}.tender-name-cell{display:flex;flex-direction:column;gap:.25rem}.tender-name-cell strong{color:#fff;font-size:.95rem}.error-text-small{font-size:.8rem;color:#f85149;margin-top:.25rem}.deadline-cell{color:#8b949e;font-size:.9rem}.status-badge{display:inline-flex;align-items:center;gap:.5rem;padding:.4rem .8rem;border-radius:20px;font-size:.85rem;font-weight:600}.status-dot{width:8px;height:8px;border-radius:50%;display:inline-block}.status-badge.status-default{background:#21262d;color:#8b949e}.status-badge.status-default .status-dot{background:#6e7681}.status-badge.status-processing{background:#1c2128;color:#58a6ff;border:1px solid #1f6feb}.status-badge.status-processing .status-dot{background:#58a6ff;animation:pulse 2s infinite}.status-badge.status-success{background:#1c2128;color:#3fb950;border:1px solid #238636}.status-badge.status-success .status-dot{background:#3fb950}.status-badge.status-error{background:#1c2128;color:#f85149;border:1px solid #da3633}.status-badge.status-error .status-dot{background:#f85149}.table-progress-wrapper{display:flex;flex-direction:column;gap:.5rem;min-width:200px}.table-progress{display:flex;align-items:center;gap:.75rem;min-width:120px}.progress-status-message{font-size:.75rem;color:#58a6ff;font-style:italic;line-height:1.3;max-width:250px;word-wrap:break-word}.table-progress-bar{flex:1;height:6px;background:#21262d;border-radius:3px;overflow:hidden;min-width:80px}.table-progress-fill{height:100%;background:linear-gradient(90deg,#1f6feb,#58a6ff);transition:width .3s ease;border-radius:3px}.table-progress-text{font-size:.85rem;color:#8b949e;font-weight:600;min-width:35px;text-align:right}.no-progress,.error-indicator,.no-actions,.pending-operation{color:#6e7681;font-size:.9rem}.pending-operation{color:#8b949e;font-style:italic}.action-buttons{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.open-report-button{background:#238636;color:#fff}.open-report-button:hover{background:#2ea043}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000bf;display:flex;align-items:center;justify-content:center;z-index:1000;padding:2rem}.modal-content{background:#161b22;border:1px solid #30363d;border-radius:12px;max-width:95vw;max-height:95vh;width:100%;max-width:1400px;height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #000c;overflow:hidden}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;border-bottom:1px solid #30363d;flex-shrink:0}.modal-header h2{margin:0;color:#e6edf3;font-size:1.5rem}.modal-close-button{background:transparent;border:none;color:#8b949e;font-size:2rem;line-height:1;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:all .2s ease}.modal-close-button:hover{background:#30363d;color:#e6edf3}.modal-body{padding:2rem;overflow-y:auto;overflow-x:auto;flex:1;min-height:0;-webkit-overflow-scrolling:touch}.modal-loading,.modal-error{text-align:center;padding:3rem;color:#8b949e;font-size:1.1rem}.modal-error{color:#f85149}.report-content{color:#e6edf3;line-height:1.6;width:100%;min-height:100%}.report-heading{color:#58a6ff;font-size:1.5rem;margin:2rem 0 1rem;font-weight:600}.report-heading:first-child{margin-top:0}.report-subheading{color:#79c0ff;font-size:1.2rem;margin:1.5rem 0 .75rem;font-weight:600}.report-bold{font-weight:600;color:#e6edf3;margin:1rem 0}.report-paragraph{margin:1rem 0;color:#c9d1d9}.report-pre{background:#0d1117;border:1px solid #30363d;border-radius:6px;padding:1rem;overflow-x:auto;white-space:pre-wrap;word-wrap:break-word;font-family:Courier New,monospace;font-size:.9rem;color:#c9d1d9}.report-table-wrapper{margin:2rem 0;overflow-x:auto;overflow-y:visible;width:100%;display:block;-webkit-overflow-scrolling:touch}.report-table{width:100%;min-width:800px;border-collapse:collapse;background:#0d1117;border:1px solid #30363d;border-radius:6px;overflow:visible;table-layout:auto}.report-table thead{background:#21262d}.report-table th{padding:1rem;text-align:left;font-weight:600;color:#e6edf3;border-bottom:2px solid #30363d;font-size:.95rem;white-space:nowrap;min-width:150px}.report-table th:nth-child(1){min-width:80px;width:80px}.report-table th:nth-child(2){min-width:250px}.report-table th:nth-child(3){min-width:120px}.report-table th:nth-child(4){min-width:300px}.report-table th:nth-child(5){min-width:200px}.report-table td{padding:.75rem 1rem;border-bottom:1px solid #30363d;color:#c9d1d9;font-size:.9rem;word-wrap:break-word;word-break:break-word;max-width:500px}.report-table td:nth-child(1){width:80px;white-space:nowrap}.report-table td:nth-child(2){min-width:250px}.report-table td:nth-child(3){min-width:120px;white-space:nowrap}.report-table td:nth-child(4){min-width:300px}.report-table td:nth-child(5){min-width:200px}.report-table tbody tr:hover{background:#161b22}.report-table tbody tr:last-child td{border-bottom:none}.status-yes{color:#3fb950;font-weight:600}.status-no{color:#f85149;font-weight:600}.status-partial{color:#d29922;font-weight:600}.eligibility-badge{display:inline-block;padding:.4rem .8rem;border-radius:6px;font-size:.85rem;font-weight:600}.eligibility-badge.eligible{background:#1c2128;color:#3fb950;border:1px solid #238636}.eligibility-badge.not-eligible{background:#1c2128;color:#f85149;border:1px solid #da3633}.eligibility-badge.unknown{background:#21262d;color:#6e7681}.table-action-button{padding:.5rem 1rem;border:none;border-radius:6px;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .3s ease;background:#1f6feb;color:#fff;white-space:nowrap}.table-action-button:hover:not(:disabled){background:#2c7be5;transform:translateY(-1px);box-shadow:0 2px 8px #1f6feb66}.table-action-button:disabled{opacity:.5;cursor:not-allowed;background:#21262d}.table-action-button.processing{background:#d29922}.table-action-button.error{background:#da3633}.table-action-button.disabled-missing-company{background:#9e9e9e;cursor:not-allowed}.table-action-button.disabled-missing-company:hover{transform:none;box-shadow:none}.no-results{text-align:center;padding:3rem!important;color:#8b949e;font-size:1rem}.tender-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem}.tender-header h3{color:#333;font-size:1.3rem;flex:1}.tender-id{background:#667eea;color:#fff;padding:.25rem .75rem;border-radius:20px;font-size:.85rem;font-weight:600}.tender-info{margin-bottom:1rem}.info-row{display:flex;justify-content:space-between;margin-bottom:.5rem;padding:.5rem 0;border-bottom:1px solid #e0e0e0}.info-label{font-weight:600;color:#666}.info-value{color:#333}.status-section{margin:1rem 0;padding:1rem;border-radius:8px;background:#f5f5f5}.status-section.status-processing{background:#e3f2fd;border-left:4px solid #2196f3}.status-section.status-success{background:#e8f5e9;border-left:4px solid #4caf50}.status-section.status-error{background:#ffebee;border-left:4px solid #f44336}.status-header{display:flex;align-items:center;margin-bottom:.75rem}.status-indicator{width:12px;height:12px;border-radius:50%;background:#2196f3;margin-right:.5rem;animation:pulse 2s infinite}.status-section.status-success .status-indicator{background:#4caf50;animation:none}.status-section.status-error .status-indicator{background:#f44336;animation:none}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.status-text{color:#333;font-weight:500}.progress-container{margin-top:.75rem;display:flex;align-items:center;gap:.75rem}.progress-bar{flex:1;height:8px;background:#e0e0e0;border-radius:4px;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,#667eea,#764ba2);transition:width .3s ease;border-radius:4px}.progress-text{font-size:.85rem;color:#666;font-weight:600;min-width:40px}.eligibility-result{margin-top:.75rem;padding:.5rem;background:#fff;border-radius:6px;color:#333}.error-message{margin-top:.75rem;padding:.5rem;background:#fff;border-radius:6px;color:#d32f2f}.action-button{width:100%;padding:.75rem 1.5rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;margin-top:1rem}.action-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.action-button:disabled{opacity:.6;cursor:not-allowed}.action-button.processing{background:linear-gradient(135deg,#ffa726,#fb8c00)}.action-button.error{background:linear-gradient(135deg,#f44336,#d32f2f)}.action-button.error:hover:not(:disabled){background:linear-gradient(135deg,#e53935,#c62828);box-shadow:0 4px 12px #f4433666}.loading{text-align:center;color:#e6edf3;font-size:1.2rem;padding:2rem}.company-upload-section{margin-bottom:2rem}.company-upload-card{background:#161b22;border:1px solid #30363d;border-radius:16px;padding:2rem;box-shadow:0 10px 40px #00000080}.company-upload-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:2px solid #30363d}.company-upload-header h2{color:#fff;font-size:1.5rem;margin:0}.upload-status-badge{padding:.5rem 1rem;border-radius:20px;font-size:.85rem;font-weight:600}.upload-status-badge.uploaded{background:#1c2128;color:#3fb950;border:1px solid #238636}.upload-status-badge.required{background:#1c2128;color:#d29922;border:1px solid #bb8009}.company-upload-content{margin-top:1rem}.upload-success{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#0d1117;border:1px solid #30363d;border-radius:8px}.upload-info{flex:1}.upload-info p{margin:.5rem 0;color:#e6edf3}.change-file-button{padding:.5rem 1rem;background:#1f6feb;color:#fff;border:none;border-radius:6px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .3s ease}.change-file-button:hover{background:#2c7be5;transform:translateY(-1px);box-shadow:0 2px 8px #1f6feb66}.upload-form{display:flex;flex-direction:column;gap:1rem}.file-input-wrapper{position:relative}.file-input{position:absolute;width:.1px;height:.1px;opacity:0;overflow:hidden;z-index:-1}.file-input-label{display:inline-block;padding:.75rem 1.5rem;background:#0d1117;border:2px dashed #1f6feb;border-radius:8px;color:#58a6ff;font-weight:600;cursor:pointer;transition:all .3s ease;text-align:center;width:100%}.file-input-label:hover{background:#161b22;border-color:#58a6ff}.file-info{padding:1rem;background:#0d1117;border:1px solid #30363d;border-radius:8px;border-left:4px solid #1f6feb}.file-info p{margin:.25rem 0;color:#e6edf3;font-size:.9rem}.upload-error{padding:.75rem;background:#1c2128;border-left:4px solid #f85149;border-radius:4px;color:#f85149;font-size:.9rem}.upload-button{padding:.75rem 1.5rem;background:#1f6feb;color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease}.upload-button:hover:not(:disabled){background:#2c7be5;transform:translateY(-2px);box-shadow:0 4px 12px #1f6feb66}.upload-button:disabled{opacity:.6;cursor:not-allowed}.action-button.disabled-missing-company{background:#9e9e9e;cursor:not-allowed;opacity:.7}.action-button.disabled-missing-company:hover{transform:none;box-shadow:none}@media (max-width: 768px){.app-header h1{font-size:2rem}.tenders-container{padding:1.5rem}.tenders-header{flex-direction:column;align-items:flex-start;gap:1rem}.tenders-filters{flex-direction:column;width:100%;gap:.75rem}.search-input,.deadline-filter{width:100%}.tenders-table-wrapper{overflow-x:scroll}.tenders-table{min-width:800px}.company-upload-card{padding:1.5rem}.company-upload-header{flex-direction:column;align-items:flex-start;gap:.5rem}.upload-success{flex-direction:column;align-items:flex-start;gap:1rem}.change-file-button{width:100%}}
