Files
certifai/assets/main.css
Sharang Parnerkar 5399afd748
All checks were successful
CI / Format (push) Successful in 2s
CI / Clippy (push) Successful in 2m18s
CI / Security Audit (push) Successful in 1m40s
CI / Tests (push) Successful in 2m51s
CI / Deploy (push) Successful in 2s
feat(dashboard): added dashboard content and features (#7)
Co-authored-by: Sharang Parnerkar <parnerkarsharang@gmail.com>
Reviewed-on: #7
2026-02-19 19:23:06 +00:00

2516 lines
43 KiB
CSS

/* ===== Fonts ===== */
body {
font-family: 'Inter', sans-serif;
background-color: #0f1116;
color: #e2e8f0;
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: #0a0c10;
border-right: 1px solid #1e222d;
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 #1e222d;
}
.avatar-circle {
width: 38px;
height: 38px;
min-width: 38px;
border-radius: 50%;
background: linear-gradient(135deg, #91a4d2, #6d85c6);
display: flex;
align-items: center;
justify-content: center;
}
.avatar-initials {
font-family: 'Space Grotesk', sans-serif;
font-size: 14px;
font-weight: 600;
color: #0a0c10;
}
.sidebar-email {
font-size: 13px;
color: #8892a8;
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: #8892a8;
text-decoration: none;
font-size: 14px;
font-weight: 500;
transition: background-color 0.15s ease, color 0.15s ease;
}
.sidebar-link:hover {
background-color: #1e222d;
color: #e2e8f0;
}
.sidebar-link.active {
background-color: rgba(145, 164, 210, 0.12);
color: #91a4d2;
}
/* -- Sidebar Logout -- */
.sidebar-logout {
padding: 4px 10px;
border-top: 1px solid #1e222d;
}
.logout-btn {
color: #8892a8;
}
.logout-btn:hover {
color: #f87171;
background-color: rgba(248, 113, 113, 0.08);
}
/* -- Sidebar Footer -- */
.sidebar-footer {
padding: 16px 20px;
border-top: 1px solid #1e222d;
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
}
.sidebar-social {
display: flex;
gap: 16px;
}
.social-link {
color: #5a6478;
transition: color 0.15s ease;
text-decoration: none;
}
.social-link:hover {
color: #91a4d2;
}
.sidebar-version {
font-size: 11px;
color: #3d4556;
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: #f1f5f9;
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: #1e222d;
border: 1px solid #2a2f3d;
border-radius: 12px;
text-decoration: none;
color: #e2e8f0;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.dashboard-card:hover {
border-color: #91a4d2;
box-shadow: 0 0 20px rgba(145, 164, 210, 0.10);
}
.card-icon {
color: #91a4d2;
}
.card-title {
font-size: 18px;
font-weight: 600;
color: #f1f5f9;
margin: 0;
}
.card-description {
font-size: 14px;
color: #8892a8;
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: rgba(15, 17, 22, 0.85);
backdrop-filter: blur(12px);
border-bottom: 1px solid #1e222d;
}
.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: #f1f5f9;
text-decoration: none;
}
.landing-logo-icon {
color: #91a4d2;
display: flex;
align-items: center;
}
.landing-nav-links {
display: flex;
gap: 28px;
flex: 1;
}
.landing-nav-links a {
color: #8892a8;
text-decoration: none;
font-size: 14px;
font-weight: 500;
transition: color 0.15s ease;
}
.landing-nav-links a:hover {
color: #e2e8f0;
}
.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: #91a4d2;
border-color: rgba(145, 164, 210, 0.3);
margin-bottom: 24px;
}
.hero-title {
font-size: 52px;
font-weight: 700;
line-height: 1.1;
color: #f1f5f9;
margin: 0 0 24px;
width: 100%;
}
.hero-title-accent {
background: linear-gradient(135deg, #91a4d2, #6d85c6);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero-subtitle {
font-size: 18px;
line-height: 1.7;
color: #8892a8;
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 #1e222d;
border-bottom: 1px solid #1e222d;
padding: 40px 32px;
text-align: center;
}
.social-proof-text {
font-size: 16px;
color: #8892a8;
margin: 0 0 28px;
}
.social-proof-highlight {
color: #91a4d2;
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: #f1f5f9;
}
.proof-stat-label {
font-size: 13px;
color: #5a6478;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.proof-divider {
width: 1px;
height: 40px;
background-color: #1e222d;
}
/* -- Section Titles -- */
.section-title {
font-size: 36px;
font-weight: 700;
color: #f1f5f9;
text-align: center;
margin: 0 0 12px;
}
.section-subtitle {
font-size: 18px;
color: #8892a8;
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: #1a1d26;
border: 1px solid #2a2f3d;
border-radius: 12px;
padding: 32px 28px;
transition: border-color 0.2s ease, transform 0.2s ease;
}
.feature-card:hover {
border-color: #91a4d2;
transform: translateY(-2px);
}
.feature-card-icon {
color: #91a4d2;
margin-bottom: 16px;
}
.feature-card-title {
font-size: 18px;
font-weight: 600;
color: #f1f5f9;
margin: 0 0 8px;
}
.feature-card-desc {
font-size: 14px;
line-height: 1.6;
color: #8892a8;
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, #91a4d2, #6d85c6);
-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: #f1f5f9;
margin: 0 0 12px;
}
.step-desc {
font-size: 15px;
line-height: 1.6;
color: #8892a8;
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: #f1f5f9;
margin: 0 0 12px;
}
.cta-subtitle {
font-size: 18px;
color: #8892a8;
margin: 0 0 32px;
}
.cta-actions {
display: flex;
gap: 16px;
justify-content: center;
}
/* -- Landing Footer -- */
.landing-footer {
border-top: 1px solid #1e222d;
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: #5a6478;
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: #8892a8;
text-transform: uppercase;
letter-spacing: 0.05em;
margin: 0 0 4px;
}
.footer-links-group a {
font-size: 14px;
color: #5a6478;
text-decoration: none;
transition: color 0.15s ease;
}
.footer-links-group a:hover {
color: #91a4d2;
}
.footer-bottom {
max-width: 1200px;
margin: 48px auto 0;
padding: 20px 0;
border-top: 1px solid #1e222d;
text-align: center;
}
.footer-bottom p {
font-size: 13px;
color: #3d4556;
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 #1e222d;
}
.legal-content {
max-width: 760px;
margin: 0 auto;
padding: 48px 32px 80px;
flex: 1;
}
.legal-content h1 {
font-size: 36px;
font-weight: 700;
color: #f1f5f9;
margin: 0 0 32px;
}
.legal-content h2 {
font-size: 22px;
font-weight: 600;
color: #f1f5f9;
margin: 40px 0 12px;
}
.legal-content p {
font-size: 15px;
line-height: 1.7;
color: #8892a8;
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: #8892a8;
margin-bottom: 8px;
}
.legal-updated {
font-size: 14px;
color: #5a6478;
font-style: italic;
}
.legal-footer {
padding: 20px 32px;
border-top: 1px solid #1e222d;
display: flex;
gap: 24px;
justify-content: center;
}
.legal-footer a {
font-size: 14px;
color: #5a6478;
text-decoration: none;
transition: color 0.15s ease;
}
.legal-footer a:hover {
color: #91a4d2;
}
/* ===== 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, #91a4d2, #6d85c6);
color: #0a0c10;
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: #1e222d;
color: #e2e8f0;
border: 1px solid #2a2f3d;
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: #91a4d2;
}
.btn-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
background-color: transparent;
color: #8892a8;
border: 1px solid #2a2f3d;
border-radius: 8px;
cursor: pointer;
font-size: 16px;
transition: color 0.15s ease, border-color 0.15s ease;
}
.btn-icon:hover {
color: #e2e8f0;
border-color: #91a4d2;
}
.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: #8892a8;
}
.form-select,
.form-input {
padding: 10px 14px;
background-color: #1a1d26;
border: 1px solid #2a2f3d;
border-radius: 8px;
color: #e2e8f0;
font-size: 14px;
font-family: 'Inter', sans-serif;
outline: none;
transition: border-color 0.15s ease;
}
.form-select:focus,
.form-input:focus {
border-color: #91a4d2;
}
.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: #f1f5f9;
margin: 0 0 4px;
}
.page-subtitle {
font-size: 15px;
color: #8892a8;
margin: 0;
}
/* ===== Sub Navigation (Developer/Org tabs) ===== */
.sub-nav {
display: flex;
gap: 4px;
padding: 0 0 20px;
border-bottom: 1px solid #1e222d;
margin-bottom: 24px;
}
.sub-nav-item {
padding: 8px 16px;
border-radius: 8px;
font-size: 14px;
font-weight: 500;
color: #8892a8;
text-decoration: none;
transition: background-color 0.15s ease, color 0.15s ease;
}
.sub-nav-item:hover {
background-color: #1e222d;
color: #e2e8f0;
}
.sub-nav-item--active {
background-color: rgba(145, 164, 210, 0.12);
color: #91a4d2;
}
/* ===== 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 #2a2f3d;
background-color: transparent;
color: #8892a8;
font-size: 13px;
font-weight: 500;
cursor: pointer;
transition: all 0.15s ease;
font-family: 'Inter', sans-serif;
}
.filter-tab:hover {
border-color: #91a4d2;
color: #e2e8f0;
}
.filter-tab--active {
background-color: rgba(145, 164, 210, 0.12);
border-color: #91a4d2;
color: #91a4d2;
}
/* ===== News Card ===== */
.news-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
}
.news-card {
background-color: #1a1d26;
border: 1px solid #2a2f3d;
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: #91a4d2;
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: #91a4d2;
}
.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: #5a6478;
}
.news-card-date {
font-size: 12px;
color: #3d4556;
}
.news-card-title {
font-size: 16px;
font-weight: 600;
color: #f1f5f9;
margin: 0 0 8px;
line-height: 1.3;
}
.news-card-title a {
color: inherit;
text-decoration: none;
}
.news-card-title a:hover {
color: #91a4d2;
}
.news-card-summary {
font-size: 13px;
line-height: 1.5;
color: #8892a8;
margin: 0;
}
.news-card--selected {
border-color: #91a4d2;
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: #8892a8;
font-size: 14px;
}
/* ===== Topic Tabs ===== */
.topic-tab-wrapper {
display: inline-flex;
align-items: center;
gap: 2px;
}
.topic-remove {
background: none;
border: none;
color: #5a6478;
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 #2a2f3d;
background-color: transparent;
color: #5a6478;
font-size: 16px;
cursor: pointer;
transition: all 0.15s ease;
font-family: 'Inter', sans-serif;
line-height: 1;
}
.topic-add-btn:hover {
border-color: #91a4d2;
color: #91a4d2;
}
.topic-input-wrapper {
display: inline-flex;
align-items: center;
gap: 8px;
}
.topic-input {
padding: 5px 12px;
border-radius: 20px;
border: 1px solid #2a2f3d;
background-color: #1a1d26;
color: #e2e8f0;
font-size: 13px;
font-family: 'Inter', sans-serif;
outline: none;
width: 140px;
}
.topic-input:focus {
border-color: #91a4d2;
}
.topic-cancel-btn {
background: none;
border: none;
color: #5a6478;
font-size: 12px;
cursor: pointer;
}
.topic-cancel-btn:hover {
color: #e2e8f0;
}
/* ===== Settings Panel ===== */
.settings-toggle {
margin-left: auto;
}
.settings-panel {
background-color: #1a1d26;
border: 1px solid #2a2f3d;
border-radius: 12px;
padding: 20px;
margin-bottom: 24px;
}
.settings-panel-title {
font-size: 15px;
font-weight: 600;
color: #e2e8f0;
margin: 0 0 16px;
}
.settings-field {
margin-bottom: 12px;
}
.settings-field label {
display: block;
font-size: 12px;
color: #8892a8;
margin-bottom: 4px;
font-weight: 500;
}
.settings-input {
width: 100%;
max-width: 400px;
padding: 8px 12px;
border-radius: 8px;
border: 1px solid #2a2f3d;
background-color: #0f1116;
color: #e2e8f0;
font-size: 13px;
font-family: 'Inter', sans-serif;
outline: none;
}
.settings-input:focus {
border-color: #91a4d2;
}
.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: #1a1d26;
border: 1px solid #2a2f3d;
border-radius: 12px;
padding: 24px;
position: relative;
}
.article-detail-close {
position: absolute;
top: 16px;
right: 16px;
background: none;
border: 1px solid #2a2f3d;
color: #8892a8;
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: #f1f5f9;
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: #8892a8;
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: #5a6478;
}
.article-detail-body {
margin-bottom: 20px;
}
.article-detail-body p {
font-size: 14px;
line-height: 1.7;
color: #c8d0e0;
margin: 0;
}
.article-detail-link {
display: inline-block;
font-size: 13px;
color: #91a4d2;
text-decoration: none;
margin-bottom: 20px;
transition: color 0.15s ease;
}
.article-detail-link:hover {
color: #b4c4e8;
}
/* ---- 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: #c8d0e0;
margin: 0;
white-space: pre-wrap;
}
.ai-summary-bubble-label {
display: block;
font-size: 11px;
font-weight: 600;
color: #91a4d2;
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: #91a4d2;
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: #91a4d2;
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 #2a2f3d;
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: #d0d8ee;
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: #c8d0e0;
border-bottom-left-radius: 4px;
}
.chat-msg--typing {
padding: 12px 16px;
}
.article-chat-input {
display: flex;
gap: 8px;
}
.article-chat-textbox {
flex: 1;
background: #1a1e2e;
border: 1px solid #2a2f3d;
border-radius: 8px;
padding: 10px 14px;
font-size: 14px;
color: #c8d0e0;
outline: none;
transition: border-color 0.2s;
}
.article-chat-textbox:focus {
border-color: #6384d2;
}
.article-chat-textbox:disabled {
opacity: 0.5;
}
.article-chat-send {
background: #6384d2;
color: #fff;
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: #5270b8;
}
.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: #1a1d26;
border: 1px solid #2a2f3d;
border-radius: 12px;
padding: 28px;
}
.providers-status {
position: sticky;
top: 40px;
align-self: start;
}
.providers-status h3 {
font-size: 18px;
font-weight: 600;
color: #f1f5f9;
margin: 0 0 16px;
}
.status-card {
background-color: #1a1d26;
border: 1px solid #2a2f3d;
border-radius: 12px;
padding: 20px;
}
.status-row {
display: flex;
justify-content: space-between;
padding: 10px 0;
border-bottom: 1px solid #1e222d;
}
.status-row:last-child {
border-bottom: none;
}
.status-label {
font-size: 13px;
color: #8892a8;
}
.status-value {
font-size: 13px;
font-weight: 500;
color: #e2e8f0;
}
/* ===== 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 #1e222d;
display: flex;
flex-direction: column;
background-color: #0d0f14;
}
.chat-sidebar-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 20px;
border-bottom: 1px solid #1e222d;
}
.chat-sidebar-header h3 {
font-size: 16px;
font-weight: 600;
color: #f1f5f9;
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: #1e222d;
}
.chat-session-item--active {
background-color: rgba(145, 164, 210, 0.12);
}
.chat-session-title {
font-size: 14px;
font-weight: 500;
color: #e2e8f0;
margin-bottom: 4px;
}
.chat-session-date {
font-size: 12px;
color: #5a6478;
}
.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: #5a6478;
}
/* ===== 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: #e2e8f0;
border-bottom-right-radius: 4px;
}
.chat-bubble--assistant {
align-self: flex-start;
background-color: #1a1d26;
border: 1px solid #2a2f3d;
color: #e2e8f0;
border-bottom-left-radius: 4px;
}
.chat-bubble--system {
align-self: center;
background-color: transparent;
color: #5a6478;
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: #91a4d2;
}
.chat-bubble-time {
font-size: 11px;
color: #5a6478;
}
.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: #91a4d2;
}
/* -- Chat Input Bar -- */
.chat-input-bar {
display: flex;
align-items: center;
gap: 8px;
padding: 16px 24px;
border-top: 1px solid #1e222d;
background-color: #0d0f14;
}
.chat-input {
flex: 1;
padding: 10px 14px;
background-color: #1a1d26;
border: 1px solid #2a2f3d;
border-radius: 8px;
color: #e2e8f0;
font-size: 14px;
font-family: 'Inter', sans-serif;
outline: none;
}
.chat-input:focus {
border-color: #91a4d2;
}
.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: #1a1d26;
border: 1px solid #2a2f3d;
border-radius: 12px;
padding: 24px;
transition: border-color 0.2s ease;
}
.tool-card:hover {
border-color: #91a4d2;
}
.tool-card-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
}
.tool-card-icon {
font-size: 24px;
color: #91a4d2;
}
.tool-status {
width: 8px;
height: 8px;
border-radius: 50%;
}
.tool-status--active {
background-color: #4ade80;
}
.tool-status--inactive {
background-color: #5a6478;
}
.tool-status--error {
background-color: #f87171;
}
.tool-card-name {
font-size: 16px;
font-weight: 600;
color: #f1f5f9;
margin: 0 0 6px;
}
.tool-card-desc {
font-size: 13px;
line-height: 1.5;
color: #8892a8;
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: #5a6478;
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: #1e222d;
color: #5a6478;
}
/* ===== 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: #5a6478;
text-transform: uppercase;
letter-spacing: 0.05em;
padding: 12px 16px;
text-align: left;
border-bottom: 1px solid #1e222d;
}
.knowledge-table tbody td {
font-size: 14px;
color: #e2e8f0;
padding: 14px 16px;
border-bottom: 1px solid #1e222d;
}
.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: #91a4d2;
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: #1a1d26;
border: 1px solid #2a2f3d;
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: #91a4d2;
}
.placeholder-card h2 {
font-size: 24px;
font-weight: 700;
color: #f1f5f9;
margin: 0 0 12px;
}
.placeholder-desc {
font-size: 14px;
line-height: 1.6;
color: #8892a8;
margin: 0 0 24px;
}
.placeholder-badge {
display: inline-block;
margin-top: 12px;
font-size: 12px;
font-weight: 600;
color: #91a4d2;
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: #1a1d26;
border: 1px solid #2a2f3d;
border-radius: 12px;
}
.analytics-stat-value {
font-family: 'Space Grotesk', sans-serif;
font-size: 22px;
font-weight: 700;
color: #f1f5f9;
}
.analytics-stat-label {
font-size: 12px;
color: #5a6478;
}
.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: #1a1d26;
border: 1px solid #2a2f3d;
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: #91a4d2;
box-shadow: 0 0 30px rgba(145, 164, 210, 0.1);
position: relative;
}
.pricing-card-name {
font-size: 20px;
font-weight: 700;
color: #f1f5f9;
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: #f1f5f9;
}
.pricing-card-period {
font-size: 14px;
color: #5a6478;
}
.pricing-card-seats {
font-size: 13px;
color: #8892a8;
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: #8892a8;
padding: 6px 0;
border-bottom: 1px solid #1e222d;
}
.pricing-card-features li:last-child {
border-bottom: none;
}
.pricing-card-cta {
width: 100%;
padding: 12px;
background: linear-gradient(135deg, #91a4d2, #6d85c6);
color: #0a0c10;
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: #1a1d26;
border: 1px solid #2a2f3d;
border-radius: 12px;
}
.org-stat-value {
font-family: 'Space Grotesk', sans-serif;
font-size: 24px;
font-weight: 700;
color: #f1f5f9;
}
.org-stat-label {
font-size: 12px;
color: #5a6478;
}
/* ===== 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: #5a6478;
text-transform: uppercase;
letter-spacing: 0.05em;
padding: 12px 16px;
text-align: left;
border-bottom: 1px solid #1e222d;
}
.org-table tbody td {
font-size: 14px;
color: #e2e8f0;
padding: 14px 16px;
border-bottom: 1px solid #1e222d;
}
.member-row:hover {
background-color: rgba(145, 164, 210, 0.04);
}
.member-role-select {
padding: 6px 10px;
background-color: #1a1d26;
border: 1px solid #2a2f3d;
border-radius: 6px;
color: #e2e8f0;
font-size: 13px;
font-family: 'Inter', sans-serif;
outline: none;
}
.member-role-select:focus {
border-color: #91a4d2;
}
/* ===== 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: #1a1d26;
border: 1px solid #2a2f3d;
border-radius: 16px;
padding: 32px;
min-width: 400px;
max-width: 500px;
}
.modal-content h3 {
font-size: 20px;
font-weight: 700;
color: #f1f5f9;
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 #1e222d;
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: #5a6478;
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: #e2e8f0;
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: #91a4d2;
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: #8892a8;
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: #e2e8f0;
}
/* ===== 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 #1e222d;
}
.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;
}
}