/* ===== Theme Variables ===== */ :root { --bg-body: #0f1116; --bg-sidebar: #0a0c10; --bg-card: #1a1d26; --bg-surface: #1e222d; --text-primary: #e2e8f0; --text-heading: #f1f5f9; --text-muted: #8892a8; --text-faint: #5a6478; --text-dimmest: #3d4556; --border-primary: #1e222d; --border-secondary: #2a2f3d; --accent: #91a4d2; --accent-secondary: #6d85c6; --avatar-text: #0a0c10; } [data-theme="certifai-light"] { --bg-body: #f4f6f9; --bg-sidebar: #ffffff; --bg-card: #ffffff; --bg-surface: #e9ecf2; --text-primary: #1e293b; --text-heading: #0f172a; --text-muted: #64748b; --text-faint: #94a3b8; --text-dimmest: #cbd5e1; --border-primary: #e2e8f0; --border-secondary: #cbd5e1; --accent: #5570b8; --accent-secondary: #3d5aaf; --avatar-text: #ffffff; } /* ===== Fonts ===== */ body { font-family: 'Inter', sans-serif; background-color: var(--bg-body); color: var(--text-primary); margin: 0; padding: 0; } h1, h2, h3, h4, h5, h6 { font-family: 'Space Grotesk', sans-serif; } /* ===== App Shell ===== */ .app-shell { display: flex; min-height: 100vh; } /* ===== Sidebar ===== */ .sidebar { width: 260px; min-width: 260px; background-color: var(--bg-sidebar); border-right: 1px solid var(--border-primary); display: flex; flex-direction: column; height: 100vh; position: sticky; top: 0; } /* -- Sidebar Header -- */ .sidebar-header { display: flex; align-items: center; gap: 12px; padding: 24px 20px 20px; border-bottom: 1px solid var(--border-primary); } .avatar-circle { width: 38px; height: 38px; min-width: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-secondary)); display: flex; align-items: center; justify-content: center; } .avatar-initials { font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 600; color: var(--avatar-text); } .sidebar-user-info { display: flex; flex-direction: column; min-width: 0; } .sidebar-name { font-size: 14px; font-weight: 600; color: var(--text-heading); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sidebar-email { font-size: 12px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* -- Sidebar Navigation -- */ .sidebar-nav { flex: 1; display: flex; flex-direction: column; padding: 12px 10px; gap: 2px; } .sidebar-link { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 8px; color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: background-color 0.15s ease, color 0.15s ease; } .sidebar-link:hover { background-color: var(--bg-surface); color: var(--text-primary); } .sidebar-link.active { background-color: rgba(145, 164, 210, 0.12); color: var(--accent); } /* -- Sidebar Bottom Actions (Logout + Theme Toggle) -- */ .sidebar-bottom-actions { display: flex; align-items: center; justify-content: space-between; padding: 4px 10px; border-top: 1px solid var(--border-primary); } .logout-btn { color: var(--text-muted); } .logout-btn:hover { color: #f87171; background-color: rgba(248, 113, 113, 0.08); } .theme-toggle-btn { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: none; border-radius: 8px; background: transparent; color: var(--text-muted); cursor: pointer; transition: color 0.2s, background-color 0.2s; } .theme-toggle-btn:hover { color: var(--accent); background-color: var(--bg-surface); } /* -- Sidebar Footer -- */ .sidebar-footer { padding: 16px 20px; border-top: 1px solid var(--border-primary); display: flex; flex-direction: column; align-items: center; gap: 8px; } .sidebar-social { display: flex; gap: 16px; } .social-link { color: var(--text-faint); transition: color 0.15s ease; text-decoration: none; } .social-link:hover { color: var(--accent); } .sidebar-version { font-size: 11px; color: var(--text-dimmest); font-family: 'Inter', monospace; } /* ===== Main Content ===== */ .main-content { flex: 1; overflow-y: auto; padding: 40px 48px; min-height: 100vh; } /* ===== Overview Page ===== */ .overview-page { max-width: 960px; } .overview-heading { font-size: 28px; font-weight: 700; color: var(--text-heading); margin-bottom: 32px; } /* ===== Dashboard Grid ===== */ .dashboard-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; } @media (max-width: 768px) { .dashboard-grid { grid-template-columns: 1fr; } } /* ===== Dashboard Card ===== */ .dashboard-card { display: flex; flex-direction: column; gap: 12px; padding: 24px; background-color: var(--bg-surface); border: 1px solid var(--border-secondary); border-radius: 12px; text-decoration: none; color: var(--text-primary); transition: border-color 0.2s ease, box-shadow 0.2s ease; } .dashboard-card:hover { border-color: var(--accent); box-shadow: 0 0 20px rgba(145, 164, 210, 0.10); } .card-icon { color: var(--accent); } .card-title { font-size: 18px; font-weight: 600; color: var(--text-heading); margin: 0; } .card-description { font-size: 14px; color: var(--text-muted); margin: 0; } /* ===== Landing Page ===== */ .landing { min-height: 100vh; display: flex; flex-direction: column; } /* -- Landing Nav -- */ .landing-nav { position: sticky; top: 0; z-index: 100; background-color: color-mix(in srgb, var(--bg-body) 85%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-primary); } .landing-nav-inner { max-width: 1200px; margin: 0 auto; padding: 16px 32px; display: flex; align-items: center; gap: 32px; } .landing-logo { display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700; color: var(--text-heading); text-decoration: none; } .landing-logo-icon { color: var(--accent); display: flex; align-items: center; } .landing-nav-links { display: flex; gap: 28px; flex: 1; } .landing-nav-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.15s ease; } .landing-nav-links a:hover { color: var(--text-primary); } .landing-nav-actions { display: flex; gap: 12px; align-items: center; } /* -- Hero Section -- */ .hero-section { max-width: 1200px; margin: 0 auto; padding: 80px 32px 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; width: 100%; } .hero-content { display: flex; flex-direction: column; align-items: flex-start; } .hero-badge { font-size: 13px; font-weight: 500; color: var(--accent); border-color: rgba(145, 164, 210, 0.3); margin-bottom: 24px; } .hero-title { font-size: 52px; font-weight: 700; line-height: 1.1; color: var(--text-heading); margin: 0 0 24px; width: 100%; } .hero-title-accent { background: linear-gradient(135deg, var(--accent), var(--accent-secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .hero-subtitle { font-size: 18px; line-height: 1.7; color: var(--text-muted); margin: 0 0 36px; max-width: 520px; width: 100%; } .hero-actions { display: flex; gap: 16px; align-items: center; } .hero-graphic { display: flex; justify-content: center; align-items: center; width: 100%; min-height: 350px; } /* -- Social Proof -- */ .social-proof { border-top: 1px solid var(--border-primary); border-bottom: 1px solid var(--border-primary); padding: 40px 32px; text-align: center; } .social-proof-text { font-size: 16px; color: var(--text-muted); margin: 0 0 28px; } .social-proof-highlight { color: var(--accent); font-weight: 600; } .social-proof-stats { display: flex; justify-content: center; gap: 40px; align-items: center; flex-wrap: wrap; } .proof-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; } .proof-stat-value { font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 700; color: var(--text-heading); } .proof-stat-label { font-size: 13px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.05em; } .proof-divider { width: 1px; height: 40px; background-color: var(--bg-surface); } /* -- Section Titles -- */ .section-title { font-size: 36px; font-weight: 700; color: var(--text-heading); text-align: center; margin: 0 0 12px; } .section-subtitle { font-size: 18px; color: var(--text-muted); text-align: center; margin: 0 0 48px; } /* -- Features Section -- */ .features-section { max-width: 1200px; margin: 0 auto; padding: 80px 32px; } .features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; } .feature-card { background-color: var(--bg-card); border: 1px solid var(--border-secondary); border-radius: 12px; padding: 32px 28px; transition: border-color 0.2s ease, transform 0.2s ease; } .feature-card:hover { border-color: var(--accent); transform: translateY(-2px); } .feature-card-icon { color: var(--accent); margin-bottom: 16px; } .feature-card-title { font-size: 18px; font-weight: 600; color: var(--text-heading); margin: 0 0 8px; } .feature-card-desc { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin: 0; } /* -- How It Works -- */ .how-it-works-section { max-width: 1200px; margin: 0 auto; padding: 80px 32px; } .steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; } .step-card { text-align: center; padding: 40px 28px; } .step-number { font-family: 'Space Grotesk', sans-serif; font-size: 48px; font-weight: 700; background: linear-gradient(135deg, var(--accent), var(--accent-secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: block; margin-bottom: 16px; } .step-title { font-size: 22px; font-weight: 600; color: var(--text-heading); margin: 0 0 12px; } .step-desc { font-size: 15px; line-height: 1.6; color: var(--text-muted); margin: 0; } /* -- CTA Banner -- */ .cta-banner { max-width: 900px; margin: 0 auto 80px; padding: 64px 48px; text-align: center; background: linear-gradient(135deg, rgba(145, 164, 210, 0.08), rgba(109, 133, 198, 0.04)); border: 1px solid rgba(145, 164, 210, 0.15); border-radius: 20px; } .cta-title { font-size: 32px; font-weight: 700; color: var(--text-heading); margin: 0 0 12px; } .cta-subtitle { font-size: 18px; color: var(--text-muted); margin: 0 0 32px; } .cta-actions { display: flex; gap: 16px; justify-content: center; } /* -- Landing Footer -- */ .landing-footer { border-top: 1px solid var(--border-primary); padding: 60px 32px 0; margin-top: auto; } .landing-footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; } .footer-brand { display: flex; flex-direction: column; gap: 12px; } .footer-tagline { font-size: 14px; color: var(--text-faint); margin: 0; max-width: 280px; } .footer-links-group { display: flex; flex-direction: column; gap: 10px; } .footer-links-heading { font-size: 13px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 4px; } .footer-links-group a { font-size: 14px; color: var(--text-faint); text-decoration: none; transition: color 0.15s ease; } .footer-links-group a:hover { color: var(--accent); } .footer-bottom { max-width: 1200px; margin: 48px auto 0; padding: 20px 0; border-top: 1px solid var(--border-primary); text-align: center; } .footer-bottom p { font-size: 13px; color: var(--text-dimmest); margin: 0; } /* ===== Legal Pages (Impressum, Privacy) ===== */ .legal-page { min-height: 100vh; display: flex; flex-direction: column; } .legal-nav { padding: 20px 32px; border-bottom: 1px solid var(--border-primary); } .legal-content { max-width: 760px; margin: 0 auto; padding: 48px 32px 80px; flex: 1; } .legal-content h1 { font-size: 36px; font-weight: 700; color: var(--text-heading); margin: 0 0 32px; } .legal-content h2 { font-size: 22px; font-weight: 600; color: var(--text-heading); margin: 40px 0 12px; } .legal-content p { font-size: 15px; line-height: 1.7; color: var(--text-muted); margin: 0 0 16px; } .legal-content ul { padding-left: 24px; margin: 0 0 16px; } .legal-content li { font-size: 15px; line-height: 1.7; color: var(--text-muted); margin-bottom: 8px; } .legal-updated { font-size: 14px; color: var(--text-faint); font-style: italic; } .legal-footer { padding: 20px 32px; border-top: 1px solid var(--border-primary); display: flex; gap: 24px; justify-content: center; } .legal-footer a { font-size: 14px; color: var(--text-faint); text-decoration: none; transition: color 0.15s ease; } .legal-footer a:hover { color: var(--accent); } /* ===== Responsive: Landing Page ===== */ @media (max-width: 1024px) { .hero-section { grid-template-columns: 1fr; padding: 60px 24px 40px; gap: 40px; } .hero-graphic { max-width: 320px; margin: 0 auto; order: -1; min-height: auto; } .features-grid { grid-template-columns: repeat(2, 1fr); } .landing-footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; } } @media (max-width: 768px) { .landing-nav-links { display: none; } .hero-title { font-size: 36px; } .hero-subtitle { font-size: 16px; } .hero-actions { flex-direction: column; align-items: stretch; } .features-grid, .steps-grid { grid-template-columns: 1fr; } .social-proof-stats { gap: 24px; } .proof-divider { display: none; } .cta-banner { margin: 0 16px 60px; padding: 40px 24px; } .cta-title { font-size: 24px; } .cta-actions { flex-direction: column; align-items: stretch; } .landing-footer-inner { grid-template-columns: 1fr; gap: 24px; } .section-title { font-size: 28px; } } /* ===== Shared UI Elements ===== */ .btn-primary { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; background: linear-gradient(135deg, var(--accent), var(--accent-secondary)); color: var(--avatar-text); border: none; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: opacity 0.15s ease; font-family: 'Inter', sans-serif; } .btn-primary:hover { opacity: 0.9; } .btn-primary:disabled { opacity: 0.4; cursor: not-allowed; } .btn-secondary { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; background-color: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-secondary); border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; transition: border-color 0.15s ease; font-family: 'Inter', sans-serif; } .btn-secondary:hover { border-color: var(--accent); } .btn-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background-color: transparent; color: var(--text-muted); border: 1px solid var(--border-secondary); border-radius: 8px; cursor: pointer; font-size: 16px; transition: color 0.15s ease, border-color 0.15s ease; } .btn-icon:hover { color: var(--text-primary); border-color: var(--accent); } .btn-danger { color: #f87171; border-color: rgba(248, 113, 113, 0.3); font-size: 12px; padding: 4px 12px; width: auto; height: auto; } .btn-danger:hover { background-color: rgba(248, 113, 113, 0.08); border-color: #f87171; color: #f87171; } /* ===== Form Elements ===== */ .form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; } .form-group label { font-size: 13px; font-weight: 500; color: var(--text-muted); } .form-select, .form-input { padding: 10px 14px; background-color: var(--bg-card); border: 1px solid var(--border-secondary); border-radius: 8px; color: var(--text-primary); font-size: 14px; font-family: 'Inter', sans-serif; outline: none; transition: border-color 0.15s ease; } .form-select:focus, .form-input:focus { border-color: var(--accent); } .form-success { font-size: 13px; color: #4ade80; margin-top: 8px; } /* ===== Page Header ===== */ .page-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 32px; gap: 24px; } .page-header-text { flex: 1; } .page-title { font-size: 28px; font-weight: 700; color: var(--text-heading); margin: 0 0 4px; } .page-subtitle { font-size: 15px; color: var(--text-muted); margin: 0; } /* ===== Sub Navigation (Developer/Org tabs) ===== */ .sub-nav { display: flex; gap: 4px; padding: 0 0 20px; border-bottom: 1px solid var(--border-primary); margin-bottom: 24px; } .sub-nav-item { padding: 8px 16px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--text-muted); text-decoration: none; transition: background-color 0.15s ease, color 0.15s ease; } .sub-nav-item:hover { background-color: var(--bg-surface); color: var(--text-primary); } .sub-nav-item--active { background-color: rgba(145, 164, 210, 0.12); color: var(--accent); } /* ===== Shell Content (Developer/Org) ===== */ .developer-shell, .org-shell { max-width: 1200px; } .shell-content { min-height: 400px; } /* ===== Dashboard Page (News Feed) ===== */ .dashboard-page { max-width: 1200px; } .dashboard-filters { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; } .filter-tab { padding: 6px 16px; border-radius: 20px; border: 1px solid var(--border-secondary); background-color: transparent; color: var(--text-muted); font-size: 13px; font-weight: 500; cursor: pointer; transition: all 0.15s ease; font-family: 'Inter', sans-serif; } .filter-tab:hover { border-color: var(--accent); color: var(--text-primary); } .filter-tab--active { background-color: rgba(145, 164, 210, 0.12); border-color: var(--accent); color: var(--accent); } /* ===== News Card ===== */ .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; } .news-card { background-color: var(--bg-card); border: 1px solid var(--border-secondary); border-radius: 12px; overflow: hidden; transition: border-color 0.2s ease, transform 0.2s ease; display: flex; flex-direction: column; } .news-card:hover { border-color: var(--accent); transform: translateY(-2px); } .news-card-thumb { overflow: hidden; height: 140px; flex-shrink: 0; } .news-card-thumb img { width: 100%; height: 100%; object-fit: cover; /* Hide alt text on broken images */ color: transparent; font-size: 0; } .news-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; } .news-card-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; } .news-badge { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.05em; /* Default badge color for any topic */ background-color: rgba(99, 132, 210, 0.15); color: var(--accent); } .news-badge--llm { background-color: rgba(99, 102, 241, 0.15); color: #818cf8; } .news-badge--agents { background-color: rgba(168, 85, 247, 0.15); color: #c084fc; } .news-badge--privacy { background-color: rgba(34, 197, 94, 0.15); color: #4ade80; } .news-badge--infrastructure { background-color: rgba(234, 179, 8, 0.15); color: #facc15; } .news-badge--open-source { background-color: rgba(236, 72, 153, 0.15); color: #f472b6; } .news-card-source { font-size: 12px; color: var(--text-faint); } .news-card-date { font-size: 12px; color: var(--text-dimmest); } .news-card-title { font-size: 16px; font-weight: 600; color: var(--text-heading); margin: 0 0 8px; line-height: 1.3; } .news-card-title a { color: inherit; text-decoration: none; } .news-card-title a:hover { color: var(--accent); } .news-card-summary { font-size: 13px; line-height: 1.5; color: var(--text-muted); margin: 0; } .news-card--selected { border-color: var(--accent); background-color: rgba(145, 164, 210, 0.08); } .news-card--no-thumb { min-height: 200px; } .news-card--no-thumb .news-card-body { text-align: center; justify-content: center; } .news-card--no-thumb .news-card-meta { justify-content: center; } .news-card { cursor: pointer; } /* ===== Dashboard Split View ===== */ .dashboard-split { display: flex; gap: 24px; min-height: 60vh; } .dashboard-full { display: block; } /* ===== Dashboard With Sidebar ===== */ .dashboard-with-sidebar { display: flex; gap: 24px; min-height: 60vh; } .dashboard-full-grid { width: 100%; } .dashboard-left { width: 40%; min-width: 0; overflow-y: auto; max-height: 80vh; } .dashboard-right { width: 60%; min-width: 0; position: sticky; top: 24px; align-self: flex-start; max-height: 80vh; overflow-y: auto; } .news-grid--compact { display: grid; grid-template-columns: 1fr; gap: 16px; } .dashboard-loading { text-align: center; padding: 24px; color: var(--text-muted); font-size: 14px; } /* ===== Topic Tabs ===== */ .topic-tab-wrapper { display: inline-flex; align-items: center; gap: 2px; } .topic-remove { background: none; border: none; color: var(--text-faint); font-size: 12px; cursor: pointer; padding: 2px 4px; border-radius: 4px; transition: color 0.15s ease; } .topic-remove:hover { color: #f87171; } .topic-add-btn { padding: 6px 14px; border-radius: 20px; border: 1px dashed var(--border-secondary); background-color: transparent; color: var(--text-faint); font-size: 16px; cursor: pointer; transition: all 0.15s ease; font-family: 'Inter', sans-serif; line-height: 1; } .topic-add-btn:hover { border-color: var(--accent); color: var(--accent); } .topic-input-wrapper { display: inline-flex; align-items: center; gap: 8px; } .topic-input { padding: 5px 12px; border-radius: 20px; border: 1px solid var(--border-secondary); background-color: var(--bg-card); color: var(--text-primary); font-size: 13px; font-family: 'Inter', sans-serif; outline: none; width: 140px; } .topic-input:focus { border-color: var(--accent); } .topic-cancel-btn { background: none; border: none; color: var(--text-faint); font-size: 12px; cursor: pointer; } .topic-cancel-btn:hover { color: var(--text-primary); } /* ===== Settings Panel ===== */ .settings-toggle { margin-left: auto; } .settings-panel { background-color: var(--bg-card); border: 1px solid var(--border-secondary); border-radius: 12px; padding: 20px; margin-bottom: 24px; } .settings-panel-title { font-size: 15px; font-weight: 600; color: var(--text-primary); margin: 0 0 16px; } .settings-field { margin-bottom: 12px; } .settings-field label { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 4px; font-weight: 500; } .settings-input { width: 100%; max-width: 400px; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--border-secondary); background-color: var(--bg-body); color: var(--text-primary); font-size: 13px; font-family: 'Inter', sans-serif; outline: none; } .settings-input:focus { border-color: var(--accent); } .settings-hint { background-color: rgba(234, 179, 8, 0.1); border: 1px solid rgba(234, 179, 8, 0.3); border-radius: 8px; padding: 12px 16px; margin-bottom: 16px; font-size: 13px; color: #facc15; } /* ===== Article Detail Panel ===== */ .article-detail-panel { background-color: var(--bg-card); border: 1px solid var(--border-secondary); border-radius: 12px; padding: 24px; position: relative; } .article-detail-close { position: absolute; top: 16px; right: 16px; background: none; border: 1px solid var(--border-secondary); color: var(--text-muted); width: 32px; height: 32px; border-radius: 8px; cursor: pointer; font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; transition: all 0.15s ease; } .article-detail-close:hover { border-color: #f87171; color: #f87171; } .article-detail-content { padding-right: 40px; } .article-detail-title { font-size: 22px; font-weight: 700; color: var(--text-heading); margin: 0 0 12px; line-height: 1.3; } .article-detail-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; } .article-detail-source { font-size: 13px; color: var(--text-muted); display: inline-flex; align-items: center; gap: 6px; } .source-favicon { width: 16px; height: 16px; border-radius: 2px; flex-shrink: 0; } .article-detail-date { font-size: 13px; color: var(--text-faint); } .article-detail-body { margin-bottom: 20px; } .article-detail-body p { font-size: 14px; line-height: 1.7; color: var(--text-primary); margin: 0; } .article-detail-link { display: inline-block; font-size: 13px; color: var(--accent); text-decoration: none; margin-bottom: 20px; transition: color 0.15s ease; } .article-detail-link:hover { color: var(--accent-secondary); } /* ---- AI Summary Bubble ---- */ .ai-summary-bubble { margin-top: 20px; background-color: rgba(145, 164, 210, 0.08); border: 1px solid rgba(145, 164, 210, 0.18); border-radius: 12px; padding: 16px 18px; position: relative; } .ai-summary-bubble-text { font-size: 14px; line-height: 1.65; color: var(--text-primary); margin: 0; white-space: pre-wrap; } .ai-summary-bubble-label { display: block; font-size: 11px; font-weight: 600; color: var(--accent); margin-top: 12px; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.6; } .ai-summary-bubble-loading { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--accent); font-style: italic; } /* Pulsing dots animation for loading states */ .ai-summary-dot-pulse { display: flex; gap: 4px; } .ai-summary-dot-pulse::before, .ai-summary-dot-pulse::after, .ai-summary-dot-pulse { position: relative; } .ai-summary-dot-pulse::before, .ai-summary-dot-pulse::after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: dotPulse 1.2s infinite ease-in-out; } .ai-summary-dot-pulse::after { animation-delay: 0.4s; } @keyframes dotPulse { 0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); } 40% { opacity: 1; transform: scale(1); } } /* ---- Follow-up Chat ---- */ .article-chat { margin-top: 16px; border-top: 1px solid var(--border-secondary); padding-top: 16px; } .article-chat-messages { max-height: 300px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; padding-right: 4px; } .chat-msg { max-width: 85%; padding: 10px 14px; border-radius: 12px; font-size: 14px; line-height: 1.55; } .chat-msg p { margin: 0; white-space: pre-wrap; } .chat-msg--user { align-self: flex-end; background: rgba(99, 132, 210, 0.2); border: 1px solid rgba(99, 132, 210, 0.3); color: var(--text-primary); border-bottom-right-radius: 4px; } .chat-msg--assistant { align-self: flex-start; background: rgba(145, 164, 210, 0.08); border: 1px solid rgba(145, 164, 210, 0.15); color: var(--text-primary); border-bottom-left-radius: 4px; } .chat-msg--typing { padding: 12px 16px; } .article-chat-input { display: flex; gap: 8px; } .article-chat-textbox { flex: 1; background: var(--bg-card); border: 1px solid var(--border-secondary); border-radius: 8px; padding: 10px 14px; font-size: 14px; color: var(--text-primary); outline: none; transition: border-color 0.2s; } .article-chat-textbox:focus { border-color: var(--accent-secondary); } .article-chat-textbox:disabled { opacity: 0.5; } .article-chat-send { background: var(--accent-secondary); color: var(--avatar-text); border: none; border-radius: 8px; padding: 10px 18px; font-size: 14px; font-weight: 500; cursor: pointer; transition: background 0.2s; white-space: nowrap; } .article-chat-send:hover:not(:disabled) { background: var(--accent); } .article-chat-send:disabled { opacity: 0.5; cursor: not-allowed; } /* ===== Providers Page ===== */ .providers-page { max-width: 960px; } .providers-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; } .providers-form { background-color: var(--bg-card); border: 1px solid var(--border-secondary); border-radius: 12px; padding: 28px; } .providers-status { position: sticky; top: 40px; align-self: start; } .providers-status h3 { font-size: 18px; font-weight: 600; color: var(--text-heading); margin: 0 0 16px; } .status-card { background-color: var(--bg-card); border: 1px solid var(--border-secondary); border-radius: 12px; padding: 20px; } .status-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border-primary); } .status-row:last-child { border-bottom: none; } .status-label { font-size: 13px; color: var(--text-muted); } .status-value { font-size: 13px; font-weight: 500; color: var(--text-primary); } /* ===== Chat Page ===== */ .chat-page { display: flex; height: calc(100vh - 80px); margin: -40px -48px; overflow: hidden; } .chat-sidebar-panel { width: 260px; min-width: 260px; border-right: 1px solid var(--border-primary); display: flex; flex-direction: column; background-color: var(--bg-sidebar); } .chat-sidebar-header { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--border-primary); } .chat-sidebar-header h3 { font-size: 16px; font-weight: 600; color: var(--text-heading); margin: 0; } .chat-session-list { flex: 1; overflow-y: auto; padding: 8px; } .chat-session-item { width: 100%; text-align: left; padding: 12px; border-radius: 8px; border: none; background-color: transparent; cursor: pointer; transition: background-color 0.15s ease; font-family: 'Inter', sans-serif; } .chat-session-item:hover { background-color: var(--bg-surface); } .chat-session-item--active { background-color: rgba(145, 164, 210, 0.12); } .chat-session-title { font-size: 14px; font-weight: 500; color: var(--text-primary); margin-bottom: 4px; } .chat-session-date { font-size: 12px; color: var(--text-faint); } .chat-main-panel { flex: 1; display: flex; flex-direction: column; } .chat-messages { flex: 1; overflow-y: auto; padding: 24px 32px; display: flex; flex-direction: column; gap: 16px; } .chat-empty { flex: 1; display: flex; align-items: center; justify-content: center; color: var(--text-faint); } /* ===== Chat Bubble ===== */ .chat-bubble { max-width: 72%; padding: 14px 18px; border-radius: 12px; font-size: 14px; line-height: 1.6; } .chat-bubble--user { align-self: flex-end; background-color: rgba(145, 164, 210, 0.15); color: var(--text-primary); border-bottom-right-radius: 4px; } .chat-bubble--assistant { align-self: flex-start; background-color: var(--bg-card); border: 1px solid var(--border-secondary); color: var(--text-primary); border-bottom-left-radius: 4px; } .chat-bubble--system { align-self: center; background-color: transparent; color: var(--text-faint); font-size: 13px; font-style: italic; } .chat-bubble-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; } .chat-bubble-role { font-size: 12px; font-weight: 600; color: var(--accent); } .chat-bubble-time { font-size: 11px; color: var(--text-faint); } .chat-bubble-content { white-space: pre-wrap; } .chat-bubble-attachments { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; } .chat-attachment { font-size: 12px; padding: 4px 10px; background-color: rgba(145, 164, 210, 0.1); border-radius: 4px; color: var(--accent); } /* -- Chat Input Bar -- */ .chat-input-bar { display: flex; align-items: center; gap: 8px; padding: 16px 24px; border-top: 1px solid var(--border-primary); background-color: var(--bg-sidebar); } .chat-input { flex: 1; padding: 10px 14px; background-color: var(--bg-card); border: 1px solid var(--border-secondary); border-radius: 8px; color: var(--text-primary); font-size: 14px; font-family: 'Inter', sans-serif; outline: none; } .chat-input:focus { border-color: var(--accent); } .chat-attach-btn { font-size: 18px; } .chat-send-btn { padding: 10px 20px; } /* ===== Tools Page ===== */ .tools-page { max-width: 1200px; } .tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; } /* ===== Tool Card ===== */ .tool-card { background-color: var(--bg-card); border: 1px solid var(--border-secondary); border-radius: 12px; padding: 24px; transition: border-color 0.2s ease; } .tool-card:hover { border-color: var(--accent); } .tool-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; } .tool-card-icon { font-size: 24px; color: var(--accent); } .tool-status { width: 8px; height: 8px; border-radius: 50%; } .tool-status--active { background-color: #4ade80; } .tool-status--inactive { background-color: var(--text-faint); } .tool-status--error { background-color: #f87171; } .tool-card-name { font-size: 16px; font-weight: 600; color: var(--text-heading); margin: 0 0 6px; } .tool-card-desc { font-size: 13px; line-height: 1.5; color: var(--text-muted); margin: 0 0 16px; } .tool-card-footer { display: flex; justify-content: space-between; align-items: center; } .tool-card-category { font-size: 11px; font-weight: 500; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.05em; } .tool-toggle { padding: 4px 14px; border-radius: 12px; font-size: 11px; font-weight: 600; border: none; cursor: pointer; font-family: 'Inter', sans-serif; transition: all 0.15s ease; } .tool-toggle--on { background-color: rgba(74, 222, 128, 0.15); color: #4ade80; } .tool-toggle--off { background-color: var(--bg-surface); color: var(--text-faint); } /* ===== Knowledge Base Page ===== */ .knowledge-page { max-width: 1200px; } .knowledge-toolbar { margin-bottom: 20px; } .knowledge-search { max-width: 320px; } .knowledge-table-wrapper { overflow-x: auto; } .knowledge-table { width: 100%; border-collapse: collapse; } .knowledge-table thead th { font-size: 12px; font-weight: 600; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.05em; padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border-primary); } .knowledge-table tbody td { font-size: 14px; color: var(--text-primary); padding: 14px 16px; border-bottom: 1px solid var(--border-primary); } .file-row:hover { background-color: rgba(145, 164, 210, 0.04); } .file-row-name { display: flex; align-items: center; gap: 8px; font-weight: 500; } .file-row-icon { color: var(--accent); font-size: 12px; } /* ===== Placeholder Pages (Developer) ===== */ .placeholder-page { display: flex; flex-direction: column; align-items: center; padding: 40px 0; gap: 32px; } .placeholder-card { text-align: center; max-width: 480px; padding: 48px 40px; background-color: var(--bg-card); border: 1px solid var(--border-secondary); border-radius: 16px; } .placeholder-icon { width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(135deg, rgba(145, 164, 210, 0.15), rgba(109, 133, 198, 0.08)); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 700; color: var(--accent); } .placeholder-card h2 { font-size: 24px; font-weight: 700; color: var(--text-heading); margin: 0 0 12px; } .placeholder-desc { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin: 0 0 24px; } .placeholder-badge { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 600; color: var(--accent); padding: 4px 12px; border: 1px solid rgba(145, 164, 210, 0.3); border-radius: 20px; } /* ===== Analytics Stats Bar ===== */ .analytics-stats-bar { display: flex; gap: 24px; width: 100%; max-width: 720px; } .analytics-stat { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px; background-color: var(--bg-card); border: 1px solid var(--border-secondary); border-radius: 12px; } .analytics-stat-value { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700; color: var(--text-heading); } .analytics-stat-label { font-size: 12px; color: var(--text-faint); } .analytics-stat-change { font-size: 12px; font-weight: 500; } .analytics-stat-change--up { color: #4ade80; } .analytics-stat-change--down { color: #f87171; } /* ===== Pricing Page ===== */ .pricing-page { max-width: 1200px; } .pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; } /* ===== Pricing Card ===== */ .pricing-card { background-color: var(--bg-card); border: 1px solid var(--border-secondary); border-radius: 16px; padding: 32px 28px; text-align: center; transition: border-color 0.2s ease, transform 0.2s ease; } .pricing-card:hover { transform: translateY(-2px); } .pricing-card--highlighted { border-color: var(--accent); box-shadow: 0 0 30px rgba(145, 164, 210, 0.1); position: relative; } .pricing-card-name { font-size: 20px; font-weight: 700; color: var(--text-heading); margin: 0 0 16px; } .pricing-card-price { margin-bottom: 8px; } .pricing-card-amount { font-family: 'Space Grotesk', sans-serif; font-size: 40px; font-weight: 700; color: var(--text-heading); } .pricing-card-period { font-size: 14px; color: var(--text-faint); } .pricing-card-seats { font-size: 13px; color: var(--text-muted); margin: 0 0 24px; } .pricing-card-features { list-style: none; padding: 0; margin: 0 0 28px; text-align: left; } .pricing-card-features li { font-size: 14px; color: var(--text-muted); padding: 6px 0; border-bottom: 1px solid var(--border-primary); } .pricing-card-features li:last-child { border-bottom: none; } .pricing-card-cta { width: 100%; padding: 12px; background: linear-gradient(135deg, var(--accent), var(--accent-secondary)); color: var(--avatar-text); border: none; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: 'Inter', sans-serif; transition: opacity 0.15s ease; } .pricing-card-cta:hover { opacity: 0.9; } /* ===== Organization Dashboard ===== */ .org-dashboard-page { max-width: 1200px; } .org-stats-bar { display: flex; gap: 20px; margin-bottom: 32px; } .org-stat { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px; background-color: var(--bg-card); border: 1px solid var(--border-secondary); border-radius: 12px; } .org-stat-value { font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 700; color: var(--text-heading); } .org-stat-label { font-size: 12px; color: var(--text-faint); } /* ===== Organization Table ===== */ .org-table-wrapper { overflow-x: auto; } .org-table { width: 100%; border-collapse: collapse; } .org-table thead th { font-size: 12px; font-weight: 600; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.05em; padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border-primary); } .org-table tbody td { font-size: 14px; color: var(--text-primary); padding: 14px 16px; border-bottom: 1px solid var(--border-primary); } .member-row:hover { background-color: rgba(145, 164, 210, 0.04); } .member-role-select { padding: 6px 10px; background-color: var(--bg-card); border: 1px solid var(--border-secondary); border-radius: 6px; color: var(--text-primary); font-size: 13px; font-family: 'Inter', sans-serif; outline: none; } .member-role-select:focus { border-color: var(--accent); } /* ===== Modal ===== */ .modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.6); display: flex; align-items: center; justify-content: center; z-index: 1000; } .modal-content { background-color: var(--bg-card); border: 1px solid var(--border-secondary); border-radius: 16px; padding: 32px; min-width: 400px; max-width: 500px; } .modal-content h3 { font-size: 20px; font-weight: 700; color: var(--text-heading); margin: 0 0 20px; } .modal-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; } /* ===== Dashboard Sidebar ===== */ .dashboard-sidebar { width: 30%; min-width: 240px; max-width: 320px; position: sticky; top: 24px; align-self: flex-start; max-height: 80vh; overflow-y: auto; border-left: 1px solid var(--border-primary); padding-left: 24px; display: flex; flex-direction: column; gap: 24px; } .sidebar-section { display: flex; flex-direction: column; gap: 10px; } .sidebar-section-title { font-size: 12px; font-weight: 600; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.05em; margin: 0; } .sidebar-status-row { display: flex; align-items: center; gap: 8px; } .sidebar-status-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; } .sidebar-status-dot--online { background-color: #4ade80; box-shadow: 0 0 6px rgba(74, 222, 128, 0.4); } .sidebar-status-dot--offline { background-color: #f87171; box-shadow: 0 0 6px rgba(248, 113, 113, 0.4); } .sidebar-status-label { font-size: 13px; color: var(--text-primary); font-weight: 500; } .sidebar-model-list { display: flex; flex-wrap: wrap; gap: 6px; } .sidebar-model-tag { display: inline-block; font-size: 11px; font-weight: 500; padding: 3px 10px; border-radius: 12px; background-color: rgba(145, 164, 210, 0.1); color: var(--accent); border: 1px solid rgba(145, 164, 210, 0.2); } .sidebar-topic-link { display: block; width: 100%; text-align: left; background: none; border: none; padding: 6px 10px; border-radius: 6px; font-size: 13px; font-family: 'Inter', sans-serif; color: var(--text-muted); cursor: pointer; transition: background-color 0.15s ease, color 0.15s ease; } .sidebar-topic-link:hover { background-color: rgba(145, 164, 210, 0.08); color: var(--text-primary); } /* ===== Responsive: Dashboard Pages ===== */ @media (max-width: 1024px) { .news-grid, .tools-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); } .providers-layout { grid-template-columns: 1fr; } .analytics-stats-bar { flex-wrap: wrap; } .org-stats-bar { flex-wrap: wrap; } .dashboard-sidebar { display: none; } .dashboard-with-sidebar { display: block; } .dashboard-split { flex-direction: column; } .dashboard-left { width: 100%; max-height: none; overflow-y: visible; } .dashboard-right { width: 100%; position: static; max-height: none; } .news-grid--compact { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 768px) { .news-grid, .tools-grid, .pricing-grid { grid-template-columns: 1fr; } .news-grid--compact { grid-template-columns: 1fr; } .chat-page { flex-direction: column; height: auto; } .chat-sidebar-panel { width: 100%; min-width: unset; max-height: 200px; border-right: none; border-bottom: 1px solid var(--border-primary); } .page-header { flex-direction: column; gap: 12px; } .analytics-stats-bar { flex-direction: column; } .org-stats-bar { flex-direction: column; } .modal-content { min-width: unset; margin: 16px; } }