Spaces:
Sleeping
Sleeping
.editor-container { | |
height: 94vh; | |
display: flex; | |
flex-direction: column; | |
backdrop-filter: blur(2rem); | |
} | |
.editor-header { | |
margin: 0 1rem 2rem 1rem; | |
display: flex; | |
align-items: center; | |
gap: 1rem; | |
justify-content: space-between; | |
} | |
.editor-header h1 { | |
font-size: 1.5rem; | |
font-weight: 700; | |
margin: 0; | |
background: linear-gradient(0.25turn, #999, #fff); | |
-webkit-background-clip: text; | |
background-clip: text; | |
color: transparent; | |
} | |
.editor-header h1 svg { | |
color: #6366f1; | |
font-size: 1.5rem; | |
align-items: center; | |
} | |
.editor-content { | |
flex: 1; | |
display: flex; | |
padding: 0 1rem 1rem 1rem; | |
gap: 1rem; | |
} | |
.editor-main { | |
flex: 0 0 54%; | |
position: relative; | |
min-width: 0; | |
} | |
.editor-insights { | |
flex: 0 0 20%; | |
display: flex; | |
flex-direction: column; | |
gap: 0.5rem; | |
padding: 1rem; | |
background: rgba(0, 0, 0, 0.2); | |
backdrop-filter: blur(8px); | |
border-radius: 12px; | |
border: 1px solid rgba(255, 255, 255, 0.1); | |
} | |
/* .sidebar-card.podcast-audio-view.t-to-p-enabled { | |
position: fixed; | |
bottom: -40px; | |
width: 100%; | |
z-index: 999; | |
width: 94vw; | |
right: -29.5rem; | |
background: #000; | |
} | |
.editor-insights.t-to-p-enabled { | |
position: fixed; | |
width: 92vw; | |
z-index: 999; | |
top: 0px; | |
background: #000; | |
height: 70vh; | |
} */ | |
.editor-sidebar { | |
flex: 0 0 20%; | |
display: flex; | |
flex-direction: column; | |
gap: 1.5rem; | |
padding: 1.5rem; | |
background: rgba(0, 0, 0, 0.2); | |
backdrop-filter: blur(8px); | |
border-radius: 12px; | |
border: 1px solid rgba(255, 255, 255, 0.1); | |
height: calc(100% - 3rem); | |
} | |
.sidebar-card.agents-view { | |
height: 56vh; | |
} | |
.sidebar-card { | |
position: relative; | |
background: rgba(20, 20, 20, 0.95); | |
border: 1px solid rgba(99, 102, 241, 0.2); | |
border-radius: 12px; | |
padding: 1.5rem; | |
color: white; | |
display: flex; | |
flex-direction: column; | |
overflow: hidden; | |
} | |
/* Remove hover effects from card */ | |
.sidebar-card::before { | |
display: none; | |
} | |
.sidebar-card:hover { | |
transform: none; | |
border-color: rgba(99, 102, 241, 0.2); | |
box-shadow: none; | |
} | |
.create-agents-btn { | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
gap: 0.5rem; | |
background: rgba(20, 20, 20, 0.95); | |
color: white; | |
border: 1px solid rgba(99, 102, 241, 0.3); | |
border-radius: 8px; | |
padding: 0.75rem 1rem; | |
font-size: 0.9rem; | |
font-weight: 500; | |
cursor: pointer; | |
transition: all 0.3s ease; | |
margin: 1rem 0; | |
width: 100%; | |
position: relative; | |
z-index: 2; | |
} | |
.create-agents-btn:hover { | |
background: rgba(99, 102, 241, 0.1); | |
border-color: rgba(99, 102, 241, 0.5); | |
transform: translateY(-2px); | |
box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1); | |
} | |
.create-agents-btn svg { | |
font-size: 1.1rem; | |
color: #6366f1; | |
} | |
/* Light theme adjustments */ | |
.light .create-agents-btn { | |
background: rgba(255, 255, 255, 0.9); | |
border-color: rgba(99, 102, 241, 0.3); | |
color: rgba(0, 0, 0, 0.8); | |
} | |
.light .create-agents-btn:hover { | |
background: rgba(99, 102, 241, 0.1); | |
border-color: rgba(99, 102, 241, 0.5); | |
color: #6366f1; | |
} | |
.light .create-agents-btn svg { | |
color: #6366f1; | |
} | |
.sidebar-card h3 { | |
margin: 0 0 0.75rem 0; | |
font-size: 1.1rem; | |
font-weight: 600; | |
position: relative; | |
z-index: 1; | |
background: linear-gradient(90deg, #fff, #999); | |
-webkit-background-clip: text; | |
background-clip: text; | |
color: transparent; | |
justify-content: left; | |
display: flex; | |
} | |
.sidebar-card svg { | |
color: #5046E4; | |
font-size: 1.5rem; | |
margin-right: 10px; | |
} | |
.sidebar-card p { | |
margin: 0; | |
font-size: 0.9rem; | |
color: rgba(255, 255, 255, 0.6); | |
line-height: 1.5; | |
position: relative; | |
z-index: 1; | |
text-align: center; | |
} | |
/* Light theme adjustments */ | |
.light .editor-sidebar { | |
background: rgba(255, 255, 255, 0.95); | |
border-color: rgba(0, 0, 0, 0.1); | |
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); | |
} | |
.light .sidebar-card h3 { | |
background: linear-gradient(90deg, #333, #666); | |
-webkit-background-clip: text; | |
background-clip: text; | |
} | |
.light .sidebar-card p { | |
color: rgba(0, 0, 0, 0.6); | |
} | |
.back-button { | |
display: flex; | |
align-items: center; | |
gap: 0.5rem; | |
padding: 0.3rem 0.5rem; | |
background: transparent; | |
border: 1px solid #6366f1; | |
color: #6366f1; | |
border-radius: 6px; | |
cursor: pointer; | |
transition: all 0.3s ease; | |
} | |
.back-button:hover { | |
background: rgba(99, 102, 241, 0.1); | |
transform: translateY(-1px); | |
} | |
.flow-wrapper { | |
background: linear-gradient(to bottom right, #04040F, #0B0B1A); | |
border-radius: 12px; | |
border: 1px solid rgba(255, 255, 255, 0.1); | |
width: 100%; | |
height: 100%; | |
overflow: hidden; | |
position: relative; | |
box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.3); | |
} | |
/* Ensure ReactFlow has ample space for nodes */ | |
.workflow-reactflow { | |
width: 100%; | |
height: 100%; | |
} | |
/* ReactFlow viewport adjustment to ensure proper sizing */ | |
.react-flow__viewport { | |
transform-origin: 0 0; | |
z-index: 2; | |
pointer-events: none; | |
} | |
.react-flow__viewport>* { | |
pointer-events: auto; | |
} | |
/* Make sure the ReactFlow nodes are clean without inheriting backgrounds */ | |
.react-flow__node { | |
background: none ; | |
box-shadow: none ; | |
} | |
.flow-controls { | |
position: absolute; | |
top: 1rem; | |
right: 1rem; | |
z-index: 10; | |
display: flex; | |
gap: 0.75rem; | |
flex-direction: row; | |
background: rgba(0, 0, 0, 0.2); | |
padding: 0.35rem; | |
border-radius: 6px; | |
backdrop-filter: blur(8px); | |
border: 1px solid rgba(255, 255, 255, 0.1); | |
} | |
.flow-button { | |
display: flex; | |
align-items: center; | |
gap: 0.25rem; | |
padding: 0.25rem 0.5rem; | |
border: none; | |
border-radius: 4px; | |
cursor: pointer; | |
font-weight: 500; | |
font-size: 0.75rem; | |
transition: all 0.2s ease; | |
min-width: 60px; | |
justify-content: center; | |
} | |
.flow-button svg { | |
font-size: 0.9rem; | |
} | |
.flow-button:hover { | |
transform: translateY(-1px); | |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); | |
} | |
.save-workflow { | |
background-color: #6366F1; | |
color: white; | |
border: 1px solid rgba(99, 102, 241, 0.2); | |
} | |
.save-workflow:hover { | |
background-color: #4F46E5; | |
} | |
.clear-workflow { | |
background-color: #EF4444; | |
color: white; | |
border: 1px solid rgba(239, 68, 68, 0.2); | |
} | |
.clear-workflow:hover { | |
background-color: #DC2626; | |
} | |
.execute-workflow { | |
background-color: #F59E0B; | |
color: white; | |
border: 1px solid rgba(245, 158, 11, 0.2); | |
} | |
.execute-workflow:hover { | |
background-color: #D97706; | |
} | |
/* Execute button running state */ | |
.execute-workflow.executing { | |
background-color: #B45309; | |
cursor: not-allowed; | |
opacity: 0.9; | |
} | |
.execute-workflow.executing:hover { | |
background-color: #B45309; | |
transform: none; | |
} | |
.button-spinner { | |
width: 16px; | |
height: 16px; | |
border: 2px solid rgba(255, 255, 255, 0.3); | |
border-top: 2px solid #fff; | |
border-radius: 50%; | |
animation: spin 0.8s linear infinite; | |
margin-right: 8px; | |
} | |
@keyframes spin { | |
0% { | |
transform: rotate(0deg); | |
} | |
100% { | |
transform: rotate(360deg); | |
} | |
} | |
.slider-value { | |
min-width: 40px; | |
font-size: 0.9rem; | |
color: rgba(255, 255, 255, 0.8); | |
text-align: right; | |
} | |
.add-node { | |
background-color: #10B981; | |
color: white; | |
border: 1px solid rgba(16, 185, 129, 0.2); | |
} | |
.add-node:hover { | |
background-color: #059669; | |
} | |
/* Light theme adjustments */ | |
.light .flow-wrapper { | |
background: linear-gradient(to bottom right, rgba(245, 245, 250, 0.9), rgba(255, 255, 255, 0.9)); | |
border-color: rgba(0, 0, 0, 0.1); | |
box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.05); | |
} | |
.light .editor-header h1 { | |
background: linear-gradient(0.25turn, #333, #000); | |
-webkit-background-clip: text; | |
background-clip: text; | |
} | |
.light .flow-controls { | |
background: rgba(255, 255, 255, 0.9); | |
border-color: rgba(0, 0, 0, 0.1); | |
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); | |
} | |
.light .flow-button { | |
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); | |
} | |
.light .flow-button:hover { | |
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); | |
} | |
/* Keep the same colors for both themes */ | |
:root[data-theme="light"] .save-workflow { | |
background-color: #6366F1; | |
color: white; | |
} | |
:root[data-theme="light"] .save-workflow:hover { | |
background-color: #4F46E5; | |
} | |
:root[data-theme="light"] .clear-workflow { | |
background-color: #EF4444; | |
color: white; | |
} | |
:root[data-theme="light"] .clear-workflow:hover { | |
background-color: #DC2626; | |
} | |
:root[data-theme="light"] .execute-workflow { | |
background-color: #F59E0B; | |
color: white; | |
} | |
:root[data-theme="light"] .execute-workflow:hover { | |
background-color: #D97706; | |
} | |
:root[data-theme="light"] .add-node { | |
background-color: #10B981; | |
color: white; | |
} | |
:root[data-theme="light"] .add-node:hover { | |
background-color: #059669; | |
} | |
.workflow-name-container { | |
display: flex; | |
align-items: center; | |
gap: 0.35rem; | |
margin-right: 0.75rem; | |
padding: 0 0.75rem; | |
border-right: 1px solid rgba(255, 255, 255, 0.1); | |
} | |
.workflow-name-display { | |
color: white; | |
font-size: 1.2rem; | |
width: 180px; | |
white-space: nowrap; | |
overflow: hidden; | |
text-overflow: ellipsis; | |
background: linear-gradient(0.25turn, #999, #fff); | |
-webkit-background-clip: text; | |
background-clip: text; | |
color: transparent; | |
font-weight: bold; | |
} | |
.name-action-button { | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
width: 28px; | |
height: 28px; | |
border: none; | |
border-radius: 4px; | |
cursor: pointer; | |
transition: all 0.2s ease; | |
background: rgba(255, 255, 255, 0.1); | |
color: rgba(255, 255, 255, 0.8); | |
font-size: 0.9rem; | |
padding: 0; | |
} | |
.name-action-button:hover { | |
transform: translateY(-1px); | |
background: rgba(255, 255, 255, 0.15); | |
color: white; | |
} | |
.name-action-button.save { | |
background: rgba(16, 185, 129, 0.2); | |
color: #10B981; | |
} | |
.name-action-button.save:hover { | |
background: rgba(16, 185, 129, 0.3); | |
} | |
.name-action-button.cancel { | |
background: rgba(239, 68, 68, 0.2); | |
color: #EF4444; | |
} | |
.name-action-button.cancel:hover { | |
background: rgba(239, 68, 68, 0.3); | |
} | |
.name-action-button.edit { | |
background: rgba(99, 102, 241, 0.2); | |
color: #6366F1; | |
} | |
.name-action-button.edit:hover { | |
background: rgba(99, 102, 241, 0.3); | |
} | |
/* Light theme adjustments */ | |
.light .workflow-name-display { | |
background: rgba(0, 0, 0, 0.05); | |
border-color: rgba(0, 0, 0, 0.1); | |
color: #000; | |
} | |
.light .name-action-button { | |
background: rgba(0, 0, 0, 0.05); | |
color: rgba(0, 0, 0, 0.6); | |
} | |
.light .name-action-button:hover { | |
background: rgba(0, 0, 0, 0.1); | |
color: rgba(0, 0, 0, 0.8); | |
} | |
.light .name-action-button.save { | |
background: rgba(16, 185, 129, 0.1); | |
color: #059669; | |
} | |
.light .name-action-button.save:hover { | |
background: rgba(16, 185, 129, 0.2); | |
} | |
.light .name-action-button.cancel { | |
background: rgba(239, 68, 68, 0.1); | |
color: #DC2626; | |
} | |
.light .name-action-button.cancel:hover { | |
background: rgba(239, 68, 68, 0.2); | |
} | |
.light .name-action-button.edit { | |
background: rgba(99, 102, 241, 0.1); | |
color: #4F46E5; | |
} | |
.light .name-action-button.edit:hover { | |
background: rgba(99, 102, 241, 0.2); | |
} | |
.workflow-name-input { | |
background: rgba(255, 255, 255, 0.1); | |
border: 1px solid rgba(255, 255, 255, 0.2); | |
border-radius: 4px; | |
color: white; | |
padding: 0.35rem 0.75rem; | |
font-size: 0.85rem; | |
width: 180px; | |
transition: all 0.2s ease; | |
} | |
.workflow-name-input:focus { | |
outline: none; | |
border-color: #6366f1; | |
background: rgba(255, 255, 255, 0.15); | |
} | |
.workflow-name-input::placeholder { | |
color: rgba(255, 255, 255, 0.3); | |
} | |
/* Light theme adjustments for input */ | |
.light .workflow-name-input { | |
background: rgba(0, 0, 0, 0.05); | |
border-color: rgba(0, 0, 0, 0.1); | |
color: #000; | |
} | |
.light .workflow-name-input:focus { | |
border-color: rgba(99, 102, 241, 0.5); | |
background: rgba(0, 0, 0, 0.02); | |
} | |
.light .workflow-name-input::placeholder { | |
color: rgba(0, 0, 0, 0.3); | |
} | |
.editor-insights h2 { | |
margin: 0; | |
font-size: 1.25rem; | |
color: #fff; | |
background: linear-gradient(0.25turn, #999, #fff); | |
-webkit-background-clip: text; | |
background-clip: text; | |
color: transparent; | |
} | |
.toggle-insights { | |
display: flex; | |
align-items: center; | |
justify-content: space-evenly; | |
padding: 0.5rem 0; | |
font-size: 1.5rem; | |
color: #6366f1; | |
transition: color 0.3s ease; | |
border-bottom: 1px solid rgba(99, 102, 241, 0.2); | |
gap: 1rem; | |
} | |
.insights-content { | |
background: rgba(20, 20, 20, 0.95); | |
border: 1px solid rgba(99, 102, 241, 0.2); | |
border-radius: 12px; | |
padding: 1rem; | |
color: rgba(255, 255, 255, 0.6); | |
flex: 1; | |
overflow: auto; | |
width: auto; | |
} | |
.insights-content p { | |
margin: 0; | |
font-size: 0.9rem; | |
line-height: 1.5; | |
} | |
/* Light theme adjustments */ | |
.light .editor-insights { | |
background: rgba(255, 255, 255, 0.95); | |
border-color: rgba(0, 0, 0, 0.1); | |
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); | |
} | |
.light .editor-insights h2 { | |
color: #333; | |
} | |
.light .toggle-insights { | |
border-bottom: 1px solid rgba(99, 102, 241, 0.1); | |
color: #333; | |
} | |
.light .toggle-insights { | |
border-bottom: 1px solid rgba(99, 102, 241, 0.1); | |
} | |
.light .insights-content { | |
background: rgba(255, 255, 255, 0.9); | |
border-color: rgba(99, 102, 241, 0.15); | |
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); | |
color: rgba(0, 0, 0, 0.6); | |
} | |
.agents-list { | |
max-height: 35vh; | |
overflow-y: auto; | |
margin-bottom: 1rem; | |
padding-right: 0.5rem; | |
height: 35vh; | |
display: flex; | |
flex-direction: column; | |
gap: 1rem; | |
} | |
.agents-list::-webkit-scrollbar { | |
width: 6px; | |
} | |
.agents-list::-webkit-scrollbar-track { | |
background: rgba(255, 255, 255, 0.05); | |
border-radius: 3px; | |
} | |
.agents-list::-webkit-scrollbar-thumb { | |
background: rgba(255, 255, 255, 0.2); | |
border-radius: 3px; | |
transition: background 0.3s ease; | |
} | |
.agents-list::-webkit-scrollbar-thumb:hover { | |
background: rgba(255, 255, 255, 0.3); | |
} | |
/* Light theme scrollbar */ | |
.light .agents-list::-webkit-scrollbar-track { | |
background: rgba(0, 0, 0, 0.05); | |
} | |
.light .agents-list::-webkit-scrollbar-thumb { | |
background: rgba(0, 0, 0, 0.2); | |
} | |
.light .agents-list::-webkit-scrollbar-thumb:hover { | |
background: rgba(0, 0, 0, 0.3); | |
} | |
.loading-agents { | |
text-align: center; | |
color: rgba(255, 255, 255, 0.6); | |
padding: 1rem; | |
font-size: 0.9rem; | |
} | |
.agent-item { | |
display: flex; | |
justify-content: space-between; | |
align-items: center; | |
padding: 0.75rem 1rem; | |
background: rgba(99, 102, 241, 0.1); | |
border-radius: 8px; | |
transition: all 0.3s ease; | |
border: 1px solid rgba(99, 102, 241, 0.2); | |
} | |
.agent-item.default { | |
background: rgba(79, 70, 229, 0.15); | |
border-color: rgba(79, 70, 229, 0.3); | |
} | |
.agent-item.custom { | |
background: rgba(99, 102, 241, 0.1); | |
border-color: rgba(99, 102, 241, 0.2); | |
} | |
.agent-item:hover { | |
transform: translateY(-1px); | |
background: rgba(99, 102, 241, 0.15); | |
border-color: rgba(99, 102, 241, 0.3); | |
} | |
.agent-name { | |
font-size: 0.9rem; | |
font-weight: 500; | |
color: rgba(255, 255, 255, 0.9); | |
} | |
.agent-status { | |
font-size: 0.8rem; | |
color: rgba(255, 255, 255, 0.6); | |
padding: 0.25rem 0.5rem; | |
background: rgba(255, 255, 255, 0.1); | |
border-radius: 4px; | |
} | |
.podcast-generation-form { | |
display: flex; | |
flex-direction: column; | |
gap: 2rem; | |
width: 100%; | |
max-width: 100%; | |
padding: 1rem; | |
box-sizing: border-box; | |
} | |
.podcast-generation-form h3 { | |
font-size: 1.1rem; | |
font-weight: 600; | |
color: rgba(255, 255, 255, 0.9); | |
margin: 0 0 0.75rem 0; | |
background: linear-gradient(90deg, #fff, #999); | |
-webkit-background-clip: text; | |
background-clip: text; | |
color: transparent; | |
} | |
.controls-section { | |
margin-bottom: 0.5rem; | |
} | |
.podcast-text-input { | |
width: 100%; | |
min-height: 150px; | |
padding: 1.2rem; | |
border-radius: 12px; | |
background: rgba(20, 20, 30, 0.95); | |
border: 1px solid rgba(99, 102, 241, 0.3); | |
color: white; | |
font-size: 1rem; | |
line-height: 1.6; | |
resize: vertical; | |
transition: all 0.3s ease; | |
box-sizing: border-box; | |
height: 33vh; | |
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15); | |
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; | |
} | |
.podcast-text-input:focus { | |
outline: none; | |
border-color: #6366f1; | |
background: rgba(30, 30, 50, 0.98); | |
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25); | |
transform: translateY(-2px); | |
} | |
/* Light theme adjustments */ | |
.light .podcast-generation-form h3 { | |
background: linear-gradient(90deg, #333, #666); | |
-webkit-background-clip: text; | |
background-clip: text; | |
} | |
.voice-controls { | |
display: flex; | |
flex-direction: column; | |
gap: 1.25rem; | |
margin-bottom: 1.5rem; | |
width: 100%; | |
} | |
.voice-select-group { | |
display: flex; | |
flex-direction: column; | |
gap: 0.5rem; | |
width: 100%; | |
position: relative; | |
} | |
.voice-select-group label { | |
font-size: 0.95rem; | |
color: rgba(255, 255, 255, 0.9); | |
font-weight: 600; | |
margin-bottom: 6px; | |
letter-spacing: 0.02em; | |
} | |
/* Modern select element styling */ | |
.voice-select-group select { | |
-webkit-appearance: none; | |
-moz-appearance: none; | |
appearance: none; | |
background: rgba(30, 30, 45, 0.95); | |
border: 1px solid rgba(99, 102, 241, 0.3); | |
border-radius: 12px; | |
padding: 0.9rem 1.1rem; | |
color: white; | |
font-size: 1rem; | |
cursor: pointer; | |
transition: all 0.3s ease; | |
width: 100%; | |
background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(99, 102, 241, 0.9)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); | |
background-repeat: no-repeat; | |
background-position: right 1rem center; | |
background-size: 1.1rem; | |
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15); | |
} | |
.voice-select-group select:hover { | |
border-color: rgba(99, 102, 241, 0.7); | |
transform: translateY(-2px); | |
box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2); | |
} | |
.voice-select-group select:focus { | |
outline: none; | |
border-color: #6366f1; | |
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25); | |
} | |
/* Enhanced styling for option elements */ | |
.voice-select-group select option { | |
background: rgba(30, 30, 45, 0.98); | |
color: white; | |
padding: 12px 16px; | |
font-size: 0.95rem; | |
border: none; | |
} | |
/* Attempt to give options more style (limited by browser support) */ | |
select::-webkit-scrollbar { | |
width: 8px; | |
} | |
select::-webkit-scrollbar-track { | |
background: rgba(30, 30, 45, 0.6); | |
border-radius: 10px; | |
} | |
select::-webkit-scrollbar-thumb { | |
background: rgba(99, 102, 241, 0.5); | |
border-radius: 10px; | |
} | |
select::-webkit-scrollbar-thumb:hover { | |
background: rgba(99, 102, 241, 0.8); | |
} | |
/* Attempting to style option hover states */ | |
select option:hover, | |
select option:focus, | |
select option:active, | |
select option:checked { | |
background: linear-gradient(0deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.2)); | |
color: white; | |
} | |
/* Light theme adjustments */ | |
.light .voice-select-group select { | |
background-color: rgba(255, 255, 255, 0.95); | |
border-color: rgba(99, 102, 241, 0.3); | |
color: #333; | |
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05); | |
background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(99, 102, 241, 0.7)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); | |
} | |
.light .voice-select-group select:hover { | |
background-color: rgba(255, 255, 255, 1); | |
border-color: rgba(99, 102, 241, 0.6); | |
transform: translateY(-2px); | |
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.08); | |
} | |
.light .voice-select-group select:focus { | |
border-color: #6366f1; | |
background-color: rgba(255, 255, 255, 1); | |
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15); | |
} | |
.light .voice-select-group select option { | |
background: rgba(255, 255, 255, 0.98); | |
color: #333; | |
} | |
/* Custom Select styling (homepage-inspired) */ | |
.custom-select-wrapper { | |
position: relative; | |
display: inline-block; | |
width: 100%; | |
margin-bottom: 10px; | |
} | |
.custom-select-wrapper select { | |
display: none; | |
/* Hide original SELECT element */ | |
} | |
.select-styled { | |
position: relative; | |
padding: 0.9rem 1.1rem; | |
background: rgba(30, 30, 45, 0.95); | |
border: 1px solid rgba(99, 102, 241, 0.3); | |
border-radius: 12px; | |
color: white; | |
font-size: 0.95rem; | |
font-weight: 500; | |
cursor: pointer; | |
display: flex; | |
align-items: center; | |
justify-content: space-between; | |
transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94); | |
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15); | |
} | |
.select-styled:after { | |
content: ''; | |
width: 0; | |
height: 0; | |
border: 6px solid transparent; | |
border-top-color: rgba(99, 102, 241, 0.9); | |
position: absolute; | |
right: 15px; | |
top: 50%; | |
transform: translateY(-2px); | |
transition: transform 0.3s ease, border-top-color 0.2s ease; | |
} | |
.select-styled:hover { | |
border-color: rgba(99, 102, 241, 0.7); | |
transform: translateY(-2px); | |
box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2); | |
} | |
.select-styled.active { | |
border-color: #6366f1; | |
background: rgba(35, 35, 50, 0.98); | |
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25); | |
} | |
.select-styled.active:after { | |
transform: translateY(-5px) rotate(180deg); | |
border-top-color: #6366f1; | |
} | |
.select-options { | |
display: none; | |
position: absolute; | |
top: calc(100% + 8px); | |
left: 0; | |
right: 0; | |
z-index: 999; | |
margin: 0; | |
padding: 0; | |
list-style: none; | |
background: rgba(25, 25, 35, 0.98); | |
border-radius: 12px; | |
border: 1px solid rgba(99, 102, 241, 0.3); | |
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.1); | |
max-height: 280px; | |
overflow-y: auto; | |
transform-origin: top center; | |
animation: dropdownAppear 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94); | |
backdrop-filter: blur(10px); | |
} | |
@keyframes dropdownAppear { | |
from { | |
opacity: 0; | |
transform: translateY(-15px) scale(0.95); | |
} | |
to { | |
opacity: 1; | |
transform: translateY(0) scale(1); | |
} | |
} | |
.select-options::-webkit-scrollbar { | |
width: 6px; | |
} | |
.select-options::-webkit-scrollbar-track { | |
background: rgba(30, 30, 45, 0.6); | |
border-radius: 10px; | |
} | |
.select-options::-webkit-scrollbar-thumb { | |
background: rgba(99, 102, 241, 0.5); | |
border-radius: 10px; | |
transition: background 0.3s ease; | |
} | |
.select-options::-webkit-scrollbar-thumb:hover { | |
background: rgba(99, 102, 241, 0.8); | |
} | |
.select-options li { | |
padding: 0.75rem 1.2rem; | |
margin: 0; | |
color: rgba(255, 255, 255, 0.8); | |
cursor: pointer; | |
transition: all 0.2s ease; | |
position: relative; | |
font-size: 0.95rem; | |
border-bottom: 1px solid rgba(255, 255, 255, 0.05); | |
} | |
.select-options li:last-child { | |
border-bottom: none; | |
} | |
.select-options li:hover { | |
background: rgba(99, 102, 241, 0.15); | |
color: white; | |
padding-left: 1.5rem; | |
} | |
.select-options li:before { | |
content: ''; | |
position: absolute; | |
left: 0; | |
top: 0; | |
height: 100%; | |
width: 0; | |
background: linear-gradient(90deg, rgba(99, 102, 241, 0.3), transparent); | |
transition: width 0.2s ease; | |
opacity: 0; | |
} | |
.select-options li:hover:before { | |
width: 100%; | |
opacity: 1; | |
} | |
.select-options li.selected { | |
background: rgba(99, 102, 241, 0.2); | |
color: white; | |
position: relative; | |
font-weight: 600; | |
} | |
.select-options li.selected:after { | |
content: '✓'; | |
position: absolute; | |
right: 15px; | |
top: 50%; | |
transform: translateY(-50%); | |
color: #6366f1; | |
font-weight: bold; | |
} | |
/* Light theme for custom select */ | |
.light .select-styled { | |
background: rgba(255, 255, 255, 0.95); | |
border-color: rgba(99, 102, 241, 0.3); | |
color: #333; | |
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05); | |
} | |
.light .select-styled:after { | |
border-top-color: rgba(99, 102, 241, 0.7); | |
} | |
.light .select-styled:hover { | |
background: white; | |
border-color: rgba(99, 102, 241, 0.6); | |
} | |
.light .select-styled.active { | |
border-color: #6366f1; | |
background: white; | |
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15); | |
} | |
.light .select-options { | |
background: white; | |
border: 1px solid rgba(99, 102, 241, 0.2); | |
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.05); | |
} | |
.light .select-options li { | |
color: #333; | |
border-bottom: 1px solid rgba(0, 0, 0, 0.05); | |
} | |
.light .select-options li:hover { | |
background: rgba(99, 102, 241, 0.1); | |
color: #000; | |
} | |
.light .select-options li:before { | |
background: linear-gradient(90deg, rgba(99, 102, 241, 0.1), transparent); | |
} | |
.light .select-options li.selected { | |
background: rgba(99, 102, 241, 0.15); | |
color: #000; | |
} | |
.light .select-options li.selected:after { | |
color: #6366f1; | |
} | |
/* Updated Generate Button Styles */ | |
.generate-button { | |
padding: 0.8rem 1.5rem; | |
background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%); | |
color: white; | |
border: none; | |
border-radius: 10px; | |
font-size: 1rem; | |
font-weight: 600; | |
cursor: pointer; | |
transition: all 0.3s ease; | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
gap: 0.5rem; | |
box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2); | |
position: relative; | |
overflow: hidden; | |
z-index: 1; | |
} | |
.generate-button::before { | |
content: ''; | |
position: absolute; | |
top: 0; | |
left: 0; | |
width: 100%; | |
height: 100%; | |
background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%); | |
opacity: 0; | |
transition: opacity 0.3s ease; | |
z-index: -1; | |
} | |
.generate-button:hover:not(:disabled)::before { | |
opacity: 1; | |
} | |
.generate-button:hover:not(:disabled) { | |
transform: translateY(-3px); | |
box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35); | |
} | |
.generate-button:active:not(:disabled) { | |
transform: translateY(-1px); | |
} | |
.generate-button:disabled { | |
background: linear-gradient(135deg, rgba(99, 102, 241, 0.5) 0%, rgba(79, 70, 229, 0.5) 100%); | |
cursor: not-allowed; | |
box-shadow: none; | |
opacity: 0.7; | |
} | |
.podcast-text-input::placeholder { | |
color: rgba(255, 255, 255, 0.4); | |
} | |
/* Light theme adjustments */ | |
.light .podcast-text-input { | |
background: rgba(255, 255, 255, 0.9); | |
border-color: rgba(99, 102, 241, 0.2); | |
color: #333; | |
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); | |
} | |
.light .podcast-text-input:focus { | |
border-color: #6366f1; | |
background: rgba(255, 255, 255, 0.95); | |
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15); | |
} | |
.light .podcast-text-input::placeholder { | |
color: rgba(0, 0, 0, 0.4); | |
} | |
/* Light theme adjustments for input */ | |
.light .workflow-name-input { | |
background: rgba(0, 0, 0, 0.05); | |
border-color: rgba(0, 0, 0, 0.1); | |
color: #000; | |
} | |
.light .workflow-name-input:focus { | |
border-color: rgba(99, 102, 241, 0.5); | |
background: rgba(0, 0, 0, 0.02); | |
} | |
.light .workflow-name-input::placeholder { | |
color: rgba(0, 0, 0, 0.3); | |
} | |
.generation-message { | |
padding: 1rem; | |
border-radius: 8px; | |
font-size: 0.95rem; | |
line-height: 1.5; | |
margin-top: 1rem; | |
text-align: center; | |
} | |
.generation-message.success { | |
background: rgba(34, 197, 94, 0.1); | |
border: 1px solid rgba(34, 197, 94, 0.2); | |
color: #22c55e; | |
} | |
.generation-message.error { | |
background: rgba(239, 68, 68, 0.1); | |
border: 1px solid rgba(239, 68, 68, 0.2); | |
color: #ef4444; | |
} | |
.audio-player { | |
width: auto; | |
padding: 1rem; | |
background: rgba(255, 255, 255, 0.05); | |
border-radius: 8px; | |
margin: 1rem 0; | |
} | |
.demo-container .audio-player { | |
width: 18vw; | |
} | |
.demo-container .audio-controls { | |
display: none; | |
} | |
.demo-container .audio-player-container { | |
justify-content: center; | |
} | |
.player-controls { | |
display: flex; | |
align-items: center; | |
gap: 1rem; | |
width: auto; | |
} | |
.editor-content .player-controls { | |
width: 100%; | |
} | |
.play-button { | |
background: #6366f1; | |
border: none; | |
border-radius: 50%; | |
width: 36px; | |
height: 36px; | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
cursor: pointer; | |
color: white; | |
transition: all 0.3s ease; | |
padding: 0; | |
} | |
.play-button svg { | |
width: 14px; | |
height: 14px; | |
margin: 0 auto; | |
color: #fff; | |
/* Slight adjustment for the play icon */ | |
} | |
.play-button:hover { | |
background: #4f46e5; | |
transform: scale(1.05); | |
} | |
.progress-bar { | |
flex: 1; | |
height: 6px; | |
background: rgba(255, 255, 255, 0.1); | |
border-radius: 3px; | |
cursor: pointer; | |
position: relative; | |
overflow: hidden; | |
transition: height 0.2s ease; | |
} | |
.progress-bar:hover { | |
height: 8px; | |
} | |
.progress { | |
position: absolute; | |
left: 0; | |
top: 0; | |
height: 100%; | |
background: #6366f1; | |
transition: width 0.1s linear; | |
} | |
.progress::after { | |
content: ''; | |
position: absolute; | |
right: -4px; | |
top: 50%; | |
transform: translateY(-50%); | |
width: 8px; | |
height: 8px; | |
background: #fff; | |
border-radius: 50%; | |
opacity: 0; | |
transition: opacity 0.2s ease; | |
} | |
.progress-bar:hover .progress::after { | |
opacity: 1; | |
} | |
.time-display { | |
font-size: 0.85rem; | |
color: rgba(255, 255, 255, 0.8); | |
min-width: 100px; | |
text-align: right; | |
} | |
/* Light theme adjustments */ | |
.light .generation-message.success { | |
background: rgba(34, 197, 94, 0.1); | |
border-color: rgba(34, 197, 94, 0.2); | |
color: #15803d; | |
} | |
.light .generation-message.error { | |
background: rgba(239, 68, 68, 0.1); | |
border-color: rgba(239, 68, 68, 0.2); | |
color: #b91c1c; | |
} | |
.light .audio-player { | |
background: rgba(0, 0, 0, 0.05); | |
} | |
.light .progress-bar { | |
background: rgba(0, 0, 0, 0.1); | |
} | |
.light .time-display { | |
color: rgba(0, 0, 0, 0.8); | |
} | |
.light .progress::after { | |
background: #6366f1; | |
} | |
/* Custom Dropdown Styling for Voice/Emotion Selection */ | |
.custom-voice-dropdown { | |
position: relative; | |
z-index: 10; | |
width: 100%; | |
} | |
.dropdown-header { | |
display: flex; | |
align-items: center; | |
justify-content: space-between; | |
padding: 0.6rem 1rem; | |
border-radius: 10px; | |
background: rgba(30, 30, 45, 0.95); | |
border: 1px solid rgba(99, 102, 241, 0.3); | |
color: white; | |
cursor: pointer; | |
transition: all 0.3s ease; | |
height: 42px; | |
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); | |
} | |
.dropdown-header:hover { | |
border-color: rgba(99, 102, 241, 0.7); | |
transform: translateY(-1px); | |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); | |
} | |
.dropdown-header-text { | |
display: flex; | |
align-items: center; | |
gap: 8px; | |
font-weight: 500; | |
font-size: 0.95rem; | |
white-space: nowrap; | |
overflow: hidden; | |
text-overflow: ellipsis; | |
} | |
.dropdown-header-text svg { | |
font-size: 1.1rem; | |
color: rgba(99, 102, 241, 0.9); | |
flex-shrink: 0; | |
} | |
.dropdown-arrow { | |
transition: transform 0.3s ease; | |
font-size: 0.9rem; | |
color: rgba(255, 255, 255, 0.6); | |
margin-left: 4px; | |
} | |
.dropdown-arrow.open { | |
transform: rotate(180deg); | |
} | |
.dropdown-options { | |
position: absolute; | |
top: calc(100% + 5px); | |
left: 0; | |
width: 100%; | |
max-height: 280px; | |
overflow-y: auto; | |
border-radius: 10px; | |
background: rgba(25, 25, 35, 0.98); | |
backdrop-filter: blur(10px); | |
border: 1px solid rgba(99, 102, 241, 0.3); | |
z-index: 20; | |
padding: 0.5rem 0; | |
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25), 0 2px 4px rgba(0, 0, 0, 0.1); | |
transform-origin: top center; | |
animation: dropdownAppear 0.25s cubic-bezier(0.3, 0, 0.3, 1); | |
} | |
@keyframes dropdownAppear { | |
from { | |
opacity: 0; | |
transform: translateY(-10px) scale(0.98); | |
} | |
to { | |
opacity: 1; | |
transform: translateY(0) scale(1); | |
} | |
} | |
.dropdown-options::-webkit-scrollbar { | |
width: 6px; | |
} | |
.dropdown-options::-webkit-scrollbar-track { | |
background: rgba(30, 30, 45, 0.6); | |
border-radius: 10px; | |
} | |
.dropdown-options::-webkit-scrollbar-thumb { | |
background: rgba(99, 102, 241, 0.5); | |
border-radius: 10px; | |
transition: background 0.3s ease; | |
} | |
.dropdown-options::-webkit-scrollbar-thumb:hover { | |
background: rgba(99, 102, 241, 0.8); | |
} | |
.dropdown-option { | |
display: flex; | |
align-items: center; | |
gap: 8px; | |
padding: 0.65rem 1rem; | |
cursor: pointer; | |
transition: all 0.2s ease; | |
color: rgba(255, 255, 255, 0.8); | |
position: relative; | |
overflow: hidden; | |
font-size: 0.95rem; | |
} | |
.dropdown-option svg { | |
font-size: 1.1rem; | |
color: rgba(99, 102, 241, 0.7); | |
transition: all 0.2s ease; | |
} | |
.dropdown-option:hover { | |
background: rgba(99, 102, 241, 0.15); | |
color: white; | |
padding-left: 1.2rem; | |
} | |
.dropdown-option:hover svg { | |
color: rgba(99, 102, 241, 1); | |
transform: scale(1.1); | |
} | |
.dropdown-option.selected { | |
background: rgba(99, 102, 241, 0.2); | |
color: white; | |
position: relative; | |
} | |
.dropdown-option.selected::after { | |
content: ''; | |
position: absolute; | |
left: 0; | |
top: 0; | |
bottom: 0; | |
width: 3px; | |
background: #6366f1; | |
box-shadow: 0 0 8px rgba(99, 102, 241, 0.6); | |
} | |
.dropdown-option.selected svg { | |
color: rgba(99, 102, 241, 1); | |
} | |
.dropdown-option::before { | |
content: ''; | |
position: absolute; | |
left: 0; | |
top: 0; | |
height: 100%; | |
width: 0; | |
background: linear-gradient(90deg, rgba(99, 102, 241, 0.2), transparent); | |
transition: width 0.2s ease; | |
} | |
.dropdown-option:hover::before { | |
width: 100%; | |
} | |
.dropdown-option::after { | |
content: ''; | |
position: absolute; | |
bottom: 0; | |
left: 0; | |
height: 1px; | |
width: 100%; | |
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent); | |
opacity: 0.5; | |
} | |
/* Light theme adjustments */ | |
.light .dropdown-header { | |
background: rgba(255, 255, 255, 0.9); | |
border: 1px solid rgba(99, 102, 241, 0.2); | |
color: #333; | |
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); | |
} | |
.light .dropdown-header:hover { | |
border-color: rgba(99, 102, 241, 0.6); | |
background: white; | |
} | |
.light .dropdown-header-text svg { | |
color: rgba(99, 102, 241, 0.8); | |
} | |
.light .dropdown-arrow { | |
color: rgba(0, 0, 0, 0.4); | |
} | |
.light .dropdown-options { | |
background: white; | |
border: 1px solid rgba(99, 102, 241, 0.2); | |
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.05); | |
} | |
.light .dropdown-options::-webkit-scrollbar-track { | |
background: rgba(240, 240, 250, 0.8); | |
} | |
.light .dropdown-options::-webkit-scrollbar-thumb { | |
background: rgba(99, 102, 241, 0.3); | |
} | |
.light .dropdown-options::-webkit-scrollbar-thumb:hover { | |
background: rgba(99, 102, 241, 0.5); | |
} | |
.light .dropdown-option { | |
color: #333; | |
} | |
.light .dropdown-option svg { | |
color: rgba(99, 102, 241, 0.6); | |
} | |
.light .dropdown-option:hover { | |
background: rgba(99, 102, 241, 0.1); | |
color: #000; | |
} | |
.light .dropdown-option.selected { | |
background: rgba(99, 102, 241, 0.15); | |
color: #000; | |
} | |
.light .dropdown-option.selected::after { | |
background: #6366f1; | |
box-shadow: 0 0 6px rgba(99, 102, 241, 0.3); | |
} | |
.light .dropdown-option::before { | |
background: linear-gradient(90deg, rgba(99, 102, 241, 0.1), transparent); | |
} | |
.light .dropdown-option::after { | |
background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent); | |
} | |
/* Edge styling */ | |
.react-flow__edge-path { | |
transition: stroke-dasharray 0.3s, stroke-width 0.3s, stroke-opacity 0.3s; | |
} | |
.react-flow__edge:hover .react-flow__edge-path { | |
stroke-width: 4px; | |
stroke-dasharray: 5 3; | |
} | |
.react-flow__edge.selected .react-flow__edge-path { | |
stroke-width: 4px; | |
stroke-dasharray: 5 3; | |
} | |
/* Edge styling based on source node type */ | |
.source-input .react-flow__edge-path { | |
stroke: #6366F1; | |
} | |
.source-researcher .react-flow__edge-path { | |
stroke: #4C1D95; | |
} | |
.source-agent .react-flow__edge-path { | |
stroke: #10B981; | |
} | |
.source-insights .react-flow__edge-path { | |
stroke: #F59E0B; | |
} | |
.source-notify .react-flow__edge-path { | |
stroke: #EF4444; | |
} | |
/* Custom edge glow effects */ | |
.edge-glow { | |
opacity: 0; | |
transition: opacity 0.3s ease; | |
} | |
.react-flow__edge:hover .edge-glow { | |
opacity: 0.3; | |
} | |
.react-flow__edge.selected .edge-glow { | |
opacity: 0.4; | |
} | |
/* Controls styling */ | |
.react-flow__controls { | |
background: rgba(20, 20, 30, 0.8); | |
border-radius: 8px; | |
padding: 6px; | |
border: 1px solid rgba(255, 255, 255, 0.1); | |
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); | |
} | |
.react-flow__controls-button { | |
background: rgba(255, 255, 255, 0.1); | |
color: white; | |
border: none; | |
border-radius: 4px; | |
width: 28px; | |
height: 28px; | |
transition: all 0.2s ease; | |
} | |
.react-flow__controls-button:hover { | |
background: rgba(255, 255, 255, 0.2); | |
} | |
.light .react-flow__controls { | |
background: rgba(255, 255, 255, 0.9); | |
border: 1px solid rgba(0, 0, 0, 0.1); | |
} | |
.light .react-flow__controls-button { | |
background: rgba(0, 0, 0, 0.05); | |
color: #333; | |
} | |
.light .react-flow__controls-button:hover { | |
background: rgba(0, 0, 0, 0.1); | |
} | |
/* MiniMap styling */ | |
.react-flow__minimap { | |
background-color: rgba(20, 20, 30, 0.8); | |
border-radius: 8px; | |
border: 1px solid rgba(255, 255, 255, 0.1); | |
} | |
.light .react-flow__minimap { | |
background-color: rgba(255, 255, 255, 0.9); | |
border: 1px solid rgba(0, 0, 0, 0.1); | |
} | |
/* Chat-style insights styling */ | |
.insights-container { | |
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; | |
color: #f8f8f8; | |
padding: 0; | |
width: 100%; | |
margin: 0 auto; | |
height: 75vh; | |
max-height: 75vh; | |
overflow-x: hidden; | |
/* Prevent horizontal scrolling */ | |
overflow-y: auto; | |
/* Allow vertical scrolling */ | |
} | |
.insights-container h1 { | |
font-size: 18px; | |
margin-bottom: 20px; | |
padding-bottom: 8px; | |
border-bottom: 1px solid rgba(255, 255, 255, 0.1); | |
color: #fff; | |
background: linear-gradient(0.25turn, #999, #fff); | |
-webkit-background-clip: text; | |
background-clip: text; | |
color: transparent; | |
} | |
.insights-container h2 { | |
font-size: 16px; | |
margin: 20px 0 15px 0; | |
color: #f0f0f0; | |
} | |
/* Simplify research card */ | |
.research-card { | |
background: rgba(30, 41, 59, 0.6); | |
border-radius: 8px; | |
padding: 14px; | |
margin-bottom: 20px; | |
border: none; | |
/* Remove border */ | |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
} | |
.research-header { | |
display: flex; | |
align-items: center; | |
margin-bottom: 10px; | |
} | |
.research-icon { | |
background: rgba(99, 102, 241, 0.2); | |
width: 24px; | |
height: 24px; | |
border-radius: 50%; | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
margin-right: 8px; | |
font-size: 14px; | |
} | |
.research-title { | |
font-weight: 600; | |
font-size: 14px; | |
color: #e0e0e0; | |
} | |
.research-content { | |
font-size: 12px; | |
line-height: 1.5; | |
white-space: pre-wrap; | |
color: rgba(255, 255, 255, 0.8); | |
font-family: monospace; | |
max-height: 200px; | |
overflow-y: auto; | |
padding: 8px; | |
background: rgba(0, 0, 0, 0.2); | |
border-radius: 4px; | |
} | |
/* Clean up chat message styling */ | |
.chat-message { | |
display: flex; | |
margin-bottom: 16px; | |
gap: 10px; | |
} | |
.chat-avatar { | |
width: 32px; | |
height: 32px; | |
border-radius: 50%; | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
font-size: 14px; | |
flex-shrink: 0; | |
color: white; | |
} | |
.chat-bubble { | |
flex: 1; | |
background: rgba(30, 41, 59, 0.4); | |
border-radius: 12px 12px 12px 2px; | |
padding: 12px 16px; | |
position: relative; | |
border: none; | |
margin-bottom: 8px; | |
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); | |
} | |
.chat-bubble::before { | |
content: none; | |
/* Remove the speech bubble triangle */ | |
} | |
.chat-header { | |
display: flex; | |
justify-content: space-between; | |
margin-bottom: 8px; | |
border-bottom: 1px solid rgba(255, 255, 255, 0.1); | |
padding-bottom: 6px; | |
} | |
.chat-name { | |
font-weight: 600; | |
color: #e0e0e0; | |
font-size: 13px; | |
} | |
.chat-turn { | |
color: rgba(255, 255, 255, 0.6); | |
font-size: 10px; | |
background: rgba(255, 255, 255, 0.1); | |
padding: 2px 6px; | |
border-radius: 10px; | |
} | |
.chat-content { | |
font-size: 13px; | |
line-height: 1.6; | |
color: rgba(255, 255, 255, 0.9); | |
} | |
/* Simplify insights and conclusion sections */ | |
.insights-section, | |
.conclusion-section { | |
background: rgba(30, 41, 59, 0.4); | |
border-radius: 8px; | |
padding: 14px; | |
margin-top: 20px; | |
border: none; | |
/* Remove border */ | |
} | |
.insights-section ol, | |
.insights-section ul { | |
margin: 10px 0; | |
padding-left: 24px; | |
} | |
.insights-section li { | |
margin-bottom: 8px; | |
font-size: 13px; | |
line-height: 1.5; | |
} | |
.conclusion-section p { | |
font-size: 13px; | |
line-height: 1.6; | |
margin: 0; | |
} | |
.debate-transcript { | |
margin-bottom: 20px; | |
} | |
.insights-error { | |
background: rgba(239, 68, 68, 0.1); | |
border: 1px solid rgba(239, 68, 68, 0.3); | |
border-radius: 8px; | |
padding: 16px; | |
color: #fff; | |
} | |
.insights-error h2 { | |
color: #ef4444; | |
margin-top: 0; | |
} | |
.insights-error ul { | |
margin: 10px 0; | |
padding-left: 24px; | |
} | |
.insights-error li { | |
margin-bottom: 6px; | |
font-size: 13px; | |
} | |
/* Light theme adjustments for insights */ | |
:root[data-theme="light"] .research-card { | |
background: rgba(255, 255, 255, 0.9); | |
border-color: rgba(99, 102, 241, 0.2); | |
} | |
:root[data-theme="light"] .research-content { | |
background: rgba(0, 0, 0, 0.05); | |
color: #333; | |
} | |
:root[data-theme="light"] .research-title { | |
color: #333; | |
} | |
:root[data-theme="light"] .chat-bubble { | |
background: rgba(255, 255, 255, 0.7); | |
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); | |
} | |
:root[data-theme="light"] .chat-bubble::before { | |
border-right-color: rgba(255, 255, 255, 0.9); | |
} | |
:root[data-theme="light"] .chat-name { | |
color: #333; | |
} | |
:root[data-theme="light"] .chat-content { | |
color: #333; | |
} | |
:root[data-theme="light"] .chat-turn { | |
color: rgba(0, 0, 0, 0.6); | |
background: rgba(0, 0, 0, 0.1); | |
} | |
:root[data-theme="light"] .insights-section, | |
:root[data-theme="light"] .conclusion-section { | |
background: rgba(255, 255, 255, 0.8); | |
color: #333; | |
} | |
:root[data-theme="light"] .insights-container h1, | |
:root[data-theme="light"] .insights-container h2 { | |
color: #333; | |
} | |
:root[data-theme="light"] .insights-error { | |
background: rgba(239, 68, 68, 0.05); | |
color: #333; | |
} | |
.agent-item.personalized { | |
border-left: 3px solid #10B981; | |
animation: glow 2s infinite alternate; | |
} | |
@keyframes glow { | |
from { | |
box-shadow: 0 0 2px rgba(16, 185, 129, 0.1); | |
} | |
to { | |
box-shadow: 0 0 8px rgba(16, 185, 129, 0.5); | |
} | |
} | |
.personalized-badge { | |
background-color: #10B981; | |
color: white; | |
font-size: 0.7rem; | |
padding: 2px 6px; | |
border-radius: 10px; | |
font-weight: bold; | |
text-transform: uppercase; | |
letter-spacing: 0.5px; | |
} | |
/* Editable response styling */ | |
.editable-response { | |
/* Remove cursor pointer and styling */ | |
cursor: default ; | |
transition: none; | |
position: relative; | |
border: none ; | |
box-shadow: none ; | |
} | |
.editable-response:hover { | |
box-shadow: none ; | |
transform: none; | |
} | |
/* Remove the pencil icon completely */ | |
.editable-response::after { | |
display: none; | |
} | |
.edit-indicator { | |
display: none; | |
} | |
/* Make the chat content appear normal */ | |
.editable-response .chat-content { | |
cursor: default; | |
} | |
/* Also update light theme styling */ | |
:root[data-theme="light"] .editable-response { | |
box-shadow: none ; | |
} | |
:root[data-theme="light"] .editable-response:hover { | |
box-shadow: none ; | |
} | |
/* Updated Slider Styles */ | |
.voice-select-group .slider-container { | |
display: flex; | |
align-items: center; | |
gap: 1rem; | |
width: 100%; | |
margin-top: 8px; | |
padding: 0 2px; | |
} | |
.speed-slider { | |
flex: 1; | |
-webkit-appearance: none; | |
appearance: none; | |
height: 8px; | |
background: rgba(99, 102, 241, 0.2); | |
border-radius: 4px; | |
outline: none; | |
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); | |
} | |
.speed-slider::-webkit-slider-thumb { | |
-webkit-appearance: none; | |
appearance: none; | |
width: 20px; | |
height: 20px; | |
background: #6366f1; | |
border-radius: 50%; | |
cursor: pointer; | |
transition: all 0.3s ease; | |
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); | |
} | |
.speed-slider::-webkit-slider-thumb:hover { | |
transform: scale(1.2); | |
background: #4f46e5; | |
box-shadow: 0 2px 8px rgba(99, 102, 241, 0.5); | |
} | |
.speed-slider::-moz-range-thumb { | |
width: 20px; | |
height: 20px; | |
background: #6366f1; | |
border-radius: 50%; | |
cursor: pointer; | |
border: none; | |
transition: all 0.3s ease; | |
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); | |
} | |
.speed-slider::-moz-range-thumb:hover { | |
transform: scale(1.2); | |
background: #4f46e5; | |
box-shadow: 0 2px 8px rgba(99, 102, 241, 0.5); | |
} | |
.slider-value { | |
min-width: 46px; | |
font-size: 1rem; | |
color: rgba(255, 255, 255, 0.9); | |
text-align: center; | |
font-weight: 600; | |
background: rgba(30, 30, 40, 0.7); | |
padding: 5px 10px; | |
border-radius: 8px; | |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15); | |
} | |
.light .speed-slider { | |
background: rgba(99, 102, 241, 0.15); | |
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); | |
} | |
.light .slider-value { | |
color: rgba(0, 0, 0, 0.8); | |
background: rgba(240, 240, 250, 0.9); | |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); | |
} | |
/* Emotion dropdown specific styling */ | |
.emotion-select-container { | |
margin-bottom: 1rem; | |
} | |
.emotion-select-container .select-styled { | |
display: flex; | |
align-items: center; | |
gap: 8px; | |
} | |
.emotion-select-container .select-styled span { | |
display: flex; | |
align-items: center; | |
gap: 8px; | |
} | |
.emotion-select-container .select-options li { | |
display: flex; | |
align-items: center; | |
} | |
.emotion-select-container .select-options li span { | |
display: flex; | |
align-items: center; | |
gap: 8px; | |
width: 100%; | |
} | |
/* Emotion icons */ | |
.emotion-icon { | |
font-size: 1.2rem; | |
margin-right: 8px; | |
display: inline-block; | |
} | |
/* Hover effects for emotion options */ | |
.emotion-select-container .select-options li:hover { | |
background: rgba(99, 102, 241, 0.2); | |
transform: translateX(5px); | |
} | |
.emotion-select-container .select-options li.selected { | |
background: rgba(99, 102, 241, 0.25); | |
} | |
/* More vibrant highlight when selected */ | |
.emotion-select-container .select-options li.selected:after { | |
color: #818cf8; | |
font-size: 1.1rem; | |
} | |
/* Add styles for clickable chat bubbles */ | |
.clickable-bubble { | |
cursor: pointer; | |
transition: all 0.3s ease; | |
position: relative; | |
} | |
.clickable-bubble:hover { | |
transform: translateY(-2px); | |
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); | |
background: rgba(40, 51, 69, 0.6); | |
} | |
.clickable-bubble:hover::after { | |
content: 'Click to view'; | |
position: absolute; | |
top: -24px; | |
right: 10px; | |
background: rgba(99, 102, 241, 0.9); | |
color: white; | |
padding: 3px 8px; | |
border-radius: 4px; | |
font-size: 10px; | |
opacity: 0; | |
animation: fadeIn 0.3s forwards; | |
} | |
/* Light theme adjustment */ | |
:root[data-theme="light"] .clickable-bubble:hover { | |
background: rgba(235, 240, 250, 0.9); | |
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); | |
} | |
:root[data-theme="light"] .clickable-bubble:hover::after { | |
background: rgba(99, 102, 241, 0.8); | |
} | |
/* Podcast Generation Button Container Styles */ | |
.podcast-generation-button-container { | |
margin-top: 30px; | |
margin-bottom: 20px; | |
display: flex; | |
justify-content: center; | |
width: 100%; | |
} | |
.podcast-from-debate-btn { | |
background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%); | |
padding: 12px 24px; | |
border-radius: 12px; | |
font-size: 1.1rem; | |
transition: all 0.3s ease; | |
box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3); | |
width: auto; | |
min-width: 280px; | |
} | |
.executing-flow-rf { | |
width: 100%; | |
height: 100%; | |
position: absolute; | |
left: 0; | |
top: 0; | |
z-index: 999; | |
display: flex; | |
background: #000; | |
justify-content: center; | |
align-items: center; | |
font-size: 30px; | |
opacity: 0.85; | |
flex-direction: column; | |
} | |
.executing-flow-rf span svg { | |
-webkit-animation-name: spin; | |
-webkit-animation-duration: 500ms; | |
-webkit-animation-iteration-count: infinite; | |
-webkit-animation-timing-function: linear; | |
} | |
.executing-flow-rf.generating-podcast span svg { | |
animation: none; | |
font-size: 90px; | |
} | |
@-moz-keyframes spin { | |
from { | |
-moz-transform: rotate(0deg); | |
} | |
to { | |
-moz-transform: rotate(360deg); | |
} | |
} | |
.podcast-from-debate-btn:hover:not(:disabled) { | |
transform: translateY(-3px); | |
box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4); | |
background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%); | |
} | |
.podcast-from-debate-btn svg { | |
font-size: 1.3rem; | |
margin-right: 8px; | |
} | |
.podcast-from-debate-btn:disabled { | |
background: linear-gradient(135deg, rgba(139, 92, 246, 0.5) 0%, rgba(99, 102, 241, 0.5) 100%); | |
cursor: not-allowed; | |
box-shadow: none; | |
} | |
/* Light theme adjustments */ | |
:root[data-theme="light"] .podcast-from-debate-btn { | |
background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%); | |
color: white; | |
} | |
:root[data-theme="light"] .podcast-from-debate-btn:hover:not(:disabled) { | |
background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%); | |
} |