2212 lines
50 KiB
CSS
2212 lines
50 KiB
CSS
/* ══════════════════════════════════════════════════════════
|
|
FinanceIQ v5 — Professional Design System
|
|
Light/Dark Mode · Sidebar Layout · Glassmorphism Cards
|
|
══════════════════════════════════════════════════════════ */
|
|
|
|
/* ── FONTS ─────────────────────────────────────────────── */
|
|
:root {
|
|
--font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
--radius: 12px;
|
|
--radius-sm: 8px;
|
|
--radius-xs: 6px;
|
|
--sidebar-width: 240px;
|
|
--topbar-height: 60px;
|
|
--transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
/* ── DARK THEME (default) ──────────────────────────────── */
|
|
[data-theme="dark"] {
|
|
--bg-root: #0a0e17;
|
|
--bg-sidebar: #0f1420;
|
|
--bg-card: #141a2a;
|
|
--bg-card-hover: #1a2236;
|
|
--bg-input: #1a2236;
|
|
--bg-topbar: rgba(10, 14, 23, 0.85);
|
|
--bg-overlay: rgba(0, 0, 0, 0.6);
|
|
--border: #1e2a3e;
|
|
--border-light: #253047;
|
|
--text-primary: #e8ecf4;
|
|
--text-secondary: #8b95a8;
|
|
--text-muted: #5a6577;
|
|
--accent: #4f8cff;
|
|
--accent-hover: #6ba0ff;
|
|
--accent-glow: rgba(79, 140, 255, 0.15);
|
|
--success: #34d399;
|
|
--success-bg: rgba(52, 211, 153, 0.1);
|
|
--danger: #f87171;
|
|
--danger-bg: rgba(248, 113, 113, 0.1);
|
|
--warning: #fbbf24;
|
|
--warning-bg: rgba(251, 191, 36, 0.1);
|
|
--neutral-bg: rgba(139, 149, 168, 0.1);
|
|
--shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
|
|
--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
|
|
--chart-bg: #141a2a;
|
|
--chart-text: #8b95a8;
|
|
--chart-grid: #1e2a3e;
|
|
}
|
|
|
|
/* ── LIGHT THEME ───────────────────────────────────────── */
|
|
[data-theme="light"] {
|
|
--bg-root: #f4f6fa;
|
|
--bg-sidebar: #ffffff;
|
|
--bg-card: #ffffff;
|
|
--bg-card-hover: #f8f9fc;
|
|
--bg-input: #f0f2f6;
|
|
--bg-topbar: rgba(244, 246, 250, 0.9);
|
|
--bg-overlay: rgba(255, 255, 255, 0.6);
|
|
--border: #e2e6ef;
|
|
--border-light: #eaeef5;
|
|
--text-primary: #1a1f2e;
|
|
--text-secondary: #5a6577;
|
|
--text-muted: #8b95a8;
|
|
--accent: #3b72e9;
|
|
--accent-hover: #2b5fd4;
|
|
--accent-glow: rgba(59, 114, 233, 0.1);
|
|
--success: #16a34a;
|
|
--success-bg: rgba(22, 163, 74, 0.08);
|
|
--danger: #dc2626;
|
|
--danger-bg: rgba(220, 38, 38, 0.08);
|
|
--warning: #d97706;
|
|
--warning-bg: rgba(217, 119, 6, 0.08);
|
|
--neutral-bg: rgba(90, 101, 119, 0.06);
|
|
--shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
|
|
--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
|
|
--chart-bg: #ffffff;
|
|
--chart-text: #5a6577;
|
|
--chart-grid: #e2e6ef;
|
|
}
|
|
|
|
/* ── RESET ─────────────────────────────────────────────── */
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font);
|
|
background: var(--bg-root);
|
|
color: var(--text-primary);
|
|
line-height: 1.6;
|
|
-webkit-font-smoothing: antialiased;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
/* ══════════════════════════════════════════════════════════
|
|
WELCOME PAGE
|
|
══════════════════════════════════════════════════════════ */
|
|
.welcome-page {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 9999;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: linear-gradient(135deg, #0a0e17 0%, #0d1525 40%, #111d35 100%);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.welcome-bg {
|
|
position: absolute;
|
|
inset: 0;
|
|
background:
|
|
radial-gradient(ellipse at 20% 50%, rgba(79, 140, 255, 0.08) 0%, transparent 50%),
|
|
radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.06) 0%, transparent 40%),
|
|
radial-gradient(ellipse at 50% 80%, rgba(52, 211, 153, 0.04) 0%, transparent 40%);
|
|
}
|
|
|
|
.welcome-content {
|
|
position: relative;
|
|
text-align: center;
|
|
max-width: 900px;
|
|
padding: 40px 24px;
|
|
animation: welcomeFadeIn 0.8s ease-out;
|
|
}
|
|
|
|
@keyframes welcomeFadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.welcome-logo {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 16px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.welcome-icon-wrap {
|
|
width: 56px;
|
|
height: 56px;
|
|
border-radius: 16px;
|
|
background: linear-gradient(135deg, var(--accent), #8b5cf6);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-shadow: 0 8px 32px rgba(79, 140, 255, 0.3);
|
|
}
|
|
|
|
.welcome-lucide-icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
color: white;
|
|
}
|
|
|
|
.welcome-title {
|
|
font-size: 48px;
|
|
font-weight: 700;
|
|
color: white;
|
|
letter-spacing: -1px;
|
|
}
|
|
|
|
.badge-version {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 2px 10px;
|
|
background: var(--accent-glow);
|
|
border: 1px solid var(--accent);
|
|
color: var(--accent);
|
|
border-radius: 20px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.badge-sm {
|
|
font-size: 10px;
|
|
padding: 1px 8px;
|
|
}
|
|
|
|
.welcome-subtitle {
|
|
font-size: 20px;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
font-weight: 400;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.welcome-desc {
|
|
font-size: 14px;
|
|
color: rgba(255, 255, 255, 0.45);
|
|
line-height: 1.8;
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.welcome-features {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 16px;
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.wf-card {
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: var(--radius);
|
|
padding: 24px 16px;
|
|
text-align: center;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.wf-card:hover {
|
|
background: rgba(255, 255, 255, 0.07);
|
|
border-color: rgba(79, 140, 255, 0.3);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.wf-lucide {
|
|
width: 32px;
|
|
height: 32px;
|
|
color: var(--accent);
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.wf-card h3 {
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: white;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.wf-card p {
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.welcome-cta {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 14px 36px;
|
|
background: linear-gradient(135deg, var(--accent), #6366f1);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 50px;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
box-shadow: 0 8px 32px rgba(79, 140, 255, 0.3);
|
|
}
|
|
|
|
.welcome-cta:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 12px 40px rgba(79, 140, 255, 0.4);
|
|
}
|
|
|
|
.welcome-footer {
|
|
margin-top: 32px;
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.25);
|
|
}
|
|
|
|
/* ══════════════════════════════════════════════════════════
|
|
APP LAYOUT (Sidebar + Main)
|
|
══════════════════════════════════════════════════════════ */
|
|
.app-layout {
|
|
display: flex;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
/* ── SIDEBAR ───────────────────────────────────────────── */
|
|
.sidebar {
|
|
width: var(--sidebar-width);
|
|
background: var(--bg-sidebar);
|
|
border-right: 1px solid var(--border);
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
z-index: 100;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.sidebar.collapsed {
|
|
transform: translateX(-100%);
|
|
}
|
|
|
|
.sidebar-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 20px 20px 24px;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.brand-icon {
|
|
width: 28px;
|
|
height: 28px;
|
|
color: var(--accent);
|
|
}
|
|
|
|
.brand-text {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
letter-spacing: -0.5px;
|
|
}
|
|
|
|
.sidebar-nav {
|
|
flex: 1;
|
|
padding: 12px 8px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.nav-group-label {
|
|
padding: 16px 12px 6px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.nav-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
width: 100%;
|
|
padding: 10px 12px;
|
|
background: none;
|
|
border: none;
|
|
border-radius: var(--radius-sm);
|
|
color: var(--text-secondary);
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
text-align: left;
|
|
}
|
|
|
|
.nav-item i {
|
|
width: 20px;
|
|
height: 20px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.nav-item:hover {
|
|
background: var(--accent-glow);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.nav-item.active {
|
|
background: var(--accent-glow);
|
|
color: var(--accent);
|
|
}
|
|
|
|
.nav-item.active i {
|
|
color: var(--accent);
|
|
}
|
|
|
|
.sidebar-bottom {
|
|
padding: 8px;
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
/* ── MAIN CONTENT ──────────────────────────────────────── */
|
|
.main-content {
|
|
flex: 1;
|
|
margin-left: var(--sidebar-width);
|
|
min-height: 100vh;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.sidebar.collapsed~.main-content {
|
|
margin-left: 0;
|
|
}
|
|
|
|
/* ── TOP BAR ───────────────────────────────────────────── */
|
|
.topbar {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 50;
|
|
background: var(--bg-topbar);
|
|
backdrop-filter: blur(16px);
|
|
border-bottom: 1px solid var(--border);
|
|
padding: 12px 24px;
|
|
}
|
|
|
|
.sidebar-toggle {
|
|
display: none;
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
padding: 6px;
|
|
border-radius: var(--radius-xs);
|
|
}
|
|
|
|
.sidebar-toggle:hover {
|
|
background: var(--accent-glow);
|
|
}
|
|
|
|
.search-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
/* Asset Selector */
|
|
.asset-selector {
|
|
display: flex;
|
|
gap: 4px;
|
|
background: var(--bg-input);
|
|
border-radius: var(--radius-sm);
|
|
padding: 3px;
|
|
}
|
|
|
|
.asset-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 7px 14px;
|
|
background: none;
|
|
border: none;
|
|
border-radius: var(--radius-xs);
|
|
color: var(--text-muted);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.asset-btn i {
|
|
width: 15px;
|
|
height: 15px;
|
|
}
|
|
|
|
.asset-btn:hover {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.asset-btn.active {
|
|
background: var(--bg-card);
|
|
color: var(--accent);
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
[data-theme="light"] .asset-btn.active {
|
|
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
/* Search Input Group */
|
|
.search-input-group {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.search-icon {
|
|
width: 18px;
|
|
height: 18px;
|
|
color: var(--text-muted);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.ticker-wrapper {
|
|
position: relative;
|
|
flex: 1;
|
|
min-width: 200px;
|
|
}
|
|
|
|
#tickerInput {
|
|
width: 100%;
|
|
padding: 9px 14px;
|
|
background: var(--bg-input);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
color: var(--text-primary);
|
|
font-size: 14px;
|
|
font-family: var(--font);
|
|
outline: none;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
#tickerInput:focus {
|
|
border-color: var(--accent);
|
|
box-shadow: 0 0 0 3px var(--accent-glow);
|
|
}
|
|
|
|
#tickerInput::placeholder {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.select-control {
|
|
padding: 9px 12px;
|
|
background: var(--bg-input);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
color: var(--text-primary);
|
|
font-size: 13px;
|
|
font-family: var(--font);
|
|
outline: none;
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.select-control:focus {
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
.btn-primary {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 9px 20px;
|
|
background: var(--accent);
|
|
color: white;
|
|
border: none;
|
|
border-radius: var(--radius-sm);
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
font-family: var(--font);
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background: var(--accent-hover);
|
|
}
|
|
|
|
.btn-sm {
|
|
padding: 6px 12px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.custom-dates {
|
|
display: flex;
|
|
gap: 12px;
|
|
padding-left: 26px;
|
|
}
|
|
|
|
.custom-dates label {
|
|
font-size: 13px;
|
|
color: var(--text-secondary);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.custom-dates input[type="date"] {
|
|
padding: 6px 10px;
|
|
background: var(--bg-input);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-xs);
|
|
color: var(--text-primary);
|
|
font-family: var(--font);
|
|
font-size: 13px;
|
|
}
|
|
|
|
/* Dropdown */
|
|
.dropdown {
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
right: 0;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
max-height: 260px;
|
|
overflow-y: auto;
|
|
display: none;
|
|
z-index: 1000;
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.dropdown.show {
|
|
display: block;
|
|
}
|
|
|
|
.dropdown-item {
|
|
padding: 10px 14px;
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
color: var(--text-secondary);
|
|
transition: var(--transition);
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.dropdown-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.dropdown-item:hover {
|
|
background: var(--accent-glow);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.dropdown-item strong {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
/* ══════════════════════════════════════════════════════════
|
|
LOADER
|
|
══════════════════════════════════════════════════════════ */
|
|
.loader-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: var(--bg-overlay);
|
|
backdrop-filter: blur(8px);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 9000;
|
|
}
|
|
|
|
.loader-spinner {
|
|
width: 48px;
|
|
height: 48px;
|
|
border: 3px solid var(--border);
|
|
border-top-color: var(--accent);
|
|
border-radius: 50%;
|
|
animation: spin 0.8s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.loader-text {
|
|
margin-top: 16px;
|
|
font-size: 14px;
|
|
color: var(--text-secondary);
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* ══════════════════════════════════════════════════════════
|
|
TAB PAGES
|
|
══════════════════════════════════════════════════════════ */
|
|
.tab-page {
|
|
display: none;
|
|
padding: 24px;
|
|
}
|
|
|
|
.tab-page.active {
|
|
display: block;
|
|
}
|
|
|
|
.results {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 20px;
|
|
}
|
|
|
|
/* ══════════════════════════════════════════════════════════
|
|
CARDS
|
|
══════════════════════════════════════════════════════════ */
|
|
.card {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 20px;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.card:hover {
|
|
border-color: var(--border-light);
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.card-full {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.card-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 16px;
|
|
padding-bottom: 12px;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.card-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.card-title i {
|
|
width: 18px;
|
|
height: 18px;
|
|
color: var(--accent);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.info-icon {
|
|
display: flex;
|
|
align-items: center;
|
|
cursor: help;
|
|
position: relative;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.info-icon:hover::after {
|
|
content: attr(data-tooltip);
|
|
position: absolute;
|
|
right: 0;
|
|
top: 100%;
|
|
margin-top: 8px;
|
|
padding: 10px 14px;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
white-space: normal;
|
|
width: 280px;
|
|
z-index: 100;
|
|
box-shadow: var(--shadow);
|
|
line-height: 1.5;
|
|
font-weight: 400;
|
|
}
|
|
|
|
/* AI Card */
|
|
.card-ai {
|
|
border-color: rgba(79, 140, 255, 0.2);
|
|
background: linear-gradient(135deg, var(--bg-card), rgba(79, 140, 255, 0.03));
|
|
}
|
|
|
|
.badge-ai {
|
|
padding: 2px 8px;
|
|
background: var(--accent-glow);
|
|
border: 1px solid rgba(79, 140, 255, 0.3);
|
|
color: var(--accent);
|
|
border-radius: 12px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.ai-content {
|
|
min-height: 80px;
|
|
font-size: 14px;
|
|
line-height: 1.7;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.ai-content p {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.ai-placeholder {
|
|
color: var(--text-muted);
|
|
font-style: italic;
|
|
}
|
|
|
|
.ai-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-top: 16px;
|
|
padding-top: 12px;
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
.ai-input {
|
|
flex: 1;
|
|
padding: 8px 14px;
|
|
background: var(--bg-input);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
color: var(--text-primary);
|
|
font-size: 13px;
|
|
font-family: var(--font);
|
|
outline: none;
|
|
}
|
|
|
|
.ai-input:focus {
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
/* ══════════════════════════════════════════════════════════
|
|
DATA GRID
|
|
══════════════════════════════════════════════════════════ */
|
|
.data-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.data-item {
|
|
padding: 12px;
|
|
background: var(--bg-input);
|
|
border-radius: var(--radius-sm);
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.data-label {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
color: var(--text-muted);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.data-value {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
/* ══════════════════════════════════════════════════════════
|
|
CHART CONTROLS & TOGGLES
|
|
══════════════════════════════════════════════════════════ */
|
|
.chart-controls {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
margin-bottom: 12px;
|
|
align-items: center;
|
|
}
|
|
|
|
.chart-toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
padding: 5px 10px;
|
|
background: var(--bg-input);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-xs);
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.chart-toggle:hover {
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
.chart-toggle input[type="checkbox"] {
|
|
accent-color: var(--accent);
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
|
|
.custom-ema {
|
|
display: flex;
|
|
gap: 4px;
|
|
align-items: center;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.custom-ema input {
|
|
width: 90px;
|
|
padding: 5px 8px;
|
|
background: var(--bg-input);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-xs);
|
|
color: var(--text-primary);
|
|
font-size: 12px;
|
|
font-family: var(--font);
|
|
}
|
|
|
|
/* Monte Carlo band controls */
|
|
.mc-band-controls {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.mc-stats {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
/* ══════════════════════════════════════════════════════════
|
|
PATTERN & OUTLOOK
|
|
══════════════════════════════════════════════════════════ */
|
|
.pattern-outlook-box {
|
|
padding: 12px 16px;
|
|
border-radius: var(--radius-sm);
|
|
margin-bottom: 12px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.pattern-outlook-box.bullish {
|
|
background: var(--success-bg);
|
|
border: 1px solid var(--success);
|
|
color: var(--success);
|
|
}
|
|
|
|
.pattern-outlook-box.bearish {
|
|
background: var(--danger-bg);
|
|
border: 1px solid var(--danger);
|
|
color: var(--danger);
|
|
}
|
|
|
|
.pattern-outlook-box.neutral {
|
|
background: var(--warning-bg);
|
|
border: 1px solid var(--warning);
|
|
color: var(--warning);
|
|
}
|
|
|
|
.patterns-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.pattern-card {
|
|
padding: 12px;
|
|
background: var(--bg-input);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
.pattern-card .pattern-name {
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
color: var(--text-primary);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.pattern-card .pattern-date {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.pattern-card .pattern-prediction {
|
|
margin-top: 6px;
|
|
font-size: 13px;
|
|
color: var(--text-secondary);
|
|
font-style: italic;
|
|
}
|
|
|
|
/* ══════════════════════════════════════════════════════════
|
|
TABLES
|
|
══════════════════════════════════════════════════════════ */
|
|
.table-container {
|
|
overflow-x: auto;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 13px;
|
|
}
|
|
|
|
table th {
|
|
padding: 10px 14px;
|
|
text-align: left;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
color: var(--text-muted);
|
|
border-bottom: 2px solid var(--border);
|
|
background: var(--bg-input);
|
|
}
|
|
|
|
table td {
|
|
padding: 10px 14px;
|
|
border-bottom: 1px solid var(--border);
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
table tr:hover td {
|
|
background: var(--accent-glow);
|
|
}
|
|
|
|
/* ══════════════════════════════════════════════════════════
|
|
HEATMAP & CORRELATION
|
|
══════════════════════════════════════════════════════════ */
|
|
.heatmap-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
|
|
gap: 8px;
|
|
}
|
|
|
|
.heatmap-cell {
|
|
padding: 14px 12px;
|
|
border-radius: var(--radius-sm);
|
|
text-align: center;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.heatmap-controls {
|
|
display: flex;
|
|
gap: 6px;
|
|
margin-bottom: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.heatmap-controls button {
|
|
padding: 6px 12px;
|
|
background: var(--bg-input);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-xs);
|
|
color: var(--text-secondary);
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.heatmap-controls button.active,
|
|
.heatmap-controls button:hover {
|
|
background: var(--accent-glow);
|
|
border-color: var(--accent);
|
|
color: var(--accent);
|
|
}
|
|
|
|
.corr-matrix {
|
|
overflow-x: auto;
|
|
}
|
|
|
|
/* ══════════════════════════════════════════════════════════
|
|
COMPETITOR SECTION
|
|
══════════════════════════════════════════════════════════ */
|
|
.comp-container {
|
|
overflow-x: auto;
|
|
}
|
|
|
|
/* ══════════════════════════════════════════════════════════
|
|
MACRO INDICATOR BADGES
|
|
══════════════════════════════════════════════════════════ */
|
|
.macro-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 2px 8px;
|
|
border-radius: 10px;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.macro-badge.good {
|
|
background: var(--success-bg);
|
|
color: var(--success);
|
|
}
|
|
|
|
.macro-badge.bad {
|
|
background: var(--danger-bg);
|
|
color: var(--danger);
|
|
}
|
|
|
|
.macro-badge.neutral {
|
|
background: var(--neutral-bg);
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* ══════════════════════════════════════════════════════════
|
|
SIGNAL BOX
|
|
══════════════════════════════════════════════════════════ */
|
|
.signal-box {
|
|
padding: 16px;
|
|
border-radius: var(--radius-sm);
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
text-align: center;
|
|
}
|
|
|
|
.signal-box.buy {
|
|
background: var(--success-bg);
|
|
color: var(--success);
|
|
border: 1px solid var(--success);
|
|
}
|
|
|
|
.signal-box.sell {
|
|
background: var(--danger-bg);
|
|
color: var(--danger);
|
|
border: 1px solid var(--danger);
|
|
}
|
|
|
|
.signal-box.hold {
|
|
background: var(--warning-bg);
|
|
color: var(--warning);
|
|
border: 1px solid var(--warning);
|
|
}
|
|
|
|
/* ══════════════════════════════════════════════════════════
|
|
FOOTER
|
|
══════════════════════════════════════════════════════════ */
|
|
.footer {
|
|
padding: 20px 24px;
|
|
text-align: center;
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
border-top: 1px solid var(--border);
|
|
margin-top: 40px;
|
|
}
|
|
|
|
/* ══════════════════════════════════════════════════════════
|
|
RESPONSIVE
|
|
══════════════════════════════════════════════════════════ */
|
|
@media (max-width: 1024px) {
|
|
.sidebar {
|
|
transform: translateX(-100%);
|
|
}
|
|
|
|
.sidebar.open {
|
|
transform: translateX(0);
|
|
}
|
|
|
|
.main-content {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.sidebar-toggle {
|
|
display: block;
|
|
}
|
|
|
|
.results {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.welcome-features {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.welcome-features {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.welcome-title {
|
|
font-size: 32px;
|
|
}
|
|
|
|
.search-input-group {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.asset-selector {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.topbar {
|
|
padding: 12px 16px;
|
|
}
|
|
|
|
.tab-page {
|
|
padding: 16px;
|
|
}
|
|
}
|
|
|
|
/* ══════════════════════════════════════════════════════════
|
|
SCROLLBAR
|
|
══════════════════════════════════════════════════════════ */
|
|
::-webkit-scrollbar {
|
|
width: 6px;
|
|
height: 6px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: var(--border);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: var(--text-muted);
|
|
}
|
|
|
|
/* ══════════════════════════════════════════════════════════
|
|
UTILITY CLASSES
|
|
══════════════════════════════════════════════════════════ */
|
|
.text-success {
|
|
color: var(--success) !important;
|
|
}
|
|
|
|
.text-danger {
|
|
color: var(--danger) !important;
|
|
}
|
|
|
|
.text-warning {
|
|
color: var(--warning) !important;
|
|
}
|
|
|
|
.text-muted {
|
|
color: var(--text-muted) !important;
|
|
}
|
|
|
|
.text-accent {
|
|
color: var(--accent) !important;
|
|
}
|
|
|
|
/* ── Price Flash Animation ─────────────────────────────── */
|
|
@keyframes priceFlash {
|
|
0% {
|
|
background: var(--accent-glow);
|
|
}
|
|
|
|
100% {
|
|
background: transparent;
|
|
}
|
|
}
|
|
|
|
.price-flash {
|
|
animation: priceFlash 0.6s ease-out;
|
|
}
|
|
|
|
/* ── DCF Valuation ─────────────────────────────────────── */
|
|
.dcf-hero {
|
|
text-align: center;
|
|
}
|
|
|
|
.dcf-verdict {
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.dcf-verdict.undervalued {
|
|
color: var(--success);
|
|
}
|
|
|
|
.dcf-verdict.overvalued {
|
|
color: var(--danger);
|
|
}
|
|
|
|
.dcf-verdict.fair {
|
|
color: var(--warning);
|
|
}
|
|
|
|
.dcf-sub {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
margin-top: 4px;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.dcf-metrics {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
|
|
gap: 12px;
|
|
margin-top: 16px;
|
|
}
|
|
|
|
/* ── Z-Score ───────────────────────────────────────────── */
|
|
.zscore-badge {
|
|
text-align: center;
|
|
font-size: 36px;
|
|
font-weight: 700;
|
|
padding: 16px;
|
|
border-radius: var(--radius);
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.zscore-badge.safe {
|
|
background: var(--success-bg);
|
|
color: var(--success);
|
|
}
|
|
|
|
.zscore-badge.grey {
|
|
background: var(--warning-bg);
|
|
color: var(--warning);
|
|
}
|
|
|
|
.zscore-badge.distress {
|
|
background: var(--danger-bg);
|
|
color: var(--danger);
|
|
}
|
|
|
|
.zscore-components {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
|
|
gap: 8px;
|
|
}
|
|
|
|
/* ── Fear & Greed ──────────────────────────────────────── */
|
|
.fg-gauge {
|
|
text-align: center;
|
|
padding: 16px 0;
|
|
}
|
|
|
|
.fg-value {
|
|
font-size: 48px;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.fg-label {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
margin: 8px 0 16px;
|
|
}
|
|
|
|
.fg-bar {
|
|
height: 8px;
|
|
background: linear-gradient(to right, var(--danger), var(--warning), var(--success));
|
|
border-radius: 4px;
|
|
position: relative;
|
|
margin: 0 20px;
|
|
}
|
|
|
|
.fg-marker {
|
|
position: absolute;
|
|
top: -6px;
|
|
width: 20px;
|
|
height: 20px;
|
|
background: var(--text-primary);
|
|
border-radius: 50%;
|
|
border: 3px solid var(--bg-card);
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
/* ── VIX ───────────────────────────────────────────────── */
|
|
.vix-display {
|
|
text-align: center;
|
|
padding: 16px 0;
|
|
}
|
|
|
|
.vix-value {
|
|
font-size: 48px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* ── News ──────────────────────────────────────────────── */
|
|
.news-item {
|
|
padding: 12px 0;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.news-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.news-title a {
|
|
color: var(--text-primary);
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.news-title a:hover {
|
|
color: var(--accent);
|
|
}
|
|
|
|
.news-meta {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
margin-top: 6px;
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.sentiment-badge {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.sentiment-pill {
|
|
padding: 3px 10px;
|
|
border-radius: 12px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.sentiment-pill.positive {
|
|
background: var(--success-bg);
|
|
color: var(--success);
|
|
}
|
|
|
|
.sentiment-pill.negative {
|
|
background: var(--danger-bg);
|
|
color: var(--danger);
|
|
}
|
|
|
|
.sentiment-pill.neutral {
|
|
background: var(--neutral-bg);
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* ── Analyst ───────────────────────────────────────────── */
|
|
.analyst-bars {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.analyst-bar-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.analyst-bar-label {
|
|
width: 80px;
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
text-align: right;
|
|
}
|
|
|
|
.analyst-bar-track {
|
|
flex: 1;
|
|
height: 24px;
|
|
background: var(--bg-input);
|
|
border-radius: var(--radius-xs);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.analyst-bar-fill {
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 8px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: white;
|
|
border-radius: var(--radius-xs);
|
|
}
|
|
|
|
.analyst-bar-fill.buy {
|
|
background: var(--success);
|
|
}
|
|
|
|
.analyst-bar-fill.hold {
|
|
background: var(--warning);
|
|
}
|
|
|
|
.analyst-bar-fill.sell {
|
|
background: var(--danger);
|
|
}
|
|
|
|
.analyst-na {
|
|
padding: 16px;
|
|
text-align: center;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.price-target-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 8px;
|
|
}
|
|
|
|
/* ── Pattern Cards ─────────────────────────────────────── */
|
|
.pattern-card {
|
|
display: flex;
|
|
gap: 12px;
|
|
padding: 12px;
|
|
border-radius: var(--radius);
|
|
background: var(--bg-hover);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.pattern-badge {
|
|
padding: 4px 10px;
|
|
border-radius: 8px;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.pattern-badge.bullish {
|
|
background: var(--success-bg);
|
|
color: var(--success);
|
|
}
|
|
|
|
.pattern-badge.bearish {
|
|
background: var(--danger-bg);
|
|
color: var(--danger);
|
|
}
|
|
|
|
.pattern-badge.neutral {
|
|
background: var(--neutral-bg);
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.pattern-info h4 {
|
|
margin: 0 0 4px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.pattern-info .date {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.pattern-info p {
|
|
font-size: 13px;
|
|
color: var(--text-secondary);
|
|
margin: 4px 0;
|
|
}
|
|
|
|
.pattern-prediction {
|
|
font-size: 12px;
|
|
color: var(--accent);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.pattern-outlook-box {
|
|
padding: 12px 16px;
|
|
border-radius: var(--radius);
|
|
margin-bottom: 16px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.pattern-outlook-box.bullish {
|
|
background: var(--success-bg);
|
|
color: var(--success);
|
|
}
|
|
|
|
.pattern-outlook-box.bearish {
|
|
background: var(--danger-bg);
|
|
color: var(--danger);
|
|
}
|
|
|
|
.pattern-outlook-box.neutral {
|
|
background: var(--neutral-bg);
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.pattern-outlook-sub {
|
|
font-size: 12px;
|
|
font-weight: 400;
|
|
margin-top: 4px;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
/* ── Heatmap ───────────────────────────────────────────── */
|
|
.heatmap-btn {
|
|
padding: 4px 12px;
|
|
border: 1px solid var(--border);
|
|
background: transparent;
|
|
color: var(--text-secondary);
|
|
border-radius: var(--radius-xs);
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.heatmap-btn.active {
|
|
background: var(--accent);
|
|
color: white;
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
/* ── Signal Box ────────────────────────────────────────── */
|
|
.signal-box {
|
|
padding: 16px;
|
|
border-radius: var(--radius);
|
|
text-align: center;
|
|
}
|
|
|
|
.signal-box.bullish {
|
|
background: var(--success-bg);
|
|
}
|
|
|
|
.signal-box.bearish {
|
|
background: var(--danger-bg);
|
|
}
|
|
|
|
.signal-box.neutral {
|
|
background: var(--neutral-bg);
|
|
}
|
|
|
|
.signal-verdict {
|
|
font-size: 28px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.signal-verdict.bullish {
|
|
color: var(--success);
|
|
}
|
|
|
|
.signal-verdict.bearish {
|
|
color: var(--danger);
|
|
}
|
|
|
|
.signal-verdict.neutral {
|
|
color: var(--warning);
|
|
}
|
|
|
|
.signal-reason {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
margin-top: 4px;
|
|
}
|
|
|
|
/* ── Misc ──────────────────────────────────────────────── */
|
|
.comp-target {
|
|
background: var(--accent-glow) !important;
|
|
}
|
|
|
|
.badge-sector {
|
|
padding: 2px 8px;
|
|
background: var(--accent-glow);
|
|
color: var(--accent);
|
|
border-radius: 10px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.dividend-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.macro-status-badge {
|
|
display: inline-block;
|
|
padding: 1px 6px;
|
|
border-radius: 8px;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.macro-status-badge.good {
|
|
background: var(--success-bg);
|
|
color: var(--success);
|
|
}
|
|
|
|
.macro-status-badge.bad {
|
|
background: var(--danger-bg);
|
|
color: var(--danger);
|
|
}
|
|
|
|
.macro-explanation {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.surprise-positive {
|
|
color: var(--success) !important;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.surprise-negative {
|
|
color: var(--danger) !important;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.ai-placeholder {
|
|
color: var(--text-muted);
|
|
font-style: italic;
|
|
}
|
|
|
|
/* ── Options Chain ─────────────────────────── */
|
|
.options-controls {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.options-toggle {
|
|
display: flex;
|
|
gap: 4px;
|
|
padding: 8px 16px 0;
|
|
}
|
|
|
|
.table-container {
|
|
overflow-x: auto;
|
|
padding: 0 16px 16px;
|
|
}
|
|
|
|
.data-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 0.82rem;
|
|
}
|
|
|
|
.data-table thead th {
|
|
text-align: left;
|
|
padding: 8px 10px;
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
border-bottom: 1px solid var(--border);
|
|
font-size: 0.75rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.data-table tbody td {
|
|
padding: 6px 10px;
|
|
border-bottom: 1px solid var(--border);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.data-table tbody tr:hover {
|
|
background: var(--bg-card-hover, rgba(255, 255, 255, 0.03));
|
|
}
|
|
|
|
.data-table .positive {
|
|
color: var(--success);
|
|
}
|
|
|
|
.data-table .negative {
|
|
color: var(--danger);
|
|
}
|
|
|
|
/* ── Payoff Controls ─────────────────────────── */
|
|
.payoff-controls {
|
|
display: flex;
|
|
gap: 12px;
|
|
align-items: center;
|
|
padding: 12px 16px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.payoff-controls label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 0.85rem;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.input-sm {
|
|
padding: 6px 10px;
|
|
border-radius: var(--radius-xs);
|
|
border: 1px solid var(--border);
|
|
background: var(--bg-input);
|
|
color: var(--text-primary);
|
|
font-size: 0.85rem;
|
|
width: 90px;
|
|
outline: none;
|
|
transition: border-color 0.2s;
|
|
}
|
|
|
|
.input-sm:focus {
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
/* ── Portfolio ─────────────────────────── */
|
|
.portfolio-summary-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
|
|
gap: 16px;
|
|
padding: 16px;
|
|
}
|
|
|
|
.portfolio-analytics-grid {
|
|
padding: 16px;
|
|
}
|
|
|
|
.portfolio-analytics-grid .data-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
/* ── Trade Form ─────────────────────────── */
|
|
.trade-form {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: center;
|
|
padding: 16px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.trade-form .input-sm {
|
|
width: 140px;
|
|
}
|
|
|
|
.trade-result {
|
|
padding: 0 16px 16px;
|
|
font-size: 0.88rem;
|
|
min-height: 24px;
|
|
}
|
|
|
|
/* ── Danger Button ─────────────────────────── */
|
|
.btn-danger {
|
|
background: var(--danger);
|
|
color: #fff;
|
|
border: none;
|
|
padding: 6px 14px;
|
|
border-radius: var(--radius-xs);
|
|
cursor: pointer;
|
|
font-size: 0.82rem;
|
|
font-weight: 500;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
transition: opacity 0.2s;
|
|
}
|
|
|
|
.btn-danger:hover {
|
|
opacity: 0.85;
|
|
}
|
|
|
|
/* ══════════════════════════════════════════════════════
|
|
v5.2 — Market Dashboard
|
|
══════════════════════════════════════════════════════ */
|
|
.market-dashboard {
|
|
padding: 20px 0 8px;
|
|
}
|
|
|
|
.dashboard-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 20px;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.dashboard-title {
|
|
font-size: 1.25rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin: 0;
|
|
background: linear-gradient(135deg, var(--accent), #a78bfa, #f472b6);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
.dashboard-subtitle {
|
|
font-size: 0.8rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.dashboard-section {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.dash-section-title {
|
|
font-size: 0.82rem;
|
|
font-weight: 600;
|
|
color: var(--text-secondary);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.6px;
|
|
margin: 0 0 10px 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.market-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
/* Glassmorphism market card */
|
|
.market-card {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 16px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
animation: cardFadeIn 0.5s ease-out both;
|
|
}
|
|
|
|
.market-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(168, 85, 247, 0.04));
|
|
pointer-events: none;
|
|
}
|
|
|
|
.market-card:hover {
|
|
transform: translateY(-3px) scale(1.02);
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.market-card .mc-name {
|
|
font-size: 0.78rem;
|
|
color: var(--text-muted);
|
|
font-weight: 500;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.market-card .mc-price {
|
|
font-size: 1.2rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.market-card .mc-change {
|
|
font-size: 0.82rem;
|
|
font-weight: 600;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.market-card .mc-change.positive {
|
|
color: var(--success);
|
|
}
|
|
|
|
.market-card .mc-change.negative {
|
|
color: var(--danger);
|
|
}
|
|
|
|
/* Live pulse dot */
|
|
.live-dot {
|
|
display: inline-block;
|
|
width: 8px;
|
|
height: 8px;
|
|
background: var(--success);
|
|
border-radius: 50%;
|
|
animation: livePulse 2s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes livePulse {
|
|
|
|
0%,
|
|
100% {
|
|
opacity: 1;
|
|
box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
|
|
}
|
|
|
|
50% {
|
|
opacity: 0.6;
|
|
box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
|
|
}
|
|
}
|
|
|
|
/* Skeleton loaders */
|
|
.skeleton-card {
|
|
min-height: 80px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.skeleton-line {
|
|
height: 14px;
|
|
background: linear-gradient(90deg, var(--bg-input) 25%, rgba(255, 255, 255, 0.08) 50%, var(--bg-input) 75%);
|
|
background-size: 200% 100%;
|
|
border-radius: 4px;
|
|
animation: shimmer 1.5s infinite;
|
|
}
|
|
|
|
.skeleton-line.short {
|
|
width: 60%;
|
|
}
|
|
|
|
@keyframes shimmer {
|
|
0% {
|
|
background-position: 200% 0;
|
|
}
|
|
|
|
100% {
|
|
background-position: -200% 0;
|
|
}
|
|
}
|
|
|
|
/* Staggered card fade-in */
|
|
@keyframes cardFadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(16px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.market-card:nth-child(1) {
|
|
animation-delay: 0s;
|
|
}
|
|
|
|
.market-card:nth-child(2) {
|
|
animation-delay: 0.08s;
|
|
}
|
|
|
|
.market-card:nth-child(3) {
|
|
animation-delay: 0.16s;
|
|
}
|
|
|
|
.market-card:nth-child(4) {
|
|
animation-delay: 0.24s;
|
|
}
|
|
|
|
.market-card:nth-child(5) {
|
|
animation-delay: 0.32s;
|
|
}
|
|
|
|
.market-card:nth-child(6) {
|
|
animation-delay: 0.4s;
|
|
}
|
|
|
|
/* ══════════════════════════════════════════════════════
|
|
v5.2 — Trade Terminal
|
|
══════════════════════════════════════════════════════ */
|
|
.trade-search-wrap {
|
|
position: relative;
|
|
flex: 1;
|
|
min-width: 160px;
|
|
}
|
|
|
|
.trade-search-wrap .input-sm {
|
|
width: 100%;
|
|
}
|
|
|
|
.trade-dropdown {
|
|
display: none;
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
right: 0;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-xs);
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
z-index: 50;
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.trade-dropdown.open {
|
|
display: block;
|
|
}
|
|
|
|
.trade-dropdown-item {
|
|
padding: 8px 12px;
|
|
cursor: pointer;
|
|
font-size: 0.85rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
color: var(--text-primary);
|
|
transition: background 0.15s;
|
|
}
|
|
|
|
.trade-dropdown-item:hover {
|
|
background: var(--bg-input);
|
|
}
|
|
|
|
.trade-dropdown-item .ticker-sym {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.trade-dropdown-item .ticker-name {
|
|
color: var(--text-muted);
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.trade-btn-group {
|
|
display: flex;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.btn-trade {
|
|
padding: 8px 16px;
|
|
border: none;
|
|
border-radius: var(--radius-xs);
|
|
cursor: pointer;
|
|
font-size: 0.82rem;
|
|
font-weight: 600;
|
|
transition: all 0.2s;
|
|
letter-spacing: 0.3px;
|
|
}
|
|
|
|
.btn-buy {
|
|
background: linear-gradient(135deg, #22c55e, #16a34a);
|
|
color: #fff;
|
|
}
|
|
|
|
.btn-buy:hover {
|
|
box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.btn-sell {
|
|
background: linear-gradient(135deg, #ef4444, #dc2626);
|
|
color: #fff;
|
|
}
|
|
|
|
.btn-sell:hover {
|
|
box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.btn-short {
|
|
background: linear-gradient(135deg, #f59e0b, #d97706);
|
|
color: #fff;
|
|
}
|
|
|
|
.btn-short:hover {
|
|
box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.btn-cover {
|
|
background: linear-gradient(135deg, #6366f1, #4f46e5);
|
|
color: #fff;
|
|
}
|
|
|
|
.btn-cover:hover {
|
|
box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
/* ══════════════════════════════════════════════════════
|
|
v5.2 — Welcome Page Particles
|
|
══════════════════════════════════════════════════════ */
|
|
.welcome-bg::after {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background-image:
|
|
radial-gradient(2px 2px at 10% 20%, rgba(99, 102, 241, 0.4), transparent),
|
|
radial-gradient(2px 2px at 30% 70%, rgba(168, 85, 247, 0.3), transparent),
|
|
radial-gradient(3px 3px at 50% 40%, rgba(244, 114, 182, 0.3), transparent),
|
|
radial-gradient(2px 2px at 70% 80%, rgba(59, 130, 246, 0.3), transparent),
|
|
radial-gradient(2px 2px at 90% 30%, rgba(34, 197, 94, 0.3), transparent),
|
|
radial-gradient(3px 3px at 20% 90%, rgba(251, 191, 36, 0.2), transparent),
|
|
radial-gradient(2px 2px at 80% 10%, rgba(99, 102, 241, 0.3), transparent),
|
|
radial-gradient(2px 2px at 60% 60%, rgba(168, 85, 247, 0.25), transparent);
|
|
animation: particleDrift 20s ease-in-out infinite alternate;
|
|
pointer-events: none;
|
|
}
|
|
|
|
@keyframes particleDrift {
|
|
0% {
|
|
transform: translate(0, 0) scale(1);
|
|
}
|
|
|
|
25% {
|
|
transform: translate(10px, -15px) scale(1.02);
|
|
}
|
|
|
|
50% {
|
|
transform: translate(-8px, 10px) scale(0.98);
|
|
}
|
|
|
|
75% {
|
|
transform: translate(12px, 5px) scale(1.01);
|
|
}
|
|
|
|
100% {
|
|
transform: translate(-5px, -10px) scale(1);
|
|
}
|
|
}
|
|
|
|
/* Staggered welcome feature card animations */
|
|
.wf-card {
|
|
animation: cardFadeIn 0.6s ease-out both;
|
|
}
|
|
|
|
.wf-card:nth-child(1) {
|
|
animation-delay: 0.1s;
|
|
}
|
|
|
|
.wf-card:nth-child(2) {
|
|
animation-delay: 0.2s;
|
|
}
|
|
|
|
.wf-card:nth-child(3) {
|
|
animation-delay: 0.3s;
|
|
}
|
|
|
|
.wf-card:nth-child(4) {
|
|
animation-delay: 0.4s;
|
|
}
|
|
|
|
.wf-card:nth-child(5) {
|
|
animation-delay: 0.5s;
|
|
}
|
|
|
|
.wf-card:nth-child(6) {
|
|
animation-delay: 0.6s;
|
|
}
|
|
|
|
/* 3D tilt on hover for welcome cards */
|
|
.wf-card:hover {
|
|
transform: perspective(600px) rotateX(-3deg) rotateY(3deg) translateY(-4px);
|
|
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
/* Badge styling enhancements */
|
|
.badge-sm {
|
|
font-size: 0.68rem;
|
|
padding: 2px 8px;
|
|
border-radius: 10px;
|
|
background: var(--bg-input);
|
|
color: var(--text-muted);
|
|
font-weight: 500;
|
|
border: 1px solid var(--border);
|
|
} |