1129 lines
19 KiB
CSS
1129 lines
19 KiB
CSS
|
|
/* ============================================
|
||
|
|
BotKonzept Dashboard Styles
|
||
|
|
============================================ */
|
||
|
|
|
||
|
|
/* Dashboard Body */
|
||
|
|
.dashboard-body {
|
||
|
|
background: var(--gray-100);
|
||
|
|
min-height: 100vh;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Dashboard Navigation */
|
||
|
|
.dashboard-nav {
|
||
|
|
position: fixed;
|
||
|
|
top: 0;
|
||
|
|
left: 0;
|
||
|
|
right: 0;
|
||
|
|
height: 64px;
|
||
|
|
background: var(--white);
|
||
|
|
border-bottom: 1px solid var(--gray-200);
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: space-between;
|
||
|
|
padding: 0 24px;
|
||
|
|
z-index: 1000;
|
||
|
|
}
|
||
|
|
|
||
|
|
.nav-brand .logo {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 12px;
|
||
|
|
font-size: 1.25rem;
|
||
|
|
font-weight: 700;
|
||
|
|
color: var(--gray-900);
|
||
|
|
}
|
||
|
|
|
||
|
|
.nav-brand .logo img {
|
||
|
|
height: 32px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.nav-user {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 24px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.trial-badge {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 8px;
|
||
|
|
padding: 8px 16px;
|
||
|
|
background: var(--accent);
|
||
|
|
color: var(--white);
|
||
|
|
border-radius: var(--radius-full);
|
||
|
|
font-size: 0.875rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.trial-badge i {
|
||
|
|
font-size: 0.75rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.user-menu {
|
||
|
|
position: relative;
|
||
|
|
}
|
||
|
|
|
||
|
|
.user-btn {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 12px;
|
||
|
|
padding: 8px 12px;
|
||
|
|
background: none;
|
||
|
|
border: 1px solid var(--gray-200);
|
||
|
|
border-radius: var(--radius);
|
||
|
|
cursor: pointer;
|
||
|
|
transition: var(--transition-fast);
|
||
|
|
}
|
||
|
|
|
||
|
|
.user-btn:hover {
|
||
|
|
background: var(--gray-50);
|
||
|
|
}
|
||
|
|
|
||
|
|
.user-avatar {
|
||
|
|
width: 32px;
|
||
|
|
height: 32px;
|
||
|
|
background: var(--gradient-primary);
|
||
|
|
border-radius: var(--radius-full);
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
color: var(--white);
|
||
|
|
font-size: 0.875rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.user-btn span {
|
||
|
|
font-weight: 500;
|
||
|
|
color: var(--gray-700);
|
||
|
|
}
|
||
|
|
|
||
|
|
.user-btn i.fa-chevron-down {
|
||
|
|
font-size: 0.75rem;
|
||
|
|
color: var(--gray-400);
|
||
|
|
}
|
||
|
|
|
||
|
|
.user-dropdown {
|
||
|
|
position: absolute;
|
||
|
|
top: 100%;
|
||
|
|
right: 0;
|
||
|
|
margin-top: 8px;
|
||
|
|
background: var(--white);
|
||
|
|
border: 1px solid var(--gray-200);
|
||
|
|
border-radius: var(--radius);
|
||
|
|
box-shadow: var(--shadow-lg);
|
||
|
|
min-width: 200px;
|
||
|
|
display: none;
|
||
|
|
z-index: 100;
|
||
|
|
}
|
||
|
|
|
||
|
|
.user-dropdown.active {
|
||
|
|
display: block;
|
||
|
|
}
|
||
|
|
|
||
|
|
.user-dropdown a {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 12px;
|
||
|
|
padding: 12px 16px;
|
||
|
|
color: var(--gray-700);
|
||
|
|
transition: var(--transition-fast);
|
||
|
|
}
|
||
|
|
|
||
|
|
.user-dropdown a:hover {
|
||
|
|
background: var(--gray-50);
|
||
|
|
color: var(--primary);
|
||
|
|
}
|
||
|
|
|
||
|
|
.user-dropdown a.logout {
|
||
|
|
color: var(--error);
|
||
|
|
}
|
||
|
|
|
||
|
|
.user-dropdown hr {
|
||
|
|
border: none;
|
||
|
|
border-top: 1px solid var(--gray-200);
|
||
|
|
margin: 4px 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Dashboard Layout */
|
||
|
|
.dashboard-layout {
|
||
|
|
display: flex;
|
||
|
|
padding-top: 64px;
|
||
|
|
min-height: 100vh;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Sidebar */
|
||
|
|
.dashboard-sidebar {
|
||
|
|
position: fixed;
|
||
|
|
left: 0;
|
||
|
|
top: 64px;
|
||
|
|
bottom: 0;
|
||
|
|
width: 260px;
|
||
|
|
background: var(--white);
|
||
|
|
border-right: 1px solid var(--gray-200);
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
padding: 24px 0;
|
||
|
|
overflow-y: auto;
|
||
|
|
}
|
||
|
|
|
||
|
|
.sidebar-nav {
|
||
|
|
flex: 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
.sidebar-nav .nav-item {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 12px;
|
||
|
|
padding: 12px 24px;
|
||
|
|
color: var(--gray-600);
|
||
|
|
font-weight: 500;
|
||
|
|
transition: var(--transition-fast);
|
||
|
|
border-left: 3px solid transparent;
|
||
|
|
}
|
||
|
|
|
||
|
|
.sidebar-nav .nav-item:hover {
|
||
|
|
background: var(--gray-50);
|
||
|
|
color: var(--primary);
|
||
|
|
}
|
||
|
|
|
||
|
|
.sidebar-nav .nav-item.active {
|
||
|
|
background: rgba(99, 102, 241, 0.1);
|
||
|
|
color: var(--primary);
|
||
|
|
border-left-color: var(--primary);
|
||
|
|
}
|
||
|
|
|
||
|
|
.sidebar-nav .nav-item i {
|
||
|
|
width: 20px;
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Sidebar CTA */
|
||
|
|
.sidebar-cta {
|
||
|
|
margin: 24px 16px 0;
|
||
|
|
padding: 20px;
|
||
|
|
background: var(--gradient-primary);
|
||
|
|
border-radius: var(--radius-lg);
|
||
|
|
color: var(--white);
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.sidebar-cta .cta-icon {
|
||
|
|
width: 48px;
|
||
|
|
height: 48px;
|
||
|
|
background: rgba(255, 255, 255, 0.2);
|
||
|
|
border-radius: var(--radius-full);
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
margin: 0 auto 12px;
|
||
|
|
font-size: 1.25rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.sidebar-cta h4 {
|
||
|
|
color: var(--white);
|
||
|
|
margin-bottom: 8px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.sidebar-cta p {
|
||
|
|
font-size: 0.875rem;
|
||
|
|
opacity: 0.9;
|
||
|
|
margin-bottom: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.sidebar-cta .btn {
|
||
|
|
position: relative;
|
||
|
|
}
|
||
|
|
|
||
|
|
.sidebar-cta .discount-badge {
|
||
|
|
position: absolute;
|
||
|
|
top: -8px;
|
||
|
|
right: -8px;
|
||
|
|
background: var(--accent);
|
||
|
|
color: var(--white);
|
||
|
|
font-size: 0.625rem;
|
||
|
|
padding: 2px 6px;
|
||
|
|
border-radius: var(--radius-full);
|
||
|
|
font-weight: 600;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Main Content */
|
||
|
|
.dashboard-main {
|
||
|
|
flex: 1;
|
||
|
|
margin-left: 260px;
|
||
|
|
padding: 32px;
|
||
|
|
max-width: calc(100% - 260px);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Dashboard Sections */
|
||
|
|
.dashboard-section {
|
||
|
|
display: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.dashboard-section.active {
|
||
|
|
display: block;
|
||
|
|
}
|
||
|
|
|
||
|
|
.section-header {
|
||
|
|
margin-bottom: 32px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.section-header h1 {
|
||
|
|
font-size: 1.75rem;
|
||
|
|
margin-bottom: 8px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.section-header p {
|
||
|
|
color: var(--gray-600);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Stats Grid */
|
||
|
|
.stats-grid {
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: repeat(4, 1fr);
|
||
|
|
gap: 24px;
|
||
|
|
margin-bottom: 32px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.stat-card {
|
||
|
|
background: var(--white);
|
||
|
|
border-radius: var(--radius-lg);
|
||
|
|
padding: 24px;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 16px;
|
||
|
|
box-shadow: var(--shadow-sm);
|
||
|
|
}
|
||
|
|
|
||
|
|
.stat-icon {
|
||
|
|
width: 56px;
|
||
|
|
height: 56px;
|
||
|
|
border-radius: var(--radius-md);
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
font-size: 1.5rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.stat-icon.blue {
|
||
|
|
background: rgba(99, 102, 241, 0.1);
|
||
|
|
color: var(--primary);
|
||
|
|
}
|
||
|
|
|
||
|
|
.stat-icon.green {
|
||
|
|
background: rgba(16, 185, 129, 0.1);
|
||
|
|
color: var(--success);
|
||
|
|
}
|
||
|
|
|
||
|
|
.stat-icon.purple {
|
||
|
|
background: rgba(139, 92, 246, 0.1);
|
||
|
|
color: #8b5cf6;
|
||
|
|
}
|
||
|
|
|
||
|
|
.stat-icon.orange {
|
||
|
|
background: rgba(245, 158, 11, 0.1);
|
||
|
|
color: var(--accent);
|
||
|
|
}
|
||
|
|
|
||
|
|
.stat-content {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
}
|
||
|
|
|
||
|
|
.stat-value {
|
||
|
|
font-size: 1.75rem;
|
||
|
|
font-weight: 700;
|
||
|
|
color: var(--gray-900);
|
||
|
|
}
|
||
|
|
|
||
|
|
.stat-label {
|
||
|
|
font-size: 0.875rem;
|
||
|
|
color: var(--gray-500);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Quick Actions */
|
||
|
|
.quick-actions {
|
||
|
|
margin-bottom: 32px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.quick-actions h2 {
|
||
|
|
font-size: 1.25rem;
|
||
|
|
margin-bottom: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.actions-grid {
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: repeat(3, 1fr);
|
||
|
|
gap: 24px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.action-card {
|
||
|
|
background: var(--white);
|
||
|
|
border: 1px solid var(--gray-200);
|
||
|
|
border-radius: var(--radius-lg);
|
||
|
|
padding: 24px;
|
||
|
|
text-align: center;
|
||
|
|
transition: var(--transition);
|
||
|
|
cursor: pointer;
|
||
|
|
}
|
||
|
|
|
||
|
|
.action-card:hover {
|
||
|
|
border-color: var(--primary);
|
||
|
|
box-shadow: var(--shadow-md);
|
||
|
|
transform: translateY(-2px);
|
||
|
|
}
|
||
|
|
|
||
|
|
.action-icon {
|
||
|
|
width: 64px;
|
||
|
|
height: 64px;
|
||
|
|
background: var(--gradient-primary);
|
||
|
|
border-radius: var(--radius-lg);
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
margin: 0 auto 16px;
|
||
|
|
font-size: 1.5rem;
|
||
|
|
color: var(--white);
|
||
|
|
}
|
||
|
|
|
||
|
|
.action-card h3 {
|
||
|
|
font-size: 1.125rem;
|
||
|
|
margin-bottom: 8px;
|
||
|
|
color: var(--gray-900);
|
||
|
|
}
|
||
|
|
|
||
|
|
.action-card p {
|
||
|
|
font-size: 0.875rem;
|
||
|
|
color: var(--gray-600);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Trial Banner */
|
||
|
|
.trial-banner {
|
||
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||
|
|
border-radius: var(--radius-lg);
|
||
|
|
padding: 24px;
|
||
|
|
margin-bottom: 32px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.banner-content {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 24px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.banner-icon {
|
||
|
|
width: 64px;
|
||
|
|
height: 64px;
|
||
|
|
background: rgba(255, 255, 255, 0.2);
|
||
|
|
border-radius: var(--radius-lg);
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
font-size: 2rem;
|
||
|
|
color: var(--white);
|
||
|
|
flex-shrink: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.banner-text {
|
||
|
|
flex: 1;
|
||
|
|
color: var(--white);
|
||
|
|
}
|
||
|
|
|
||
|
|
.banner-text h3 {
|
||
|
|
color: var(--white);
|
||
|
|
margin-bottom: 4px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.banner-text p {
|
||
|
|
opacity: 0.9;
|
||
|
|
}
|
||
|
|
|
||
|
|
.banner-content .btn {
|
||
|
|
flex-shrink: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Upload Area */
|
||
|
|
.upload-area {
|
||
|
|
background: var(--white);
|
||
|
|
border: 2px dashed var(--gray-300);
|
||
|
|
border-radius: var(--radius-lg);
|
||
|
|
padding: 48px;
|
||
|
|
text-align: center;
|
||
|
|
margin-bottom: 32px;
|
||
|
|
transition: var(--transition);
|
||
|
|
}
|
||
|
|
|
||
|
|
.upload-area:hover,
|
||
|
|
.upload-area.dragover {
|
||
|
|
border-color: var(--primary);
|
||
|
|
background: rgba(99, 102, 241, 0.05);
|
||
|
|
}
|
||
|
|
|
||
|
|
.upload-icon {
|
||
|
|
font-size: 3rem;
|
||
|
|
color: var(--primary);
|
||
|
|
margin-bottom: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.upload-area h3 {
|
||
|
|
margin-bottom: 8px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.upload-area > p {
|
||
|
|
color: var(--gray-600);
|
||
|
|
margin-bottom: 24px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.upload-hint {
|
||
|
|
font-size: 0.75rem;
|
||
|
|
color: var(--gray-500);
|
||
|
|
margin-top: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Upload Progress */
|
||
|
|
.upload-progress {
|
||
|
|
background: var(--white);
|
||
|
|
border-radius: var(--radius);
|
||
|
|
padding: 16px;
|
||
|
|
margin-bottom: 24px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.progress-header {
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
margin-bottom: 8px;
|
||
|
|
font-size: 0.875rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.progress-bar {
|
||
|
|
height: 8px;
|
||
|
|
background: var(--gray-200);
|
||
|
|
border-radius: var(--radius-full);
|
||
|
|
overflow: hidden;
|
||
|
|
}
|
||
|
|
|
||
|
|
.progress-fill {
|
||
|
|
height: 100%;
|
||
|
|
background: var(--gradient-primary);
|
||
|
|
border-radius: var(--radius-full);
|
||
|
|
width: 0%;
|
||
|
|
transition: width 0.3s ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Documents List */
|
||
|
|
.documents-list {
|
||
|
|
background: var(--white);
|
||
|
|
border-radius: var(--radius-lg);
|
||
|
|
overflow: hidden;
|
||
|
|
}
|
||
|
|
|
||
|
|
.list-header {
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
align-items: center;
|
||
|
|
padding: 20px 24px;
|
||
|
|
border-bottom: 1px solid var(--gray-200);
|
||
|
|
}
|
||
|
|
|
||
|
|
.list-header h2 {
|
||
|
|
font-size: 1.125rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.doc-count {
|
||
|
|
font-size: 0.875rem;
|
||
|
|
color: var(--gray-500);
|
||
|
|
}
|
||
|
|
|
||
|
|
.documents-table {
|
||
|
|
min-height: 200px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.empty-state {
|
||
|
|
text-align: center;
|
||
|
|
padding: 48px;
|
||
|
|
color: var(--gray-500);
|
||
|
|
}
|
||
|
|
|
||
|
|
.empty-state i {
|
||
|
|
font-size: 3rem;
|
||
|
|
margin-bottom: 16px;
|
||
|
|
opacity: 0.5;
|
||
|
|
}
|
||
|
|
|
||
|
|
.empty-state h3 {
|
||
|
|
color: var(--gray-700);
|
||
|
|
margin-bottom: 8px;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Document Row */
|
||
|
|
.document-row {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
padding: 16px 24px;
|
||
|
|
border-bottom: 1px solid var(--gray-100);
|
||
|
|
transition: var(--transition-fast);
|
||
|
|
}
|
||
|
|
|
||
|
|
.document-row:hover {
|
||
|
|
background: var(--gray-50);
|
||
|
|
}
|
||
|
|
|
||
|
|
.document-row:last-child {
|
||
|
|
border-bottom: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.doc-icon {
|
||
|
|
width: 40px;
|
||
|
|
height: 40px;
|
||
|
|
background: rgba(239, 68, 68, 0.1);
|
||
|
|
color: #ef4444;
|
||
|
|
border-radius: var(--radius);
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
margin-right: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.doc-info {
|
||
|
|
flex: 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
.doc-name {
|
||
|
|
font-weight: 500;
|
||
|
|
color: var(--gray-900);
|
||
|
|
margin-bottom: 2px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.doc-meta {
|
||
|
|
font-size: 0.75rem;
|
||
|
|
color: var(--gray-500);
|
||
|
|
}
|
||
|
|
|
||
|
|
.doc-status {
|
||
|
|
padding: 4px 12px;
|
||
|
|
border-radius: var(--radius-full);
|
||
|
|
font-size: 0.75rem;
|
||
|
|
font-weight: 500;
|
||
|
|
margin-right: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.doc-status.indexed {
|
||
|
|
background: rgba(16, 185, 129, 0.1);
|
||
|
|
color: var(--success);
|
||
|
|
}
|
||
|
|
|
||
|
|
.doc-status.processing {
|
||
|
|
background: rgba(245, 158, 11, 0.1);
|
||
|
|
color: var(--accent);
|
||
|
|
}
|
||
|
|
|
||
|
|
.doc-actions {
|
||
|
|
display: flex;
|
||
|
|
gap: 8px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.doc-actions button {
|
||
|
|
width: 32px;
|
||
|
|
height: 32px;
|
||
|
|
border: none;
|
||
|
|
background: var(--gray-100);
|
||
|
|
border-radius: var(--radius);
|
||
|
|
cursor: pointer;
|
||
|
|
color: var(--gray-600);
|
||
|
|
transition: var(--transition-fast);
|
||
|
|
}
|
||
|
|
|
||
|
|
.doc-actions button:hover {
|
||
|
|
background: var(--gray-200);
|
||
|
|
color: var(--gray-900);
|
||
|
|
}
|
||
|
|
|
||
|
|
.doc-actions button.delete:hover {
|
||
|
|
background: rgba(239, 68, 68, 0.1);
|
||
|
|
color: var(--error);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Chatbot Test */
|
||
|
|
.chatbot-test-container {
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: 1fr 300px;
|
||
|
|
gap: 24px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.chat-window {
|
||
|
|
background: var(--white);
|
||
|
|
border-radius: var(--radius-lg);
|
||
|
|
overflow: hidden;
|
||
|
|
box-shadow: var(--shadow-md);
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
height: 500px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.chat-window .chat-header {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 12px;
|
||
|
|
padding: 16px 20px;
|
||
|
|
background: var(--gradient-primary);
|
||
|
|
color: var(--white);
|
||
|
|
}
|
||
|
|
|
||
|
|
.chat-window .chat-messages {
|
||
|
|
flex: 1;
|
||
|
|
padding: 20px;
|
||
|
|
overflow-y: auto;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.chat-input-area {
|
||
|
|
display: flex;
|
||
|
|
padding: 16px 20px;
|
||
|
|
border-top: 1px solid var(--gray-200);
|
||
|
|
gap: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.chat-input-area input {
|
||
|
|
flex: 1;
|
||
|
|
padding: 12px 16px;
|
||
|
|
border: 1px solid var(--gray-300);
|
||
|
|
border-radius: var(--radius-full);
|
||
|
|
font-size: 0.9375rem;
|
||
|
|
outline: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.chat-input-area input:focus {
|
||
|
|
border-color: var(--primary);
|
||
|
|
}
|
||
|
|
|
||
|
|
.send-btn {
|
||
|
|
width: 44px;
|
||
|
|
height: 44px;
|
||
|
|
background: var(--gradient-primary);
|
||
|
|
color: var(--white);
|
||
|
|
border: none;
|
||
|
|
border-radius: var(--radius-full);
|
||
|
|
cursor: pointer;
|
||
|
|
transition: var(--transition);
|
||
|
|
}
|
||
|
|
|
||
|
|
.send-btn:hover {
|
||
|
|
transform: scale(1.05);
|
||
|
|
}
|
||
|
|
|
||
|
|
.chat-tips {
|
||
|
|
background: var(--white);
|
||
|
|
border-radius: var(--radius-lg);
|
||
|
|
padding: 24px;
|
||
|
|
height: fit-content;
|
||
|
|
}
|
||
|
|
|
||
|
|
.chat-tips h3 {
|
||
|
|
margin-bottom: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.chat-tips ul {
|
||
|
|
list-style: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.chat-tips li {
|
||
|
|
padding: 8px 0;
|
||
|
|
color: var(--gray-600);
|
||
|
|
font-size: 0.875rem;
|
||
|
|
padding-left: 20px;
|
||
|
|
position: relative;
|
||
|
|
}
|
||
|
|
|
||
|
|
.chat-tips li::before {
|
||
|
|
content: '•';
|
||
|
|
position: absolute;
|
||
|
|
left: 0;
|
||
|
|
color: var(--primary);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Embed Section */
|
||
|
|
.embed-container {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 24px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.embed-card {
|
||
|
|
background: var(--white);
|
||
|
|
border-radius: var(--radius-lg);
|
||
|
|
padding: 24px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.embed-card h2 {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 12px;
|
||
|
|
font-size: 1.25rem;
|
||
|
|
margin-bottom: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.embed-card h2 i {
|
||
|
|
color: var(--primary);
|
||
|
|
}
|
||
|
|
|
||
|
|
.code-block {
|
||
|
|
position: relative;
|
||
|
|
background: var(--gray-900);
|
||
|
|
border-radius: var(--radius);
|
||
|
|
padding: 20px;
|
||
|
|
margin: 16px 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.code-block pre {
|
||
|
|
color: var(--success);
|
||
|
|
font-family: 'Monaco', 'Menlo', monospace;
|
||
|
|
font-size: 0.875rem;
|
||
|
|
overflow-x: auto;
|
||
|
|
margin: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.copy-btn {
|
||
|
|
position: absolute;
|
||
|
|
top: 12px;
|
||
|
|
right: 12px;
|
||
|
|
padding: 8px 16px;
|
||
|
|
background: var(--gray-700);
|
||
|
|
color: var(--white);
|
||
|
|
border: none;
|
||
|
|
border-radius: var(--radius);
|
||
|
|
cursor: pointer;
|
||
|
|
font-size: 0.75rem;
|
||
|
|
transition: var(--transition-fast);
|
||
|
|
}
|
||
|
|
|
||
|
|
.copy-btn:hover {
|
||
|
|
background: var(--gray-600);
|
||
|
|
}
|
||
|
|
|
||
|
|
.copy-success {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 8px;
|
||
|
|
color: var(--success);
|
||
|
|
font-size: 0.875rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.endpoint-list {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.endpoint-item label {
|
||
|
|
display: block;
|
||
|
|
font-size: 0.875rem;
|
||
|
|
font-weight: 500;
|
||
|
|
margin-bottom: 8px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.endpoint-url {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 8px;
|
||
|
|
background: var(--gray-100);
|
||
|
|
padding: 12px 16px;
|
||
|
|
border-radius: var(--radius);
|
||
|
|
}
|
||
|
|
|
||
|
|
.endpoint-url code {
|
||
|
|
flex: 1;
|
||
|
|
font-size: 0.8125rem;
|
||
|
|
color: var(--gray-700);
|
||
|
|
word-break: break-all;
|
||
|
|
}
|
||
|
|
|
||
|
|
.copy-btn-sm {
|
||
|
|
padding: 6px 10px;
|
||
|
|
background: var(--white);
|
||
|
|
border: 1px solid var(--gray-300);
|
||
|
|
border-radius: var(--radius-sm);
|
||
|
|
cursor: pointer;
|
||
|
|
color: var(--gray-600);
|
||
|
|
transition: var(--transition-fast);
|
||
|
|
}
|
||
|
|
|
||
|
|
.copy-btn-sm:hover {
|
||
|
|
background: var(--gray-50);
|
||
|
|
color: var(--primary);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Installation Steps */
|
||
|
|
.install-steps {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 16px;
|
||
|
|
margin-bottom: 24px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.install-step {
|
||
|
|
display: flex;
|
||
|
|
gap: 16px;
|
||
|
|
align-items: flex-start;
|
||
|
|
}
|
||
|
|
|
||
|
|
.step-num {
|
||
|
|
width: 32px;
|
||
|
|
height: 32px;
|
||
|
|
background: var(--gradient-primary);
|
||
|
|
color: var(--white);
|
||
|
|
border-radius: var(--radius-full);
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
font-weight: 600;
|
||
|
|
flex-shrink: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.install-step h4 {
|
||
|
|
margin-bottom: 4px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.install-step p {
|
||
|
|
font-size: 0.875rem;
|
||
|
|
color: var(--gray-600);
|
||
|
|
}
|
||
|
|
|
||
|
|
.platform-guides h4 {
|
||
|
|
margin-bottom: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.platform-links {
|
||
|
|
display: flex;
|
||
|
|
gap: 12px;
|
||
|
|
flex-wrap: wrap;
|
||
|
|
}
|
||
|
|
|
||
|
|
.platform-link {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 8px;
|
||
|
|
padding: 8px 16px;
|
||
|
|
background: var(--gray-100);
|
||
|
|
border-radius: var(--radius);
|
||
|
|
color: var(--gray-700);
|
||
|
|
font-size: 0.875rem;
|
||
|
|
transition: var(--transition-fast);
|
||
|
|
}
|
||
|
|
|
||
|
|
.platform-link:hover {
|
||
|
|
background: var(--primary);
|
||
|
|
color: var(--white);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Analytics Placeholder */
|
||
|
|
.analytics-placeholder {
|
||
|
|
background: var(--white);
|
||
|
|
border-radius: var(--radius-lg);
|
||
|
|
padding: 48px;
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.placeholder-icon {
|
||
|
|
font-size: 4rem;
|
||
|
|
color: var(--gray-300);
|
||
|
|
margin-bottom: 24px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.analytics-placeholder h3 {
|
||
|
|
margin-bottom: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.analytics-placeholder p {
|
||
|
|
color: var(--gray-600);
|
||
|
|
margin-bottom: 24px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.analytics-placeholder ul {
|
||
|
|
list-style: none;
|
||
|
|
display: inline-block;
|
||
|
|
text-align: left;
|
||
|
|
margin-bottom: 24px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.analytics-placeholder li {
|
||
|
|
padding: 8px 0;
|
||
|
|
color: var(--gray-600);
|
||
|
|
}
|
||
|
|
|
||
|
|
.analytics-placeholder li i {
|
||
|
|
color: var(--success);
|
||
|
|
margin-right: 8px;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Settings */
|
||
|
|
.settings-grid {
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: repeat(2, 1fr);
|
||
|
|
gap: 24px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.settings-card {
|
||
|
|
background: var(--white);
|
||
|
|
border-radius: var(--radius-lg);
|
||
|
|
padding: 24px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.settings-card h2 {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 12px;
|
||
|
|
font-size: 1.25rem;
|
||
|
|
margin-bottom: 24px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.settings-card h2 i {
|
||
|
|
color: var(--primary);
|
||
|
|
}
|
||
|
|
|
||
|
|
.setting-group {
|
||
|
|
margin-bottom: 20px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.setting-group label {
|
||
|
|
display: block;
|
||
|
|
font-size: 0.875rem;
|
||
|
|
font-weight: 500;
|
||
|
|
margin-bottom: 8px;
|
||
|
|
color: var(--gray-700);
|
||
|
|
}
|
||
|
|
|
||
|
|
.setting-group input[type="text"],
|
||
|
|
.setting-group input[type="email"],
|
||
|
|
.setting-group textarea {
|
||
|
|
width: 100%;
|
||
|
|
padding: 12px 16px;
|
||
|
|
border: 1px solid var(--gray-300);
|
||
|
|
border-radius: var(--radius);
|
||
|
|
font-size: 0.9375rem;
|
||
|
|
transition: var(--transition-fast);
|
||
|
|
}
|
||
|
|
|
||
|
|
.setting-group input:focus,
|
||
|
|
.setting-group textarea:focus {
|
||
|
|
outline: none;
|
||
|
|
border-color: var(--primary);
|
||
|
|
}
|
||
|
|
|
||
|
|
.color-picker {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.color-picker input[type="color"] {
|
||
|
|
width: 48px;
|
||
|
|
height: 48px;
|
||
|
|
border: none;
|
||
|
|
border-radius: var(--radius);
|
||
|
|
cursor: pointer;
|
||
|
|
}
|
||
|
|
|
||
|
|
.plan-info {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.plan-badge {
|
||
|
|
padding: 4px 12px;
|
||
|
|
border-radius: var(--radius-full);
|
||
|
|
font-size: 0.75rem;
|
||
|
|
font-weight: 600;
|
||
|
|
}
|
||
|
|
|
||
|
|
.plan-badge.trial {
|
||
|
|
background: rgba(245, 158, 11, 0.1);
|
||
|
|
color: var(--accent);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Responsive */
|
||
|
|
@media (max-width: 1200px) {
|
||
|
|
.stats-grid {
|
||
|
|
grid-template-columns: repeat(2, 1fr);
|
||
|
|
}
|
||
|
|
|
||
|
|
.actions-grid {
|
||
|
|
grid-template-columns: repeat(2, 1fr);
|
||
|
|
}
|
||
|
|
|
||
|
|
.chatbot-test-container {
|
||
|
|
grid-template-columns: 1fr;
|
||
|
|
}
|
||
|
|
|
||
|
|
.chat-tips {
|
||
|
|
display: none;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (max-width: 1024px) {
|
||
|
|
.dashboard-sidebar {
|
||
|
|
width: 200px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.dashboard-main {
|
||
|
|
margin-left: 200px;
|
||
|
|
max-width: calc(100% - 200px);
|
||
|
|
}
|
||
|
|
|
||
|
|
.sidebar-cta {
|
||
|
|
display: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.settings-grid {
|
||
|
|
grid-template-columns: 1fr;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (max-width: 768px) {
|
||
|
|
.dashboard-nav {
|
||
|
|
padding: 0 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.trial-badge {
|
||
|
|
display: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.user-btn span {
|
||
|
|
display: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.dashboard-sidebar {
|
||
|
|
position: fixed;
|
||
|
|
left: -260px;
|
||
|
|
width: 260px;
|
||
|
|
transition: left 0.3s ease;
|
||
|
|
z-index: 999;
|
||
|
|
}
|
||
|
|
|
||
|
|
.dashboard-sidebar.active {
|
||
|
|
left: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.dashboard-main {
|
||
|
|
margin-left: 0;
|
||
|
|
max-width: 100%;
|
||
|
|
padding: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.stats-grid {
|
||
|
|
grid-template-columns: 1fr;
|
||
|
|
}
|
||
|
|
|
||
|
|
.actions-grid {
|
||
|
|
grid-template-columns: 1fr;
|
||
|
|
}
|
||
|
|
|
||
|
|
.banner-content {
|
||
|
|
flex-direction: column;
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.banner-icon {
|
||
|
|
margin: 0 auto;
|
||
|
|
}
|
||
|
|
}
|