.wpsc-ai-action-buttons { display: flex; gap: 8px; margin: 5px 0px 0px 5px; align-self: flex-start; } .wpsc-ai-action-buttons button { background: #ffffff; border: 1px solid #d1d1d1; border-radius: 6px; padding: 5px 12px; font-size: 12px; font-weight: 500; cursor: pointer; color: #333; transition: all 0.2s ease; } .wpsc-ai-action-buttons button:hover { background-color: #f0f0f0; border-color: #bbb; } .wpsc-input-group .extra-info { font-size: 11px; margin-bottom: 5px; } .wpsc-input-group .wpsc-ps-range { display: flex; align-items: center; gap: 10px; } .label-container .required-indicator { color: #ff0000; margin-left: 5px; } .wpsc-modal-body { display: flex; flex-direction: column; border-bottom: none !important; } .wpsc-ticket-summary-section { margin-bottom: 15px; margin-top: 20px; } .wpsc-ticket-summary-section ul { list-style-type: disc !important; padding-left: 40px !important; } .wpsc-ticket-summary-content h3 { color: #ff8f2b; margin-top: 0; margin-bottom: 12px; font-weight: 600; } .wpsc-ticket-summary-result { font-size: 15px; color: #333; } .wpsc-ai-assistance-header { display: flex; justify-content: space-between; } .wpsc-ai-assistance-header .wpsc-ai-assistance-header-close { width: 12px; cursor: pointer; } .wpsc-customer-reply-message { align-self: flex-end; background-color: #e3f2fd; border-bottom-right-radius: 4px !important; border: 1px solid #c2e2f9; max-width: 80%; padding: 10px 15px; border-radius: 18px; font-size: 14px; line-height: 1.5; color: #000000; word-wrap: break-word; margin: 5px; } .wpsc-ai-reply-message { align-self: flex-start; background-color: #f1f1f1; border-bottom-left-radius: 4px !important; border: 1px solid #e0e0e0; max-width: 80%; padding: 10px 15px; border-radius: 18px; font-size: 14px; line-height: 1.5; color: #000000; word-wrap: break-word; margin: 5px; } /* Loading div */ .wpsc-ai-loader { display: flex; justify-content: flex-end; margin-top: 5px; } .wpsc-ai-loader img { width: 15px; } .wpsc-ai-assistance-chatbox { display: flex; flex-direction: column; } .wpsc-ticket-summary-btn-container { display: flex; justify-content: center; align-items: center; padding: 10px 20px 20px 20px; } .wpsc-ticket-summary-container { padding-bottom: 10px; } .wpsc-input-area { border-top: 1px solid #eee; background: #fafafa; } .wpsc-improve-auto-draft-reply, .wpsc-ai-chat-textarea { width: 100%; height: 80px; padding: 12px; border: 1px solid #ddd; border-radius: 8px; resize: none; /* Keeps the UI clean */ font-family: inherit; font-size: 14px; box-sizing: border-box; outline: none; transition: border-color 0.2s; } .wpsc-improve-auto-draft-reply:focus, .wpsc-ai-chat-textarea:focus { border-color: #999; background: #fff; } .wpsc-token-link { color: #0073aa; cursor: pointer; text-decoration: underline; } .wpsc-token-link:hover { color: #005177; } .wpsc-modal-body { border-bottom: none !important; } .divide-bar .wpsc-ai-auto-delete-logs-time { max-width: 100px; } .divide-bar .wpsc-ai-auto-delete-logs-unit { max-width: 250px; } /* Shared AI Assistant list filter toolbar (Status / Source / Type / Search / Reset) */ .wpsc-aia-toolbar { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; background: #fff; border: 1px solid #dcdcde; border-radius: 6px; padding: 16px; margin-bottom: 20px; } .wpsc-aia-toolbar-item { display: flex; flex-direction: column; } .wpsc-aia-toolbar-item label { font-size: 12px; color: #646970; margin-bottom: 6px; font-weight: 600; } .wpsc-aia-toolbar-item select, .wpsc-aia-toolbar-item input { min-width: 200px; } .wpsc-aia-toolbar-item .select2-container { min-width: 200px; } .wpsc-aia-toolbar-reset { flex: 1; } .wpsc-aia-toolbar-reset button { width: fit-content; } .wpsc-aia-toolbar-search input { width: 100%; } .wpsc-aia-actions-bar { display: flex; gap: 10px; margin-bottom: 15px; } @media (max-width: 768px) { .wpsc-aia-toolbar-item, .wpsc-aia-toolbar-reset { width: 100%; } .wpsc-aia-toolbar-item select, .wpsc-aia-toolbar-item input { min-width: 0; width: 100%; } } /* Container styling */ .wpsc-ai-training-list-actions-container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 15px; width: 100%; } /* Left Group (Select and Button) */ .wpsc-ai-training-list-actions { display: flex; align-items: center; gap: 10px; flex: 1; justify-content: flex-start; } /* Right Group (Search) */ .wpsc-ai-training-list-actions-search { flex: 0 1 auto; display: flex; justify-content: flex-end; } .wpsc-ai-training-list-container .dt-search { display: none !important; } /* Length change is disabled and search/"Add new" are handled outside DataTables, so the default top row would otherwise render empty. */ .wpsc-ai-training-list-container .dt-container > .dt-layout-row:first-child { display: none; } /* Responsive: Stack vertically on small devices (Tablets/Phones) */ @media (max-width: 768px) { .wpsc-ai-training-list-actions-container { flex-direction: column; align-items: stretch; } .wpsc-ai-training-list-actions { width: 100%; justify-content: space-between; /* Keeps select and button side-by-side */ } .wpsc-ai-training-list-actions-search { width: 100%; } /* Force the input box inside to take full width on mobile */ .wpsc-ai-training-list-actions-search input { width: 100%; } } .wpsc-ai-bulk-actions-btn { display: flex; align-items: center; background-color: #fff; border: 1px solid #aaa !important; color: #444 !important; font-size: 13px; } .wpsc-ai-bulk-actions-btn svg { margin-left: 10px; width: 10px; padding-top: 3px; } #wpsc-bulk-actions-btn, #wpsc-file-upload-bulk-actions-btn { display: flex; align-items: center; } #wpsc-bulk-actions-btn svg, #wpsc-file-upload-bulk-actions-btn svg, #wpsc-training-data-bulk-actions-btn svg { height: 13px; margin-left: 15px; } .wpsc-ait-sync-progress { margin-top: 10px; padding: 12px 14px; background-color: #fef8e7; border: 1px solid #f0c33c; border-radius: 6px; } .wpsc-ait-sync-notice { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 12px; font-weight: 600; color: #8a6100; } .wpsc-ait-sync-notice::before { content: "\26A0"; } .wpsc-ait-provider-notice { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; padding: 12px 14px; background-color: #fef8e7; border: 1px solid #f0c33c; border-radius: 6px; font-size: 12px; font-weight: 600; color: #8a6100; } .wpsc-ait-provider-notice::before { content: "\26A0"; } .wpsc-ait-sync-progress-bar { width: 100%; height: 10px; background-color: #e5e5e5; border-radius: 5px; overflow: hidden; } .wpsc-ait-sync-progress-fill { height: 100%; width: 0%; background-color: #2271b1; border-radius: 5px; transition: width 0.3s ease; } .wpsc-ait-sync-progress-label { display: block; margin-top: 4px; font-size: 12px; color: #555; } .wpsc-ait-sync-post-types { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; } .wpsc-ait-sync-post-types li { font-size: 12px; color: #777; display: flex; align-items: center; gap: 4px; } .wpsc-ait-sync-post-types li::before { content: "\25CB"; font-size: 10px; } .wpsc-ait-sync-post-types li.done { color: #1a7f37; } .wpsc-ait-sync-post-types li.done::before { content: "\2713"; } .wpsc-ait-sync-post-types li.processing { color: #2271b1; font-weight: 600; } .wpsc-ait-sync-post-types li.processing::before { content: "\21BB"; } .wpsc-ait-sync-post-types li.failed { color: #d63638; font-weight: 600; } .wpsc-ait-sync-post-types li.failed::before { content: "\2715"; } .wpsc-ait-record-counts { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; background-color: #f5f5f5; border-radius: 6px; padding: 8px 14px; margin-bottom: 15px; font-size: 13px; color: #444; } .wpsc-ait-record-counts span:not(:last-child) { padding-right: 10px; border-right: 1px solid #d1d1d1; } .wpsc-ait-record-counts span strong { color: #222; font-weight: 600; } /* Edit screen: gap between the In Queue count and its "Retry Upload" link. */ .wpsc-ait-retry-upload-link { margin-left: 10px; } /* Sources list table: overall per-source upload status badge - see WPSC_PS_AI_Setting_AI_Training::get_source_upload_status(). */ .wpsc-ait-upload-status { display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 12px; font-weight: 600; white-space: nowrap; } .wpsc-ait-upload-status--completed { background-color: #edfaef; color: #1a7f37; } .wpsc-ait-upload-status--uploading { background-color: #e3f2fd; color: #2271b1; } .wpsc-ait-upload-status--queued { background-color: #fef8e7; color: #8a6100; } .wpsc-ait-upload-status--failed { background-color: #fcedee; color: #d63638; } .wpsc-ait-upload-status--not-synced { background-color: #f1f1f1; color: #666; } /* AI Training Data tab list: keep the Action column's links (View Reason | Delete) on one line instead of wrapping. */ .wpsc-ai-training-data-list-table td:last-child { white-space: nowrap; }