/* Import nested tabs styles */
@import './styles/nested-tabs.css';
@import './styles/chat-agent.css';
/* Force reload test */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background: #0a0e27;
color: #ffffff;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
line-height: 1.6;
}
/* Global link styles - yellow for better visibility */
a {
color: #ffff00;
text-decoration: none;
transition: color 0.3s;
}
a:hover {
color: #ffb6c1;
text-decoration: underline;
}
a:visited {
color: #ffff00;
}
.app {
min-height: 100vh;
padding: 20px;
max-width: 1400px;
margin: 0 auto;
}
.header {
text-align: center;
margin-bottom: 30px;
position: relative;
}
.header h1 {
background: linear-gradient(135deg, #4fbdba, #7b68ee);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
font-size: 2.5rem;
margin-bottom: 5px;
}
.version-info {
color: #888;
font-size: 0.9rem;
margin-bottom: 10px;
}
.version-info a {
color: #ffff00;
text-decoration: none;
transition: color 0.3s;
}
.version-info a:hover {
color: #ffb6c1;
}
.header-content {
display: flex;
justify-content: center;
align-items: center;
gap: 20px;
position: relative;
}
.header-content .language-selector {
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
z-index: 999;
}
.controls {
background: transparent;
padding: 20px 20px 0 0;
margin-bottom: -2px;
display: flex;
gap: 20px;
position: relative;
z-index: 2;
flex-wrap: wrap;
align-items: flex-end;
}
.tab-border-line {
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 2px;
background: #2c3e50;
z-index: 0;
}
.profile-controls {
display: flex;
flex-direction: column;
align-items: stretch;
gap: 0;
flex: 1;
position: relative;
}
.profile-controls::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
right: 0;
height: 2px;
background: #2c3e50;
z-index: 1;
}
.outer-tabs {
width: 100%;
margin-bottom: 0;
}
.profile-tabs {
width: 100%;
background: #1a1f3a;
padding: 10px 5px 5px 15px;
border-radius: 0;
margin-top: -2px;
z-index: 0;
}
.inner-tabs {
gap: 2px;
position: relative;
padding-left: 0;
margin-left: 0;
}
.inner-tabs::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
right: 0;
height: 2px;
background: #2c3e50;
z-index: 1;
}
.inner-tabs .tab {
background: #2c3e50;
border-color: #2c3e50;
font-size: 0.85rem;
padding: 8px 14px;
cursor: move;
margin-bottom: -2px;
}
.inner-tabs .tab:hover {
background: #34495e;
}
.inner-tabs .tab.active {
background: #16213e;
border-color: #2c3e50;
color: #4fbdba;
border-bottom: 2px solid #16213e;
}
/* Project Inner Tabs */
.project-inner-tabs {
background: #0f1626;
padding: 10px 5px 0 30px;
border-bottom: 1px solid #2c3e50;
position: relative;
}
.inner-tabs-list {
display: flex;
gap: 2px;
border-bottom: 1px solid #2c3e50;
margin-bottom: -1px;
padding: 0 20px;
}
.inner-tab {
background: #1a1f3a;
border: 1px solid #2c3e50;
border-bottom: none;
color: #8b92a9;
padding: 10px 16px;
cursor: pointer;
border-radius: 6px 6px 0 0;
font-size: 0.9rem;
transition: all 0.2s;
position: relative;
font-weight: 500;
margin-bottom: 0;
}
.inner-tab:hover {
background: rgba(79, 189, 186, 0.1);
color: #4fbdba;
border-color: #4fbdba;
}
.inner-tab.active {
background: #16213e;
color: #4fbdba;
border-color: #4fbdba;
border-bottom: 1px solid #16213e;
z-index: 1;
}
.inner-tab.active::after {
content: '';
position: absolute;
bottom: -1px;
left: -1px;
right: -1px;
height: 1px;
background: #16213e;
}
/* Settings Panel */
.settings-panel {
max-width: 90%;
margin: 0 auto;
padding: 40px 20px;
}
.settings-panel h2 {
color: #4fbdba;
margin-bottom: 30px;
font-size: 1.5rem;
text-align: center;
}
.settings-panel .form-group {
margin-bottom: 25px;
}
.settings-panel .form-actions {
margin-top: 30px;
text-align: center;
}
.tabs-list {
display: flex;
align-items: center;
gap: 2px;
position: relative;
z-index: 1;
padding-left: 0;
margin-left: 0;
}
.tab {
display: flex;
align-items: center;
gap: 8px;
padding: 10px 16px;
background: #34495e;
border: 2px solid #2c3e50;
border-bottom: none;
border-radius: 8px 8px 0 0;
color: #bbb;
cursor: pointer;
transition: all 0.3s;
white-space: nowrap;
font-size: 0.9rem;
user-select: none;
position: relative;
margin-bottom: -2px;
}
.tab:hover {
background: #4a5f7a;
color: #fff;
}
.tab.active {
background: #16213e;
color: #4fbdba;
font-weight: 600;
border-color: #2c3e50;
border-bottom: none;
z-index: 3;
position: relative;
}
.tab.active::after {
content: '';
position: absolute;
bottom: -2px;
left: -2px;
right: -2px;
height: 2px;
background: #16213e;
z-index: 4;
}
.tab.dragging {
opacity: 0.5;
transform: scale(0.95);
}
.tab.drag-over {
border-left: 3px solid #4fbdba;
}
.tab-name {
pointer-events: none;
}
.tab-name-input {
background: white;
border: 1px solid #0066cc;
border-radius: 3px;
padding: 2px 6px;
font-size: 14px;
max-width: 150px;
outline: none;
color: #333;
}
.tab-close-btn {
background: none;
border: none;
color: inherit;
cursor: pointer;
font-size: 1.2rem;
line-height: 1;
padding: 0;
margin-left: 4px;
opacity: 0.7;
transition: opacity 0.3s;
}
.tab-close-btn:hover {
opacity: 1;
color: #ff6b6b;
}
.add-tab-btn {
display: flex;
align-items: center;
gap: 8px;
padding: 10px 16px;
background: #6494D3;
border: 2px solid #2c3e50;
border-bottom: none;
border-radius: 8px 8px 0 0;
color: #fff;
cursor: pointer;
transition: all 0.3s;
white-space: nowrap;
font-size: 0.9rem;
user-select: none;
position: relative;
margin-bottom: -2px;
font-weight: 600;
}
.add-tab-btn:hover {
background: #5081c7;
color: #fff;
}
.content-container {
background: #16213e;
border-radius: 0 10px 10px 0;
border: 2px solid #2c3e50;
overflow: hidden;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
margin-top: 0;
margin-left: 15px;
margin-right: 5px;
position: relative;
z-index: 1;
}
.stats-and-search-container {
display: flex;
justify-content: space-between;
align-items: center;
gap: 20px;
flex-wrap: nowrap;
background: #16213e;
padding: 15px 20px;
border-bottom: 1px solid #2c3e50;
min-height: 60px;
}
.controls-right {
display: flex;
align-items: center;
gap: 15px;
margin-left: auto; /* Push to far right */
}
.auto-refresh-controls {
display: flex;
align-items: center;
gap: 10px;
white-space: nowrap;
}
.auto-refresh {
display: flex;
align-items: center;
gap: 8px;
color: #aaa;
white-space: nowrap;
}
.auto-refresh input[type="checkbox"] {
transform: scale(1.2);
}
.refresh-interval-select {
padding: 6px 8px;
background: #2c3e50;
border: 1px solid #34495e;
border-radius: 4px;
color: white;
font-size: 0.9rem;
cursor: pointer;
transition: all 0.3s;
}
.refresh-interval-select:focus {
outline: none;
border-color: #4fbdba;
}
.refresh-interval-select:disabled {
opacity: 0.5;
cursor: not-allowed;
background: #1a252f;
}
.search-container {
display: flex;
align-items: center;
gap: 10px;
flex-shrink: 0;
}
.search-input {
width: 300px;
padding: 8px 12px;
background: #1a252f;
border: 2px solid #2c3e50;
border-radius: 6px;
color: white;
font-size: 0.9rem;
transition: border-color 0.3s;
}
.refresh-button {
padding: 8px 12px;
background: #2c3e50;
border: none;
border-radius: 6px;
color: white;
cursor: pointer;
transition: background-color 0.3s;
font-size: 1.1rem;
display: flex;
align-items: center;
justify-content: center;
min-width: 40px;
}
.refresh-button:hover:not(:disabled) {
background: #4fbdba;
}
.refresh-button:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.rename-button {
padding: 8px 12px;
background: #6a5acd;
border: none;
border-radius: 6px;
color: white;
cursor: pointer;
transition: background-color 0.3s;
font-size: 0.9rem;
display: flex;
align-items: center;
gap: 5px;
}
.rename-button:hover:not(:disabled) {
background: #7b68ee;
}
.rename-button:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.history-button {
padding: 8px 12px;
background: #8e44ad;
border: none;
border-radius: 6px;
color: white;
cursor: pointer;
transition: background-color 0.3s;
font-size: 0.9rem;
display: flex;
align-items: center;
gap: 5px;
}
.history-button:hover:not(:disabled) {
background: #9b59b6;
}
.history-button:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.edit-profile-button {
padding: 8px;
background: #3498db;
border: none;
border-radius: 6px;
color: white;
cursor: pointer;
transition: background-color 0.3s;
font-size: 1.1rem;
display: flex;
align-items: center;
justify-content: center;
min-width: 36px;
height: 36px;
order: 999; /* Ensure it appears last in flex layout */
}
.edit-profile-button:hover:not(:disabled) {
background: #2980b9;
}
.edit-profile-button:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.search-input:focus {
outline: none;
border-color: #4fbdba;
}
.search-input::placeholder {
color: #666;
}
.table {
width: 100%;
border-collapse: collapse;
font-size: 0.9rem;
}
/* Bulk Actions Bar Styles */
.bulk-actions-bar {
background: rgba(52, 152, 219, 0.1);
border: 1px solid rgba(52, 152, 219, 0.3);
border-radius: 8px;
padding: 16px 20px;
margin: 20px 0;
display: flex;
gap: 12px;
align-items: center;
animation: slideDown 0.3s ease-out;
}
@keyframes slideDown {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Fix checkbox clickability in table */
.table input[type="checkbox"] {
position: relative;
z-index: 20;
cursor: pointer;
width: 18px;
height: 18px;
margin: 0;
padding: 0;
accent-color: #4fbdba;
transform: scale(1.2);
}
.table input[type="checkbox"]:hover {
transform: scale(1.3);
}
.bulk-action-button {
background: #3498db;
color: white;
border: none;
border-radius: 6px;
padding: 10px 20px;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: all 0.2s ease;
display: flex;
align-items: center;
gap: 8px;
box-shadow: 0 2px 4px rgba(52, 152, 219, 0.2);
}
.bulk-action-button:hover {
background: #2980b9;
transform: translateY(-1px);
box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}
.bulk-action-button:active {
transform: translateY(0);
box-shadow: 0 2px 4px rgba(52, 152, 219, 0.2);
}
.bulk-action-button.ai-assign {
background: #5dade2;
}
.bulk-action-button.ai-assign:hover {
background: #3498db;
}
.bulk-action-button:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.bulk-action-button:disabled:hover {
transform: none;
box-shadow: 0 2px 4px rgba(52, 152, 219, 0.2);
}
/* Error Modal Styles */
.error-modal {
max-width: 500px;
background: #1a1a2e;
border: 2px solid #e74c3c;
}
.error-modal h2 {
color: #e74c3c;
margin-bottom: 20px;
font-size: 1.5rem;
}
.error-modal p {
color: #ecf0f1;
margin-bottom: 16px;
line-height: 1.6;
}
.error-modal .instructions {
background: rgba(0, 0, 0, 0.3);
border-radius: 8px;
padding: 20px;
margin: 20px 0;
border-left: 4px solid #3498db;
}
.error-modal .instructions p {
margin-bottom: 12px;
font-family: 'Consolas', 'Monaco', monospace;
font-size: 0.9rem;
}
.error-modal .instructions p:last-child {
margin-bottom: 0;
}
.error-modal .file-path {
font-family: monospace;
background: rgba(255, 255, 255, 0.1);
padding: 8px 12px;
border-radius: 4px;
margin: 8px 0;
word-break: break-all;
color: #ffff00;
border: 1px solid rgba(255, 255, 255, 0.2);
}
.error-modal .primary-btn {
margin-top: 20px;
width: 100%;
}
/* API Key Input Styling */
.api-key-input-wrapper {
position: relative;
display: flex;
align-items: center;
}
.api-key-input {
padding-right: 45px !important;
font-family: 'Consolas', 'Monaco', monospace;
font-size: 14px;
letter-spacing: 0.5px;
}
.api-key-toggle {
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
background: transparent;
border: none;
cursor: pointer;
padding: 5px;
font-size: 18px;
color: #4fbdba;
transition: all 0.2s ease;
border-radius: 4px;
}
.api-key-toggle:hover {
background: rgba(79, 189, 186, 0.1);
transform: translateY(-50%) scale(1.1);
}
.api-key-toggle:active {
transform: translateY(-50%) scale(0.95);
}
.table th {
background: #0f3460;
padding: 12px;
text-align: left;
font-weight: 600;
color: #4fbdba;
border-bottom: 2px solid #2c3e50;
border-right: 1px solid #2c3e50;
position: sticky;
top: 0;
z-index: 10;
}
.table th:last-child {
border-right: none;
}
.table td {
padding: 12px;
border-bottom: 1px solid #2c3e50;
border-right: 1px solid #2c3e50;
vertical-align: top;
position: relative;
}
.table td:last-child {
border-right: none;
}
.table tbody tr:hover {
background: #1a252f;
}
.status-badge {
padding: 4px 12px;
border-radius: 20px;
font-size: 0.8rem;
font-weight: bold;
text-transform: uppercase;
white-space: nowrap;
}
.status-pending {
background: #e74c3c;
color: white;
}
.status-in_progress {
background: #f39c12;
color: white;
}
.status-completed {
background: #27ae60;
color: white;
}
.task-number {
background: #0f4c75;
color: white;
padding: 4px 8px;
border-radius: 4px;
font-weight: bold;
font-size: 0.8rem;
}
.task-number.clickable {
cursor: pointer;
transition: all 0.2s;
}
.task-number.clickable:hover {
background: #1e5f8e;
transform: scale(1.05);
}
.task-number.copied {
background: #27ae60;
}
.task-id {
font-size: 0.75rem;
color: #7f8c8d;
font-family: monospace;
word-break: break-all;
}
.task-id-clickable {
cursor: pointer;
transition: all 0.2s;
display: inline-block;
}
.task-id-clickable:hover {
color: #3b82f6;
transform: scale(1.05);
}
.task-id-clickable.copied {
color: #27ae60;
}
.task-name {
font-weight: 600;
color: #ffffff;
margin-bottom: 4px;
}
.task-description {
color: #cccccc;
font-size: 0.85rem;
line-height: 1.4;
max-width: 300px;
}
.task-meta {
color: #888;
font-size: 0.8rem;
margin-top: 4px;
}
/* Task dates styling for Created/Updated column */
.task-dates {
font-size: 0.75rem;
line-height: 1.3;
}
.task-dates .date-created,
.task-dates .date-updated {
padding: 2px 0;
}
.task-dates small {
text-transform: uppercase;
letter-spacing: 0.5px;
}
.task-id-container {
display: flex;
align-items: center;
gap: 5px;
}
.copy-button {
background: none;
border: none;
cursor: pointer;
font-size: 0.8rem;
padding: 2px;
opacity: 0.7;
transition: opacity 0.2s;
}
.copy-button:hover {
opacity: 1;
}
.loading {
text-align: center;
padding: 50px;
color: #888;
font-size: 1.1rem;
}
.empty-state {
text-align: center;
padding: 60px 20px;
color: #95a5a6;
}
.empty-state-icon {
font-size: 4rem;
margin-bottom: 20px;
opacity: 0.5;
}
.empty-state-title {
font-size: 1.5rem;
font-weight: 600;
color: #bdc3c7;
margin-bottom: 10px;
}
.empty-state-message {
font-size: 1.1rem;
color: #95a5a6;
max-width: 500px;
margin: 0 auto;
line-height: 1.6;
}
.error {
background: #e74c3c;
color: white;
padding: 20px;
border-radius: 10px;
margin: 20px 0;
text-align: center;
}
.pagination {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
background: #0f3460;
}
.pagination-info {
color: #aaa;
font-size: 0.9rem;
}
.pagination-controls {
display: flex;
gap: 10px;
}
.pagination-controls button {
padding: 8px 12px;
background: #16213e;
border: 1px solid #2c3e50;
color: white;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s;
}
.pagination-controls button:hover:not(:disabled) {
background: #2c3e50;
}
.pagination-controls button:disabled {
opacity: 0.5;
cursor: not-allowed;
}
/* Main task statistics grid - ensure horizontal layout */
.stats-and-search-container .stats-grid {
display: flex !important;
gap: 20px;
margin-bottom: 0;
align-items: center;
flex-wrap: nowrap;
flex: 0 1 auto;
}
/* Fallback for general stats grid */
.stats-grid {
display: flex;
gap: 20px;
margin-bottom: 10px;
align-items: center;
}
/* Ensure single-line layout on desktop */
@media (min-width: 769px) {
.stats-and-search-container {
flex-wrap: nowrap !important;
gap: 15px;
display: flex !important;
flex-direction: row !important;
}
.stats-and-search-container .stats-grid {
flex: 0 0 auto;
gap: 10px;
}
.search-container {
flex: 0 0 auto;
}
.search-input {
width: 200px;
}
.controls-right {
flex: 0 0 auto;
gap: 10px;
}
/* Make buttons more compact */
.history-button,
.edit-profile-button,
.refresh-button {
padding: 6px 10px;
font-size: 0.85rem;
}
/* Compact auto-refresh controls */
.auto-refresh-controls {
gap: 5px;
}
.auto-refresh {
font-size: 0.85rem;
}
.refresh-interval-select {
padding: 4px 8px;
font-size: 0.85rem;
}
/* More compact stat cards */
.stat-card {
padding: 3px 6px;
gap: 5px;
}
.stat-card h3 {
font-size: 0.65rem;
}
.stat-card .value {
font-size: 0.9rem;
}
}
.stat-card {
background: #16213e;
padding: 4px 8px;
border-radius: 4px;
text-align: center;
border: 1px solid #2c3e50;
display: flex;
align-items: center;
gap: 6px;
white-space: nowrap;
}
.stat-card h3 {
color: #4fbdba;
font-size: 0.7rem;
margin: 0;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.stat-card .value {
font-size: 1rem;
font-weight: bold;
color: #ffffff;
margin: 0;
}
@media (max-width: 768px) {
.controls {
flex-direction: column;
align-items: stretch;
gap: 15px;
}
.profile-controls {
flex-direction: column;
align-items: stretch;
gap: 10px;
}
.tabs-list {
flex-wrap: wrap;
gap: 4px;
}
.tab {
font-size: 0.8rem;
padding: 6px 10px;
}
.stats-and-search-container {
flex-direction: column;
align-items: stretch;
gap: 15px;
}
/* Keep stats horizontal even on mobile */
.stats-and-search-container .stats-grid {
display: flex !important;
flex-direction: row !important;
flex-wrap: wrap;
justify-content: center;
gap: 10px;
}
.controls-right {
justify-content: center;
flex-wrap: wrap;
gap: 10px;
}
.search-input {
width: 100%;
}
.content-container {
overflow-x: auto;
}
.table {
min-width: 800px;
}
.stats-grid {
flex-wrap: wrap;
gap: 10px;
justify-content: center;
}
}
/* Modal Styles */
.modal-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.8);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
}
.modal-content {
background: #16213e;
border-radius: 10px;
padding: 30px;
max-width: 500px;
width: 90%;
border: 2px solid #4fbdba;
}
/* Notes Modal Styles */
.notes-modal {
max-width: 600px;
}
.modal-subtitle {
color: #8b92a9;
margin-bottom: 20px;
font-size: 0.9rem;
}
.notes-textarea {
width: 100%;
background: #0f1626;
border: 1px solid #2c3e50;
border-radius: 6px;
padding: 12px;
color: #ffffff;
font-size: 1rem;
resize: vertical;
margin-bottom: 20px;
}
.notes-textarea:focus {
outline: none;
border-color: #4fbdba;
}
/* Edit Notes Button */
.edit-notes-button {
background: transparent;
border: 1px solid #2c3e50;
border-radius: 4px;
padding: 4px 8px;
cursor: pointer;
transition: all 0.2s;
font-size: 1rem;
}
.edit-notes-button:hover {
background: rgba(79, 189, 186, 0.1);
border-color: #4fbdba;
}
.edit-notes-button.has-note {
border-color: #4fbdba;
background: rgba(79, 189, 186, 0.05);
}
.notes-cell {
text-align: center;
}
.notes-preview {
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
white-space: pre-wrap;
word-break: break-word;
max-width: 200px;
line-height: 1.4;
cursor: pointer;
text-align: left;
font-size: 0.85rem;
color: #95a5a6;
margin: 0 auto;
}
.notes-preview:hover {
color: #4fbdba;
}
.modal-content h3 {
color: #4fbdba;
margin: 0 0 20px 0;
text-align: center;
}
.form-group {
margin-bottom: 20px;
}
.form-group label {
display: block;
color: #fff;
margin-bottom: 8px;
font-weight: 600;
}
.form-group input[type="text"],
.form-group input[type="file"] {
width: 100%;
padding: 12px;
background: #0f3460;
border: 2px solid #2c3e50;
border-radius: 5px;
color: white;
font-size: 1rem;
}
.form-group input[type="text"]:focus,
.form-group input[type="file"]:focus {
outline: none;
border-color: #4fbdba;
}
.form-actions {
display: flex;
gap: 10px;
justify-content: flex-end;
margin-top: 30px;
}
.primary-btn,
.secondary-btn,
.add-profile-btn {
padding: 10px 20px;
border: none;
border-radius: 5px;
font-size: 1rem;
cursor: pointer;
transition: all 0.3s;
}
.primary-btn {
background: #4fbdba;
color: white;
}
.primary-btn:hover {
background: #3a9b98;
}
.secondary-btn {
background: #2c3e50;
color: white;
}
.secondary-btn:hover {
background: #34495e;
}
.add-profile-btn {
background: #27ae60;
color: white;
white-space: nowrap;
}
.add-profile-btn:hover {
background: #2ecc71;
}
/* Sortable Table Headers */
.table th.sortable {
cursor: pointer;
user-select: none;
}
.table th.sortable:hover {
background: #1a4480;
}
/* Clickable Table Rows */
.clickable-row {
cursor: pointer;
transition: background 0.2s;
}
.clickable-row:hover {
background: rgba(255, 255, 255, 0.03);
}
/* Highlight in-progress tasks */
.clickable-row.task-in-progress {
background: rgba(243, 156, 18, 0.1);
border-left: 4px solid #f39c12;
}
.clickable-row.task-in-progress:hover {
background: rgba(243, 156, 18, 0.15);
}
/* Task Detail View Styles */
.task-detail-view {
display: flex;
flex-direction: column;
height: 100%;
background: #1a1f2e;
border-radius: 8px;
}
/* Historical Task Detail View */
.task-detail-view.historical {
background: linear-gradient(135deg, #2a1f3e 0%, #1a1f2e 100%);
border: 1px solid rgba(139, 92, 246, 0.2);
}
.task-detail-view.historical .task-detail-header {
background: rgba(139, 92, 246, 0.1);
border-bottom: 1px solid rgba(139, 92, 246, 0.3);
}
.task-detail-view.historical .task-number {
background: #6b3ba0;
}
/* History Tasks View Styles */
.history-tasks-view {
background: linear-gradient(135deg, #2a1f3e 0%, #1a1f2e 100%);
border: 1px solid rgba(139, 92, 246, 0.2);
border-radius: 8px;
padding: 0;
height: 100%;
overflow: hidden;
display: flex;
flex-direction: column;
max-width: 100%;
box-sizing: border-box;
}
.history-tasks-header {
padding: 30px 20px;
background: rgba(139, 92, 246, 0.1);
border-bottom: 1px solid rgba(139, 92, 246, 0.3);
border-top-left-radius: 8px;
border-top-right-radius: 8px;
}
.history-tasks-view .table {
background: rgba(0, 0, 0, 0.2);
margin: 0 20px;
}
.history-tasks-view .stat-card {
background: rgba(139, 92, 246, 0.15);
border: 1px solid rgba(139, 92, 246, 0.3);
}
.history-tasks-view .stats-grid {
margin: 20px;
}
.history-tasks-view .pagination {
margin: 0 20px 20px 20px;
}
.history-tasks-view .empty-tasks {
margin: 20px;
}
.task-detail-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 30px 20px;
border-bottom: 1px solid #2c3e50;
background: rgba(0, 0, 0, 0.2);
margin-bottom: 30px;
}
.task-detail-header h2 {
margin: 0;
color: #3498db;
font-size: 24px;
display: flex;
align-items: center;
gap: 12px;
}
.task-detail-header .task-number {
background: #0f4c75;
color: white;
padding: 4px 8px;
border-radius: 4px;
font-weight: bold;
font-size: 0.8rem;
}
.back-button {
background: #2c3e50;
color: white;
border: none;
padding: 10px 20px;
border-radius: 6px;
cursor: pointer;
font-size: 14px;
display: flex;
align-items: center;
gap: 8px;
transition: background 0.2s;
}
.back-button:hover {
background: #34495e;
}
/* History View Styles */
.history-view {
background: linear-gradient(135deg, #2a1f3e 0%, #1a1f2e 100%);
border: 1px solid rgba(139, 92, 246, 0.2);
border-radius: 8px;
padding: 0;
height: 100%;
overflow: hidden;
display: flex;
flex-direction: column;
max-width: 100%;
box-sizing: border-box;
}
/* History View Header */
.history-view-header {
padding: 30px 20px;
background: rgba(139, 92, 246, 0.1);
border-bottom: 1px solid rgba(139, 92, 246, 0.3);
border-top-left-radius: 8px;
border-top-right-radius: 8px;
}
.history-view-header h2 {
margin: 0;
color: #e9d5ff;
font-size: 24px;
}
.history-view .table {
background: rgba(0, 0, 0, 0.2);
margin: 0 20px;
}
.history-view .status-summary {
display: flex;
align-items: center;
gap: 8px;
background: rgba(139, 92, 246, 0.1);
padding: 4px 8px;
border-radius: 4px;
white-space: nowrap;
}
.status-item {
display: flex;
align-items: center;
gap: 4px;
font-size: 0.9rem;
}
.status-count {
font-weight: 600;
}
.status-item.completed {
color: #4ade80;
}
.status-item.in-progress {
color: #f59e0b;
}
.status-item.pending {
color: #8b92a9;
}
.status-divider {
color: #4a5568;
margin: 0 4px;
}
.history-view .pagination {
margin: 0 20px 20px 20px;
}
.task-detail-content {
flex: 1;
padding: 20px;
overflow-y: auto;
}
.task-detail-footer {
padding: 20px;
border-top: 1px solid #2c3e50;
background: rgba(0, 0, 0, 0.2);
display: flex;
justify-content: center;
}
.task-detail-section {
margin-bottom: 25px;
padding-bottom: 20px;
border-bottom: 1px solid #2c3e50;
}
.task-detail-section:last-child {
border-bottom: none;
margin-bottom: 0;
padding-bottom: 0;
}
.task-detail-section h3 {
color: #3498db;
margin: 0 0 12px 0;
font-size: 18px;
}
.detail-row {
display: flex;
gap: 12px;
margin-bottom: 10px;
align-items: center;
}
.detail-label {
font-weight: 600;
color: #95a5a6;
min-width: 100px;
}
.detail-value {
color: #ecf0f1;
}
.detail-content {
background: rgba(0, 0, 0, 0.3);
padding: 12px;
border-radius: 6px;
color: #ecf0f1;
line-height: 1.6;
white-space: pre-wrap;
word-break: break-word;
}
.monospace {
font-family: 'Consolas', 'Monaco', monospace;
font-size: 13px;
}
.dependency-list {
margin: 0;
padding-left: 20px;
list-style-type: none;
}
.dependency-list li {
margin-bottom: 6px;
color: #95a5a6;
}
.dependency-list li::before {
content: "→ ";
color: #3498db;
font-weight: bold;
}
.related-files-list {
display: flex;
flex-direction: column;
gap: 12px;
}
.related-file-item {
display: flex;
gap: 12px;
background: rgba(0, 0, 0, 0.3);
padding: 12px;
border-radius: 6px;
align-items: flex-start;
}
.file-type-icon {
font-size: 20px;
min-width: 30px;
text-align: center;
}
.file-info {
flex: 1;
}
.file-path {
color: #3498db;
margin-bottom: 4px;
word-break: break-all;
}
.file-link {
color: #ff00ff;
text-decoration: none;
cursor: pointer;
}
.file-link:hover {
text-decoration: underline;
color: #ff66ff;
}
.file-link.copied {
color: #27ae60;
}
.dependency-link {
color: #3b82f6;
text-decoration: none;
cursor: pointer;
font-size: 0.85rem;
}
.dependency-link:hover {
text-decoration: underline;
color: #60a5fa;
}
.dependencies-list {
display: flex;
flex-wrap: wrap;
gap: 6px;
align-items: center;
}
.dependency-badge {
display: inline-block;
background: #0f4c75;
color: #ffffff;
padding: 4px 8px;
border-radius: 4px;
font-size: 0.8rem;
font-weight: bold;
cursor: pointer;
transition: all 0.2s;
user-select: none;
white-space: nowrap;
}
.dependency-badge:hover {
background: #1e5f8e;
transform: scale(1.05);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
/* Tooltip Styles */
.tooltip {
pointer-events: none;
animation: fadeIn 0.2s ease-in-out;
}
.tooltip-content {
background: #2c3e50;
color: #ffffff;
padding: 6px 12px;
border-radius: 4px;
font-size: 0.85rem;
white-space: nowrap;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
border: 1px solid #34495e;
}
.tooltip-arrow {
position: absolute;
bottom: -5px;
left: 50%;
transform: translateX(-50%);
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 5px solid #2c3e50;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(-5px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.form-hint {
display: block;
color: #888;
font-size: 0.85rem;
margin-top: 5px;
}
.file-description {
color: #95a5a6;
font-size: 14px;
margin-top: 4px;
}
.file-lines {
color: #7f8c8d;
font-size: 12px;
margin-top: 4px;
}
/* Release Notes Styles */
.release-notes-tab-content {
height: 100%;
display: flex;
flex-direction: column;
}
.release-notes-inner {
background: #16213e;
height: 100%;
display: flex;
flex-direction: column;
overflow: hidden;
}
.release-notes-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
border-bottom: 2px solid #2c3e50;
background: #16213e;
}
.release-notes-header h2 {
margin: 0;
color: #4fbdba;
font-size: 1.5rem;
}
.release-notes-content {
display: flex;
flex: 1;
overflow: hidden;
}
.release-sidebar {
width: 250px;
background: #16213e;
border-right: 2px solid #2c3e50;
overflow-y: auto;
padding: 20px;
}
.release-sidebar h3 {
color: #4fbdba;
margin-bottom: 15px;
font-size: 1.1rem;
}
.version-list {
list-style: none;
padding: 0;
margin: 0;
}
.version-list li {
margin-bottom: 5px;
}
.version-button {
width: 100%;
background: #2c3e50;
border: none;
border-radius: 6px;
padding: 10px 15px;
color: white;
cursor: pointer;
text-align: left;
transition: all 0.2s;
display: flex;
flex-direction: column;
gap: 5px;
}
.version-button:hover {
background: #34495e;
}
.version-button.active {
background: #4fbdba;
color: #16213e;
}
.version-number {
font-weight: bold;
font-size: 1rem;
}
.version-date {
font-size: 0.85rem;
opacity: 0.8;
}
.version-title {
font-size: 0.8rem;
opacity: 0.7;
margin-top: 3px;
display: block;
line-height: 1.3;
}
.release-details {
flex: 1;
padding: 30px;
overflow-y: auto;
}
.release-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 30px;
padding-bottom: 15px;
border-bottom: 1px solid #2c3e50;
}
.release-header h2 {
margin: 0;
color: #ffffff;
}
.release-date {
color: #95a5a6;
font-size: 1rem;
}
.release-markdown-content {
line-height: 1.7;
}
.release-h1 {
color: #4fbdba;
font-size: 2.2rem;
font-weight: bold;
margin-bottom: 20px;
margin-top: 0;
display: flex;
align-items: center;
gap: 10px;
}
.release-h2 {
color: #3498db;
font-size: 1.8rem;
font-weight: bold;
margin-top: 35px;
margin-bottom: 15px;
padding-bottom: 10px;
border-bottom: 2px solid #2c3e50;
}
.release-h3 {
color: #ff8c00;
font-size: 1.4rem;
font-weight: bold;
margin-top: 25px;
margin-bottom: 12px;
}
.release-h4 {
color: #f39c12;
font-size: 1.2rem;
font-weight: bold;
margin-top: 20px;
margin-bottom: 10px;
}
.release-text {
color: #ecf0f1;
margin-bottom: 12px;
font-size: 1rem;
}
.release-text.italic {
font-style: italic;
color: #95a5a6;
font-size: 1.1rem;
margin: 15px 0;
}
.release-list-item {
color: #ecf0f1;
margin-bottom: 8px;
padding-left: 20px;
position: relative;
font-size: 0.95rem;
}
.release-list-item.nested {
padding-left: 40px;
font-size: 0.9rem;
color: #bdc3c7;
}
.release-list-item strong {
color: #3498db;
font-weight: 600;
}
.inline-code {
background: rgba(52, 73, 94, 0.6);
color: #4fbdba;
padding: 2px 6px;
border-radius: 3px;
font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
font-size: 0.9em;
border: 1px solid rgba(79, 189, 186, 0.3);
}
.release-spacer {
height: 10px;
}
.release-divider {
border: none;
border-top: 1px solid #34495e;
margin: 25px 0;
}
/* Ensure all release notes links are yellow */
.release-markdown-content a,
.release-text a,
.release-list-item a,
.release-h1 a,
.release-h2 a,
.release-h3 a,
.release-h4 a {
color: #ffff00 !important;
text-decoration: none;
transition: color 0.2s ease;
}
.release-markdown-content a:hover,
.release-text a:hover,
.release-list-item a:hover,
.release-h1 a:hover,
.release-h2 a:hover,
.release-h3 a:hover,
.release-h4 a:hover {
color: #ffb6c1 !important;
text-decoration: underline;
}
.release-loading {
display: flex;
align-items: center;
justify-content: center;
height: 200px;
color: #95a5a6;
font-size: 1.1rem;
}
.close-button {
background: none;
border: none;
color: #95a5a6;
font-size: 2rem;
cursor: pointer;
transition: color 0.2s;
padding: 0;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
}
.close-button:hover {
color: #ffffff;
}
/* Code block styling */
.code-block-wrapper {
position: relative;
margin: 1rem 0;
}
/* Override react-syntax-highlighter styles for black background */
.code-block-wrapper pre {
background: #000000 !important;
border: 1px solid #444444 !important;
border-radius: 6px !important;
margin: 0 !important;
}
/* Copy button styling */
.code-copy-button {
position: absolute;
top: 8px;
right: 8px;
background: #2c3e50;
color: #ffffff;
border: 1px solid #444444;
border-radius: 4px;
padding: 4px 12px;
font-size: 0.85rem;
cursor: pointer;
transition: all 0.2s;
z-index: 10;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}
.code-copy-button:hover {
background: #34495e;
border-color: #555555;
}
.code-copy-button.copied {
background: #27ae60;
border-color: #27ae60;
}
.code-copy-button:active {
transform: scale(0.95);
}
/* Template Management Styles */
.template-management-header {
padding: 20px;
text-align: center;
border-bottom: 1px solid #2c3e50;
margin-bottom: 20px;
}
.template-management-header h2 {
color: #4fbdba;
margin-bottom: 8px;
font-size: 1.8rem;
}
.template-management-header p {
color: #95a5a6;
font-size: 0.9rem;
line-height: 1.4;
}
.template-icon {
margin-right: 8px;
font-size: 1.1rem;
}
.template-row {
cursor: default;
}
.template-row:hover {
background-color: rgba(52, 73, 94, 0.3);
}
.actions-cell {
display: flex;
gap: 8px;
align-items: center;
}
.action-button {
background: #2c3e50;
border: none;
border-radius: 4px;
color: white;
cursor: pointer;
font-size: 0.9rem;
padding: 6px 8px;
transition: all 0.2s;
display: flex;
align-items: center;
justify-content: center;
min-width: 32px;
height: 32px;
}
.action-button:hover:not(:disabled) {
background: #34495e;
transform: translateY(-1px);
}
.action-button:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.edit-button:hover:not(:disabled) {
background: #3498db;
}
.preview-button:hover:not(:disabled) {
background: #9b59b6;
}
.duplicate-button:hover:not(:disabled) {
background: #e67e22;
}
.reset-button:hover:not(:disabled) {
background: #e74c3c;
}
/* Status badges for templates */
.status-default {
background: #95a5a6;
color: white;
}
.status-custom {
background: #3498db;
color: white;
}
.status-custom-append {
background: #9b59b6;
color: white;
}
.status-markdown {
background: #27ae60;
color: white;
}
.status-yaml {
background: #e67e22;
color: white;
}
/* Tools list styling */
.tools-list {
display: flex;
flex-wrap: wrap;
gap: 4px;
align-items: center;
}
.tool-badge {
display: inline-block;
padding: 2px 8px;
background: #34495e;
color: #ecf0f1;
border-radius: 12px;
font-size: 12px;
font-weight: 500;
white-space: nowrap;
}
/* Template Editor View Styles */
.template-editor-view {
display: flex;
flex-direction: column;
height: 100%;
background: #1a1f2e;
border-radius: 8px;
}
.template-editor-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
border-bottom: 1px solid #2c3e50;
background: rgba(0, 0, 0, 0.3);
}
.template-editor-header .header-left {
display: flex;
align-items: center;
gap: 20px;
}
.template-editor-header h2 {
margin: 0;
color: #3498db;
font-size: 24px;
}
.template-editor-error {
margin: 10px 20px;
padding: 10px;
background: rgba(231, 76, 60, 0.2);
border: 1px solid #e74c3c;
border-radius: 4px;
color: #e74c3c;
}
.template-editor-form {
display: flex;
flex-direction: column;
flex: 1;
overflow: hidden;
}
.template-editor-controls {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 20px;
border-bottom: 1px solid #2c3e50;
background: rgba(0, 0, 0, 0.1);
}
.mode-toggle {
display: flex;
gap: 20px;
}
.mode-toggle label {
display: flex;
align-items: center;
gap: 8px;
color: #95a5a6;
cursor: pointer;
font-size: 0.9rem;
}
.mode-toggle input[type="radio"] {
margin: 0;
}
.view-toggle {
display: flex;
border: 1px solid #2c3e50;
border-radius: 4px;
overflow: hidden;
}
.toggle-btn {
padding: 8px 16px;
background: #2c3e50;
border: none;
color: #95a5a6;
cursor: pointer;
transition: all 0.2s;
font-size: 0.9rem;
}
.toggle-btn:hover {
background: #34495e;
color: #fff;
}
.toggle-btn.active {
background: #4fbdba;
color: #16213e;
font-weight: 600;
}
.template-editor-content {
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
padding: 20px;
background: #16213e;
}
/* Dark theme for MDEditor */
.template-editor-content[data-color-mode="dark"] .w-md-editor {
background-color: #0a0e27;
color: #ecf0f1;
}
.template-editor-content[data-color-mode="dark"] .w-md-editor-toolbar {
background-color: #16213e;
border-bottom: 1px solid #2c3e50;
}
.template-editor-content[data-color-mode="dark"] .w-md-editor-text-pre,
.template-editor-content[data-color-mode="dark"] .w-md-editor-text-input,
.template-editor-content[data-color-mode="dark"] .w-md-editor-text,
.template-editor-content[data-color-mode="dark"] .w-md-editor-area {
color: #ecf0f1 !important;
background-color: #1a1f3a !important;
caret-color: #ecf0f1 !important;
}
/* Force textarea text to be visible */
.template-editor-content[data-color-mode="dark"] textarea.w-md-editor-text-input {
color: #ecf0f1 !important;
background-color: #1a1f3a !important;
-webkit-text-fill-color: #ecf0f1 !important;
}
/* Template Preview View */
.template-preview-view {
background: #16213e;
padding: 20px;
height: 100%;
display: flex;
flex-direction: column;
}
.template-preview-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
padding-bottom: 15px;
border-bottom: 2px solid #2c3e50;
}
.template-preview-header .header-left {
display: flex;
align-items: center;
gap: 15px;
}
.template-preview-header h2 {
margin: 0;
color: #4fbdba;
}
.header-actions {
display: flex;
gap: 10px;
}
.template-info-bar {
display: flex;
align-items: center;
gap: 20px;
margin-bottom: 20px;
padding: 10px 15px;
background: #1a1f3a;
border-radius: 6px;
}
.template-source {
color: #95a5a6;
font-size: 14px;
}
/* Agent color selector styles */
.agent-color-selector {
display: flex;
align-items: center;
gap: 10px;
}
.agent-color-selector label {
color: #95a5a6;
font-size: 14px;
}
.color-dropdown {
padding: 6px 12px;
border-radius: 4px;
border: 1px solid #2c3e50;
background: #0d1225;
color: #ffffff;
font-size: 14px;
cursor: pointer;
min-width: 120px;
transition: all 0.3s ease;
}
.color-dropdown:hover {
border-color: #4fbdba;
}
.color-dropdown:focus {
outline: none;
border-color: #7b68ee;
box-shadow: 0 0 0 2px rgba(123, 104, 238, 0.2);
}
.color-dropdown option {
padding: 8px;
font-weight: 500;
}
/* Robot copy button styles */
.robot-copy-btn {
background: none;
border: none;
font-size: inherit;
cursor: pointer;
padding: 0 5px;
margin-right: 8px;
border-radius: 4px;
transition: all 0.2s ease;
}
.robot-copy-btn:hover {
background: rgba(79, 189, 186, 0.1);
transform: scale(1.1);
}
.robot-copy-btn:active {
transform: scale(0.95);
}
.template-preview-content {
flex: 1;
background: #000000;
border-radius: 8px;
overflow-y: auto;
margin-bottom: 20px;
}
/* Markdown content styling for template preview */
.markdown-content {
width: 100%;
height: 100%;
}
.markdown-content.wmde-markdown {
background-color: transparent !important;
color: #ecf0f1 !important;
}
.markdown-content h1 {
color: #4fbdba;
font-size: 2.2rem;
font-weight: 700;
margin-bottom: 20px;
border-bottom: 2px solid #4fbdba;
padding-bottom: 10px;
}
.markdown-content h2 {
color: #3498db;
font-size: 1.8rem;
font-weight: 600;
margin-top: 30px;
margin-bottom: 15px;
border-bottom: 1px solid #3498db;
padding-bottom: 8px;
}
.markdown-content h3 {
color: #ff8c00;
font-size: 1.4rem;
font-weight: 600;
margin-top: 25px;
margin-bottom: 12px;
}
.markdown-content h4 {
color: #f39c12;
font-size: 1.2rem;
font-weight: 600;
margin-top: 20px;
margin-bottom: 10px;
}
.markdown-content p {
color: #ecf0f1;
margin-bottom: 12px;
line-height: 1.7;
}
.markdown-content ul,
.markdown-content ol {
color: #ecf0f1;
padding-left: 30px;
margin-bottom: 12px;
}
.markdown-content li {
color: #ecf0f1;
margin-bottom: 8px;
line-height: 1.6;
}
.markdown-content code {
background: rgba(52, 73, 94, 0.6);
color: #4fbdba;
padding: 2px 6px;
border-radius: 3px;
font-family: 'Fira Code', 'Courier New', monospace;
font-size: 0.9em;
}
.markdown-content pre {
background: #0d1117 !important;
border: 1px solid #444444;
border-radius: 5px;
padding: 15px;
overflow-x: auto;
margin: 15px 0;
}
.markdown-content pre code {
background: none;
border: none;
padding: 0;
color: #ecf0f1;
font-size: 0.95em;
}
.markdown-content blockquote {
border-left: 4px solid #4fbdba;
padding-left: 20px;
margin: 15px 0;
color: #b8c7ce;
font-style: italic;
}
.markdown-content table {
width: 100%;
border-collapse: collapse;
margin: 15px 0;
}
.markdown-content table th,
.markdown-content table td {
border: 1px solid #444444;
padding: 10px;
text-align: left;
}
.markdown-content table th {
background-color: #1a1f3a;
color: #4fbdba;
font-weight: 600;
}
.markdown-content table td {
color: #ecf0f1;
}
.markdown-content a {
color: #3498db;
text-decoration: none;
border-bottom: 1px solid transparent;
transition: border-color 0.2s;
}
.markdown-content a:hover {
border-bottom-color: #3498db;
}
.markdown-content hr {
border: none;
border-top: 1px solid #444444;
margin: 25px 0;
}
.markdown-content img {
max-width: 100%;
height: auto;
border-radius: 5px;
margin: 15px 0;
}
.markdown-content strong {
color: #ffffff;
font-weight: 600;
}
.markdown-content em {
color: #ecf0f1;
font-style: italic;
}
.template-preview-footer {
background: #1a1f3a;
padding: 20px;
border-radius: 8px;
}
.activation-info h3 {
color: #4fbdba;
margin-bottom: 10px;
}
.activation-info p {
color: #ecf0f1;
margin-bottom: 10px;
}
.activation-info ol {
color: #ecf0f1;
padding-left: 20px;
}
.activation-info ol li {
margin-bottom: 5px;
}
/* Template Preview Markdown Styles */
.template-preview-content .markdown-content {
padding: 20px;
}
.template-preview-content .wmde-markdown {
background-color: transparent !important;
color: #ecf0f1 !important;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
line-height: 1.6;
}
.template-preview-content .wmde-markdown h1 {
color: #4fbdba;
font-size: 2.2rem;
font-weight: 600;
margin: 1.5rem 0 1rem 0;
padding-bottom: 0.3rem;
border-bottom: 2px solid #2c3e50;
}
.template-preview-content .wmde-markdown h2 {
color: #3498db;
font-size: 1.8rem;
font-weight: 600;
margin: 1.3rem 0 0.8rem 0;
}
.template-preview-content .wmde-markdown h3 {
color: #ff8c00;
font-size: 1.4rem;
font-weight: 600;
margin: 1.2rem 0 0.6rem 0;
}
.template-preview-content .wmde-markdown h4 {
color: #f39c12;
font-size: 1.2rem;
font-weight: 600;
margin: 1rem 0 0.5rem 0;
}
.template-preview-content .wmde-markdown h5 {
color: #e74c3c;
font-size: 1.1rem;
font-weight: 600;
margin: 0.8rem 0 0.4rem 0;
}
.template-preview-content .wmde-markdown h6 {
color: #9b59b6;
font-size: 1rem;
font-weight: 600;
margin: 0.8rem 0 0.4rem 0;
}
.template-preview-content .wmde-markdown p {
color: #ecf0f1;
margin: 0 0 1rem 0;
line-height: 1.7;
}
.template-preview-content .wmde-markdown ul,
.template-preview-content .wmde-markdown ol {
color: #ecf0f1;
margin: 0 0 1rem 0;
padding-left: 2rem;
}
.template-preview-content .wmde-markdown li {
color: #ecf0f1;
margin-bottom: 0.5rem;
line-height: 1.6;
}
.template-preview-content .wmde-markdown ul li::marker {
color: #4fbdba;
}
.template-preview-content .wmde-markdown ol li::marker {
color: #3498db;
}
.template-preview-content .wmde-markdown blockquote {
border-left: 4px solid #4fbdba;
background: rgba(52, 73, 94, 0.3);
padding: 1rem 1.5rem;
margin: 1rem 0;
color: #bdc3c7;
font-style: italic;
}
.template-preview-content .wmde-markdown code {
background: rgba(52, 73, 94, 0.6);
color: #4fbdba;
padding: 0.2rem 0.4rem;
border-radius: 4px;
font-family: 'Monaco', 'Consolas', 'Courier New', monospace;
font-size: 0.9em;
}
.template-preview-content .wmde-markdown pre {
background: #000000 !important;
border: 1px solid #444444;
border-radius: 6px;
padding: 1rem;
margin: 1rem 0;
overflow-x: auto;
}
.template-preview-content .wmde-markdown pre code {
background: none;
color: #ecf0f1;
padding: 0;
font-size: 0.9rem;
line-height: 1.5;
}
.template-preview-content .wmde-markdown table {
width: 100%;
border-collapse: collapse;
margin: 1rem 0;
background: rgba(22, 33, 62, 0.5);
}
.template-preview-content .wmde-markdown table th {
background: rgba(79, 189, 186, 0.2);
color: #4fbdba;
font-weight: 600;
padding: 0.75rem;
text-align: left;
border: 1px solid #2c3e50;
}
.template-preview-content .wmde-markdown table td {
color: #ecf0f1;
padding: 0.75rem;
border: 1px solid #2c3e50;
}
.template-preview-content .wmde-markdown table tr:nth-child(even) {
background: rgba(44, 62, 80, 0.3);
}
.template-preview-content .wmde-markdown hr {
border: none;
border-top: 2px solid #2c3e50;
margin: 2rem 0;
}
.template-preview-content .wmde-markdown a {
color: #ffff00;
text-decoration: none;
transition: color 0.2s ease;
}
.template-preview-content .wmde-markdown a:hover {
color: #ffb6c1;
text-decoration: underline;
}
.template-preview-content .wmde-markdown img {
max-width: 100%;
height: auto;
border-radius: 6px;
margin: 1rem 0;
}
.template-preview-content .wmde-markdown kbd {
background: #2c3e50;
color: #ecf0f1;
padding: 0.2rem 0.4rem;
border-radius: 3px;
border: 1px solid #34495e;
font-family: 'Monaco', 'Consolas', 'Courier New', monospace;
font-size: 0.85em;
box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
}
.template-preview-content .wmde-markdown mark {
background: rgba(241, 196, 15, 0.3);
color: #f1c40f;
padding: 0.2rem 0.4rem;
border-radius: 3px;
}
.template-preview-content .wmde-markdown del {
color: #7f8c8d;
text-decoration: line-through;
}
.template-preview-content .wmde-markdown strong {
color: #4fbdba;
font-weight: 600;
}
.template-preview-content .wmde-markdown em {
color: #bdc3c7;
font-style: italic;
}
.activate-btn {
background: #27ae60;
border: none;
padding: 10px 20px;
border-radius: 6px;
color: white;
cursor: pointer;
transition: all 0.3s ease;
font-weight: 500;
}
.activate-btn:hover {
background: #2ecc71;
transform: translateY(-1px);
}
.activate-btn:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.activate-button {
background: #27ae60;
}
.activate-button:hover:not(:disabled) {
background: #2ecc71;
}
.activate-button.disabled {
background: #95a5a6;
opacity: 0.6;
cursor: not-allowed;
}
.activate-button.disabled:hover {
background: #95a5a6;
transform: none;
}
/* Template Preview Modal (deprecated) */
.template-preview-modal {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.8);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
padding: 20px;
}
.template-preview-content {
background: #16213e;
border-radius: 8px;
max-width: 800px;
width: 100%;
max-height: 80vh;
display: flex;
flex-direction: column;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
.template-preview-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
border-bottom: 2px solid #2c3e50;
}
.template-preview-header h3 {
margin: 0;
color: #4fbdba;
font-size: 1.2rem;
}
.template-preview-body {
flex: 1;
overflow-y: auto;
padding: 20px;
background: #0a0e27;
}
.template-preview-text {
margin: 0;
padding: 15px;
background: #1a1f3a;
border-radius: 6px;
color: #ecf0f1;
font-family: 'Monaco', 'Consolas', monospace;
font-size: 14px;
line-height: 1.6;
white-space: pre-wrap;
word-wrap: break-word;
}
.template-preview-footer {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
border-top: 2px solid #2c3e50;
}
.template-preview-footer .template-status {
font-size: 14px;
padding: 4px 12px;
border-radius: 4px;
}
/* Activation Dialog Styles */
.activation-dialog-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.8);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
padding: 20px;
}
.activation-dialog {
background: #16213e;
border-radius: 8px;
max-width: 900px;
width: 100%;
max-height: 90vh;
display: flex;
flex-direction: column;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
.activation-dialog-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
border-bottom: 2px solid #2c3e50;
}
.activation-dialog-header h2 {
margin: 0;
color: #4fbdba;
font-size: 1.4rem;
}
.activation-dialog-body {
flex: 1;
overflow-y: auto;
padding: 20px;
}
.activation-info-box {
background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
border: 1px solid #4a5568;
padding: 20px;
border-radius: 8px;
margin-bottom: 20px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.activation-info-box h3 {
margin: 0 0 10px 0;
color: #4fbdba;
font-size: 1rem;
}
.env-var-name {
font-family: 'Monaco', 'Consolas', monospace;
font-size: 16px;
color: #27ae60;
background: #0a0e27;
padding: 8px 12px;
border-radius: 4px;
display: inline-block;
}
.activation-section {
background: #1a1f3a;
padding: 20px;
border-radius: 6px;
margin-bottom: 15px;
}
.activation-section h3 {
margin: 0 0 10px 0;
color: #4fbdba;
}
.activation-section p {
color: #ecf0f1;
margin-bottom: 10px;
font-size: 14px;
}
.command-box {
position: relative;
background: #0a0e27;
border: 1px solid #2c3e50;
border-radius: 4px;
padding: 15px;
margin-bottom: 10px;
}
.command-box pre {
margin: 0;
color: #ecf0f1;
font-family: 'Monaco', 'Consolas', monospace;
font-size: 13px;
line-height: 1.4;
white-space: pre-wrap;
word-wrap: break-word;
padding-right: 80px;
}
.command-box .copy-btn {
position: absolute;
top: 10px;
right: 10px;
background: #2c3e50;
border: none;
color: white;
padding: 6px 12px;
border-radius: 4px;
cursor: pointer;
font-size: 12px;
transition: all 0.2s;
}
.command-box .copy-btn:hover {
background: #34495e;
}
.command-box .copy-btn.copied {
background: #27ae60;
}
.activation-section details {
margin-top: 10px;
}
.activation-section summary {
color: #f39c12;
cursor: pointer;
font-size: 14px;
margin-bottom: 10px;
}
.activation-section summary:hover {
color: #e67e22;
}
.activation-warning {
background: #1a1f3a;
border: 2px solid #f39c12;
padding: 20px;
border-radius: 6px;
margin-top: 20px;
}
.activation-warning h3 {
margin: 0 0 10px 0;
color: #f39c12;
}
.activation-warning ul {
margin: 0;
padding-left: 20px;
}
.activation-warning li {
color: #ecf0f1;
margin-bottom: 8px;
font-size: 14px;
}
.activation-warning code {
background: #0a0e27;
padding: 2px 6px;
border-radius: 3px;
font-family: 'Monaco', 'Consolas', monospace;
font-size: 13px;
color: #4fbdba;
}
.activation-dialog-footer {
padding: 20px;
border-top: 2px solid #2c3e50;
display: flex;
justify-content: flex-end;
}
/* Duplicate Template View Styles */
.duplicate-template-view {
padding: 20px;
max-width: 1200px;
margin: 0 auto;
}
.duplicate-template-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 30px;
padding-bottom: 20px;
border-bottom: 2px solid #2c3e50;
}
.duplicate-template-header .header-left {
display: flex;
align-items: center;
gap: 20px;
}
.duplicate-template-header h2 {
margin: 0;
color: #4fbdba;
font-size: 1.6rem;
}
.duplicate-template-content {
display: flex;
flex-direction: column;
gap: 30px;
}
.duplicate-info-section {
background: #1a1f3a;
padding: 30px;
border-radius: 8px;
}
.duplicate-info-section h3 {
margin: 0 0 20px 0;
color: #4fbdba;
font-size: 1.3rem;
}
.duplicate-info-section > p {
color: #ecf0f1;
margin-bottom: 20px;
font-size: 15px;
line-height: 1.6;
}
.use-cases-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 20px;
margin-top: 20px;
}
.use-case-card {
background: #0a0e27;
padding: 20px;
border-radius: 6px;
border: 1px solid #2c3e50;
}
.use-case-card h4 {
margin: 0 0 10px 0;
color: #4fbdba;
font-size: 1.1rem;
}
.use-case-card p {
color: #95a5a6;
font-size: 14px;
margin-bottom: 10px;
}
.use-case-card ul {
margin: 0;
padding-left: 20px;
}
.use-case-card li {
color: #ecf0f1;
font-size: 13px;
margin-bottom: 6px;
}
.duplicate-form-section {
background: #1a1f3a;
padding: 30px;
border-radius: 8px;
}
.duplicate-form-section h3 {
margin: 0 0 20px 0;
color: #4fbdba;
font-size: 1.3rem;
}
.original-template-info {
background: #0a0e27;
padding: 20px;
border-radius: 6px;
margin-bottom: 25px;
}
.original-template-info h4 {
margin: 0 0 15px 0;
color: #4fbdba;
font-size: 1rem;
}
.template-details {
display: flex;
flex-direction: column;
gap: 10px;
}
.detail-row {
display: flex;
gap: 10px;
}
.detail-row .label {
color: #95a5a6;
font-weight: 500;
min-width: 100px;
}
.detail-row .value {
color: #ecf0f1;
}
.duplicate-form .form-group {
margin-bottom: 20px;
}
.duplicate-form label {
display: block;
color: #4fbdba;
margin-bottom: 8px;
font-weight: 500;
}
.duplicate-form .required {
color: #e74c3c;
}
.duplicate-form input[type="text"] {
width: 100%;
padding: 12px;
background: #0a0e27;
border: 1px solid #34495e;
border-radius: 4px;
color: #ecf0f1;
font-size: 14px;
}
.duplicate-form input[type="text"]:focus {
outline: none;
border-color: #4fbdba;
}
.duplicate-preview-section {
background: #2c3e50;
padding: 20px;
border-radius: 6px;
margin-top: 20px;
}
.duplicate-preview-section h4 {
margin: 0 0 15px 0;
color: #4fbdba;
font-size: 1rem;
}
.preview-steps {
display: flex;
flex-direction: column;
gap: 15px;
}
.step {
display: flex;
gap: 15px;
align-items: flex-start;
}
.step-number {
background: #4fbdba;
color: #0a0e27;
width: 30px;
height: 30px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
flex-shrink: 0;
}
.step-content {
flex: 1;
}
.step-content strong {
display: block;
color: #ecf0f1;
margin-bottom: 5px;
}
.step-content p {
margin: 0;
color: #95a5a6;
font-size: 14px;
}
.step-content code {
background: #0a0e27;
padding: 2px 6px;
border-radius: 3px;
font-family: 'Monaco', 'Consolas', monospace;
font-size: 13px;
color: #27ae60;
}
.form-actions {
display: flex;
gap: 10px;
margin-top: 25px;
}
.form-actions button {
padding: 12px 24px;
}
/* Language Selector Styles */
.language-selector {
position: relative;
z-index: 999;
isolation: isolate;
}
.language-selector-button {
background: #2c3e50;
border: 1px solid #34495e;
border-radius: 6px;
padding: 8px 16px;
color: #ecf0f1;
cursor: pointer;
display: flex;
align-items: center;
gap: 8px;
font-size: 14px;
transition: all 0.2s;
}
.language-selector-button:hover {
background: #34495e;
border-color: #4fbdba;
}
.language-flag {
font-size: 18px;
}
.dropdown-arrow {
font-size: 10px;
margin-left: 4px;
}
.language-dropdown {
position: absolute;
top: 100%;
right: 0;
margin-top: 4px;
background: #0a0f1e;
border: 1px solid #34495e;
border-radius: 6px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
overflow: hidden;
z-index: 1000;
min-width: 280px;
max-height: 350px;
overflow-y: auto;
}
.language-search {
padding: 8px;
border-bottom: 1px solid #34495e;
background: #1a252f;
}
.language-search-input {
width: 100%;
padding: 8px 12px;
background: #2c3e50;
border: 1px solid #34495e;
border-radius: 4px;
color: #ecf0f1;
font-size: 13px;
outline: none;
box-sizing: border-box;
}
.language-search-input:focus {
border-color: #4fbdba;
box-shadow: 0 0 0 2px rgba(79, 189, 186, 0.2);
}
.language-search-input::placeholder {
color: #7f8c8d;
}
.language-options {
max-height: 280px;
overflow-y: auto;
}
.language-option {
width: 100%;
padding: 12px 16px;
background: transparent;
border: none;
pointer-events: auto;
color: #ecf0f1;
cursor: pointer;
display: flex;
align-items: center;
gap: 8px;
font-size: 14px;
transition: background 0.2s;
text-align: left;
}
.language-option:hover,
.language-option.highlighted {
background: #1a1f3a;
}
.language-option.active {
background: #2c3e50;
color: #4fbdba;
}
.language-option.active.highlighted {
background: #34495e;
}
.language-code {
color: #7f8c8d;
font-size: 12px;
font-weight: 500;
}
.language-option .checkmark {
margin-left: auto;
color: #4fbdba;
}
.no-results {
padding: 16px;
color: #7f8c8d;
font-style: italic;
text-align: center;
}
/* Toast Notification Styles */
.toast-container {
position: fixed;
top: 20px;
right: 20px;
z-index: 1000;
display: flex;
flex-direction: column;
gap: 10px;
pointer-events: none;
}
.toast {
display: flex;
align-items: center;
gap: 10px;
padding: 12px 20px;
background: #2c3e50;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
color: #ffffff;
font-size: 0.95rem;
min-width: 250px;
max-width: 400px;
pointer-events: all;
transition: all 0.3s ease;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.toast-enter {
animation: slideIn 0.3s ease-out;
}
@keyframes slideIn {
from {
transform: translateX(100%);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}
.toast-success {
background: linear-gradient(135deg, #27ae60, #2ecc71);
border-color: rgba(46, 204, 113, 0.3);
}
.toast-error {
background: linear-gradient(135deg, #c0392b, #e74c3c);
border-color: rgba(231, 76, 60, 0.3);
}
.toast-warning {
background: linear-gradient(135deg, #d68910, #f39c12);
border-color: rgba(243, 156, 18, 0.3);
}
.toast-info {
background: linear-gradient(135deg, #2980b9, #3498db);
border-color: rgba(52, 152, 219, 0.3);
}
.toast-icon {
font-size: 1.2rem;
flex-shrink: 0;
}
.toast-message {
flex: 1;
word-wrap: break-word;
}
.toast-close {
background: none;
border: none;
color: rgba(255, 255, 255, 0.8);
font-size: 1.5rem;
cursor: pointer;
padding: 0;
margin-left: 10px;
line-height: 1;
transition: color 0.2s;
flex-shrink: 0;
}
.toast-close:hover {
color: #ffffff;
}
/* Additional specificity for the editor */
.template-editor-content .w-md-editor.w-md-editor-focus .w-md-editor-text-pre,
.template-editor-content .w-md-editor.w-md-editor-focus .w-md-editor-text-input,
.template-editor-content .w-md-editor.w-md-editor-focus .w-md-editor-text {
color: #ecf0f1 !important;
-webkit-text-fill-color: #ecf0f1 !important;
}
/* Target the actual contentEditable div that might be used */
.template-editor-content .w-md-editor-text-pre .token.title,
.template-editor-content .w-md-editor-text-pre .token.bold,
.template-editor-content .w-md-editor-text-pre .token.list,
.template-editor-content .w-md-editor-text-pre .token.code,
.template-editor-content .w-md-editor-text-pre .token.hr,
.template-editor-content .w-md-editor-text-pre .token.link,
.template-editor-content .w-md-editor-text-pre .token.url {
color: #ecf0f1 !important;
opacity: 0.8;
}
.template-editor-content[data-color-mode="dark"] .w-md-editor-text-pre .token,
.template-editor-content[data-color-mode="dark"] .w-md-editor-text-pre .language-markdown {
color: #ecf0f1 !important;
background-color: transparent !important;
}
.template-editor-content[data-color-mode="dark"] .w-md-editor-preview {
background-color: #000000;
color: #ecf0f1;
}
.template-editor-content[data-color-mode="dark"] .wmde-markdown {
background-color: #000000 !important;
color: #ecf0f1 !important;
padding: 20px;
}
/* Style markdown content like release notes */
.template-editor-content[data-color-mode="dark"] .wmde-markdown h1 {
color: #4fbdba;
font-size: 2.2rem;
font-weight: bold;
margin-bottom: 20px;
margin-top: 0;
}
.template-editor-content[data-color-mode="dark"] .wmde-markdown h2 {
color: #3498db;
font-size: 1.8rem;
font-weight: bold;
margin-top: 35px;
margin-bottom: 15px;
padding-bottom: 10px;
border-bottom: 2px solid #2c3e50;
}
.template-editor-content[data-color-mode="dark"] .wmde-markdown h3 {
color: #ff8c00;
font-size: 1.4rem;
font-weight: bold;
margin-top: 25px;
margin-bottom: 12px;
}
.template-editor-content[data-color-mode="dark"] .wmde-markdown h4 {
color: #f39c12;
font-size: 1.2rem;
font-weight: bold;
margin-top: 20px;
margin-bottom: 10px;
}
.template-editor-content[data-color-mode="dark"] .wmde-markdown p {
color: #ecf0f1;
margin-bottom: 12px;
font-size: 1rem;
line-height: 1.7;
}
.template-editor-content[data-color-mode="dark"] .wmde-markdown li {
color: #ecf0f1;
margin-bottom: 8px;
line-height: 1.6;
}
.template-editor-content[data-color-mode="dark"] .wmde-markdown code {
background: rgba(52, 73, 94, 0.6);
color: #4fbdba;
padding: 2px 6px;
border-radius: 3px;
font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
font-size: 0.9em;
border: 1px solid rgba(79, 189, 186, 0.3);
}
.template-editor-content[data-color-mode="dark"] .wmde-markdown pre {
background: #000000 !important;
border: 1px solid #444444;
border-radius: 6px;
padding: 15px;
overflow-x: auto;
}
.template-editor-content[data-color-mode="dark"] .wmde-markdown pre code {
background: none;
border: none;
padding: 0;
color: #ecf0f1;
}
.parameter-help-panel {
margin-top: 20px;
padding: 15px;
background: #0a0e27;
border: 1px solid #2c3e50;
border-radius: 6px;
max-height: 200px;
overflow-y: auto;
}
.parameter-help-panel .wmde-markdown {
background: transparent !important;
padding: 0 !important;
}
.parameter-help-panel h2 {
font-size: 1rem;
color: #4fbdba;
margin-bottom: 10px;
}
.editor-pane {
flex: 1;
display: flex;
flex-direction: column;
padding: 20px;
overflow: hidden;
}
.template-content-editor {
flex: 1;
background: #16213e;
border: 1px solid #2c3e50;
border-radius: 6px;
color: #fff;
font-family: 'Consolas', 'Monaco', monospace;
font-size: 14px;
line-height: 1.4;
padding: 15px;
resize: none;
outline: none;
width: 100%;
}
.template-content-editor:focus {
border-color: #4fbdba;
box-shadow: 0 0 0 2px rgba(79, 189, 186, 0.2);
}
.template-content-editor::placeholder {
color: #7f8c8d;
}
.parameter-help {
margin-top: 15px;
padding-top: 15px;
border-top: 1px solid #2c3e50;
}
.parameter-help h4 {
margin: 0 0 10px 0;
color: #95a5a6;
font-size: 0.9rem;
}
.parameter-list {
display: flex;
flex-wrap: wrap;
gap: 6px;
max-height: 120px;
overflow-y: auto;
}
.parameter-button {
padding: 4px 8px;
background: #2c3e50;
border: 1px solid #34495e;
border-radius: 3px;
color: #4fbdba;
font-family: 'Consolas', 'Monaco', monospace;
font-size: 0.8rem;
cursor: pointer;
transition: all 0.2s;
}
.parameter-button:hover {
background: #34495e;
border-color: #4fbdba;
transform: translateY(-1px);
}
/* Auto-complete dropdown */
.autocomplete-dropdown {
background: #16213e;
border: 1px solid #4fbdba;
border-radius: 6px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
max-height: 200px;
overflow-y: auto;
min-width: 250px;
}
.autocomplete-item {
padding: 10px 12px;
cursor: pointer;
border-bottom: 1px solid #2c3e50;
transition: background-color 0.2s;
}
.autocomplete-item:last-child {
border-bottom: none;
}
.autocomplete-item:hover {
background: rgba(79, 189, 186, 0.1);
}
.autocomplete-item strong {
color: #4fbdba;
font-family: 'Consolas', 'Monaco', monospace;
display: block;
font-size: 0.9rem;
}
.param-desc {
color: #95a5a6;
font-size: 0.8rem;
display: block;
margin-top: 2px;
}
/* Export Modal Styles */
.header-text {
flex: 1;
}
.header-actions {
flex-shrink: 0;
}
.export-button {
background: #27ae60;
border: none;
border-radius: 6px;
color: white;
cursor: pointer;
font-size: 0.9rem;
padding: 10px 16px;
transition: all 0.2s;
display: flex;
align-items: center;
gap: 8px;
}
.export-button:hover:not(:disabled) {
background: #2ecc71;
transform: translateY(-1px);
}
.export-button:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.export-modal {
width: 90vw;
max-width: 900px;
height: 80vh;
max-height: 700px;
display: flex;
flex-direction: column;
overflow: hidden;
}
.export-modal-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
border-bottom: 1px solid #2c3e50;
background: rgba(0, 0, 0, 0.2);
}
.export-modal-header h3 {
margin: 0;
color: #4fbdba;
font-size: 1.4rem;
}
.export-modal-content {
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
}
.export-options {
padding: 20px;
border-bottom: 1px solid #2c3e50;
background: rgba(0, 0, 0, 0.1);
}
.format-options {
display: flex;
flex-direction: column;
gap: 10px;
margin-top: 8px;
}
.radio-option, .checkbox-option {
display: flex;
align-items: center;
gap: 8px;
color: #95a5a6;
cursor: pointer;
font-size: 0.9rem;
}
.radio-option input, .checkbox-option input {
margin: 0;
}
.export-preview {
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
}
.preview-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 20px;
border-bottom: 1px solid #2c3e50;
background: rgba(0, 0, 0, 0.1);
}
.preview-header h4 {
margin: 0;
color: #95a5a6;
font-size: 0.9rem;
}
.preview-actions {
display: flex;
gap: 10px;
}
.preview-content {
flex: 1;
overflow: auto;
padding: 20px;
}
.export-preview-text {
background: #16213e;
border: 1px solid #2c3e50;
border-radius: 6px;
color: #fff;
font-family: 'Consolas', 'Monaco', monospace;
font-size: 13px;
line-height: 1.4;
margin: 0;
padding: 15px;
white-space: pre-wrap;
word-break: break-word;
max-height: 400px;
overflow-y: auto;
}
.export-modal-actions {
display: flex;
justify-content: flex-end;
gap: 10px;
padding: 20px;
border-top: 1px solid #2c3e50;
background: rgba(0, 0, 0, 0.2);
}
/* Export Templates View Styles */
.export-templates-view {
display: flex;
flex-direction: column;
height: 100%;
min-height: 80vh;
}
.view-header {
display: flex;
align-items: center;
gap: 20px;
margin-bottom: 20px;
padding-bottom: 15px;
border-bottom: 1px solid #2c3e50;
}
.view-header h2 {
margin: 0;
color: #4fbdba;
font-size: 1.8rem;
}
.back-button {
background: #2c3e50;
border: 1px solid #34495e;
color: #ecf0f1;
padding: 8px 16px;
border-radius: 6px;
cursor: pointer;
font-size: 0.9rem;
transition: all 0.3s;
}
.back-button:hover {
background: #34495e;
border-color: #4fbdba;
color: #4fbdba;
}
.header-buttons {
display: flex;
gap: 10px;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
}
.nav-buttons {
display: flex;
gap: 10px;
}
.nav-button {
background: #2c3e50;
border: 1px solid #34495e;
color: #ecf0f1;
padding: 8px 16px;
border-radius: 6px;
cursor: pointer;
transition: all 0.3s ease;
font-size: 14px;
}
.nav-button:hover:not(:disabled) {
background: #34495e;
border-color: #4fbdba;
color: #4fbdba;
}
.nav-button:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.nav-button:disabled:hover {
background: #2c3e50;
border-color: #34495e;
color: #ecf0f1;
}
/* Task detail view layout */
.task-detail-view {
display: flex;
flex-direction: column;
height: 100vh;
max-height: 100%;
overflow: hidden;
padding: 20px;
}
.task-detail-header {
flex-shrink: 0;
position: sticky;
top: 0;
background: #0d1225;
z-index: 10;
border-bottom: 1px solid rgba(79, 189, 186, 0.2);
padding-bottom: 20px;
margin-bottom: 20px;
}
.task-detail-content {
flex: 1;
overflow-y: auto;
overflow-x: hidden;
padding-right: 10px;
}
/* Add scrollbar styling */
.task-detail-content::-webkit-scrollbar {
width: 8px;
}
.task-detail-content::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.1);
border-radius: 4px;
}
.task-detail-content::-webkit-scrollbar-thumb {
background: rgba(79, 189, 186, 0.5);
border-radius: 4px;
}
.task-detail-content::-webkit-scrollbar-thumb:hover {
background: rgba(79, 189, 186, 0.8);
}
/* Keyboard shortcuts hint */
.keyboard-shortcuts-hint {
margin-top: 30px;
padding: 15px;
background: rgba(79, 189, 186, 0.1);
border: 1px solid rgba(79, 189, 186, 0.3);
border-radius: 6px;
display: flex;
align-items: center;
gap: 20px;
font-size: 13px;
color: #95a5a6;
}
.shortcut-label {
font-weight: 600;
color: #4fbdba;
}
.shortcut-item {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 4px 8px;
background: rgba(0, 0, 0, 0.3);
border-radius: 4px;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.edit-button {
background: transparent;
color: inherit;
border: none;
padding: 8px 12px;
border-radius: 4px;
cursor: pointer;
transition: background 0.3s;
font-size: 14px;
display: flex;
align-items: center;
gap: 6px;
}
.edit-button:hover:not(:disabled) {
background: rgba(0, 0, 0, 0.1);
}
.delete-button {
background: transparent;
color: inherit;
border: none;
padding: 8px 12px;
border-radius: 4px;
cursor: pointer;
transition: background 0.3s;
font-size: 14px;
}
.delete-button:hover {
background: rgba(0, 0, 0, 0.1);
}
.export-container {
display: flex;
flex: 1;
gap: 20px;
min-height: 0;
}
.export-sidebar {
width: 250px;
background: rgba(0, 0, 0, 0.2);
border: 1px solid #2c3e50;
border-radius: 8px;
padding: 20px;
height: fit-content;
}
.export-nav {
display: flex;
flex-direction: column;
gap: 8px;
}
.nav-item {
background: transparent;
border: 1px solid transparent;
color: #bdc3c7;
padding: 12px 16px;
border-radius: 6px;
cursor: pointer;
font-size: 0.9rem;
text-align: left;
transition: all 0.3s;
border: 1px solid #2c3e50;
}
.nav-item:hover {
background: rgba(79, 189, 186, 0.1);
border-color: #4fbdba;
color: #4fbdba;
}
.nav-item.active {
background: rgba(79, 189, 186, 0.2);
border-color: #4fbdba;
color: #4fbdba;
font-weight: 500;
}
.export-content {
flex: 1;
background: rgba(0, 0, 0, 0.1);
border: 1px solid #2c3e50;
border-radius: 8px;
padding: 30px;
overflow-y: auto;
}
.content-section {
max-width: 800px;
}
.content-section h3 {
color: #4fbdba;
font-size: 1.5rem;
margin-bottom: 20px;
border-bottom: 2px solid #4fbdba;
padding-bottom: 10px;
}
.info-box {
background: rgba(79, 189, 186, 0.1);
border: 1px solid #4fbdba;
border-radius: 8px;
padding: 20px;
margin-bottom: 20px;
}
.info-box.warning {
background: rgba(241, 196, 15, 0.1);
border-color: #f1c40f;
}
.info-box h4 {
color: #4fbdba;
margin-bottom: 10px;
font-size: 1.1rem;
}
.info-box.warning h4 {
color: #f1c40f;
}
.info-box ul {
margin-left: 20px;
margin-top: 10px;
}
.info-box li {
margin-bottom: 8px;
line-height: 1.5;
}
.template-stats {
margin-top: 30px;
}
.template-stats h4 {
color: #95a5a6;
font-size: 1.1rem;
margin-bottom: 15px;
}
.export-templates-view .stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 15px;
margin-bottom: 20px;
}
.stat-item {
background: rgba(0, 0, 0, 0.3);
border: 1px solid #2c3e50;
border-radius: 6px;
padding: 15px;
text-align: center;
}
.stat-label {
display: block;
color: #95a5a6;
font-size: 0.9rem;
margin-bottom: 5px;
}
.stat-value {
display: block;
color: #4fbdba;
font-size: 1.5rem;
font-weight: bold;
}
.explanation-content,
.how-to-content,
.formats-content {
line-height: 1.6;
}
.step-guide h4 {
color: #4fbdba;
margin-top: 25px;
margin-bottom: 15px;
font-size: 1.2rem;
}
.step-guide ol {
margin-left: 20px;
margin-bottom: 20px;
}
.step-guide ol li {
margin-bottom: 8px;
line-height: 1.5;
}
.code-example {
margin: 15px 0;
}
.code-example pre {
background: #16213e;
border: 1px solid #2c3e50;
border-radius: 6px;
color: #fff;
font-family: 'Consolas', 'Monaco', monospace;
font-size: 13px;
line-height: 1.4;
padding: 15px;
overflow-x: auto;
white-space: pre-wrap;
}
.format-comparison {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
margin-top: 20px;
}
.format-item h4 {
color: #4fbdba;
margin-bottom: 15px;
font-size: 1.2rem;
}
.export-settings {
max-width: 800px;
}
.export-options {
background: rgba(0, 0, 0, 0.2);
border: 1px solid #2c3e50;
border-radius: 8px;
padding: 20px;
margin-bottom: 20px;
}
.format-options {
display: flex;
flex-direction: column;
gap: 10px;
margin-top: 10px;
}
.radio-option,
.checkbox-option {
display: flex;
align-items: flex-start;
gap: 10px;
cursor: pointer;
padding: 10px;
border-radius: 6px;
transition: background-color 0.3s;
}
.radio-option:hover,
.checkbox-option:hover {
background: rgba(79, 189, 186, 0.1);
}
.option-content {
flex: 1;
}
.option-content strong {
display: block;
color: #ecf0f1;
margin-bottom: 2px;
}
.option-content small {
color: #95a5a6;
font-size: 0.85rem;
line-height: 1.3;
}
.export-preview-section {
background: rgba(0, 0, 0, 0.2);
border: 1px solid #2c3e50;
border-radius: 8px;
overflow: hidden;
}
.export-preview-section .preview-header {
background: rgba(0, 0, 0, 0.3);
padding: 15px 20px;
border-bottom: 1px solid #2c3e50;
}
.export-preview-section .preview-header h4 {
color: #4fbdba;
font-size: 1.1rem;
margin: 0;
}
.export-preview-section .preview-content {
max-height: 400px;
overflow-y: auto;
}
.export-preview-section .export-preview-text {
margin: 0;
border-radius: 0;
border: none;
background: #0f1419;
max-height: none;
}
/* Link button for inline navigation */
.link-button {
background: none;
border: none;
color: #4fbdba;
text-decoration: underline;
cursor: pointer;
font-size: inherit;
font-family: inherit;
padding: 0;
margin: 0;
transition: color 0.3s;
}
.link-button:hover {
color: #7b68ee;
text-decoration: underline;
}
@media (max-width: 1024px) {
.export-container {
flex-direction: column;
}
.export-sidebar {
width: 100%;
}
.export-nav {
flex-direction: row;
overflow-x: auto;
gap: 10px;
}
.nav-item {
flex-shrink: 0;
white-space: nowrap;
}
.format-comparison {
grid-template-columns: 1fr;
}
}
/* Task Edit View Styles */
.task-detail-view.edit-mode {
background: linear-gradient(135deg, #1a2f4e 0%, #1a1f2e 100%);
border: 1px solid rgba(52, 152, 219, 0.3);
}
.task-detail-view.edit-mode .task-detail-header {
background: rgba(52, 152, 219, 0.1);
border-bottom: 1px solid rgba(52, 152, 219, 0.3);
}
.edit-badge {
background: #3498db;
color: white;
padding: 4px 12px;
border-radius: 4px;
font-size: 0.75rem;
font-weight: 600;
margin-left: 15px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.edit-textarea {
width: 100%;
background: #0f1419;
border: 1px solid #2c3e50;
border-radius: 4px;
color: #e1e4e8;
padding: 12px;
font-family: 'Monaco', 'Consolas', monospace;
font-size: 0.9rem;
line-height: 1.5;
resize: vertical;
transition: border-color 0.3s, box-shadow 0.3s;
}
.edit-textarea:focus {
outline: none;
border-color: #3498db;
box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}
.edit-textarea::placeholder {
color: #6b7280;
opacity: 0.7;
}
.agent-select {
width: 100%;
background: #0f1419;
border: 1px solid #2c3e50;
border-radius: 4px;
color: #e1e4e8;
padding: 12px;
font-family: 'Monaco', 'Consolas', monospace;
font-size: 0.9rem;
line-height: 1.5;
transition: border-color 0.3s, box-shadow 0.3s;
cursor: pointer;
}
.agent-select:focus {
outline: none;
border-color: #3498db;
box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}
.agent-select option {
background: #0f1419;
color: #e1e4e8;
padding: 8px;
}
/* Agent column in table */
.agent-cell {
display: flex;
align-items: center;
gap: 8px;
}
.agent-table-select {
width: 100%;
background: #0f1419;
border: 1px solid #2c3e50;
border-radius: 4px;
color: #e1e4e8;
padding: 6px 8px;
font-size: 0.85rem;
cursor: pointer;
transition: border-color 0.2s;
}
.agent-table-select:hover:not(:disabled) {
border-color: #3498db;
}
.agent-table-select:focus {
outline: none;
border-color: #3498db;
box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
}
.agent-table-select:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.agent-table-select option {
background: #0f1419;
color: #e1e4e8;
}
.saving-indicator {
font-size: 0.9rem;
animation: pulse 1s infinite;
}
@keyframes pulse {
0% {
opacity: 1;
}
50% {
opacity: 0.5;
}
100% {
opacity: 1;
}
}
.edit-actions {
display: flex;
gap: 15px;
justify-content: flex-end;
padding: 20px;
border-top: 1px solid #2c3e50;
background: rgba(0, 0, 0, 0.2);
margin-top: auto;
}
.save-button,
.cancel-button {
padding: 10px 24px;
border: none;
border-radius: 4px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.save-button {
background: #27ae60;
color: white;
}
.save-button:hover:not(:disabled) {
background: #229954;
transform: translateY(-1px);
box-shadow: 0 4px 8px rgba(39, 174, 96, 0.3);
}
.save-button:disabled {
background: #2c3e50;
color: #95a5a6;
cursor: not-allowed;
opacity: 0.7;
}
.cancel-button {
background: #34495e;
color: white;
}
.cancel-button:hover:not(:disabled) {
background: #2c3e50;
transform: translateY(-1px);
}
.cancel-button:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.error-message {
background: rgba(231, 76, 60, 0.2);
border: 1px solid #e74c3c;
color: #e74c3c;
padding: 10px 15px;
border-radius: 4px;
margin-right: auto;
font-size: 0.9rem;
}
/* Agent Info Modal Styles */
.agent-info-modal-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.7);
display: flex;
align-items: center;
justify-content: center;
z-index: 10000;
}
.agent-info-modal {
background: #16213e;
border-radius: 12px;
max-width: 800px;
width: 90%;
max-height: 80vh;
display: flex;
flex-direction: column;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
overflow: hidden;
}
.agent-info-modal .modal-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
border-bottom: 1px solid #2c3e50;
background: #16213e;
position: sticky;
top: 0;
z-index: 5;
flex-shrink: 0;
}
.agent-info-modal .modal-header h3 {
margin: 0;
color: #4fbdba;
font-size: 1.4rem;
display: flex;
align-items: center;
gap: 10px;
}
.agent-info-modal .agent-icon {
font-size: 1.6rem;
}
.agent-info-modal .modal-close-btn {
background: transparent;
border: none;
color: #95a5a6;
font-size: 2rem;
cursor: pointer;
padding: 0;
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
transition: color 0.2s;
}
.agent-info-modal .modal-close-btn:hover {
color: #ecf0f1;
}
.agent-info-modal .modal-body {
padding: 20px;
width: 100%;
}
.agent-info-modal .agent-description-section,
.agent-info-modal .agent-capabilities-section,
.agent-info-modal .agent-best-for-section,
.agent-info-modal .agent-tools-section {
margin-bottom: 25px;
}
.agent-info-modal h4 {
color: #4fbdba;
margin: 0 0 10px 0;
font-size: 1.1rem;
}
.agent-info-modal p {
color: #ecf0f1;
line-height: 1.6;
margin: 0;
}
.agent-info-modal ul {
margin: 10px 0;
padding-left: 20px;
}
.agent-info-modal li {
color: #ecf0f1;
margin-bottom: 8px;
list-style-type: disc;
}
.agent-info-modal .tools-list {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 10px;
}
.agent-info-modal .tool-badge {
background: #2c3e50;
color: #4fbdba;
padding: 4px 12px;
border-radius: 4px;
font-size: 0.9rem;
}
.agent-info-modal .modal-footer {
padding: 15px 20px;
border-top: 1px solid #2c3e50;
background: #16213e;
position: sticky;
bottom: 0;
z-index: 5;
flex-shrink: 0;
display: flex;
flex-direction: column;
gap: 15px;
}
.agent-info-modal .footer-tools-section {
display: flex;
align-items: center;
gap: 10px;
padding: 10px;
background: #0a0e27;
border-radius: 6px;
max-height: 80px;
overflow-y: auto;
}
.agent-info-modal .tools-label {
color: #4fbdba;
font-weight: bold;
flex-shrink: 0;
}
.agent-info-modal .footer-tools-list {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.agent-info-modal .footer-tool-badge {
background: #2c3e50;
color: #ecf0f1;
padding: 3px 8px;
border-radius: 3px;
font-size: 0.85rem;
white-space: nowrap;
}
.agent-info-modal .no-tools-label {
color: #95a5a6;
font-style: italic;
}
.agent-info-modal .footer-buttons {
display: flex;
justify-content: space-between;
gap: 10px;
}
.modal-with-nav {
display: flex;
align-items: center;
gap: 15px;
position: relative;
}
.agent-info-modal .modal-body-wrapper {
display: flex;
flex-direction: column;
flex: 1;
overflow-y: auto;
min-height: 0;
}
.agent-nav-button {
background: #2c3e50;
border: 1px solid #34495e;
border-radius: 50%;
color: #4fbdba;
font-size: 1.2rem;
width: 40px;
height: 40px;
cursor: pointer;
transition: all 0.2s;
opacity: 0.8;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.agent-nav-button:hover:not(:disabled) {
background: #34495e;
border-color: #4fbdba;
opacity: 1;
transform: scale(1.1);
}
.agent-nav-button:disabled {
opacity: 0.2;
cursor: not-allowed;
}
.agent-counter {
font-size: 0.8rem;
color: #95a5a6;
margin-left: 10px;
font-weight: normal;
}
/* Agent info button in table */
.agent-info-button {
background: transparent;
border: none;
cursor: pointer;
font-size: 1.2rem;
padding: 2px 6px;
margin-left: 4px;
transition: transform 0.2s;
vertical-align: middle;
}
.agent-info-button:hover {
transform: scale(1.2);
}
.agent-info-button:disabled {
opacity: 0.3;
cursor: not-allowed;
}
.agent-cell-wrapper {
display: flex;
align-items: center;
gap: 4px;
width: 100%;
}
/* Custom Agent Dropdown Styles */
.agent-dropdown-container {
position: relative;
display: inline-block;
width: 100%;
}
.agent-dropdown-trigger {
width: 100%;
padding: 6px 30px 6px 10px;
background: #2c3e50;
border: 1px solid #34495e;
border-radius: 4px;
color: #ecf0f1;
font-size: 14px;
cursor: pointer;
text-align: left;
position: relative;
transition: all 0.2s;
display: flex;
justify-content: space-between;
align-items: center;
}
.agent-dropdown-trigger:hover:not(:disabled) {
background: #34495e;
border-color: #4fbdba;
}
.agent-dropdown-trigger:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.agent-dropdown-value {
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.agent-dropdown-arrow {
font-size: 10px;
margin-left: 8px;
opacity: 0.7;
}
.agent-dropdown-menu {
position: absolute;
top: 100%;
left: 0;
right: 0;
background: #16213e;
border: 1px solid #34495e;
border-radius: 4px;
margin-top: 4px;
max-height: 300px;
overflow-y: auto;
z-index: 1000;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.agent-dropdown-option {
padding: 8px 12px;
cursor: pointer;
transition: all 0.2s;
font-size: 14px;
}
.agent-dropdown-option:hover {
background: #2c3e50;
}
.agent-dropdown-option.selected {
background: #34495e;
font-weight: bold;
}
.agent-dropdown-tooltip {
position: absolute;
left: calc(100% + 10px);
top: 0;
background: #1a1f3a;
border: 1px solid #4fbdba;
border-radius: 6px;
padding: 12px;
min-width: 250px;
max-width: 350px;
z-index: 1001;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
pointer-events: none;
}
.agent-tooltip-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
color: #4fbdba;
font-size: 14px;
}
.agent-type-badge {
background: #2c3e50;
color: #95a5a6;
padding: 2px 6px;
border-radius: 3px;
font-size: 11px;
text-transform: uppercase;
}
.agent-tooltip-description {
color: #ecf0f1;
font-size: 13px;
line-height: 1.5;
margin-bottom: 8px;
}
.agent-tooltip-tools {
color: #95a5a6;
font-size: 12px;
border-top: 1px solid #2c3e50;
padding-top: 8px;
}
.agent-tooltip-tools strong {
color: #4fbdba;
}
/* Adjust for table cell */
.agent-cell-wrapper .agent-dropdown-container {
flex: 1;
}