474 lines
7.3 KiB
CSS
474 lines
7.3 KiB
CSS
/* LLM Intelligence Hub - App Styles */
|
|
.app {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
}
|
|
|
|
.navbar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 24px;
|
|
padding-bottom: 16px;
|
|
border-bottom: 2px solid #e5e7eb;
|
|
}
|
|
|
|
.navbar h1 {
|
|
margin: 0;
|
|
font-size: 24px;
|
|
color: #1f2937;
|
|
}
|
|
|
|
.tabs {
|
|
display: flex;
|
|
gap: 12px;
|
|
}
|
|
|
|
.tabs button {
|
|
padding: 8px 16px;
|
|
border: 1px solid #d1d5db;
|
|
border-radius: 6px;
|
|
background: white;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.tabs button:hover {
|
|
background: #f3f4f6;
|
|
}
|
|
|
|
.tabs button.active {
|
|
background: #3b82f6;
|
|
color: white;
|
|
border-color: #3b82f6;
|
|
}
|
|
|
|
.main {
|
|
min-height: 600px;
|
|
}
|
|
|
|
.filters {
|
|
display: flex;
|
|
gap: 12px;
|
|
align-items: center;
|
|
margin-bottom: 16px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.filters select {
|
|
padding: 8px 10px;
|
|
border: 1px solid #d1d5db;
|
|
border-radius: 6px;
|
|
background: #fff;
|
|
}
|
|
|
|
.count {
|
|
color: #4b5563;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.model-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
background: #fff;
|
|
border: 1px solid #e5e7eb;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.model-table th,
|
|
.model-table td {
|
|
padding: 12px 14px;
|
|
border-bottom: 1px solid #e5e7eb;
|
|
text-align: left;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.model-table th {
|
|
background: #f9fafb;
|
|
color: #111827;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.model-table tr.free {
|
|
background: #f0fdf4;
|
|
}
|
|
|
|
.model-table tr.stale {
|
|
background: #fff7ed;
|
|
}
|
|
|
|
.model-name {
|
|
font-weight: 600;
|
|
color: #111827;
|
|
}
|
|
|
|
.model-id {
|
|
margin-top: 4px;
|
|
color: #6b7280;
|
|
font-size: 12px;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.status-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 2px 8px;
|
|
border-radius: 999px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
text-transform: lowercase;
|
|
}
|
|
|
|
.status-fresh {
|
|
background: #dcfce7;
|
|
color: #166534;
|
|
}
|
|
|
|
.status-stale {
|
|
background: #fed7aa;
|
|
color: #9a3412;
|
|
}
|
|
|
|
.pagination {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 12px;
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.pagination button {
|
|
padding: 8px 14px;
|
|
border: 1px solid #d1d5db;
|
|
border-radius: 6px;
|
|
background: #fff;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.pagination button:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.dashboard h2 {
|
|
margin: 0 0 16px;
|
|
color: #111827;
|
|
}
|
|
|
|
.stats-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
gap: 16px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.stat-card {
|
|
padding: 18px;
|
|
border: 1px solid #e5e7eb;
|
|
border-radius: 12px;
|
|
background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
|
|
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
|
|
}
|
|
|
|
.stat-card.subscription {
|
|
border-color: #f59e0b;
|
|
background: linear-gradient(180deg, #fffbeb 0%, #fff7ed 100%);
|
|
}
|
|
|
|
.stat-value {
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
line-height: 1.1;
|
|
color: #111827;
|
|
}
|
|
|
|
.stat-label {
|
|
margin-top: 8px;
|
|
color: #4b5563;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.chart-container {
|
|
margin-bottom: 24px;
|
|
padding: 20px;
|
|
border: 1px solid #e5e7eb;
|
|
border-radius: 12px;
|
|
background: #fff;
|
|
}
|
|
|
|
.report-section {
|
|
margin-bottom: 24px;
|
|
padding: 20px;
|
|
border: 1px solid #bfdbfe;
|
|
border-radius: 12px;
|
|
background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
|
|
}
|
|
|
|
.report-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.report-header h3 {
|
|
margin: 0;
|
|
color: #111827;
|
|
}
|
|
|
|
.report-header p {
|
|
margin: 6px 0 0;
|
|
color: #6b7280;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.report-status {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 8px 12px;
|
|
border-radius: 999px;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
text-transform: lowercase;
|
|
}
|
|
|
|
.report-status-generated {
|
|
background: #dbeafe;
|
|
color: #1d4ed8;
|
|
}
|
|
|
|
.report-status-other {
|
|
background: #e5e7eb;
|
|
color: #374151;
|
|
}
|
|
|
|
.report-card {
|
|
padding: 18px;
|
|
border: 1px solid #dbeafe;
|
|
border-radius: 18px;
|
|
background:
|
|
radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 35%),
|
|
rgba(255, 255, 255, 0.94);
|
|
box-shadow: 0 12px 30px rgba(37, 99, 235, 0.08);
|
|
}
|
|
|
|
.report-hero {
|
|
padding: 18px;
|
|
border-radius: 16px;
|
|
background: linear-gradient(135deg, #123c63 0%, #24507a 100%);
|
|
color: #ffffff;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.report-eyebrow {
|
|
font-size: 12px;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
opacity: 0.78;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.report-summary {
|
|
font-size: 22px;
|
|
line-height: 1.35;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.report-meta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
margin-bottom: 14px;
|
|
color: #4b5563;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.report-highlights {
|
|
display: grid;
|
|
gap: 10px;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.report-highlight {
|
|
display: grid;
|
|
gap: 4px;
|
|
padding: 12px 14px;
|
|
border-radius: 12px;
|
|
background: rgba(239, 246, 255, 0.92);
|
|
border: 1px solid #dbeafe;
|
|
}
|
|
|
|
.report-highlight strong {
|
|
color: #1e3a8a;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.report-highlight span {
|
|
color: #475569;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.report-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
}
|
|
|
|
.report-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 10px 14px;
|
|
border: 1px solid #93c5fd;
|
|
border-radius: 8px;
|
|
color: #1d4ed8;
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
background: #ffffff;
|
|
}
|
|
|
|
.report-link-primary {
|
|
background: #2563eb;
|
|
border-color: #2563eb;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.report-note {
|
|
margin-top: 12px;
|
|
color: #6b7280;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.subscription-section {
|
|
padding: 20px;
|
|
border: 1px solid #fde68a;
|
|
border-radius: 12px;
|
|
background: linear-gradient(180deg, #fffdf5 0%, #ffffff 100%);
|
|
}
|
|
|
|
.subscription-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.subscription-header h3 {
|
|
margin: 0;
|
|
color: #111827;
|
|
}
|
|
|
|
.subscription-header p {
|
|
margin: 6px 0 0;
|
|
color: #6b7280;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.subscription-summary {
|
|
display: inline-flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
padding: 10px 14px;
|
|
border-radius: 999px;
|
|
background: #fff7ed;
|
|
color: #9a3412;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.subscription-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
background: #fff;
|
|
border: 1px solid #f3f4f6;
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.subscription-table th,
|
|
.subscription-table td {
|
|
padding: 12px 14px;
|
|
border-bottom: 1px solid #f3f4f6;
|
|
text-align: left;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.subscription-table th {
|
|
background: #fffbeb;
|
|
color: #111827;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.subscription-table tbody tr:last-child td {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.plan-name {
|
|
font-weight: 600;
|
|
color: #111827;
|
|
}
|
|
|
|
.plan-meta {
|
|
margin-top: 4px;
|
|
color: #6b7280;
|
|
font-size: 12px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.subscription-empty {
|
|
padding: 18px;
|
|
border: 1px dashed #d1d5db;
|
|
border-radius: 10px;
|
|
background: #f9fafb;
|
|
color: #6b7280;
|
|
text-align: center;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.app {
|
|
padding: 16px;
|
|
}
|
|
|
|
.navbar {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
}
|
|
|
|
.subscription-header {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.report-header {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.report-summary {
|
|
font-size: 24px;
|
|
}
|
|
|
|
.report-actions {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.report-link {
|
|
width: 100%;
|
|
}
|
|
|
|
.subscription-summary {
|
|
white-space: normal;
|
|
}
|
|
|
|
.subscription-table {
|
|
display: block;
|
|
overflow-x: auto;
|
|
}
|
|
}
|