← back to Bertha
kalshi-dash/src/index.css
914 lines
@tailwind base;
@tailwind components;
@tailwind utilities;
/* ═══════════════════════════════════════════════════════════
KEN NEON — Design System
Based on CrypTrade Stock Trader UI Kit (Figma Community)
Colors: Neon Cyan (#00F0FF) + Bitcoin Orange (#F7931A)
Typography: Space Grotesk / Inter / JetBrains Mono
═══════════════════════════════════════════════════════════ */
:root {
--bg: #0E0E10;
--surface: #141419;
--surface-el: #1C1C24;
--border: #2A2A35;
--border-light: #3A3A48;
--cyan: #00F0FF;
--cyan-dim: rgba(0, 240, 255, 0.15);
--cyan-glow: rgba(0, 240, 255, 0.08);
--orange: #F7931A;
--orange-dim: rgba(247, 147, 26, 0.15);
--green: #00C389;
--green-dim: rgba(0, 195, 137, 0.15);
--red: #FF5C5C;
--red-dim: rgba(255, 92, 92, 0.15);
--blue: #3B82F6;
--blue-dim: rgba(59, 130, 246, 0.15);
--purple: #A855F7;
--purple-dim: rgba(168, 85, 247, 0.15);
--text: #E0E0E0;
--text-dim: #A8A8A8;
--text-muted: #6B7280;
--radius-sm: 6px;
--radius-md: 10px;
--radius-lg: 14px;
--radius-xl: 20px;
--transition: 150ms ease;
--font-heading: 'Space Grotesk', sans-serif;
--font-body: 'Inter', sans-serif;
--font-mono: 'JetBrains Mono', monospace;
}
/* ─── Base ─── */
body {
background: var(--bg);
color: var(--text);
font-family: var(--font-body);
margin: 0;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
font-family: var(--font-heading);
font-weight: 700;
letter-spacing: -0.02em;
}
/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #374151; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #4B5563; }
/* ─── Cards ─── */
.card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: 1.25rem;
transition: all var(--transition);
}
.card:hover {
border-color: rgba(0, 240, 255, 0.25);
box-shadow: 0 0 0 1px rgba(0, 240, 255, 0.08), 0 0 24px rgba(0, 240, 255, 0.12), 0 4px 16px rgba(0, 0, 0, 0.3);
}
.card-elevated {
background: var(--surface-el);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: 1.25rem;
}
.card-glow {
background: var(--surface);
border: 1px solid rgba(0, 240, 255, 0.2);
border-radius: var(--radius-lg);
padding: 1.25rem;
box-shadow: 0 0 30px var(--cyan-glow), inset 0 1px 0 rgba(0, 240, 255, 0.05);
}
/* ─── Stat Values ─── */
.stat-v {
font-family: var(--font-mono);
font-size: 1.75rem;
font-weight: 600;
line-height: 1;
letter-spacing: -0.02em;
}
.stat-label {
font-size: 0.7rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--text-muted);
font-family: var(--font-body);
}
/* ─── Badges ─── */
.badge {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 3px 10px;
border-radius: 9999px;
font-size: 0.7rem;
font-weight: 600;
font-family: var(--font-body);
letter-spacing: 0.02em;
}
.bg-cyan { background: var(--cyan-dim); color: var(--cyan); }
.bg-green { background: var(--green-dim); color: var(--green); }
.bg-red { background: var(--red-dim); color: var(--red); }
.bg-yellow, .bg-orange { background: var(--orange-dim); color: var(--orange); }
.bg-blue { background: var(--blue-dim); color: var(--blue); }
.bg-purple { background: var(--purple-dim); color: var(--purple); }
/* ─── Buttons ─── */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 0.5rem 1rem;
border-radius: var(--radius-md);
font-weight: 600;
font-size: 0.85rem;
font-family: var(--font-body);
cursor: pointer;
border: none;
transition: all var(--transition);
}
.btn-p {
background: var(--cyan);
color: #0E0E10;
}
.btn-p:hover { background: #00D4E0; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,240,255,0.25); }
.btn-orange {
background: var(--orange);
color: #0E0E10;
}
.btn-orange:hover { background: #E5850F; }
.btn-d { background: var(--red); color: white; }
.btn-d:hover { background: #E04A4A; }
.btn-s { background: var(--green); color: #0E0E10; }
.btn-s:hover { background: #00A875; }
.btn-o {
background: transparent;
border: 1px solid var(--border);
color: var(--text-dim);
}
.btn-o:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-ghost {
background: transparent;
color: var(--text-dim);
border: none;
}
.btn-ghost:hover { color: var(--cyan); background: var(--cyan-glow); }
.btn-sm { padding: 0.35rem 0.75rem; font-size: 0.75rem; }
.btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; }
/* ─── Tables ─── */
table { width: 100%; border-collapse: collapse; }
th {
text-align: left;
padding: 0.75rem;
font-size: 0.65rem;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--text-muted);
font-family: var(--font-body);
font-weight: 600;
border-bottom: 1px solid var(--border);
}
td {
padding: 0.75rem;
border-bottom: 1px solid rgba(42, 42, 53, 0.5);
font-size: 0.85rem;
}
tr:hover td { background: var(--cyan-glow); }
/* ─── Inputs ─── */
.input {
width: 100%;
padding: 0.6rem 0.85rem;
background: var(--surface-el);
border: 1px solid var(--border);
border-radius: var(--radius-md);
color: var(--text);
font-family: var(--font-body);
font-size: 0.85rem;
transition: all var(--transition);
outline: none;
}
.input:focus {
border-color: var(--cyan);
box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
}
.input::placeholder { color: var(--text-muted); }
/* ─── Gradients ─── */
.kalshi-gradient {
background: linear-gradient(135deg, var(--cyan), var(--orange));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.gradient-cyan {
background: linear-gradient(135deg, var(--cyan), #0088FF);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* ─── Animations ─── */
.pulse-cyan { animation: pulse-c 2s infinite; }
@keyframes pulse-c {
0%, 100% { box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.4); }
50% { box-shadow: 0 0 0 6px rgba(0, 240, 255, 0); }
}
.pulse-g { animation: pg 2s infinite; }
@keyframes pg {
0%, 100% { box-shadow: 0 0 0 0 rgba(0, 195, 137, 0.4); }
50% { box-shadow: 0 0 0 6px rgba(0, 195, 137, 0); }
}
.glow-cyan {
box-shadow: 0 0 20px rgba(0, 240, 255, 0.15), 0 0 60px rgba(0, 240, 255, 0.05);
}
.fade-in {
animation: fadeIn 0.3s ease-out;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
/* ─── Section Headers ─── */
.section-title {
font-family: var(--font-heading);
font-size: 1.25rem;
font-weight: 700;
color: var(--text);
display: flex;
align-items: center;
gap: 10px;
}
.section-subtitle {
font-size: 0.8rem;
color: var(--text-muted);
margin-top: 2px;
}
/* ─── Toggle Switch ─── */
.toggle {
position: relative;
width: 40px;
height: 22px;
background: var(--border);
border-radius: 11px;
cursor: pointer;
transition: background var(--transition);
}
.toggle.active { background: var(--cyan); }
.toggle::after {
content: '';
position: absolute;
top: 2px;
left: 2px;
width: 18px;
height: 18px;
background: white;
border-radius: 50%;
transition: transform var(--transition);
}
.toggle.active::after { transform: translateX(18px); }
/* ─── Progress Bar ─── */
.progress-bar {
height: 4px;
background: var(--border);
border-radius: 2px;
overflow: hidden;
}
.progress-fill {
height: 100%;
border-radius: 2px;
background: linear-gradient(90deg, var(--cyan), #0088FF);
transition: width 0.5s ease;
}
/* ─── Utility ─── */
.mono { font-family: var(--font-mono); }
.heading { font-family: var(--font-heading); }
.text-cyan { color: var(--cyan); }
.text-orange { color: var(--orange); }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.text-dim { color: var(--text-dim); }
.text-muted { color: var(--text-muted); }
.border-cyan { border-color: var(--cyan) !important; }
/* ─── Glass Card ─── */
.card-glass {
background: rgba(20, 20, 25, 0.8);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(0, 240, 255, 0.1);
border-radius: var(--radius-lg);
}
/* ─── Neon Text Glow ─── */
.text-glow {
text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}
.text-glow-green {
text-shadow: 0 0 10px rgba(0, 195, 137, 0.4);
}
.text-glow-red {
text-shadow: 0 0 10px rgba(255, 92, 92, 0.4);
}
/* ─── Divider with Glow ─── */
.divider-glow {
height: 1px;
background: linear-gradient(90deg, transparent, var(--cyan), transparent);
border: none;
margin: 0;
}
/* ─── Skeleton Shimmer ─── */
.skeleton {
background: linear-gradient(
90deg,
var(--surface-el) 25%,
var(--border) 50%,
var(--surface-el) 75%
);
background-size: 200% 100%;
animation: shimmer 1.5s ease-in-out infinite;
border-radius: var(--radius-sm);
}
@keyframes shimmer {
0% { background-position: 200% 0; }
100% { background-position: -200% 0; }
}
/* ─── Scrolling Ticker ─── */
@keyframes ticker {
from { transform: translateX(0); }
to { transform: translateX(-50%); }
}
/* ─── Button Press ─── */
.btn:active:not(:disabled) {
transform: scale(0.97);
}
/* ─── Neon Focus Ring ─── */
.neon-focus:focus-visible {
outline: none;
box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--cyan), 0 0 12px rgba(0, 240, 255, 0.3);
}
/* ─── Stat card accent variants ─── */
.card-accent-cyan { border-top: 2px solid var(--cyan); }
.card-accent-green { border-top: 2px solid var(--green); }
.card-accent-red { border-top: 2px solid var(--red); }
.card-accent-orange { border-top: 2px solid var(--orange); }
.card-accent-blue { border-top: 2px solid var(--blue); }
.card-accent-purple { border-top: 2px solid var(--purple); }
/* ─── Table row: left-border accent on hover ─── */
tr:hover td {
background: var(--cyan-glow);
}
tbody tr:hover td:first-child {
box-shadow: inset 3px 0 0 var(--cyan);
}
/* ─── Alternating table rows ─── */
tbody tr:nth-child(even) td {
background: rgba(28, 28, 36, 0.4);
}
tbody tr:nth-child(even):hover td {
background: var(--cyan-glow);
}
/* ─── Market card hover lift ─── */
.card-lift {
transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}
.card-lift:hover {
transform: translateY(-2px);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 240, 255, 0.1);
}
/* ─── P&L glow variants ─── */
.pnl-positive {
color: var(--green);
text-shadow: 0 0 8px rgba(0, 195, 137, 0.35);
}
.pnl-negative {
color: var(--red);
text-shadow: 0 0 8px rgba(255, 92, 92, 0.35);
}
/* ─── Section accent bar ─── */
.section-accent-green {
border-left: 3px solid var(--green);
padding-left: 10px;
}
.section-accent-red {
border-left: 3px solid var(--red);
padding-left: 10px;
}
.section-accent-cyan {
border-left: 3px solid var(--cyan);
padding-left: 10px;
}
/* ─── Sidebar nav active glow ─── */
.nav-active-glow {
box-shadow: inset 0 0 12px rgba(0, 240, 255, 0.08);
}
/* ─── Win/Loss bar glow ─── */
.bar-win-glow {
box-shadow: 0 0 8px rgba(0, 195, 137, 0.5);
}
.bar-loss-glow {
box-shadow: 0 0 8px rgba(255, 92, 92, 0.5);
}
/* ═══════════════════════════════════════════════════════════
FEATURE ADDITIONS — CrypTrade UI Kit Inspired Elements
═══════════════════════════════════════════════════════════ */
/* ─── 3. LIVE Indicator ─── */
.live-indicator {
display: inline-flex;
align-items: center;
gap: 6px;
font-family: var(--font-mono);
font-size: 0.7rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.1em;
color: var(--green);
}
.live-dot {
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--green);
animation: live-blink 1.5s ease-in-out infinite;
flex-shrink: 0;
}
@keyframes live-blink {
0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 195, 137, 0.6); }
50% { opacity: 0.4; box-shadow: 0 0 0 4px rgba(0, 195, 137, 0); }
}
/* ─── 5. CRT Scan Line Overlay ─── */
@keyframes scan-line {
0% { top: -5%; }
100% { top: 105%; }
}
.scan-overlay {
pointer-events: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 9999;
overflow: hidden;
}
.scan-overlay::before {
content: '';
position: absolute;
width: 100%;
height: 2px;
background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.06), transparent);
animation: scan-line 8s linear infinite;
}
.scan-overlay::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: repeating-linear-gradient(
0deg,
transparent,
transparent 2px,
rgba(0, 0, 0, 0.03) 2px,
rgba(0, 0, 0, 0.03) 4px
);
}
/* ─── 7. Sidebar Gradient Mesh ─── */
.sidebar-mesh {
background:
radial-gradient(ellipse at 20% 80%, rgba(0, 240, 255, 0.04) 0%, transparent 50%),
radial-gradient(ellipse at 80% 20%, rgba(247, 147, 26, 0.03) 0%, transparent 50%),
var(--surface);
}
/* ─── 8. Market Status Bar ─── */
.market-status-bar {
display: flex;
align-items: center;
gap: 16px;
padding: 6px 16px;
background: linear-gradient(90deg, rgba(0, 240, 255, 0.03), transparent, rgba(247, 147, 26, 0.03));
border-bottom: 1px solid var(--border);
font-size: 0.7rem;
color: var(--text-muted);
font-family: var(--font-mono);
}
/* ═══════════════════════════════════════════════════════════
ROUND 3 — Design Polish
═══════════════════════════════════════════════════════════ */
/* ─── 1. Animated Gradient Border (rotating neon conic-gradient) ─── */
@property --neon-angle {
syntax: "<angle>";
initial-value: 0deg;
inherits: false;
}
@keyframes neon-rotate {
0% { --neon-angle: 0deg; }
100% { --neon-angle: 360deg; }
}
.border-neon-animated {
position: relative;
border: none !important;
isolation: isolate;
}
.border-neon-animated::before {
content: '';
position: absolute;
inset: -2px;
border-radius: calc(var(--radius-lg) + 2px);
background: conic-gradient(from var(--neon-angle), var(--cyan), var(--orange), var(--green), var(--cyan));
animation: neon-rotate 3s linear infinite;
z-index: -1;
}
.border-neon-animated::after {
content: '';
position: absolute;
inset: 0;
border-radius: var(--radius-lg);
background: var(--surface);
z-index: -1;
}
/* ─── 3. Notification Bell ─── */
.notification-bell {
position: relative;
cursor: pointer;
padding: 6px;
border-radius: var(--radius-sm);
transition: background 150ms ease;
}
.notification-bell:hover {
background: var(--cyan-glow);
}
.notification-bell svg {
width: 18px;
height: 18px;
color: var(--text-dim);
transition: color 150ms ease;
}
.notification-bell:hover svg {
color: var(--cyan);
}
.notification-count {
position: absolute;
top: 2px;
right: 2px;
min-width: 14px;
height: 14px;
border-radius: 7px;
background: var(--red);
color: white;
font-size: 0.55rem;
font-weight: 700;
display: flex;
align-items: center;
justify-content: center;
padding: 0 3px;
border: 2px solid var(--bg);
animation: notification-pop 0.3s ease-out;
}
@keyframes notification-pop {
0% { transform: scale(0); }
50% { transform: scale(1.3); }
100% { transform: scale(1); }
}
/* ─── 4. Breathing Neon Glow ─── */
@keyframes breathe-neon {
0%, 100% { box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.1), 0 0 0 0 rgba(0, 240, 255, 0.05); }
50% { box-shadow: 0 0 15px 2px rgba(0, 240, 255, 0.12), 0 0 40px 4px rgba(0, 240, 255, 0.04); }
}
@keyframes breathe-orange {
0%, 100% { box-shadow: 0 0 0 0 rgba(247, 147, 26, 0.1); }
50% { box-shadow: 0 0 15px 2px rgba(247, 147, 26, 0.12); }
}
.breathe-neon {
animation: breathe-neon 4s ease-in-out infinite;
}
.breathe-orange {
animation: breathe-orange 3.5s ease-in-out infinite;
}
/* ─── 5. Animated Logo Glow ─── */
@keyframes logo-pulse {
0%, 100% { filter: drop-shadow(0 0 4px rgba(247, 147, 26, 0.3)); }
50% { filter: drop-shadow(0 0 12px rgba(247, 147, 26, 0.6)); }
}
.logo-animated {
animation: logo-pulse 3s ease-in-out infinite;
}
/* ─── 6. Position Status Indicators ─── */
.position-winning {
border-left: 3px solid var(--green);
position: relative;
}
.position-winning::before {
content: '';
position: absolute;
left: -7px;
top: 50%;
transform: translateY(-50%);
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--green);
box-shadow: 0 0 8px rgba(0, 195, 137, 0.5);
}
.position-losing {
border-left: 3px solid var(--red);
position: relative;
}
.position-losing::before {
content: '';
position: absolute;
left: -7px;
top: 50%;
transform: translateY(-50%);
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--red);
box-shadow: 0 0 8px rgba(255, 92, 92, 0.5);
}
/* ─── Chart Theme ─── */
/* Recharts custom tooltip wrapper */
.chart-tooltip {
background: var(--surface-el);
border: 1px solid var(--border);
border-radius: 8px;
padding: 10px 14px;
font-family: var(--font-body);
font-size: 12px;
color: var(--text);
min-width: 140px;
}
.chart-tooltip-label {
font-family: var(--font-body);
font-size: 11px;
font-weight: 600;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.05em;
margin-bottom: 6px;
}
.chart-tooltip-row {
display: flex;
justify-content: space-between;
gap: 12px;
margin-bottom: 3px;
}
.chart-tooltip-key {
color: var(--text-muted);
}
.chart-tooltip-val {
font-family: var(--font-mono);
font-weight: 700;
}
/* Stat pill for chart cards */
.chart-stat-pill {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 4px 12px;
border-radius: 20px;
font-size: 11px;
font-family: var(--font-body);
}
.chart-stat-pill .pill-label {
font-size: 10px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--text-muted);
}
.chart-stat-pill .pill-value {
font-family: var(--font-mono);
font-weight: 700;
font-size: 12px;
}
.chart-stat-pill-positive {
background: rgba(0, 195, 137, 0.10);
border: 1px solid rgba(0, 195, 137, 0.25);
}
.chart-stat-pill-negative {
background: rgba(255, 92, 92, 0.10);
border: 1px solid rgba(255, 92, 92, 0.25);
}
.chart-stat-pill-neutral {
background: rgba(107, 114, 128, 0.10);
border: 1px solid rgba(107, 114, 128, 0.25);
}
/* ═══════════════════════════════════════════════════════════
STRATEGY DEEP DIVE — Section Styles
═══════════════════════════════════════════════════════════ */
.strategy-deep-dive {
display: flex;
flex-direction: column;
gap: 20px;
}
/* ─── Section Header with Lines ─── */
.sdd-header {
display: flex;
align-items: center;
gap: 16px;
padding: 8px 0;
}
.sdd-header-line {
flex: 1;
height: 1px;
background: linear-gradient(90deg, transparent, var(--cyan), transparent);
opacity: 0.4;
}
.sdd-header-content {
display: flex;
align-items: center;
gap: 12px;
flex-shrink: 0;
}
/* ─── Section Cards ─── */
.sdd-section-card {
animation: sdd-fadeUp 0.4s ease-out both;
}
.sdd-section-card:nth-child(2) { animation-delay: 0.05s; }
.sdd-section-card:nth-child(3) { animation-delay: 0.1s; }
.sdd-section-card:nth-child(4) { animation-delay: 0.15s; }
@keyframes sdd-fadeUp {
from { opacity: 0; transform: translateY(12px); }
to { opacity: 1; transform: translateY(0); }
}
/* ─── Stat Glow on Key Numbers ─── */
.sdd-stat-glow {
position: relative;
}
.sdd-stat-glow::after {
content: '';
position: absolute;
inset: -1px;
border-radius: 11px;
background: conic-gradient(from 0deg, rgba(0,240,255,0.08), rgba(0,195,137,0.08), rgba(0,240,255,0.08));
z-index: -1;
opacity: 0;
transition: opacity 0.3s ease;
}
.sdd-stat-glow:hover::after {
opacity: 1;
}
/* ─── Flow Row ─── */
.sdd-flow-row {
display: flex;
align-items: center;
gap: 6px;
justify-content: center;
}
.sdd-flow-step {
flex: 1;
max-width: 180px;
padding: 12px 10px;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
transition: transform 150ms ease, box-shadow 150ms ease;
}
.sdd-flow-step:hover {
transform: translateY(-2px);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.sdd-flow-arrow {
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
animation: sdd-arrow-pulse 2s ease-in-out infinite;
}
@keyframes sdd-arrow-pulse {
0%, 100% { opacity: 0.4; transform: translateX(0); }
50% { opacity: 0.8; transform: translateX(2px); }
}
/* ─── Example Trades Table ─── */
.sdd-trades-table {
width: 100%;
border-collapse: collapse;
}
.sdd-trades-table th {
text-align: center;
padding: 8px 10px;
font-size: 0.62rem;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--text-muted);
font-family: var(--font-body);
font-weight: 600;
border-bottom: 1px solid var(--border);
white-space: nowrap;
}
.sdd-trades-table td {
padding: 10px 10px;
border-bottom: 1px solid rgba(42, 42, 53, 0.5);
font-size: 0.85rem;
white-space: nowrap;
}
.sdd-trades-table tbody tr {
transition: background 150ms ease;
}
.sdd-trades-table tbody tr:hover td {
background: rgba(0, 240, 255, 0.04);
}
.sdd-trades-table tbody tr:nth-child(even) td {
background: rgba(28, 28, 36, 0.4);
}
.sdd-trades-table tbody tr:nth-child(even):hover td {
background: rgba(0, 240, 255, 0.04);
}
/* ─── Insights Grid ─── */
.sdd-insights-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 14px;
}
.sdd-insights-grid > :nth-child(4),
.sdd-insights-grid > :nth-child(5) {
/* Last two cards span wider in 2-col layout for the bottom row */
}
.sdd-insight-card {
border-radius: 12px;
padding: 18px 16px;
transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}
.sdd-insight-card:hover {
transform: translateY(-2px);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 16px rgba(0, 240, 255, 0.06);
}
/* ─── Responsive adjustments ─── */
@media (max-width: 1200px) {
.sdd-insights-grid {
grid-template-columns: repeat(2, 1fr);
}
.sdd-flow-row {
flex-wrap: wrap;
}
.sdd-flow-step {
max-width: none;
}
}
@media (max-width: 768px) {
.sdd-insights-grid {
grid-template-columns: 1fr;
}
}