.wp-core-ui .notice.is-dismissible { z-index: 10000; } .mxchat-form-intent { background-color: rgba(240, 240, 245, 0.5); } .mxchat-badge { display: inline-block; padding: 2px 8px; border-radius: 12px; background: #7873f5; color: white; font-size: 12px; margin-left: 8px; } .mxchat-threshold-readonly { padding: 8px; background: rgba(120, 115, 245, 0.1); border-radius: 4px; text-align: center; } .mxchat-form-intent .mxchat-button-secondary { background: #7873f5; color: white; border: none; padding: 6px 12px; border-radius: 4px; text-decoration: none; display: inline-block; } .mxchat-form-intent .mxchat-button-secondary:hover { background: #6863e5; } /* Tab Navigation */ .mxchat-tabs { border-bottom: 1px solid #ccc; margin-bottom: 20px; padding-bottom: 0; } .mxchat-default-db-h2 { text-align: center; margin: 0px; padding: 0px; } .mxchat-tab-button { background: #f1f1f1; border: 1px solid #ccc; border-bottom: none; color: #555; cursor: pointer; font-size: 14px; margin: 0 5px -1px 0; padding: 10px 15px; transition: all 0.3s ease; } .mxchat-tab-button.active { background: #fff; border-bottom: 1px solid #fff; color: #000; } /* Tab Content */ .mxchat-tab-content { display: none; padding: 25px; background: white; border: 1px solid #ddd; border-radius: 10px; box-shadow: 0 2px 15px rgba(0,0,0,0.05); animation: fadeIn 0.3s ease-in-out; } #default-db.mxchat-tab-content, #pinecone-db.mxchat-tab-content { border: none; box-shadow: none; padding: 0px; } .mxchat-tab-content.active { display: block; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } .mxchat-tab-content.active { display: block; } /* Pinecone Settings Styling */ .mxchat-input-group { margin-bottom: 20px; } .mxchat-input-group label { display: block; font-weight: 600; margin-bottom: 5px; } .mxchat-input-group .description { color: #666; font-style: italic; margin-top: 5px; } .mxchat-sync-settings { background: #fff; border-radius: 5px; } .mxchat-toggle-container { margin-bottom: 15px; } .mxchat-toggle-switch { position: relative; display: inline-block; width: 60px; height: 34px; } .mxchat-toggle-switch input { opacity: 0; width: 0; height: 0; } .mxchat-toggle-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 34px; } .mxchat-toggle-slider:before { position: absolute; content: ""; height: 26px; width: 26px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; } input:checked + .mxchat-toggle-slider { background-color: #2196F3; } input:checked + .mxchat-toggle-slider:before { transform: translateX(26px); } .mxchat-toggle-label { vertical-align: super; font-weight: 500; } .mxchat-knowledge-container { display: flex; flex-direction: column; gap: 1rem; margin: 1.5rem 0; padding: 1rem; background: #fff; border-radius: 10px; border: 1px solid #ddd; box-shadow: 0 2px 4px rgba(0, 0, 0, .1); } /* Left Column */ .mxchat-knowledge-controls { flex: 1; display: flex; gap: 1rem; justify-content: space-between; align-items: center; } .mxchat-controls-header { display: flex; justify-content: space-between; align-items: center; } .displaying-num { color: #666; font-size: 0.9rem; } .mxchat-delete-all { color: #dc3545; border-color: #dc3545; } .mxchat-delete-all:hover { background: #dc3545; color: #fff; } .mxchat-pagination .page-numbers { padding: 0.25rem 0.5rem; margin: 0 0.25rem; border: 1px solid #ddd; border-radius: 4px; text-decoration: none; } .mxchat-pagination .current { background: #2271b1; color: #fff; border-color: #2271b1; } /* Right Column */ .mxchat-knowledge-search { flex: 1; } .search-input { flex: 1; padding: 0.5rem; border: 1px solid #ddd; border-radius: 4px; } .search-button { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; } /* Mobile Responsiveness */ @media screen and (max-width: 782px) { .mxchat-knowledge-controls { flex-direction: column; } .mxchat-grid-container { display: grid; /* Add these properties */ max-width: 100%; /* Constrain to parent width */ width: 100%; overflow-x: hidden; /* Prevent horizontal scrolling */ grid-template-columns: 1fr; /* Single column layout */ grid-gap: 20px; } .mxchat-controls-header { flex-direction: column; gap: 1rem; align-items: flex-start; } .mxchat-search-group { flex-direction: column; } } .mxchat-modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.4); } .mxchat-modal-content { background-color: #fefefe; margin: 15% auto; padding: 20px; border: 1px solid #ddd; width: 70%; max-width: 600px; border-radius: 4px; } .mxchat-modal-close { color: #aaa; float: right; font-size: 28px; font-weight: bold; cursor: pointer; } .mxchat-modal-close:hover { color: black; } .mxchat-admin .button.button-secondary.mxchat-edit-button { background: #3498db; color: #fff; border-radius: 20px; padding: 0px 20px !important; font-size: 1rem; font-weight: 700; text-decoration: none; transition: all .2s; justify-content: center; align-items: center; box-shadow: 4px 4px #2980b9; cursor: pointer; margin-top: 10px; border: none; width: 100%; } .mxchat-admin .mxchat-intents-table .mxchat-delete-all { width: 100%; } .mxchat-admin .mxchat-intents-table .mxchat-save-button { max-width: 100% !important; width: 100% !important; } .mxchat-agents-banner { background-color: #fff; margin-bottom: 20px; border-radius: 4px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); position: relative; margin-left: auto; margin-right: auto; padding: 0px 15px; } .mxchat-agents-banner::before { content: ''; position: absolute; top: 0; left: 0px; width: 10px; /* Matches border-left width */ height: 100%; background: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1); /* Gradient */ border-radius: 4px 0 0 4px; /* Match overall border radius */ } .mxchat-agents-banner p { font-size: 14px; line-height: 1.6; color: #444; /* Dark gray text */ margin: 0; padding: 15px 10px; } .mxchat-agents-banner a { background: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1); /* Gradient text */ -webkit-background-clip: text; -webkit-text-fill-color: transparent; /* Makes gradient visible */ font-weight: bold; text-decoration: none; transition: opacity 0.2s ease; } .mxchat-agents-banner a:hover { opacity: 0.8; /* Subtle fade on hover */ text-decoration: underline; /* Underline for accessibility */ } .mxchat-timestamp { font-size: 10px; color: #8c8f94; margin-top: 2px; padding: 0 8px; } .mxchat-messages::-webkit-scrollbar { width: 6px; } .mxchat-messages::-webkit-scrollbar-track { background: #f1f1f1; } .mxchat-messages::-webkit-scrollbar-thumb { background: #888; border-radius: 3px; } .mxchat-process-status { margin-top: 20px; padding: 15px; background: #fff; border: 1px solid #ddd; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); } .mxchat-process-status h3 { margin: 0 0 15px 0; color: #23282d; font-size: 14px; font-weight: 600; } .mxchat-process-status p { margin: 8px 0; color: #555; font-size: 13px; } .mxchat-process-status .status-complete { color: #46b450; font-weight: 500; } .mxchat-process-status.complete { border-color: #46b450; } /* Toggle Switch Styles */ .mxchat-switch { position: relative; display: inline-block; width: 60px; height: 34px; margin-right: 10px; } .mxchat-switch input { opacity: 0; width: 0; height: 0; } .mxchat-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 34px; } .mxchat-slider:before { position: absolute; content: ""; height: 26px; width: 26px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; } input:checked + .mxchat-slider { background-color: #2196F3; } input:disabled + .mxchat-slider { opacity: 0.5; cursor: not-allowed; } input:checked + .mxchat-slider:before { transform: translateX(26px); } .mxchat-status-label { display: inline-block; vertical-align: middle; margin-left: 10px; } .status-text { font-weight: 500; } .mxchat-question-row { margin-bottom: 10px; } .mxchat-similarity-threshold .mxchat-slider-container { display: flex; align-items: center; gap: 15px; margin-top: 10px; } .mxchat-similarity-threshold input[type="range"] { flex: 1; margin: 0; } .mxchat-similarity-threshold .button-primary { white-space: nowrap; } .mxchat-similarity-threshold label { font-weight: bold; display: block; margin-bottom: 5px; } .mxchat-similarity-threshold { max-width: 600px; } #threshold_value_display { font-weight: normal; margin-left: 10px; color: #0073aa; } .mxchat-form-group { margin-bottom: 20px; } .mxchat-form-group input[type="range"] { width: 100%; margin-top: 10px; } .mxchat-form-group label { font-weight: bold; display: block; margin-bottom: 5px; } .mxchat-form-group .description { font-size: 0.9em; color: #666; } #threshold_value_display { font-weight: normal; margin-left: 10px; color: #0073aa; } .mxchat-product-image, .mxchat-generated-image, .mxchat-image-thumbnail { max-width: 100%; } .description { margin-top: -10px; } .tablenav .tablenav-pages { display: flex; align-items: center; margin-left: 20px; gap: 5px; } /* General Styles */ .mxchat-admin body, .mxchat-admin html { font-family: Arial, sans-serif; background-color: #fff; color: #212121; margin: 0; padding: 0; } /* Main Wrapper */ .mxchat-admin .wrap { max-width: 1200px; margin: 0 auto; padding: 20px; background: #f9f9f9; box-shadow: 0 2px 4px rgba(0, 0, 0, .1); } /* Header */ .mxchat-admin .wrap h2 { border-bottom: 2px solid #ddd; padding-bottom: 10px; margin-bottom: 20px; color: #212121; } .wrap.mxchat-admin .admin-title { text-shadow: 0 2px 0 #c6c6c6; font-weight: bold; letter-spacing: 5px; color: #212121; font-size: 2.5rem; } .mxchat-admin .admin-emphasis { color: white; text-shadow: 2px 1px 0 #000, -1px -1px 0 #000, -1px 1px 0 #000, 1px -1px 0 #000, 0px 0 0 #000, 4px 0 0 #000, 0 0px 0 #000, 0 0px 0 #000; font-weight: bold; letter-spacing: 5px; font-size: 2.5rem; } /* Grid Layout */ .mxchat-admin .mxchat-grid-container { display: grid; grid-template-columns: repeat(2, 1fr); grid-gap: 20px; } .mxchat-admin .mxchat-grid-item { background: #fff; border: 1px solid #ddd; box-shadow: 0 2px 4px rgba(0, 0, 0, .1); padding: 20px; border-radius: 10px; } /* Full Width for Submit Content */ .mxchat-admin .mxchat-grid-item.full-width { grid-column: span 2; } /* Form Styles */ .mxchat-admin .mxchat-form-group { display: flex; flex-direction: column; margin-bottom: 20px; } .mxchat-admin .mxchat-form-group label { margin-bottom: 10px; font-weight: bold; color: #212121; } .mxchat-admin .mxchat-form-group input[type="url"], .mxchat-admin .mxchat-form-group input[type="text"], .mxchat-admin .mxchat-form-group input[type="password"], .mxchat-admin .mxchat-form-group textarea { padding: 10px; border: 1px solid #ddd; border-radius: 4px; font-size: 1rem; width: 100%; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); } /* Larger Textarea for Content Submission */ .mxchat-admin .mxchat-form-group textarea { min-height: 200px; } /* Button Styles */ .mxchat-admin .button.button-primary { color: #fff; background: #212121; border-radius: 20px; padding: 0px 30px; font-size: 1rem; font-weight: 700; text-decoration: none; transition: all .2s; display: inline-flex; justify-content: center; align-items: center; max-width: 200px; width: auto; box-shadow: 4px 4px #14141499; border: none; cursor: pointer; } .mxchat-search-group .button.button-primary.search-button { box-shadow: none; border-radius: 0px 20px 20px 0px; margin-bottom: 0px; padding: 0px 15px; } .mxchat-search-group .button.button-primary.search-button:hover { opacity: .8px; } .mxchat-admin .button.button-primary:hover, .mxchat-admin .button.button-primary:active { background: #444; } .submit-content-button { margin-top: 10px !important; } /* Search and Sitemap Group */ .mxchat-admin .mxchat-search-group { display: flex; gap: 0px; max-width: 800px; margin: auto; margin-top: 20px; align-items: stretch; flex-direction: row; } .mxchat-admin .mxchat-search-group input[type="text"], .mxchat-admin .mxchat-search-group input[type="url"] { flex-grow: 1; border-radius: 20px 0px 0px 20px; padding: 8px; } .mxchat-search-group #mxchat-intent-search { border-radius: 0px 0px 0px 0px; } .mxchat-admin .mxchat-search-group input[type="submit"] { background: #212121; color: #fff; border-radius: 20px; padding: 0px 30px; font-size: 1rem; font-weight: 700; box-shadow: 4px 4px #14141499; border: none; transition: background-color .2s; cursor: pointer; } .mxchat-admin .mxchat-search-group input[type="submit"]:hover { background-color: #444; } .mxchat-admin .mxchat-delete-all, .button.button-link-delete.mxchat-delete-all { background: #e74c3c; color: #fff; border-radius: 20px; padding: 0px 15px !important; font-size: 1rem; font-weight: 700; text-decoration: none; transition: all .2s; justify-content: center; align-items: center; box-shadow: 4px 4px #c0392b; cursor: pointer; margin-bottom: 10px; border: none; } .mxchat-admin .mxchat-delete-all:hover { color: #fff; background-color: #c0392b; box-shadow: 4px 4px #a93226 } .mxchat-admin .mxchat-intents-table .mxchat-delete-all { background: #e74c3c; color: #fff; border-radius: 20px; padding: 0px 20px !important; font-size: 1rem; font-weight: 700; text-decoration: none; transition: all .2s; justify-content: center; align-items: center; box-shadow: 4px 4px #c0392b; cursor: pointer; margin-top: 10px; border: none; } .mxchat-admin .mxchat-intents-table .mxchat-delete-all:hover { color: #fff; background-color: #c0392b; box-shadow: 4px 4px #a93226; } /* Table Styles */ .mxchat-admin .wp-list-table { width: 100%; margin-top: 20px; border-collapse: collapse; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .1); } .mxchat-admin .wp-list-table th, .mxchat-admin .wp-list-table td { padding: 15px; border-bottom: 1px solid #ddd; text-align: left; } .mxchat-admin .wp-list-table th { background: #f0f2f5; color: #212121; } .mxchat-admin .wp-list-table tr:nth-child(even) { background: #f9f9f9; } .mxchat-admin .mxchat-pro-banner { background-color: #fff; padding: 0px 15px; margin-bottom: 20px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */ position: relative; /* Required for the ::before pseudo-element */ } .mxchat-admin .mxchat-pro-banner::before { content: ''; position: absolute; top: 0; left: 0px; width: 10px; /* Matches the border-left width in your original CSS */ height: 100%; background-color: #212121; /* Dark bar color */ border-radius: 4px 0 0 4px; /* Rounded corners on the left */ } .mxchat-admin .mxchat-pro-banner p { margin: 0; font-size: 16px; color: #212121; padding: 15px 10px; } .mxchat-admin .mxchat-pro-banner a { color: #212121; text-decoration: none; font-weight: bold; } .mxchat-admin .mxchat-pro-banner a:hover { text-decoration: underline; } /* Toggle Switch Styles */ .mxchat-admin .toggle-switch { position: relative; display: inline-block; width: 60px; height: 34px; } .mxchat-admin .toggle-switch input { opacity: 0; width: 0; height: 0; } .mxchat-admin .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 34px; } .mxchat-admin .slider:before { position: absolute; content: ""; height: 26px; width: 26px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; } .mxchat-admin input:checked + .slider { background-color: #212121; } .mxchat-admin input:checked + .slider:before { transform: translateX(26px); } /* Toggle Switch Label */ .mxchat-admin .toggle-switch-label { display: flex; align-items: center; font-weight: 600; color: #212121; margin-bottom: 20px; } .mxchat-loading-text { display: none; margin-top: 10px; color: #333; } .mxchat-spinner { border: 8px solid #f3f3f3; border-top: 8px solid #333; border-radius: 50%; width: 30px; height: 30px; animation: mxchat-spin 1s linear infinite; display: flex; justify-content: center; align-items: center; } #mxchat-content-loading-text { display: none; margin-top: 10px; color: #333; } .mxchat-content-spinner { border: 8px solid #f3f3f3; border-top: 8px solid #333; border-radius: 50%; width: 30px; height: 30px; animation: mxchat-spin 1s linear infinite; display: flex; justify-content: center; align-items: center; } #mxchat-activation-spinner { border: 4px solid #f3f3f3; border-top: 4px solid #007cba; /* Match the WordPress primary button color */ border-radius: 50%; width: 20px; height: 20px; animation: mxchat-spin 1s linear infinite; display: inline-block; vertical-align: middle; margin-left: 10px; } @keyframes mxchat-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .pro-feature-wrapper.active select, .pro-feature-wrapper.active textarea { opacity: 1; /* Fully opaque when active */ } .pro-feature-wrapper.inactive select, .pro-feature-wrapper.inactive textarea { opacity: 0.5; /* Grayed out when inactive */ } .pro-feature-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; pointer-events: none; } .pro-feature-overlay img { max-width: 100px; pointer-events: auto; /* Allow clicking the image */ } .pro-feature-wrapper a { text-decoration: none; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10; /* Ensure the link is above everything else */ } .mxchat-admin .chat-session { border: 1px solid #ddd; padding: 15px; width: calc(33.333% - 20px); box-sizing: border-box; background-color: #f9f9f9; display: flex; flex-direction: column; max-height: 500px; overflow: auto; } .mxchat-admin .chat-message { border-bottom: 1px solid #eee; padding-bottom: 10px; margin-bottom: 10px; } .mxchat-admin .chat-session h4 { margin-bottom: 15px; font-size: 1.1em; font-weight: 700; } .mxchat-controls { display: flex; align-items: center; margin-bottom: 15px; } .mxchat-select-all-label { margin-right: 15px; display: flex; align-items: center; } .mxchat-select-all-label input[type="checkbox"] { margin-right: 5px; } .mxchat-controls .delete-chats-button.button { padding: 6px 12px; font-size: 14px; background: #e74c3c; color: #fff; border-radius: 20px; font-weight: 700; text-decoration: none; transition: all .2s; justify-content: center; align-items: center; cursor: pointer; border: none; line-height: 1; } .mxchat-controls .delete-chats-button.button:hover { color: #fff; background-color: #c0392b; box-shadow: 4px 4px #a93226 } .mxchat-license-status.active { color: green; font-weight: bold; } .mxchat-license-status.inactive { color: red; font-weight: bold; } .mxchat-nav-tab-wrapper { margin: 0px 0px; padding: 0px 0px; display: flex; padding-left: 20px; } .mxchat-nav-tab { font-size: 14px; padding: 10px 20px; margin-right: 10px; background: #f1f1f1; border: 1px solid #ddd; border-bottom: none; cursor: pointer; box-shadow: none; color: #333; text-decoration: none; } .mxchat-nav-tab:hover, .mxchat-nav-tab:focus { background: #fff; color: #0073aa; box-shadow: none; } .mxchat-nav-tab-active { background: #fff; border-bottom: 1px solid #fff; color: #0073aa; } .mxchat-tab-content.active { display: block; } .mxchat-settings-section { padding: 20px 0; } .mxchat-settings-section h2 { font-size: 1.2em; margin-bottom: 10px; color: #333; font-weight: bold; } .section-divider { width: 95%; height: 2px; background-color: #e0e0e0; margin: 20px auto; border-radius: 1px; } .form-table th { padding: 10px 0; vertical-align: top; width: 220px; } .form-table td { padding: 10px 0; } .mxchat-table { width: 100%; table-layout: fixed; border-collapse: collapse; border: 1px solid #ccc; /* Adds a border around the table */ } /* Header styling to match theme */ .mxchat-table th { background-color: #212121; /* Dark gray/black background */ color: #fff; /* White text */ font-weight: bold; padding: 10px; border-bottom: 3px solid #ccc; /* Thicker divider for the header */ } /* General cell styling */ .mxchat-table th, .mxchat-table td { padding: 8px 10px; text-align: left; vertical-align: top; /* Aligns content to the top of the cell */ border-bottom: 2px solid #ddd; /* Adds prominent dividers between rows */ } /* Alternate row background for better readability */ .mxchat-table tbody tr:nth-child(odd) { background-color: #f9f9f9; } .mxchat-table tbody tr:nth-child(even) { background-color: #fff; } /* ID column should be small */ .mxchat-table td:nth-child(1), .mxchat-table th:nth-child(1) { width: 15%; /* ID column */ text-align: center; } /* Content column should be wide */ .mxchat-table td:nth-child(2), .mxchat-table th:nth-child(2) { width: 50%; /* Content column */ } /* URL column */ .mxchat-table td:nth-child(3), .mxchat-table th:nth-child(3) { width: 20%; /* URL column */ text-align: left; overflow-x: auto; /* Allow the URL to scroll horizontally if it's too long */ white-space: nowrap; } /* Actions column */ .mxchat-table td:nth-child(4), .mxchat-table th:nth-child(4) { width: 15%; /* Edit/Delete column */ text-align: center; } .mxchat-intents-table { width: 100%; table-layout: fixed; border-collapse: collapse; border: 1px solid #ccc; } .mxchat-intents-table th { background-color: #212121; color: #fff; font-weight: bold; padding: 10px; border-bottom: 3px solid #ccc; } .mxchat-intents-table th, .mxchat-intents-table td { padding: 8px 10px; text-align: left; vertical-align: top; border-bottom: 2px solid #ddd; } .mxchat-intents-table tbody tr:nth-child(odd) { background-color: #f9f9f9; } .mxchat-intents-table tbody tr:nth-child(even) { background-color: #fff; } /* Intent Label column */ .mxchat-intents-table td:nth-child(1), .mxchat-intents-table th:nth-child(1) { width: 20%; } /* Phrases column */ .mxchat-intents-table td:nth-child(2), .mxchat-intents-table th:nth-child(2) { width: 30%; overflow-x: auto; } /* Callback Function column */ .mxchat-intents-table td:nth-child(3), .mxchat-intents-table th:nth-child(3) { width: 20%; } /* Similarity Threshold column */ .mxchat-intents-table td:nth-child(4), .mxchat-intents-table th:nth-child(4) { width: 15%; text-align: center; } /* Actions column */ .mxchat-intents-table td:nth-child(5), .mxchat-intents-table th:nth-child(5) { width: 15%; text-align: center; } /* Style the threshold range slider */ .mxchat-intents-threshold-form input[type="range"] { width: 100%; margin: 5px 0; } .mxchat-intents-threshold-form button { margin-top: 5px; } /* Edit content textarea styling */ .content-edit { width: 100%; /* Make textarea fill the column */ height: 100px; /* Adjust height as needed */ box-sizing: border-box; /* Ensure padding and border are included in the width/height */ } /* Button styling to match theme */ .mxchat-table td .button { display: inline-block; margin-right: 5px; background-color: #212121; color: #fff; border: none; padding: 5px 10px; text-decoration: none; border-radius: 3px; cursor: pointer; box-shadow: 4px 4px #14141499; } /* Hover state */ .mxchat-table td .button:hover { display: inline-block; margin-right: 5px; background-color: #444; color: #fff; border: none; padding: 5px 10px; text-decoration: none; border-radius: 3px; cursor: pointer; box-shadow: 4px 4px #14141499; } /* Active state */ .mxchat-table td .button:active { display: inline-block; margin-right: 5px; background-color: #444; color: #fff; border: none; padding: 5px 10px; text-decoration: none; border-radius: 3px; cursor: pointer; box-shadow: 4px 4px #14141499; } /* Focus state */ .mxchat-table td .button:focus { display: inline-block; margin-right: 5px; background-color: #444; color: #fff; border: none; padding: 5px 10px; text-decoration: none; border-radius: 3px; cursor: pointer; box-shadow: 4px 4px #14141499; outline: none; /* Removes default outline */ } /* Responsive Design */ @media (max-width: 1024px) { .mxchat-admin .mxchat-grid-container { grid-template-columns: 1fr; } .mxchat-admin .mxchat-grid-item.full-width { grid-column: span 1; } .mxchat-admin .chat-session { width: calc(100% - 0px); } .mxchat-nav-tab { padding: 10px 12px; } .mxchat-admin .mxchat-nav-tab-wrapper, .mxchat-admin .wrap h2.mxchat-nav-tab-wrapper, .mxchat-admin h1.mxchat-nav-tab-wrapper { border-bottom: 0; justify-content: space-evenly; display: flex; } .mxchat-admin .mxchat-nav-tab-wrapper .mxchat-nav-tab { margin: 0; } .mxchat-nav-tab-wrapper { padding-left: 0px; } .mxchat-session { width: 100%; } } /* Basic responsive table styles */ @media screen and (max-width: 782px) { .mxchat-intents-table { display: block; width: 100%; } .mxchat-intents-table thead { display: none; /* Hide header on mobile */ } .mxchat-intents-table tbody, .mxchat-intents-table tr, .mxchat-intents-table td { display: block; width: 100%; } .mxchat-intents-table tr { margin-bottom: 1.5rem; background: #fff; padding: 1rem; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); max-width: 300px; } /* Add labels before content */ .mxchat-intents-table td:before { content: attr(data-label); font-weight: 600; display: block; margin-bottom: 0.5rem; color: #1d2327; } /* Spacing between cells */ .mxchat-intents-table td { padding: 0.5rem 0; border: none; } /* Handle the slider container */ .mxchat-intents-table td:nth-child(4) { margin: 1rem 0; } /* Style the range input */ .mxchat-intents-table input[type="range"] { width: 100%; margin: 0.5rem 0; } /* Style the actions column */ .mxchat-intents-table td:last-child { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; } /* Make buttons full width on mobile */ .mxchat-intents-table .mxchat-save-button, .mxchat-intents-table .mxchat-edit-button, .mxchat-intents-table .mxchat-delete-all { width: 100%; margin: 0; } /* Adjust output display */ .mxchat-intents-table output { display: block; text-align: center; margin-top: 0.25rem; } /* Additional spacing for forms */ .mxchat-intents-table form { margin: 0; } } /* Stats Grid */ .mxchat-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 30px; margin-top: 20px; } .mxchat-stat-card { background: white; padding: 20px; border-radius: 10px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); display: flex; align-items: center; gap: 15px; } .stat-icon { font-size: 24px; background: #f0f0f1; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 10px; } .stat-content { display: flex; flex-direction: column; } .stat-value { font-size: 24px; font-weight: bold; color: #1d2327; } .stat-label { color: #50575e; font-size: 14px; } /* Controls Section */ .mxchat-controls-wrapper { background: white; padding: 20px; border-radius: 10px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; } .mxchat-controls { display: flex; gap: 15px; align-items: center; } .mxchat-search-box input { padding: 8px 12px; border-radius: 5px; border: 1px solid #dcdcde; width: 300px; } /* Select/Delete Buttons */ .mxchat-select-button { display: flex; align-items: center; gap: 8px; padding: 8px 16px; background: #fff; border: 1px solid #0073aa; border-radius: 4px; color: #0073aa; cursor: pointer; transition: all 0.2s ease; } .mxchat-select-button:hover { background: #f0f7ff; } .mxchat-select-button.selected { background: #0073aa; color: #fff; } .mxchat-select-button .dashicons { font-size: 18px; width: 18px; height: 18px; transition: transform 0.2s ease; } .mxchat-select-button.selected .dashicons { transform: scale(1.2); } .delete-chats-button { display: flex !important; align-items: center; gap: 8px; background: #dc3232 !important; color: #fff !important; border: none !important; padding: 8px 16px !important; border-radius: 4px !important; cursor: pointer; transition: all 0.2s ease !important; } .delete-chats-button:hover { background: #b32d2e !important; } .delete-chats-button .dashicons { font-size: 18px; width: 18px; height: 18px; } /* Transcript Grid */ .mxchat-transcript { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; } /* Session Cards */ .mxchat-session { background: white; border-radius: 10px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); overflow: hidden; border: 1px solid #dcdcde; display: flex; flex-direction: column; } .mxchat-session-header { background: #f0f0f1; padding: 15px; border-bottom: 1px solid #dcdcde; } .mxchat-messages { padding: 15px; max-height: 400px; overflow-y: auto; flex-grow: 1; overflow-x: hidden; } /* Message Styling */ .mxchat-message { margin-bottom: 15px; max-width: 85%; } .mxchat-message.user-message { margin-left: auto; } .mxchat-message-content { padding: 10px 15px; border-radius: 15px; margin: 5px 0; } .user-message .mxchat-message-content { background: #0073aa; color: white; border-radius: 18px 0 18px 18px; } .bot-message .mxchat-message-content { background: #f0f0f1; border-radius: 0 18px 18px; } .mxchat-timestamp { font-size: 12px; color: #50575e; } /* Responsive Design */ @media (max-width: 782px) { .mxchat-controls-wrapper { flex-direction: column; align-items: stretch; } .mxchat-controls { flex-direction: column; width: 100%; } .mxchat-search-box input { width: 100%; } .mxchat-transcript { grid-template-columns: 1fr; } .mxchat-select-button, .delete-chats-button { width: 100%; justify-content: center; } } /* Form Table Layout */ .form-table { border-collapse: separate; border-spacing: 0 20px; margin-top: -20px; /* Compensate for border-spacing */ width: 100%; } .form-table th { padding: 20px 10px 20px 0; width: 200px; vertical-align: top; font-weight: 600; color: #1d2327; } .form-table td { padding: 15px 10px; vertical-align: top; } /* Input Styling */ .form-table input[type="text"], .form-table input[type="password"], .form-table textarea, .form-table select { width: 100%; max-width: 500px; padding: 8px 12px; border: 1px solid #dcdcde; border-radius: 4px; background-color: #fff; transition: all 0.2s ease; } .form-table input[type="text"]:focus, .form-table input[type="password"]:focus, .form-table textarea:focus, .form-table select:focus { border-color: #2271b1; box-shadow: 0 0 0 1px #2271b1; outline: none; } /* Range Input Styling */ input[type="range"] { -webkit-appearance: none; width: 200px; height: 4px; background: #dcdcde; border-radius: 2px; vertical-align: middle; } input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; height: 16px; width: 16px; border-radius: 50%; background: #2271b1; cursor: pointer; transition: all 0.2s ease; } input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.1); } #mxchat_threshold_value { display: inline-block; padding: 4px 8px; background: #2271b1; color: white; border-radius: 4px; margin-left: 10px; font-size: 12px; min-width: 30px; text-align: center; } /* Toggle Switch */ .toggle-switch { position: relative; display: inline-block; width: 50px; height: 24px; } .toggle-switch input { opacity: 0; width: 0; height: 0; } .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 24px; } .slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; } input:checked + .slider { background-color: #2271b1; } input:checked + .slider:before { transform: translateX(26px); } /* Description Text */ .description { margin-top: 8px; color: #646970; font-style: italic; font-size: 13px; } /* Show/Hide Password Button */ button[id^="toggleApiKey"], button[id^="toggleXaiKey"], button[id^="toggleClaudeKey"] { margin-left: 10px; padding: 4px 12px; background: #f0f0f1; border: 1px solid #c3c4c7; border-radius: 3px; cursor: pointer; transition: all 0.2s ease; } button[id^="toggleApiKey"]:hover, button[id^="toggleXaiKey"]:hover, button[id^="toggleClaudeKey"]:hover { background: #e5e5e5; } /* Additional Questions Section */ .mxchat-question-row { display: flex; gap: 10px; margin-bottom: 10px; align-items: center; } .mxchat-question-row input { flex: 1; } .mxchat-remove-question, .mxchat-add-question { padding: 4px 12px !important; height: auto !important; } .mxchat-remove-question { background: #dc3232 !important; color: white !important; border: none !important; } .mxchat-add-question { background: #2271b1 !important; color: white !important; border: none !important; margin-top: 10px; } /* Pro Feature Wrapper */ .pro-feature-wrapper { position: relative; } .pro-feature-wrapper.inactive { opacity: 0.7; } /* Responsive Design */ @media screen and (max-width: 782px) { .form-table td { padding-left: 0; } .form-table input[type="text"], .form-table input[type="password"], .form-table textarea, .form-table select { max-width: 100%; } .form-table th { padding-bottom: 5px; } .mxchat-question-row { flex-direction: column; gap: 5px; } input[type="range"] { width: 100%; max-width: 300px; } } /* Section Headers */ .mxchat-tab-content h2 { font-size: 1.5em; padding-bottom: 15px; margin-bottom: 25px; border-bottom: 2px solid #f0f0f1; color: #1d2327; } /* Grouped Settings */ .form-table tr:not(:last-child) { border-bottom: 1px solid #f0f0f1; } /* Show/Hide Button - Universal Selector for all toggle buttons */ button[id^="toggle"] { padding: 8px 16px; background: #f0f0f1; border: 1px solid #dcdcde; border-radius: 4px; cursor: pointer; color: #1d2327; font-size: 13px; font-weight: 500; transition: all 0.2s ease; white-space: nowrap; height: 36px; min-width: 80px; margin-left: 10px; } /* Specific selectors for backward compatibility */ button[id^="toggleApiKey"], button[id^="toggleXaiApiKey"], button[id^="toggleClaudeApiKey"], button[id^="toggleWooCommerceSecretVisibility"], button[id^="toggleBraveApiKeyVisibility"], button[id^="toggleLoopsApiKeyVisibility"], button[id^="toggleWebhookUrlVisibility"], button[id^="toggleSecretKeyVisibility"], button[id^="toggleBotTokenVisibility"] { padding: 8px 16px; background: #f0f0f1; border: 1px solid #dcdcde; border-radius: 4px; cursor: pointer; color: #1d2327; font-size: 13px; font-weight: 500; transition: all 0.2s ease; white-space: nowrap; height: 36px; min-width: 80px; margin-left: 10px; } /* Hover state for all toggle buttons */ button[id^="toggle"]:hover { background: #e5e5e5; border-color: #c3c4c7; } /* Active state for all toggle buttons */ button[id^="toggle"]:active { background: #dcdcde; border-color: #c3c4c7; transform: translateY(1px); } /* Responsive Design */ @media screen and (max-width: 782px) { .pro-feature-wrapper { flex-wrap: wrap; } /* Make all toggle buttons full width on mobile */ button[id^="toggle"] { width: 100%; margin-left: 0; margin-top: 10px; } .mxchat-remove-question { width: 100%; } } .mxchat-flex-section h2 { margin: 0 0 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid #eee; } .mxchat-sync-settings, .mxchat-import-section { flex: 1; } .mxchat-toggle-group { display: flex; flex-direction: column; gap: 0.75rem; } .mxchat-toggle-container { display: flex; align-items: center; gap: 0.75rem; } .mxchat-toggle-switch { position: relative; display: inline-block; width: 44px; height: 22px; } .mxchat-toggle-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 22px; } .mxchat-toggle-slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 2px; bottom: 2px; background-color: white; transition: .4s; border-radius: 50%; } input:checked + .mxchat-toggle-slider { background-color: #2196F3; } input:checked + .mxchat-toggle-slider:before { transform: translateX(22px); } .mxchat-url-input-group { display: flex; gap: 0.5rem; } .mxchat-url-input-group input[type="url"] { flex: 1; } .mxchat-status-section { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #eee; } .mxchat-process-status { background: #f8f9fa; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; } .status-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; } .status-header h4 { margin: 0; } .progress-bar { background: #eee; border-radius: 4px; height: 8px; margin-bottom: 0.5rem; } .progress { background: #2196F3; height: 100%; border-radius: 4px; transition: width 0.3s ease; } .status-details { display: flex; justify-content: space-between; font-size: 0.9em; color: #666; } .save-button-settings { background: #3498db !important; color: #fff !important; border-radius: 20px !important; padding: 0px 20px !important; font-size: 1rem !important; font-weight: 700 !important; text-decoration: none !important; transition: all .2s !important; box-shadow: 4px 4px #2980b9 !important; cursor: pointer !important; margin-top: 10px !important; border: none !important; margin-bottom: 10px !important; } .mxchat-import-description { margin-bottom: 1rem; } .description-text { margin: 0 0 0.5rem; color: #666; } .import-options { margin: 0 0 1rem; padding-left: 1.5rem; } .import-options li { margin-bottom: 0.25rem; color: #666; } .import-options strong { color: #333; } .import-section { margin-top: 50px; } /* Mobile Responsiveness */ @media screen and (max-width: 782px) { .mxchat-settings-row { flex-direction: column; } .mxchat-url-input-group input[type="submit"] { width: 100%; } } /* Feedback container for saving indicator */ .feedback-container { display: inline-flex; align-items: right; margin-left: 10px; position: relative; z-index: 2; } /* Spinner animation */ .saving-spinner { width: 16px; height: 16px; border: 2px solid #ccc; border-top-color: #007cba; /* WordPress blue */ border-radius: 50%; animation: spin 0.6s linear infinite; } /* Checkmark icon */ .success-icon { display: none; color: #28a745; /* Green for success */ font-size: 16px; font-weight: bold; margin-left: 5px; animation: fadeInOut 1.5s ease-in-out forwards; } /* Spinner animation keyframes */ @keyframes spin { to { transform: rotate(360deg); } } /* Success icon fade animation */ @keyframes fadeInOut { 0% { opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; } } .slider-container { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; } .range-slider { flex-grow: 1; max-width: 300px; } .range-value { min-width: 30px; text-align: center; } /* Optional: Style the range input */ input[type="range"] { -webkit-appearance: none; width: 100%; height: 8px; background: #ddd; border-radius: 4px; outline: none; } input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; background: #2271b1; border-radius: 50%; cursor: pointer; } /* Container Styles */ .mxchat-import-container { background: #fff; padding: 20px; border: 1px solid #e1e1e1; border-radius: 10px; box-shadow: 0 2px 4px rgba(0, 0, 0, .1); } /* Tabs Navigation */ .mxchat-tabs { display: flex; border-bottom: 2px solid #e1e1e1; margin-bottom: 20px; } .mxchat-tab-button { padding: 10px 20px; cursor: pointer; background: transparent; border: none; border-bottom: 2px solid transparent; transition: all 0.3s ease; font-size: 16px; color: #333; } .mxchat-tab-button:hover, .mxchat-tab-button:focus { background: #f9f9f9; } .mxchat-tab-button.active { border-bottom: 2px solid #0073aa; font-weight: bold; color: #0073aa; } /* Flex Container for Default DB Tab */ .mxchat-flex-container { display: flex; gap: 20px; flex-wrap: wrap; } .mxchat-sync-column, .mxchat-import-column { flex: 1; min-width: 300px; } /* Section Headings and Descriptions */ .mxchat-section h3 { font-size: 18px; margin-bottom: 10px; color: #0073aa; } .mxchat-description { font-size: 14px; margin-bottom: 15px; color: #555; } /* Toggle Switches */ .mxchat-toggle-container { display: flex; align-items: center; margin-bottom: 15px; } .mxchat-toggle-switch { position: relative; display: inline-block; width: 50px; height: 24px; margin-right: 10px; } .mxchat-toggle-switch input { opacity: 0; width: 0; height: 0; } .mxchat-toggle-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: 0.4s; border-radius: 24px; } .mxchat-toggle-switch input:checked + .mxchat-toggle-slider { background-color: #212121; } .mxchat-toggle-slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: 0.4s; border-radius: 50%; } .mxchat-toggle-switch input:checked + .mxchat-toggle-slider:before { transform: translateX(26px); } .mxchat-toggle-label { font-size: 14px; color: #333; } /* Form Groups */ .mxchat-form-group { margin-bottom: 15px; } .mxchat-form-group label { display: block; margin-bottom: 5px; font-weight: bold; color: #333; } .mxchat-form-group .description { font-size: 12px; color: #777; } /* URL and Pinecone Input Groups */ .mxchat-url-input-group, .mxchat-pinecone-input-group { display: flex; gap: 0px; margin-bottom: 15px; } .mxchat-url-input-group input[type="url"], .mxchat-pinecone-input-group input[type="url"] { flex: 1; padding: 8px; border: 1px solid #ccc; border-radius: 4px 0px 0px 4px; } .mxchat-url-input-group input[type="submit"], .mxchat-pinecone-input-group input[type="submit"] { padding: 8px 16px; background-color: #0073aa; color: #fff; border: none; border-radius: 4px; cursor: pointer; transition: background-color 0.3s ease; } .mxchat-url-input-group input[type="submit"]:hover, .mxchat-pinecone-input-group input[type="submit"]:hover { background-color: #005177; } /* Submit Wrapper */ .mxchat-submit-wrapper { margin-top: 20px; } /* Import & Pinecone Options List */ .import-options, .pinecone-options { margin: 10px 0 15px 20px; color: #555; } .import-options li, .pinecone-options li { margin-bottom: 5px; } /* Spinner Styles */ .mxchat-spinner, .mxchat-pinecone-spinner { border: 4px solid #f3f3f3; border-top: 4px solid #0073aa; border-radius: 50%; width: 30px; height: 30px; animation: spin 1s linear infinite; margin: 10px auto; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* Processing Status Messages */ .mxchat-process-status, .mxchat-pinecone-status { border: 1px solid #0073aa; background-color: #f1f8ff; padding: 10px; border-radius: 4px; margin-top: 15px; } .mxchat-process-status h3, .mxchat-pinecone-status h3 { margin-top: 0; font-size: 16px; color: #0073aa; } .mxchat-process-status p, .mxchat-pinecone-status p { margin: 5px 0; font-size: 14px; color: #333; } /* Responsive Adjustments */ @media (max-width: 768px) { .mxchat-flex-container { flex-direction: column; } } .button.button-primary.pinecone-submit { box-shadow: none; border-radius: 0px 4px 4px 0px; background: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1); margin-bottom: 0px; } .button.button-primary.pinecone-submit:hover { opacity: .8; background: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1); } /* Pro Hero Section */ body.wp-admin .mxchat-pro-hero { text-align: center; padding: 3.5rem 2rem; position: relative; background: #212121; border-bottom: 4px solid transparent; border-image: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1); border-image-slice: 1; } body.wp-admin .mxchat-pro-hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient( circle at center, rgba(250, 115, 230, 0.08) 0%, rgba(120, 115, 245, 0.08) 50%, rgba(58, 201, 209, 0.08) 100% ); z-index: 1; } body.wp-admin .mxchat-pro-hero::after { content: ''; position: absolute; bottom: -20px; left: 0; width: 100%; height: 20px; background: linear-gradient(180deg, rgba(33, 33, 33, 0.2) 0%, transparent 100%); z-index: 2; } body.wp-admin .pro-title { font-size: 3.5rem; margin: 0 0 1.5rem; line-height: 1.2; color: white; position: relative; z-index: 2; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; } body.wp-admin .pro-gradient-text { font-weight: 700; background: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; } body.wp-admin .pro-subtitle { font-size: 1.25rem; color: rgba(255, 255, 255, 0.9); max-width: 600px; margin: 0 auto; position: relative; z-index: 2; line-height: 1.6; } /* Responsive Design */ @media (max-width: 768px) { body.wp-admin .pro-title { font-size: 2.1rem; margin-bottom: 1rem; } body.wp-admin .mxchat-pro-hero { padding: 2.5rem 1.5rem; } body.wp-admin .pro-subtitle { font-size: 1.1rem; } } /* Form Container Styles */ body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-form-container { max-width: 600px; margin: 2rem auto; background: white; padding: 2rem; border-radius: 12px; box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06); } /* Form Table Styles */ body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-form .form-table { margin: 0; border-collapse: separate; border-spacing: 0 1rem; } body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-form .form-table th { padding: 0 1rem 0 0; width: 140px; font-weight: 600; color: #212121; font-size: 15px; vertical-align: middle; } /* Input Field Styles */ body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-input { width: 100%; padding: 10px 16px; border: 2px solid #e0e0e0; border-radius: 8px; font-size: 15px; transition: all 0.3s ease; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02); } body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-input:focus { border-color: #7873f5; box-shadow: 0 0 0 3px rgba(120, 115, 245, 0.1); outline: none; } /* Button Container and Button Styles */ body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-button-container { margin-top: 2rem; text-align: right; display: flex; align-items: center; justify-content: flex-end; gap: 1rem; } body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-button { background: linear-gradient(135deg, #fa73e6, #7873f5); border: none; padding: 12px 24px; border-radius: 8px; color: white; font-weight: 600; font-size: 15px; cursor: pointer; transition: all 0.3s ease; text-shadow: none; box-shadow: 0 4px 12px rgba(120, 115, 245, 0.2); height: auto; line-height: 1.4; } body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-button:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(120, 115, 245, 0.3); } /* Error Notice Styles */ body.wp-admin .wrap.mxchat-admin-activation .error.notice { margin: 2rem auto; max-width: 600px; border-left-color: #dc3232; background: #fff; border-radius: 4px; box-shadow: 0 2px 8px rgba(220, 50, 50, 0.1); } /* License Status Styles */ body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-status { max-width: 600px; margin: 2rem; padding: 1.5rem; background: white; border-radius: 12px; box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06); } body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-status h3 { margin: 0; font-size: 15px; color: #212121; display: flex; align-items: center; gap: 0.5rem; } body.wp-admin .wrap.mxchat-admin-activation .mxchat-status-badge { padding: 6px 12px; border-radius: 20px; font-size: 13px; font-weight: 600; } body.wp-admin .wrap.mxchat-admin-activation .mxchat-status-badge.active { background: #e8f5e9; color: #2e7d32; } body.wp-admin .wrap.mxchat-admin-activation .mxchat-status-badge.inactive { background: #fff3e0; color: #ef6c00; } /* Spinner Styles */ body.wp-admin .wrap.mxchat-admin-activation .mxchat-activation-spinner { width: 20px; height: 20px; border: 2px solid rgba(120, 115, 245, 0.3); border-radius: 50%; border-top-color: #7873f5; animation: spin 1s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* Responsive Adjustments */ @media (max-width: 782px) { body.wp-admin .wrap.mxchat-admin-activation .mxchat-pro-form .form-table th { padding-bottom: 0.5rem; } body.wp-admin .wrap.mxchat-admin-activation .form-table, body.wp-admin .wrap.mxchat-admin-activation .form-table tbody, body.wp-admin .wrap.mxchat-admin-activation .form-table tr, body.wp-admin .wrap.mxchat-admin-activation .form-table th, body.wp-admin .wrap.mxchat-admin-activation .form-table td { display: block; width: 100%; padding: 0; } body.wp-admin .wrap.mxchat-admin-activation .form-table td { margin-bottom: 1.5rem; } }