2033 lines
37 KiB
CSS
2033 lines
37 KiB
CSS
/* ============================================================================
|
|
Teamsbot Feature Styles
|
|
============================================================================ */
|
|
|
|
/* Dashboard */
|
|
.dashboardContainer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
padding: 1rem;
|
|
max-width: 960px;
|
|
}
|
|
|
|
.startSessionCard {
|
|
background: var(--surface-color, #fff);
|
|
border: 1px solid var(--border-color, #e0e0e0);
|
|
border-radius: 8px;
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.cardTitle {
|
|
margin: 0 0 0.5rem 0;
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.cardDescription {
|
|
margin: 0 0 1rem 0;
|
|
color: var(--text-secondary, #666);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.formGroup {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.formRow {
|
|
display: flex;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.formRow .formGroup {
|
|
flex: 1;
|
|
}
|
|
|
|
.label {
|
|
display: block;
|
|
margin-bottom: 0.25rem;
|
|
font-size: 0.85rem;
|
|
font-weight: 500;
|
|
color: var(--text-primary, #333);
|
|
}
|
|
|
|
.hint {
|
|
display: block;
|
|
margin-top: 0.25rem;
|
|
font-size: 0.75rem;
|
|
color: var(--text-tertiary, #999);
|
|
}
|
|
|
|
.input,
|
|
.select,
|
|
.textarea {
|
|
width: 100%;
|
|
padding: 0.5rem 0.75rem;
|
|
border: 1px solid var(--border-color, #e0e0e0);
|
|
border-radius: 6px;
|
|
font-size: 0.9rem;
|
|
background: var(--input-bg, #fff);
|
|
color: var(--text-primary, #333);
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.input:focus,
|
|
.select:focus,
|
|
.textarea:focus {
|
|
outline: none;
|
|
border-color: var(--primary-color, #4A90D9);
|
|
box-shadow: 0 0 0 2px rgba(74, 144, 217, 0.15);
|
|
}
|
|
|
|
.textarea {
|
|
resize: vertical;
|
|
font-family: inherit;
|
|
min-height: 100px;
|
|
}
|
|
|
|
.startButton,
|
|
.saveButton {
|
|
padding: 0.6rem 1.5rem;
|
|
background: var(--primary-color, #4A90D9);
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 6px;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.startButton:hover,
|
|
.saveButton:hover {
|
|
background: var(--primary-hover, #3A7BC8);
|
|
}
|
|
|
|
.startButton:disabled,
|
|
.saveButton:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.stopButton {
|
|
padding: 0.4rem 1rem;
|
|
background: var(--danger-color, #D94A4A);
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 6px;
|
|
font-size: 0.85rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.stopButton:hover {
|
|
background: var(--danger-hover, #C83A3A);
|
|
}
|
|
|
|
.viewButton {
|
|
padding: 0.4rem 1rem;
|
|
background: var(--surface-color, #f5f5f5);
|
|
color: var(--primary-color, #4A90D9);
|
|
border: 1px solid var(--border-color, #e0e0e0);
|
|
border-radius: 6px;
|
|
font-size: 0.85rem;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.deleteButton {
|
|
padding: 0.4rem 1rem;
|
|
background: transparent;
|
|
color: var(--danger-color, #D94A4A);
|
|
border: 1px solid var(--danger-color, #D94A4A);
|
|
border-radius: 6px;
|
|
font-size: 0.85rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* Error/Success Banners */
|
|
.errorBanner {
|
|
background: rgba(217, 74, 74, 0.1);
|
|
color: var(--danger-color, #D94A4A);
|
|
padding: 0.75rem 1rem;
|
|
border-radius: 6px;
|
|
font-size: 0.9rem;
|
|
border-left: 3px solid var(--danger-color, #D94A4A);
|
|
}
|
|
|
|
.successBanner {
|
|
background: rgba(74, 217, 154, 0.1);
|
|
color: var(--success-color, #2D8E5C);
|
|
padding: 0.75rem 1rem;
|
|
border-radius: 6px;
|
|
font-size: 0.9rem;
|
|
border-left: 3px solid var(--success-color, #2D8E5C);
|
|
}
|
|
|
|
/* User Account / MFA */
|
|
.credentialsCard {
|
|
background: var(--surface-color, #f9f9f9);
|
|
border: 1px solid var(--border-color, #e0e0e0);
|
|
border-radius: 8px;
|
|
padding: 1rem 1.2rem;
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.credentialsInfo {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
font-size: 0.9rem;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.credentialsEmail {
|
|
font-weight: 500;
|
|
color: var(--text-color, #333);
|
|
}
|
|
|
|
.checkboxRow {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
margin-top: 0.5rem;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.mfaOverlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.mfaDialog {
|
|
background: var(--surface-color, #fff);
|
|
border-radius: 12px;
|
|
padding: 2rem;
|
|
max-width: 420px;
|
|
width: 90%;
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
|
|
text-align: center;
|
|
}
|
|
|
|
.mfaTitle {
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
margin-bottom: 1rem;
|
|
color: var(--text-color, #333);
|
|
}
|
|
|
|
.mfaNumber {
|
|
font-size: 2.5rem;
|
|
font-weight: 700;
|
|
color: var(--primary-color, #4A90D9);
|
|
margin: 1rem 0;
|
|
letter-spacing: 0.1em;
|
|
}
|
|
|
|
.mfaPrompt {
|
|
font-size: 0.9rem;
|
|
color: var(--text-secondary, #666);
|
|
margin-bottom: 1.5rem;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.mfaCodeInput {
|
|
width: 100%;
|
|
padding: 0.75rem;
|
|
font-size: 1.2rem;
|
|
text-align: center;
|
|
letter-spacing: 0.2em;
|
|
border: 2px solid var(--border-color, #e0e0e0);
|
|
border-radius: 8px;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.mfaCodeInput:focus {
|
|
border-color: var(--primary-color, #4A90D9);
|
|
outline: none;
|
|
}
|
|
|
|
.mfaSpinner {
|
|
display: inline-block;
|
|
width: 24px;
|
|
height: 24px;
|
|
border: 3px solid var(--border-color, #e0e0e0);
|
|
border-top-color: var(--primary-color, #4A90D9);
|
|
border-radius: 50%;
|
|
animation: mfaSpin 0.8s linear infinite;
|
|
margin: 1rem auto;
|
|
}
|
|
|
|
@keyframes mfaSpin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
/* Section */
|
|
.sectionContainer {
|
|
background: var(--surface-color, #fff);
|
|
border: 1px solid var(--border-color, #e0e0e0);
|
|
border-radius: 8px;
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.sectionTitle {
|
|
margin: 0 0 1rem 0;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
color: var(--text-primary, #333);
|
|
}
|
|
|
|
/* Session List */
|
|
.sessionList {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.sessionCard {
|
|
border: 1px solid var(--border-color, #e0e0e0);
|
|
border-radius: 6px;
|
|
padding: 1rem;
|
|
background: var(--surface-alt, #fafafa);
|
|
}
|
|
|
|
.sessionHeader {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.sessionBotName {
|
|
font-weight: 600;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.sessionMeta {
|
|
display: flex;
|
|
gap: 1rem;
|
|
font-size: 0.8rem;
|
|
color: var(--text-secondary, #666);
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.sessionActions {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
margin-top: 0.75rem;
|
|
}
|
|
|
|
.sessionSummary {
|
|
font-size: 0.85rem;
|
|
color: var(--text-secondary, #666);
|
|
background: var(--surface-color, #fff);
|
|
padding: 0.5rem;
|
|
border-radius: 4px;
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.sessionError {
|
|
font-size: 0.85rem;
|
|
color: var(--danger-color, #D94A4A);
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
/* Status Badges */
|
|
.statusBadge {
|
|
display: inline-block;
|
|
padding: 0.15rem 0.6rem;
|
|
border-radius: 12px;
|
|
font-size: 0.75rem;
|
|
font-weight: 500;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.statusActive {
|
|
background: rgba(74, 217, 154, 0.15);
|
|
color: #2D8E5C;
|
|
}
|
|
|
|
.statusJoining,
|
|
.statusPending {
|
|
background: rgba(74, 144, 217, 0.15);
|
|
color: #4A90D9;
|
|
}
|
|
|
|
.statusEnded {
|
|
background: rgba(128, 128, 128, 0.15);
|
|
color: #666;
|
|
}
|
|
|
|
.statusError {
|
|
background: rgba(217, 74, 74, 0.15);
|
|
color: #D94A4A;
|
|
}
|
|
|
|
.statusLeaving {
|
|
background: rgba(217, 168, 74, 0.15);
|
|
color: #B8860B;
|
|
}
|
|
|
|
.liveBadge {
|
|
display: inline-block;
|
|
padding: 0.15rem 0.5rem;
|
|
border-radius: 4px;
|
|
font-size: 0.7rem;
|
|
font-weight: 700;
|
|
color: #fff;
|
|
background: #D94A4A;
|
|
animation: pulse 2s infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.6; }
|
|
}
|
|
|
|
.emptyState {
|
|
color: var(--text-tertiary, #999);
|
|
font-size: 0.9rem;
|
|
padding: 2rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.loading {
|
|
padding: 2rem;
|
|
text-align: center;
|
|
color: var(--text-secondary, #666);
|
|
}
|
|
|
|
/* ============================================================================
|
|
Session View
|
|
============================================================================ */
|
|
|
|
.sessionContainer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.sessionSwitcherSelect {
|
|
width: 100%;
|
|
max-width: 420px;
|
|
padding: 0.5rem 0.75rem;
|
|
font-size: 0.85rem;
|
|
border: 1px solid var(--border-color, #ccc);
|
|
border-radius: 8px;
|
|
background: var(--bg-primary, #fff);
|
|
color: var(--text-primary, #333);
|
|
}
|
|
|
|
/* ----- Session Layout (UDB Sidebar + Main) ------------------------------- */
|
|
|
|
.sessionLayout {
|
|
display: flex;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.sessionMain {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
min-width: 0;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.udbSidebar {
|
|
width: 280px;
|
|
min-width: 180px;
|
|
border: 1px solid var(--border-color, #e0e0e0);
|
|
border-radius: 8px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: var(--bg-card, #fff);
|
|
overflow: hidden;
|
|
position: relative;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.udbSidebarCollapsed {
|
|
width: 36px;
|
|
min-width: 36px;
|
|
}
|
|
|
|
.udbResizeHandle {
|
|
width: 5px;
|
|
flex-shrink: 0;
|
|
cursor: col-resize;
|
|
background: transparent;
|
|
transition: background 0.15s;
|
|
z-index: 3;
|
|
}
|
|
|
|
.udbResizeHandle:hover,
|
|
.udbResizeHandle:active {
|
|
background: var(--accent-color, #4a90d9);
|
|
}
|
|
|
|
.udbToggle {
|
|
position: absolute;
|
|
top: 8px;
|
|
right: 4px;
|
|
z-index: 2;
|
|
width: 24px;
|
|
height: 24px;
|
|
padding: 0;
|
|
border: 1px solid var(--border-color, #ddd);
|
|
border-radius: 4px;
|
|
background: var(--bg-card, #fff);
|
|
cursor: pointer;
|
|
font-size: 0.65rem;
|
|
color: var(--text-secondary, #888);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.udbToggle:hover {
|
|
background: var(--bg-hover, #f5f5f5);
|
|
color: var(--primary-color, #F25843);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.sessionLayout {
|
|
flex-direction: column;
|
|
}
|
|
.udbSidebar {
|
|
width: 100%;
|
|
min-width: 0;
|
|
max-height: 220px;
|
|
}
|
|
.udbSidebarCollapsed {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
/* ----- Director Prompt Panel --------------------------------------------- */
|
|
|
|
.directorPanel {
|
|
background: var(--surface-color, #fff);
|
|
border: 1px solid var(--border-color, #e0e0e0);
|
|
border-radius: 8px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
transition: outline-color 0.15s, background 0.15s;
|
|
}
|
|
|
|
.directorPanelDragOver {
|
|
outline: 2px dashed var(--primary-color, #F25843);
|
|
outline-offset: -4px;
|
|
background: var(--primary-dark-bg, rgba(242, 88, 67, 0.06));
|
|
}
|
|
|
|
.botStatusDot {
|
|
display: inline-block;
|
|
width: 9px;
|
|
height: 9px;
|
|
border-radius: 50%;
|
|
margin-left: 0.25rem;
|
|
}
|
|
|
|
.botStatusDotLive {
|
|
background: #15803d;
|
|
box-shadow: 0 0 0 2px rgba(21, 128, 61, 0.18);
|
|
}
|
|
|
|
.botStatusDotIdle {
|
|
background: #f59e0b;
|
|
box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.18);
|
|
animation: directorPulse 1.6s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes directorPulse {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.45; }
|
|
}
|
|
|
|
.directorAttachBtn {
|
|
border: 1px solid var(--border-color, #ddd);
|
|
background: var(--bg-card, #fff);
|
|
border-radius: 6px;
|
|
padding: 0.25rem 0.6rem;
|
|
font-size: 0.75rem;
|
|
cursor: pointer;
|
|
color: var(--text-secondary, #666);
|
|
}
|
|
|
|
.directorAttachBtn:hover:not(:disabled) {
|
|
border-color: var(--primary-color, #F25843);
|
|
color: var(--primary-color, #F25843);
|
|
}
|
|
|
|
.directorAttachBtn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.directorHint {
|
|
font-size: 0.75rem;
|
|
color: var(--text-secondary, #888);
|
|
background: var(--surface-alt, #fafafa);
|
|
padding: 0.4rem 0.6rem;
|
|
border-radius: 6px;
|
|
border: 1px dashed var(--border-color, #ddd);
|
|
}
|
|
|
|
.directorHeader {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0.5rem 1rem;
|
|
border-bottom: 1px solid var(--border-color, #e0e0e0);
|
|
background: var(--surface-alt, #fafafa);
|
|
}
|
|
|
|
.directorHeaderLeft {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.directorTitle {
|
|
margin: 0;
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.directorBadge {
|
|
font-size: 0.7rem;
|
|
padding: 2px 6px;
|
|
border-radius: 10px;
|
|
background: var(--primary-color, #F25843);
|
|
color: #fff;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.directorBody {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
padding: 0.75rem 1rem;
|
|
}
|
|
|
|
.directorTextarea {
|
|
width: 100%;
|
|
min-height: 70px;
|
|
max-height: 200px;
|
|
resize: vertical;
|
|
padding: 0.5rem 0.75rem;
|
|
border: 1px solid var(--border-color, #ddd);
|
|
border-radius: 6px;
|
|
font-family: inherit;
|
|
font-size: 0.9rem;
|
|
background: var(--bg-card, #fff);
|
|
color: var(--text-primary, #333);
|
|
}
|
|
|
|
.directorTextarea:focus {
|
|
outline: none;
|
|
border-color: var(--primary-color, #F25843);
|
|
}
|
|
|
|
.directorRow {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.directorChips {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.4rem;
|
|
padding: 0.25rem 0;
|
|
}
|
|
|
|
.directorChip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
padding: 0.2rem 0.5rem;
|
|
background: var(--surface-alt, #f0f4f8);
|
|
border: 1px solid var(--border-color, #ddd);
|
|
border-radius: 12px;
|
|
font-size: 0.75rem;
|
|
max-width: 180px;
|
|
}
|
|
|
|
.directorChipName {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.directorChipRemove {
|
|
border: none;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
color: var(--text-secondary, #888);
|
|
font-size: 0.85rem;
|
|
line-height: 1;
|
|
padding: 0;
|
|
}
|
|
|
|
.directorChipRemove:hover {
|
|
color: var(--primary-color, #F25843);
|
|
}
|
|
|
|
.directorActions {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.directorMeta {
|
|
display: flex;
|
|
gap: 0.75rem;
|
|
font-size: 0.72rem;
|
|
color: var(--text-secondary, #888);
|
|
}
|
|
|
|
.directorSubmit {
|
|
padding: 0.4rem 0.9rem;
|
|
background: var(--primary-color, #F25843);
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 6px;
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.directorSubmit:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.directorModeToggle {
|
|
display: inline-flex;
|
|
border: 1px solid var(--border-color, #ddd);
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.directorModeButton {
|
|
border: none;
|
|
background: var(--bg-card, #fff);
|
|
padding: 0.25rem 0.6rem;
|
|
font-size: 0.75rem;
|
|
cursor: pointer;
|
|
color: var(--text-secondary, #666);
|
|
}
|
|
|
|
.directorModeButtonActive {
|
|
background: var(--primary-color, #F25843);
|
|
color: #fff;
|
|
}
|
|
|
|
.directorHistory {
|
|
border-top: 1px dashed var(--border-color, #e0e0e0);
|
|
padding: 0.5rem 1rem;
|
|
max-height: 180px;
|
|
overflow-y: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.4rem;
|
|
}
|
|
|
|
.directorHistoryItem {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.2rem;
|
|
padding: 0.4rem 0.5rem;
|
|
border: 1px solid var(--border-color, #eee);
|
|
border-radius: 6px;
|
|
background: var(--surface-alt, #fafafa);
|
|
font-size: 0.78rem;
|
|
}
|
|
|
|
.directorHistoryHead {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
color: var(--text-secondary, #666);
|
|
font-size: 0.7rem;
|
|
}
|
|
|
|
.directorHistoryText {
|
|
color: var(--text-primary, #333);
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.directorStatus {
|
|
font-size: 0.7rem;
|
|
font-weight: 600;
|
|
padding: 1px 6px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.directorStatusQueued { background: #e6efff; color: #1d4ed8; }
|
|
.directorStatusRunning { background: #fff7e0; color: #b45309; }
|
|
.directorStatusSucceeded { background: #e6f7ec; color: #15803d; }
|
|
.directorStatusFailed { background: #fde2e1; color: #b91c1c; }
|
|
.directorStatusConsumed { background: #eee; color: #555; }
|
|
|
|
.directorRemoveBtn {
|
|
border: none;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
color: var(--text-secondary, #888);
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.directorRemoveBtn:hover {
|
|
color: var(--primary-color, #F25843);
|
|
}
|
|
|
|
.sessionViewHeader {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0.75rem 1rem;
|
|
background: var(--surface-color, #fff);
|
|
border: 1px solid var(--border-color, #e0e0e0);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.sessionInfo {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.sessionTitle {
|
|
margin: 0;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.sessionControls {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.sessionContent {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 1rem;
|
|
}
|
|
|
|
/* Transcript Panel */
|
|
.transcriptPanel,
|
|
.responsesPanel {
|
|
background: var(--surface-color, #fff);
|
|
border: 1px solid var(--border-color, #e0e0e0);
|
|
border-radius: 8px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
height: 50vh;
|
|
min-height: 250px;
|
|
}
|
|
|
|
.panelTitle {
|
|
margin: 0;
|
|
padding: 0.75rem 1rem;
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
border-bottom: 1px solid var(--border-color, #e0e0e0);
|
|
background: var(--surface-alt, #fafafa);
|
|
}
|
|
|
|
.transcriptList,
|
|
.responseList {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
.transcriptItem {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
padding: 0.35rem 0.5rem;
|
|
border-radius: 4px;
|
|
font-size: 0.85rem;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.transcriptItem:hover {
|
|
background: var(--surface-alt, #f5f5f5);
|
|
}
|
|
|
|
.transcriptTime {
|
|
color: var(--text-tertiary, #999);
|
|
font-size: 0.75rem;
|
|
flex-shrink: 0;
|
|
min-width: 55px;
|
|
}
|
|
|
|
.transcriptSpeaker {
|
|
font-weight: 600;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.transcriptText {
|
|
color: var(--text-primary, #333);
|
|
}
|
|
|
|
/* Response Items */
|
|
.responseItem {
|
|
border: 1px solid var(--border-color, #e0e0e0);
|
|
border-radius: 6px;
|
|
padding: 0.75rem;
|
|
margin-bottom: 0.5rem;
|
|
background: var(--surface-alt, #fafafa);
|
|
}
|
|
|
|
.responseHeader {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.responseIntent {
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
color: var(--primary-color, #4A90D9);
|
|
}
|
|
|
|
.responseTime {
|
|
font-size: 0.75rem;
|
|
color: var(--text-tertiary, #999);
|
|
}
|
|
|
|
.responseText {
|
|
font-size: 0.9rem;
|
|
line-height: 1.5;
|
|
color: var(--text-primary, #333);
|
|
}
|
|
|
|
.responseText h1,
|
|
.responseText h2,
|
|
.responseText h3 {
|
|
margin: 0.6em 0 0.3em;
|
|
font-size: 1em;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.responseText p {
|
|
margin: 0.3em 0;
|
|
}
|
|
|
|
.responseText ul,
|
|
.responseText ol {
|
|
margin: 0.3em 0;
|
|
padding-left: 1.4em;
|
|
}
|
|
|
|
.responseText code {
|
|
background: var(--bg-tertiary, #f0f0f0);
|
|
padding: 0.1em 0.3em;
|
|
border-radius: 3px;
|
|
font-size: 0.85em;
|
|
}
|
|
|
|
.responseText pre {
|
|
background: var(--bg-tertiary, #f0f0f0);
|
|
padding: 0.6em;
|
|
border-radius: 4px;
|
|
overflow-x: auto;
|
|
margin: 0.4em 0;
|
|
}
|
|
|
|
.responseText pre code {
|
|
background: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.responseText table {
|
|
border-collapse: collapse;
|
|
margin: 0.4em 0;
|
|
font-size: 0.85em;
|
|
}
|
|
|
|
.responseText th,
|
|
.responseText td {
|
|
border: 1px solid var(--border-color, #ddd);
|
|
padding: 0.3em 0.6em;
|
|
}
|
|
|
|
.responseText th {
|
|
background: var(--bg-secondary, #f5f5f5);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.responseText blockquote {
|
|
border-left: 3px solid var(--border-color, #ddd);
|
|
margin: 0.4em 0;
|
|
padding: 0.2em 0.8em;
|
|
color: var(--text-secondary, #666);
|
|
}
|
|
|
|
.responseReasoning {
|
|
margin-top: 0.5rem;
|
|
font-size: 0.8rem;
|
|
color: var(--text-secondary, #666);
|
|
}
|
|
|
|
.responseMeta {
|
|
display: flex;
|
|
gap: 1rem;
|
|
margin-top: 0.5rem;
|
|
font-size: 0.75rem;
|
|
color: var(--text-tertiary, #999);
|
|
}
|
|
|
|
/* Summary Card */
|
|
.summaryCard {
|
|
background: var(--surface-color, #fff);
|
|
border: 1px solid var(--border-color, #e0e0e0);
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.summaryText {
|
|
padding: 1rem;
|
|
font-size: 0.9rem;
|
|
line-height: 1.6;
|
|
color: var(--text-primary, #333);
|
|
}
|
|
|
|
.summaryText p { margin: 0.3em 0; }
|
|
.summaryText ul, .summaryText ol { margin: 0.3em 0; padding-left: 1.4em; }
|
|
.summaryText h1, .summaryText h2, .summaryText h3 { margin: 0.6em 0 0.3em; font-size: 1em; font-weight: 600; }
|
|
.summaryText code { background: var(--bg-tertiary, #f0f0f0); padding: 0.1em 0.3em; border-radius: 3px; font-size: 0.85em; }
|
|
.summaryText pre { background: var(--bg-tertiary, #f0f0f0); padding: 0.6em; border-radius: 4px; overflow-x: auto; }
|
|
.summaryText pre code { background: none; padding: 0; }
|
|
.summaryText table { border-collapse: collapse; margin: 0.4em 0; font-size: 0.85em; }
|
|
.summaryText th, .summaryText td { border: 1px solid var(--border-color, #ddd); padding: 0.3em 0.6em; }
|
|
.summaryText th { background: var(--bg-secondary, #f5f5f5); font-weight: 600; }
|
|
|
|
/* ============================================================================
|
|
Settings View
|
|
============================================================================ */
|
|
|
|
.settingsContainer {
|
|
padding: 1rem;
|
|
max-width: 720px;
|
|
}
|
|
|
|
/* Tabs */
|
|
.settingsTabs {
|
|
display: flex;
|
|
gap: 0.25rem;
|
|
border-bottom: 1px solid var(--border-color, #e0e0e0);
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.settingsTab {
|
|
padding: 0.6rem 1.1rem;
|
|
background: transparent;
|
|
color: var(--text-secondary, #666);
|
|
border: none;
|
|
border-bottom: 2px solid transparent;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: color 0.15s ease, border-color 0.15s ease;
|
|
}
|
|
|
|
.settingsTab:hover {
|
|
color: var(--text-color, #333);
|
|
}
|
|
|
|
.settingsTabActive {
|
|
color: var(--primary-color, #4A90D9);
|
|
border-bottom-color: var(--primary-color, #4A90D9);
|
|
}
|
|
|
|
.settingsCard {
|
|
background: var(--surface-color, #fff);
|
|
border: 1px solid var(--border-color, #e0e0e0);
|
|
border-radius: 8px;
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.settingsSection {
|
|
margin-bottom: 2rem;
|
|
padding-bottom: 1.5rem;
|
|
border-bottom: 1px solid var(--border-color, #e0e0e0);
|
|
}
|
|
|
|
.settingsSection:last-of-type {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.settingsActions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
padding-top: 1rem;
|
|
}
|
|
|
|
/* ============================================================================
|
|
Auth Detection Test Section
|
|
============================================================================ */
|
|
|
|
.testSection {
|
|
margin-bottom: 2rem;
|
|
padding: 1.25rem;
|
|
border: 1px solid var(--primary-color, #4A90D9);
|
|
border-radius: 8px;
|
|
background: rgba(74, 144, 217, 0.04);
|
|
}
|
|
|
|
.testSectionHeader {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.testSectionTitle {
|
|
margin: 0;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
color: var(--primary-color, #4A90D9);
|
|
}
|
|
|
|
.testInputRow {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
align-items: flex-start;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.testInputRow .input {
|
|
flex: 1;
|
|
}
|
|
|
|
.testButton {
|
|
padding: 0.5rem 1.25rem;
|
|
background: var(--primary-color, #4A90D9);
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 6px;
|
|
font-size: 0.85rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.testButton:hover {
|
|
background: var(--primary-hover, #3A7BC8);
|
|
}
|
|
|
|
.testButton:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.testProgress {
|
|
font-size: 0.85rem;
|
|
color: var(--text-secondary, #666);
|
|
padding: 0.75rem 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.testResultsTable {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 0.85rem;
|
|
margin-top: 0.75rem;
|
|
}
|
|
|
|
.testResultsTable th {
|
|
text-align: left;
|
|
padding: 0.5rem 0.75rem;
|
|
border-bottom: 2px solid var(--border-color, #e0e0e0);
|
|
font-weight: 600;
|
|
font-size: 0.8rem;
|
|
color: var(--text-secondary, #666);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.testResultsTable td {
|
|
padding: 0.5rem 0.75rem;
|
|
border-bottom: 1px solid var(--border-color, #e0e0e0);
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.testResultsTable tr:last-child td {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.testBadgeV2 {
|
|
display: inline-block;
|
|
padding: 0.15rem 0.5rem;
|
|
border-radius: 10px;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
background: rgba(74, 217, 154, 0.15);
|
|
color: #2D8E5C;
|
|
}
|
|
|
|
.testBadgeLightMeetings {
|
|
display: inline-block;
|
|
padding: 0.15rem 0.5rem;
|
|
border-radius: 10px;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
background: rgba(217, 168, 74, 0.15);
|
|
color: #B8860B;
|
|
}
|
|
|
|
.testBadgeError {
|
|
display: inline-block;
|
|
padding: 0.15rem 0.5rem;
|
|
border-radius: 10px;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
background: rgba(217, 74, 74, 0.15);
|
|
color: #D94A4A;
|
|
}
|
|
|
|
.testBadgeUnknown {
|
|
display: inline-block;
|
|
padding: 0.15rem 0.5rem;
|
|
border-radius: 10px;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
background: rgba(128, 128, 128, 0.15);
|
|
color: #666;
|
|
}
|
|
|
|
.testCheckmark {
|
|
color: #2D8E5C;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.testCross {
|
|
color: #D94A4A;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.testDash {
|
|
color: var(--text-tertiary, #999);
|
|
}
|
|
|
|
.testRecommendation {
|
|
margin-top: 0.75rem;
|
|
padding: 0.75rem 1rem;
|
|
background: rgba(74, 144, 217, 0.08);
|
|
border-radius: 6px;
|
|
font-size: 0.85rem;
|
|
line-height: 1.5;
|
|
color: var(--text-primary, #333);
|
|
border-left: 3px solid var(--primary-color, #4A90D9);
|
|
}
|
|
|
|
.testScreenshotButtons {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.testScreenshotButton {
|
|
padding: 0.15rem 0.5rem;
|
|
border: 1px solid var(--border-color, #e0e0e0);
|
|
border-radius: 4px;
|
|
background: var(--surface-color, #fff);
|
|
color: var(--primary-color, #4A90D9);
|
|
font-size: 0.7rem;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.testScreenshotButton:hover {
|
|
background: var(--surface-alt, #f5f5f5);
|
|
}
|
|
|
|
.testScreenshotOverlay {
|
|
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: 1000;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.testScreenshotImage {
|
|
max-width: 90vw;
|
|
max-height: 85vh;
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.testScreenshotCaption {
|
|
position: fixed;
|
|
bottom: 2rem;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
color: #fff;
|
|
font-size: 0.9rem;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.testErrorText {
|
|
font-size: 0.75rem;
|
|
color: var(--danger-color, #D94A4A);
|
|
max-width: 200px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.testVariantName {
|
|
font-weight: 500;
|
|
}
|
|
|
|
.testDuration {
|
|
font-size: 0.8rem;
|
|
color: var(--text-tertiary, #999);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.testSignals {
|
|
font-size: 0.75rem;
|
|
color: var(--text-tertiary, #999);
|
|
max-width: 250px;
|
|
}
|
|
|
|
/* Variant cell with expand toggle */
|
|
.testVariantCell {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
}
|
|
|
|
.testLogToggle {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
padding: 0.15rem;
|
|
font-size: 0.7rem;
|
|
color: var(--text-secondary, #666);
|
|
border-radius: 3px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.testLogToggle:hover {
|
|
background: var(--surface-alt, #f5f5f5);
|
|
color: var(--primary-color, #4A90D9);
|
|
}
|
|
|
|
/* Log row */
|
|
.testLogRow td {
|
|
padding: 0 !important;
|
|
border-top: none !important;
|
|
}
|
|
|
|
.testLogContainer {
|
|
background: var(--surface-dark, #1e1e1e);
|
|
color: var(--text-light, #d4d4d4);
|
|
font-family: 'Fira Code', 'Consolas', 'Courier New', monospace;
|
|
font-size: 0.72rem;
|
|
line-height: 1.5;
|
|
padding: 0.5rem 0.75rem;
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
border-radius: 0 0 4px 4px;
|
|
margin: 0 0.5rem 0.5rem;
|
|
}
|
|
|
|
.testLogLine {
|
|
white-space: pre-wrap;
|
|
word-break: break-all;
|
|
padding: 0.05rem 0;
|
|
}
|
|
|
|
.testLogInfo {
|
|
color: var(--text-light, #d4d4d4);
|
|
}
|
|
|
|
.testLogWarn {
|
|
color: #e5a100;
|
|
}
|
|
|
|
.testLogError {
|
|
color: #f14c4c;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
.spinner {
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
/* ============================================================================
|
|
Agent Status Bubble + Stats Cards + Module Views (Greenfield IA)
|
|
============================================================================ */
|
|
|
|
.agentStatusBubble {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.5rem 1rem;
|
|
background: rgba(74, 144, 217, 0.08);
|
|
border-radius: 8px;
|
|
margin: 0.5rem 1rem;
|
|
font-size: 0.85rem;
|
|
animation: agentPulse 2s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes agentPulse {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.6; }
|
|
}
|
|
|
|
.agentStatusDot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: var(--primary-color, #4A90D9);
|
|
animation: agentPulse 1s ease-in-out infinite;
|
|
}
|
|
|
|
.agentProgressLog {
|
|
padding: 0.5rem 0;
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
font-size: 0.8rem;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.agentProgressEntry {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
padding: 0.15rem 0;
|
|
border-bottom: 1px solid var(--border-color, #eee);
|
|
}
|
|
|
|
.agentProgressEntry:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.agentProgressTime {
|
|
color: var(--text-tertiary, #999);
|
|
flex-shrink: 0;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.agentProgressText {
|
|
color: var(--text-secondary, #666);
|
|
word-break: break-word;
|
|
}
|
|
|
|
.statsCards {
|
|
display: flex;
|
|
gap: 1rem;
|
|
padding: 0.5rem 1rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.statsCard {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 0.75rem 1.25rem;
|
|
background: var(--surface-color, #f5f5f5);
|
|
border-radius: 8px;
|
|
min-width: 100px;
|
|
}
|
|
|
|
.statsValue {
|
|
font-size: 1.4rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary, #fff);
|
|
}
|
|
|
|
.statsLabel {
|
|
font-size: 0.75rem;
|
|
color: var(--text-secondary, #888);
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
.assistantContainer {
|
|
padding: 1.5rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.modulesContainer {
|
|
padding: 1.5rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
height: 100%;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.wizardHeader {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.wizardHeaderRight {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.stepIndicator {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.stepDot {
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
background: var(--border-color, #ccc);
|
|
}
|
|
|
|
.stepActive {
|
|
background: var(--primary-color, #4A90D9);
|
|
}
|
|
|
|
.wizardContent {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.wizardStep {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.wizardInput,
|
|
.wizardSelect {
|
|
padding: 0.75rem;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--border-color, #ddd);
|
|
background: var(--bg-input, #fff);
|
|
color: var(--text-primary, #333);
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.wizardTextarea {
|
|
padding: 0.75rem;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--border-color, #ddd);
|
|
background: var(--bg-input, #fff);
|
|
color: var(--text-primary, #333);
|
|
font-size: 1rem;
|
|
resize: vertical;
|
|
}
|
|
|
|
.wizardActions {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.moduleChoice {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.modulesHeader {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.modulesList {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.moduleCard {
|
|
background: var(--bg-card, #fff);
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
border: 1px solid var(--border-color, #e0e0e0);
|
|
}
|
|
|
|
.moduleExpanded {
|
|
border-color: var(--primary-color, #4A90D9);
|
|
}
|
|
|
|
.moduleRowFocused {
|
|
box-shadow: 0 0 0 2px rgba(74, 144, 217, 0.45);
|
|
}
|
|
|
|
.moduleRow {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
padding: 0.75rem 1rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.moduleRow:hover {
|
|
background: var(--bg-hover, #f5f5f5);
|
|
}
|
|
|
|
.moduleType {
|
|
font-size: 0.75rem;
|
|
padding: 0.2rem 0.5rem;
|
|
border-radius: 4px;
|
|
background: rgba(74, 144, 217, 0.1);
|
|
color: var(--primary-color, #4A90D9);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.moduleTitle {
|
|
flex: 1;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.moduleStatus {
|
|
font-size: 0.8rem;
|
|
color: var(--text-secondary, #666);
|
|
}
|
|
|
|
.moduleActions {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.moduleSessionsList {
|
|
padding: 0.5rem 1rem 1rem 2rem;
|
|
border-top: 1px solid var(--border-color, #e0e0e0);
|
|
}
|
|
|
|
.sessionTable {
|
|
border-collapse: collapse;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.sessionTable th {
|
|
text-align: left;
|
|
padding: 0.35rem 0.5rem;
|
|
font-weight: 600;
|
|
font-size: 0.75rem;
|
|
color: var(--text-secondary, #666);
|
|
border-bottom: 1px solid var(--border-color, #ddd);
|
|
}
|
|
|
|
.sessionTableRow {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.sessionTableRow td {
|
|
padding: 0.35rem 0.5rem;
|
|
border-bottom: 1px solid var(--border-color, #eee);
|
|
}
|
|
|
|
.sessionTableRow:hover td {
|
|
background: rgba(74, 144, 217, 0.05);
|
|
}
|
|
|
|
.sessionDeleteBtn {
|
|
background: none;
|
|
border: none;
|
|
color: #b91c1c;
|
|
cursor: pointer;
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
padding: 0.1rem 0.35rem;
|
|
border-radius: 3px;
|
|
line-height: 1;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.sessionDeleteBtn:hover {
|
|
opacity: 1;
|
|
background: rgba(185, 28, 28, 0.1);
|
|
}
|
|
|
|
.sessionStatus {
|
|
font-size: 0.8rem;
|
|
color: var(--text-secondary, #666);
|
|
}
|
|
|
|
.noSessions {
|
|
color: var(--text-secondary, #666);
|
|
font-style: italic;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.confirmOverlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.4);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.confirmDialog,
|
|
.editDialog {
|
|
background: var(--bg-card, #fff);
|
|
border: 1px solid var(--border-color, #e0e0e0);
|
|
border-radius: 12px;
|
|
padding: 1.5rem;
|
|
max-width: 600px;
|
|
width: 90%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
|
|
}
|
|
|
|
.confirmActions {
|
|
display: flex;
|
|
gap: 0.75rem;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.confirmSummary {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
padding: 1rem;
|
|
background: var(--surface-color, #f5f5f5);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.wizardHint {
|
|
color: var(--text-secondary, #666);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.errorBanner {
|
|
background: rgba(241, 76, 76, 0.1);
|
|
color: #f14c4c;
|
|
padding: 0.75rem 1rem;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.btnPrimary {
|
|
padding: 0.6rem 1.2rem;
|
|
border-radius: 8px;
|
|
border: none;
|
|
background: var(--primary-color, #4A90D9);
|
|
color: #fff;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.btnPrimary:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.btnSecondary {
|
|
padding: 0.6rem 1.2rem;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--border-color, #ddd);
|
|
background: transparent;
|
|
color: var(--text-primary, #333);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.btnDanger {
|
|
padding: 0.6rem 1.2rem;
|
|
border-radius: 8px;
|
|
border: none;
|
|
background: #f14c4c;
|
|
color: #fff;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.btnSmall {
|
|
padding: 0.3rem 0.7rem;
|
|
border-radius: 4px;
|
|
border: 1px solid var(--border-color, #ddd);
|
|
background: transparent;
|
|
color: var(--text-primary, #333);
|
|
font-size: 0.8rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.btnSmallDanger {
|
|
padding: 0.3rem 0.7rem;
|
|
border-radius: 4px;
|
|
border: 1px solid #f14c4c;
|
|
background: transparent;
|
|
color: #f14c4c;
|
|
font-size: 0.8rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.loading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 2rem;
|
|
color: var(--text-secondary, #666);
|
|
}
|
|
|
|
/* --- TeamsBot Dashboard (Greenfield IA) --- */
|
|
.tbDash {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.75rem;
|
|
padding: 1.25rem 1.5rem 2rem;
|
|
max-width: 1100px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.tbDashHero {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 1.25rem;
|
|
padding: 1.5rem 1.75rem;
|
|
border-radius: 12px;
|
|
background: linear-gradient(135deg, rgba(74, 144, 217, 0.12) 0%, var(--surface-color, #fff) 48%);
|
|
border: 1px solid var(--border-color, #e6e6e6);
|
|
}
|
|
|
|
.tbDashTitle {
|
|
margin: 0 0 0.35rem 0;
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary, #1a1a1a);
|
|
}
|
|
|
|
.tbDashSubtitle {
|
|
margin: 0;
|
|
max-width: 520px;
|
|
font-size: 0.95rem;
|
|
line-height: 1.45;
|
|
color: var(--text-secondary, #555);
|
|
}
|
|
|
|
.tbDashQuickActions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.6rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.tbDashBtnPrimary {
|
|
padding: 0.65rem 1.35rem;
|
|
border-radius: 8px;
|
|
border: none;
|
|
background: var(--primary-color, #4A90D9);
|
|
color: #fff;
|
|
font-weight: 600;
|
|
font-size: 0.95rem;
|
|
cursor: pointer;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
|
|
}
|
|
|
|
.tbDashBtnPrimary:hover {
|
|
background: var(--primary-hover, #3A7BC8);
|
|
}
|
|
|
|
.tbDashBtnSecondary {
|
|
padding: 0.65rem 1.1rem;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--border-color, #d0d0d0);
|
|
background: var(--surface-color, #fff);
|
|
color: var(--text-primary, #333);
|
|
font-weight: 500;
|
|
font-size: 0.9rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.tbDashBtnSecondary:hover {
|
|
border-color: var(--primary-color, #4A90D9);
|
|
color: var(--primary-color, #4A90D9);
|
|
}
|
|
|
|
.tbDashKpiGrid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
|
|
gap: 1rem;
|
|
}
|
|
|
|
.tbDashKpiCard {
|
|
padding: 1.1rem 1.25rem;
|
|
border-radius: 10px;
|
|
border: 1px solid var(--border-color, #e8e8e8);
|
|
background: var(--surface-color, #fff);
|
|
}
|
|
|
|
.tbDashKpiValue {
|
|
font-size: 1.75rem;
|
|
font-weight: 700;
|
|
color: var(--primary-color, #4A90D9);
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.tbDashKpiLabel {
|
|
margin-top: 0.35rem;
|
|
font-size: 0.82rem;
|
|
font-weight: 600;
|
|
color: var(--text-secondary, #666);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.03em;
|
|
}
|
|
|
|
.tbDashKpiHint {
|
|
margin-top: 0.4rem;
|
|
font-size: 0.8rem;
|
|
color: var(--text-tertiary, #888);
|
|
}
|
|
|
|
.tbDashSection {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.85rem;
|
|
}
|
|
|
|
.tbDashSectionHead {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.tbDashSectionTitle {
|
|
margin: 0;
|
|
font-size: 1.05rem;
|
|
font-weight: 600;
|
|
color: var(--text-primary, #222);
|
|
}
|
|
|
|
.tbDashLinkBtn {
|
|
padding: 0.35rem 0.75rem;
|
|
border: none;
|
|
background: transparent;
|
|
color: var(--primary-color, #4A90D9);
|
|
font-size: 0.88rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.tbDashModuleGrid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.tbDashModuleCard {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 0.35rem;
|
|
padding: 1rem 1.1rem;
|
|
border-radius: 10px;
|
|
border: 1px solid var(--border-color, #e6e6e6);
|
|
background: var(--surface-color, #fafafa);
|
|
cursor: pointer;
|
|
text-align: left;
|
|
transition: border-color 0.15s, box-shadow 0.15s;
|
|
}
|
|
|
|
.tbDashModuleCard:hover {
|
|
border-color: var(--primary-color, #4A90D9);
|
|
box-shadow: 0 2px 8px rgba(74, 144, 217, 0.12);
|
|
}
|
|
|
|
.tbDashModuleTitle {
|
|
font-weight: 600;
|
|
font-size: 0.95rem;
|
|
color: var(--text-primary, #222);
|
|
}
|
|
|
|
.tbDashModuleCount {
|
|
font-size: 0.82rem;
|
|
color: var(--text-secondary, #666);
|
|
}
|
|
|
|
.tbDashSessionList {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.65rem;
|
|
}
|
|
|
|
.tbDashSessionRow {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 0.75rem 1rem;
|
|
padding: 0.85rem 1rem;
|
|
border-radius: 10px;
|
|
border: 1px solid var(--border-color, #eaeaea);
|
|
background: var(--surface-color, #fff);
|
|
}
|
|
|
|
.tbDashSessionMain {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.6rem;
|
|
flex: 1 1 200px;
|
|
}
|
|
|
|
.tbDashSessionMeta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem 1rem;
|
|
font-size: 0.82rem;
|
|
color: var(--text-secondary, #666);
|
|
flex: 2 1 220px;
|
|
}
|
|
|
|
.tbDashSessionActions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.45rem;
|
|
margin-left: auto;
|
|
}
|