Really-amin's picture
Upload 196 files
250b128 verified
raw
history blame
29 kB
/* Crypto Intelligence Hub - Enhanced Stylesheet with Sidebar Navigation */
:root {
/* Primary Colors */
--primary: #667eea;
--primary-dark: #764ba2;
--primary-light: #8b9aff;
--secondary: #f093fb;
--accent: #ff6b9d;
/* Status Colors */
--success: #10b981;
--danger: #ef4444;
--warning: #f59e0b;
--info: #3b82f6;
/* Background Colors */
--dark: #0a0e1a;
--dark-card: #111827;
--dark-hover: #1f2937;
--dark-elevated: #1a1f35;
/* Text Colors */
--text-primary: #f9fafb;
--text-secondary: #9ca3af;
--text-muted: #6b7280;
/* UI Elements */
--border: rgba(255, 255, 255, 0.1);
--border-light: rgba(255, 255, 255, 0.05);
--shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
--shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
--glow: 0 0 20px rgba(102, 126, 234, 0.3);
/* Sidebar */
--sidebar-width: 280px;
--sidebar-collapsed-width: 80px;
/* Gradients */
--gradient-purple: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
--gradient-blue: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
--gradient-green: linear-gradient(135deg, #10b981 0%, #059669 100%);
--gradient-orange: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
--gradient-pink: linear-gradient(135deg, #f093fb 0%, #ff6b9d 100%);
/* Transitions */
--transition-fast: 0.2s ease;
--transition-normal: 0.3s ease;
--transition-slow: 0.5s ease;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background: linear-gradient(135deg, var(--dark) 0%, #1a1f35 50%, #0f1729 100%);
background-attachment: fixed;
color: var(--text-primary);
line-height: 1.6;
min-height: 100vh;
overflow-x: hidden;
}
/* Animated background particles */
body::before {
content: '';
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image:
radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
radial-gradient(circle at 80% 80%, rgba(240, 147, 251, 0.05) 0%, transparent 50%),
radial-gradient(circle at 40% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
pointer-events: none;
z-index: 0;
}
/* =============================================================================
Layout Structure
============================================================================= */
.app-layout {
display: flex;
min-height: 100vh;
position: relative;
z-index: 1;
}
/* =============================================================================
Sidebar Navigation
============================================================================= */
.sidebar {
width: var(--sidebar-width);
background: linear-gradient(180deg, rgba(17, 24, 39, 0.95) 0%, rgba(31, 41, 55, 0.9) 100%);
backdrop-filter: blur(20px);
border-right: 1px solid var(--border);
display: flex;
flex-direction: column;
position: fixed;
top: 0;
left: 0;
height: 100vh;
z-index: 1000;
transition: transform var(--transition-normal);
box-shadow: var(--shadow);
}
.sidebar-header {
padding: 25px 20px;
border-bottom: 1px solid var(--border);
display: flex;
justify-content: space-between;
align-items: center;
}
.sidebar-logo {
display: flex;
align-items: center;
gap: 12px;
}
.sidebar-logo .logo-icon {
width: 45px;
height: 45px;
background: var(--gradient-purple);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
font-size: 22px;
color: white;
box-shadow: var(--glow);
animation: float 3s ease-in-out infinite;
}
@keyframes float {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-5px); }
}
.sidebar-logo .logo-text h1 {
font-size: 20px;
font-weight: 800;
background: linear-gradient(135deg, var(--primary), var(--secondary));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 2px;
}
.sidebar-logo .logo-text p {
font-size: 11px;
color: var(--text-secondary);
font-weight: 500;
}
.sidebar-toggle-btn {
display: none;
width: 32px;
height: 32px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid var(--border);
border-radius: 8px;
color: var(--text-primary);
cursor: pointer;
transition: var(--transition-fast);
}
.sidebar-toggle-btn:hover {
background: rgba(255, 255, 255, 0.1);
transform: rotate(90deg);
}
/* Sidebar Navigation */
.sidebar-nav {
flex: 1;
padding: 20px 15px;
overflow-y: auto;
}
.nav-item {
display: flex;
align-items: center;
gap: 12px;
padding: 14px 18px;
background: transparent;
border: 1px solid transparent;
border-radius: 12px;
color: var(--text-secondary);
cursor: pointer;
font-size: 15px;
font-weight: 600;
transition: all var(--transition-fast);
width: 100%;
text-align: left;
margin-bottom: 8px;
}
.nav-item svg {
width: 20px;
height: 20px;
flex-shrink: 0;
stroke-width: 2;
}
.nav-item:hover {
background: rgba(102, 126, 234, 0.1);
border-color: var(--primary);
color: var(--text-primary);
transform: translateX(5px);
}
.nav-item.active {
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
border-color: var(--primary);
color: white;
box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}
/* Sidebar Footer */
.sidebar-footer {
padding: 20px;
border-top: 1px solid var(--border);
}
.status-indicator {
display: flex;
align-items: center;
gap: 10px;
padding: 12px;
background: rgba(16, 185, 129, 0.15);
border: 1px solid rgba(16, 185, 129, 0.3);
border-radius: 10px;
font-size: 13px;
font-weight: 600;
margin-bottom: 12px;
}
.status-dot {
width: 10px;
height: 10px;
background: var(--success);
border-radius: 50%;
animation: pulse 2s infinite;
}
@keyframes pulse {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.5; transform: scale(1.2); }
}
.sidebar-stats {
display: flex;
gap: 10px;
}
.stat-mini {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
padding: 12px;
background: rgba(31, 41, 55, 0.6);
border-radius: 10px;
border: 1px solid var(--border);
}
.stat-mini svg {
width: 16px;
height: 16px;
color: var(--primary);
margin-bottom: 5px;
stroke-width: 2;
}
.stat-mini span {
font-size: 18px;
font-weight: 700;
color: var(--text-primary);
}
/* Sidebar Overlay for Mobile */
.sidebar-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
backdrop-filter: blur(5px);
z-index: 999;
opacity: 0;
transition: opacity var(--transition-normal);
}
.sidebar-overlay.active {
display: block;
opacity: 1;
}
/* =============================================================================
Main Wrapper
============================================================================= */
.main-wrapper {
flex: 1;
margin-left: var(--sidebar-width);
display: flex;
flex-direction: column;
min-height: 100vh;
transition: margin-left var(--transition-normal);
}
/* Top Header */
.top-header {
background: linear-gradient(135deg, rgba(17, 24, 39, 0.9) 0%, rgba(31, 41, 55, 0.7) 100%);
backdrop-filter: blur(20px);
border-bottom: 1px solid var(--border);
padding: 20px 30px;
display: flex;
align-items: center;
gap: 20px;
box-shadow: var(--shadow);
position: sticky;
top: 0;
z-index: 100;
}
.hamburger-btn {
display: none;
width: 40px;
height: 40px;
background: rgba(102, 126, 234, 0.2);
border: 1px solid var(--primary);
border-radius: 10px;
color: var(--text-primary);
cursor: pointer;
font-size: 18px;
transition: var(--transition-fast);
}
.hamburger-btn:hover {
background: var(--gradient-purple);
transform: scale(1.05);
}
.header-title {
flex: 1;
}
.header-title h2 {
font-size: 24px;
font-weight: 700;
background: linear-gradient(135deg, var(--primary), var(--secondary));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 2px;
}
.header-title p {
font-size: 13px;
color: var(--text-secondary);
}
.header-actions {
display: flex;
gap: 10px;
}
.icon-btn {
width: 40px;
height: 40px;
background: rgba(31, 41, 55, 0.6);
border: 1px solid var(--border);
border-radius: 10px;
color: var(--text-primary);
cursor: pointer;
transition: var(--transition-fast);
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
}
.icon-btn:hover {
background: var(--gradient-purple);
border-color: var(--primary);
transform: translateY(-2px);
}
/* =============================================================================
Content Area
============================================================================= */
.content-area {
flex: 1;
padding: 30px;
overflow-y: auto;
}
.tab-panel {
display: none;
}
.tab-panel.active {
display: block;
animation: fadeIn 0.3s;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
/* =============================================================================
Cards & Components
============================================================================= */
.glass-card {
background: rgba(17, 24, 39, 0.6);
backdrop-filter: blur(10px);
border: 1px solid var(--border);
border-radius: 16px;
padding: 25px;
margin-bottom: 20px;
transition: all var(--transition-normal);
}
.glass-card:hover {
border-color: rgba(102, 126, 234, 0.3);
box-shadow: 0 8px 32px rgba(102, 126, 234, 0.15);
}
.glass-card h3 {
font-size: 20px;
margin-bottom: 20px;
color: var(--text-primary);
border-bottom: 2px solid var(--border);
padding-bottom: 10px;
}
.card-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
}
.card-header h3 {
margin-bottom: 0;
border-bottom: none;
padding-bottom: 0;
}
/* Stats Grid */
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin-bottom: 30px;
}
.stat-card {
background: linear-gradient(135deg, rgba(17, 24, 39, 0.8), rgba(31, 41, 55, 0.6));
border: 1px solid var(--border);
border-radius: 16px;
padding: 25px;
display: flex;
align-items: center;
gap: 20px;
transition: all var(--transition-normal);
backdrop-filter: blur(10px);
position: relative;
overflow: hidden;
}
.stat-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.05) 100%);
opacity: 0;
transition: var(--transition-normal);
}
.stat-card:hover {
transform: translateY(-5px);
box-shadow: var(--shadow);
}
.stat-card:hover::before {
opacity: 1;
}
.stat-card.gradient-purple {
border-left: 4px solid #667eea;
}
.stat-card.gradient-green {
border-left: 4px solid #10b981;
}
.stat-card.gradient-blue {
border-left: 4px solid #3b82f6;
}
.stat-card.gradient-orange {
border-left: 4px solid #f59e0b;
}
.stat-icon {
width: 70px;
height: 70px;
border-radius: 16px;
display: flex;
align-items: center;
justify-content: center;
font-size: 32px;
flex-shrink: 0;
}
.stat-card.gradient-purple .stat-icon {
background: var(--gradient-purple);
color: white;
box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}
.stat-card.gradient-green .stat-icon {
background: var(--gradient-green);
color: white;
box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}
.stat-card.gradient-blue .stat-icon {
background: var(--gradient-blue);
color: white;
box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}
.stat-card.gradient-orange .stat-icon {
background: var(--gradient-orange);
color: white;
box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}
.stat-content {
flex: 1;
}
.stat-value {
font-size: 36px;
font-weight: 800;
color: var(--primary);
margin-bottom: 5px;
}
.stat-label {
font-size: 14px;
color: var(--text-secondary);
font-weight: 600;
}
.stat-trend {
font-size: 12px;
color: var(--text-secondary);
margin-top: 5px;
display: flex;
align-items: center;
gap: 5px;
}
.stat-trend i {
color: var(--success);
}
/* Grid Layouts */
.grid-2 {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
gap: 20px;
}
/* =============================================================================
Forms
============================================================================= */
.form-group {
margin-bottom: 20px;
}
.form-group label {
display: block;
margin-bottom: 8px;
font-weight: 600;
color: var(--text-primary);
}
.form-group input,
.form-group textarea,
.form-group select {
width: 100%;
padding: 12px;
background: rgba(31, 41, 55, 0.6);
border: 1px solid var(--border);
border-radius: 10px;
color: var(--text-primary);
font-family: inherit;
font-size: 14px;
transition: var(--transition-fast);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
outline: none;
border-color: var(--primary);
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.form-group textarea {
resize: vertical;
min-height: 80px;
}
/* =============================================================================
Buttons
============================================================================= */
.btn-primary, .btn-refresh {
padding: 12px 24px;
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
border: none;
border-radius: 10px;
color: white;
font-weight: 600;
cursor: pointer;
transition: all var(--transition-fast);
font-size: 14px;
position: relative;
overflow: hidden;
}
.btn-primary::before, .btn-refresh::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
border-radius: 50%;
background: rgba(255, 255, 255, 0.2);
transform: translate(-50%, -50%);
transition: width 0.6s, height 0.6s;
}
.btn-primary:hover, .btn-refresh:hover {
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}
.btn-primary:hover::before, .btn-refresh:hover::before {
width: 300px;
height: 300px;
}
.btn-refresh {
background: rgba(102, 126, 234, 0.2);
border: 1px solid var(--primary);
}
/* =============================================================================
Tables
============================================================================= */
table {
width: 100%;
border-collapse: collapse;
}
table th,
table td {
padding: 12px;
text-align: left;
border-bottom: 1px solid var(--border);
}
table th {
background: rgba(31, 41, 55, 0.6);
font-weight: 600;
color: var(--text-primary);
}
table tr:hover {
background: rgba(102, 126, 234, 0.05);
}
/* =============================================================================
Alerts
============================================================================= */
.alert {
padding: 15px;
border-radius: 10px;
margin-bottom: 15px;
}
.alert-success {
background: rgba(16, 185, 129, 0.15);
border: 1px solid rgba(16, 185, 129, 0.3);
color: var(--success);
}
.alert-error {
background: rgba(239, 68, 68, 0.15);
border: 1px solid rgba(239, 68, 68, 0.3);
color: var(--danger);
}
.alert-warning {
background: rgba(245, 158, 11, 0.15);
border: 1px solid rgba(245, 158, 11, 0.3);
color: var(--warning);
}
/* =============================================================================
Loading States
============================================================================= */
.loading {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 40px;
color: var(--text-secondary);
}
.spinner {
border: 3px solid var(--border);
border-top: 3px solid var(--primary);
border-radius: 50%;
width: 40px;
height: 40px;
animation: spin 1s linear infinite;
margin: 0 auto 15px;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* =============================================================================
Utility Classes
============================================================================= */
.text-secondary {
color: var(--text-secondary);
margin-bottom: 15px;
}
/* =============================================================================
Scrollbar
============================================================================= */
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-track {
background: var(--dark-card);
}
::-webkit-scrollbar-thumb {
background: var(--gradient-purple);
border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--primary-light);
}
/* =============================================================================
Responsive Design (Mobile First)
============================================================================= */
@media (max-width: 768px) {
/* Hide sidebar by default on mobile */
.sidebar {
transform: translateX(-100%);
}
.sidebar.active {
transform: translateX(0);
}
.sidebar-toggle-btn {
display: flex;
align-items: center;
justify-content: center;
}
/* Show hamburger button */
.hamburger-btn {
display: flex;
}
/* Adjust main wrapper */
.main-wrapper {
margin-left: 0;
}
/* Adjust content padding */
.content-area {
padding: 15px;
}
.top-header {
padding: 15px 20px;
}
/* Adjust grids */
.stats-grid {
grid-template-columns: 1fr;
}
.grid-2 {
grid-template-columns: 1fr;
}
/* Adjust stat cards */
.stat-card {
flex-direction: column;
text-align: center;
}
.stat-card .stat-icon {
width: 60px;
height: 60px;
font-size: 28px;
}
/* Adjust header title */
.header-title h2 {
font-size: 18px;
}
.header-title p {
font-size: 11px;
}
}
/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
.stats-grid {
grid-template-columns: repeat(2, 1fr);
}
}
/* =============================================================================
Light Theme
============================================================================= */
body.light-theme {
--dark: #f3f4f6;
--dark-card: #ffffff;
--dark-hover: #f9fafb;
--dark-elevated: #e5e7eb;
--text-primary: #111827;
--text-secondary: #6b7280;
--text-muted: #9ca3af;
--border: rgba(0, 0, 0, 0.1);
--border-light: rgba(0, 0, 0, 0.05);
--shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
--shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 50%, #d1d5db 100%);
}
body.light-theme::before {
background-image:
radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
radial-gradient(circle at 80% 80%, rgba(240, 147, 251, 0.08) 0%, transparent 50%),
radial-gradient(circle at 40% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
}
body.light-theme .sidebar {
background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 250, 251, 0.9) 100%);
}
body.light-theme .top-header {
background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(249, 250, 251, 0.7) 100%);
}
body.light-theme .glass-card,
body.light-theme .stat-card {
background: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(10px);
}
body.light-theme .form-group input,
body.light-theme .form-group textarea,
body.light-theme .form-group select {
background: rgba(249, 250, 251, 0.8);
}
body.light-theme table th {
background: rgba(249, 250, 251, 0.8);
}
body.light-theme ::-webkit-scrollbar-track {
background: #e5e7eb;
}
/* =============================================================================
News Cards - Modern Design
============================================================================= */
.news-card {
background: rgba(17, 24, 39, 0.6);
backdrop-filter: blur(10px);
border: 1px solid var(--border);
border-radius: 16px;
padding: 20px;
margin-bottom: 20px;
display: flex;
gap: 20px;
transition: all var(--transition-normal);
cursor: pointer;
}
.news-card:hover {
border-color: rgba(102, 126, 234, 0.5);
box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2);
transform: translateY(-2px);
}
.news-card-image {
width: 120px;
height: 120px;
border-radius: 12px;
object-fit: cover;
flex-shrink: 0;
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 32px;
}
.news-card-content {
flex: 1;
min-width: 0;
}
.news-card-title {
font-size: 18px;
font-weight: 700;
color: var(--text-primary);
margin-bottom: 10px;
line-height: 1.4;
}
.news-card-title a {
color: var(--text-primary);
text-decoration: none;
transition: color var(--transition-fast);
}
.news-card-title a:hover {
color: var(--primary);
}
.news-card-excerpt {
color: var(--text-secondary);
font-size: 14px;
line-height: 1.6;
margin-bottom: 12px;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.news-card-meta {
display: flex;
align-items: center;
gap: 15px;
flex-wrap: wrap;
font-size: 12px;
color: var(--text-muted);
}
.news-card-source {
display: flex;
align-items: center;
gap: 6px;
padding: 4px 10px;
background: rgba(102, 126, 234, 0.1);
border-radius: 6px;
font-weight: 600;
}
.news-card-time {
display: flex;
align-items: center;
gap: 6px;
}
.news-card-time svg {
width: 14px;
height: 14px;
}
.news-card-symbols {
display: flex;
gap: 6px;
flex-wrap: wrap;
}
.symbol-badge {
padding: 3px 8px;
background: rgba(59, 130, 246, 0.15);
border: 1px solid rgba(59, 130, 246, 0.3);
border-radius: 4px;
font-size: 11px;
font-weight: 600;
color: var(--info);
}
/* =============================================================================
Sentiment Visualizations
============================================================================= */
.sentiment-gauge-container {
position: relative;
width: 300px;
height: 150px;
margin: 20px auto;
}
.sentiment-gauge {
width: 100%;
height: 100%;
}
.sentiment-trend-arrow {
display: inline-block;
width: 24px;
height: 24px;
margin: 0 8px;
vertical-align: middle;
animation: pulse-arrow 2s ease-in-out infinite;
}
.sentiment-trend-arrow.bullish {
color: var(--success);
}
.sentiment-trend-arrow.bearish {
color: var(--danger);
transform: rotate(180deg);
}
.sentiment-trend-arrow.neutral {
color: var(--warning);
transform: rotate(90deg);
}
@keyframes pulse-arrow {
0%, 100% { transform: translateY(0); opacity: 1; }
50% { transform: translateY(-5px); opacity: 0.7; }
}
.confidence-bar-container {
margin: 15px 0;
}
.confidence-bar-label {
display: flex;
justify-content: space-between;
margin-bottom: 8px;
font-size: 13px;
color: var(--text-secondary);
}
.confidence-bar {
width: 100%;
height: 12px;
background: rgba(31, 41, 55, 0.6);
border-radius: 6px;
overflow: hidden;
position: relative;
}
.confidence-bar-fill {
height: 100%;
background: linear-gradient(90deg, var(--primary), var(--primary-light));
border-radius: 6px;
transition: width 1s ease-out;
position: relative;
overflow: hidden;
}
.confidence-bar-fill::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
animation: shimmer 2s infinite;
}
@keyframes shimmer {
0% { transform: translateX(-100%); }
100% { transform: translateX(100%); }
}
.sentiment-badge {
display: inline-block;
padding: 6px 12px;
border-radius: 6px;
font-size: 12px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.sentiment-badge.bullish,
.sentiment-badge.positive {
background: rgba(16, 185, 129, 0.2);
border: 1px solid rgba(16, 185, 129, 0.4);
color: var(--success);
}
.sentiment-badge.bearish,
.sentiment-badge.negative {
background: rgba(239, 68, 68, 0.2);
border: 1px solid rgba(239, 68, 68, 0.4);
color: var(--danger);
}
.sentiment-badge.neutral {
background: rgba(245, 158, 11, 0.2);
border: 1px solid rgba(245, 158, 11, 0.4);
color: var(--warning);
}
.ai-result-card {
background: rgba(17, 24, 39, 0.6);
backdrop-filter: blur(10px);
border: 1px solid var(--border);
border-radius: 16px;
padding: 25px;
margin-top: 20px;
}
.ai-result-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
padding-bottom: 15px;
border-bottom: 1px solid var(--border);
}
.ai-result-header h4 {
font-size: 20px;
font-weight: 700;
color: var(--text-primary);
}
.ai-result-metric {
text-align: center;
}
.ai-result-metric-value {
font-size: 36px;
font-weight: 800;
margin-bottom: 5px;
}
.ai-result-metric-label {
font-size: 13px;
color: var(--text-secondary);
text-transform: uppercase;
letter-spacing: 1px;
}
/* =============================================================================
Utility Classes
============================================================================= */
.time-ago {
color: var(--text-muted);
font-size: 12px;
display: inline-flex;
align-items: center;
gap: 4px;
}
.icon-btn svg {
width: 18px;
height: 18px;
stroke-width: 2;
}
.hamburger-btn svg {
width: 24px;
height: 24px;
stroke-width: 2;
}
.sidebar-toggle-btn svg {
width: 20px;
height: 20px;
stroke-width: 2;
}
.btn-primary svg,
.btn-refresh svg {
width: 16px;
height: 16px;
stroke-width: 2;
vertical-align: middle;
}
/* Responsive adjustments for news cards */
@media (max-width: 768px) {
.news-card {
flex-direction: column;
}
.news-card-image {
width: 100%;
height: 200px;
}
.sentiment-gauge-container {
width: 100%;
max-width: 300px;
}
}