/* KPI Dashboard — Trending, ROI Scoreboard, Deadlines, Preflight Timeline */

/* ================================================================
   TRENDING NOW — Google Trends Intelligence
   ================================================================ */
.trending-picks-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.trending-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 18px 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.trending-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 14px 14px 0 0;
}

.trending-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* Priority levels */
.trending-critical::before {
    background: linear-gradient(90deg, var(--red), #ff6b6b);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

.trending-critical {
    border-left: 3px solid var(--red);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.06), var(--bg-card));
}

.trending-high::before {
    background: linear-gradient(90deg, var(--amber), #fbbf24);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.trending-high {
    border-left: 3px solid var(--amber);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.04), var(--bg-card));
}

.trending-medium::before {
    background: linear-gradient(90deg, var(--blue), #60a5fa);
}

.trending-medium {
    border-left: 3px solid var(--blue);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.04), var(--bg-card));
}

.trending-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.trending-category {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 3px 10px;
    border-radius: 99px;
}

.cat-geopolitical {
    color: var(--red);
    background: rgba(239, 68, 68, 0.12);
}

.cat-science {
    color: var(--purple);
    background: rgba(167, 139, 250, 0.12);
}

.cat-business {
    color: var(--amber);
    background: rgba(245, 158, 11, 0.12);
}

.cat-entertainment {
    color: #f472b6;
    background: rgba(244, 114, 182, 0.12);
}

.cat-sports {
    color: var(--blue);
    background: rgba(59, 130, 246, 0.12);
}

.trending-volume {
    font-size: 13px;
    font-weight: 700;
    color: var(--teal);
    background: rgba(20, 184, 166, 0.1);
    padding: 3px 10px;
    border-radius: 99px;
    border: 1px solid rgba(20, 184, 166, 0.2);
}

.trending-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.3;
}

.trending-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 10px;
}

.trending-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.trending-spike {
    font-size: 13px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.spike-massive {
    color: #fff;
    background: linear-gradient(135deg, var(--red), #dc2626);
    animation: spikePulse 2s ease-in-out infinite;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.4);
}

.spike-high {
    color: #fef3c7;
    background: rgba(245, 158, 11, 0.25);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.spike-medium {
    color: var(--blue);
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

@keyframes spikePulse {

    0%,
    100% {
        box-shadow: 0 0 8px rgba(239, 68, 68, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.6), 0 0 40px rgba(239, 68, 68, 0.2);
    }
}

.trending-age {
    font-size: 13px;
    color: var(--text-dim);
}

.trending-angle {
    font-size: 13px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 8px 12px;
    line-height: 1.5;
}

.trending-angle strong {
    color: var(--teal);
}

/* Trending Ticker — horizontal scroll */
.trending-ticker {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 12px 0;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.trending-ticker::-webkit-scrollbar {
    display: none;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 99px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s;
}

.ticker-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

.ticker-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ticker-dot.geopolitical {
    background: var(--red);
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.5);
}

.ticker-dot.news {
    background: var(--cyan);
    box-shadow: 0 0 6px rgba(0, 229, 255, 0.5);
}

.ticker-dot.entertainment {
    background: #f472b6;
    box-shadow: 0 0 6px rgba(244, 114, 182, 0.5);
}

.ticker-dot.sports {
    background: var(--blue);
    box-shadow: 0 0 6px rgba(59, 130, 246, 0.5);
}

.ticker-vol {
    font-size: 13px;
    font-weight: 700;
    color: var(--teal);
    margin-left: 4px;
}

.trending-timestamp {
    font-size: 13px;
    color: var(--text-dim);
    text-align: right;
    margin-top: 12px;
    font-style: italic;
}

/* Live badge for trending */
.section-badge.trending-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #fca5a5;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 99px;
    font-size: 13px;
}

.section-badge.trending-live .live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    animation: livePulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.6);
}

@keyframes livePulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

/* Responsive — trending grid */
@media (max-width: 1200px) {
    .trending-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .trending-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   SOCIAL MEDIA FEEDS — X (Twitter) & Reddit
   ================================================================ */
.social-trends-section {
    margin-top: 8px;
}

.social-feed {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 16px;
}

.social-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 16px 18px;
    transition: all 0.25s ease;
    position: relative;
}

.social-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Platform accent borders */
.social-x {
    border-left: 3px solid #1d9bf0;
}

.social-reddit {
    border-left: 3px solid #ff4500;
}

.social-platform {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
    margin-bottom: 6px;
}

.platform-icon {
    font-size: 14px;
}

.x-icon {
    color: #1d9bf0;
}

.reddit-icon {
    color: #ff4500;
}

.social-topic {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.3;
}

.social-context {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 8px;
}

.social-card .trending-angle {
    font-size: 13px;
}

/* Responsive — social grids */
@media (max-width: 900px) {
    .social-feed {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   PREFLIGHT CHECKS — System Health
   ================================================================ */
.preflight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.preflight-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 16px 20px;
    transition: all 0.25s ease;
}

.preflight-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.preflight-card.pass {
    border-left: 3px solid var(--green);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.04), var(--bg-card));
}

.preflight-card.fail {
    border-left: 3px solid var(--red);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.06), var(--bg-card));
}

.preflight-card.warn {
    border-left: 3px solid var(--amber);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.04), var(--bg-card));
}

.preflight-icon {
    font-size: 28px;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
}

.preflight-info {
    flex: 1;
    min-width: 0;
}

.preflight-check-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.preflight-check-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.preflight-check-detail {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
    font-family: 'Inter', monospace;
}

.preflight-status {
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

.preflight-indicator {
    font-size: 24px;
    line-height: 1;
}

.preflight-indicator.pending {
    color: var(--text-dim);
}

.preflight-indicator.pass {
    color: var(--green);
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.preflight-indicator.fail {
    color: var(--red);
    text-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
    animation: failPulse 1.5s ease-in-out infinite;
}

.preflight-indicator.warn {
    color: var(--amber);
    text-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

@keyframes failPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.preflight-summary {
    margin-top: 16px;
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    text-align: center;
}

.preflight-summary-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

.preflight-summary.all-pass {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.06);
}

.preflight-summary.has-fail {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.06);
}

.preflight-badge {
    font-size: 13px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-dim);
}

.preflight-badge.all-pass {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);

    color: var(--green);
}

.preflight-badge.has-issues {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

@media (max-width: 900px) {
    .preflight-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   DEADLINE COUNTDOWN STRIP
   ================================================================ */
.deadline-strip {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0 16px 6px;
    padding: 10px 12px;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow-x: auto;
}

.deadline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
    padding: 4px 10px;
    text-align: center;
}

.deadline-urgency {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    animation: urgencyPulse 2s ease-in-out infinite;
}

.deadline-urgency.green {
    background: var(--green);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.deadline-urgency.amber {
    background: var(--amber);
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

.deadline-urgency.red {
    background: var(--red);
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.6);
    animation: urgencyPulseRed 1s ease-in-out infinite;
}

@keyframes urgencyPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.85);
    }
}

@keyframes urgencyPulseRed {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.15);
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.8);
    }
}

.deadline-info {
    flex: none;
    min-width: 0;
    line-height: 1.5;
}

.deadline-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #E2E8F0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.deadline-pub {
    font-size: 13px;
    font-weight: 600;
    color: #94E8D0;
    white-space: nowrap;
}

.deadline-timer {
    font-family: 'Inter', 'JetBrains Mono', monospace;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    letter-spacing: 1px;
    flex-shrink: 0;
    margin-top: 2px;
}

.deadline-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

/* Deadline pill badges — colored label tags */
.deadline-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border-radius: 99px;
    white-space: nowrap;
    line-height: 1.3;
}

.deadline-pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 6px currentColor;
}

/* Timeline connectors between deadline items */
.deadline-connector {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
    padding: 0 4px;
}

.connector-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.1);
}

.connector-line {
    width: 28px;
    height: 2px;
    background: repeating-linear-gradient(90deg,
            rgba(255, 255, 255, 0.2) 0px,
            rgba(255, 255, 255, 0.2) 4px,
            transparent 4px,
            transparent 8px);
}

@media (max-width: 1100px) {
    .deadline-strip {
        flex-wrap: wrap;
        gap: 12px;
    }

    .deadline-divider {
        display: none;
    }

    .deadline-item {
        flex: 0 0 calc(50% - 6px);
        padding: 8px 0;
    }
}

@media (max-width: 600px) {
    .deadline-strip {
        margin: 0 16px 8px;
        padding: 12px 16px;
    }

    .deadline-item {
        flex: 0 0 100%;
    }
}


/* ================================================================
   ROI SCOREBOARD
   ================================================================ */
.roi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 18px;
}

.roi-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.roi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 16px 16px 0 0;
}

.roi-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.roi-saved::before {
    background: linear-gradient(90deg, var(--green), #34d399);
}

.roi-saved {
    background: linear-gradient(160deg, rgba(16, 185, 129, 0.08), var(--bg-card));
}

.roi-recovered::before {
    background: linear-gradient(90deg, var(--blue), #60a5fa);
}

.roi-recovered {
    background: linear-gradient(160deg, rgba(59, 130, 246, 0.08), var(--bg-card));
}

.roi-multiplier::before {
    background: linear-gradient(90deg, var(--teal), var(--cyan));
}

.roi-multiplier {
    background: linear-gradient(160deg, rgba(20, 184, 166, 0.08), var(--bg-card));
}

.roi-avoided::before {
    background: linear-gradient(90deg, var(--purple), #a78bfa);
}

.roi-avoided {
    background: linear-gradient(160deg, rgba(167, 139, 250, 0.08), var(--bg-card));
}

.roi-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.roi-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 34px;
    font-weight: 800;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
    margin-bottom: 6px;
    line-height: 1;
}

.roi-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.roi-detail {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.4;
}

/* ROI Ring */
.roi-ring-container {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 8px;
}

.roi-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.roi-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.06);
    stroke-width: 8;
}

.roi-ring-fill {
    fill: none;
    stroke: url(#roiGradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 326.73;
    stroke-dashoffset: 326.73;
    transition: stroke-dashoffset 2s cubic-bezier(0.25, 0.8, 0.25, 1);
    filter: drop-shadow(0 0 6px rgba(20, 184, 166, 0.5));
}

.roi-ring-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--teal);
    text-shadow: 0 0 20px rgba(20, 184, 166, 0.4);
}

/* ROI Summary Strip */
.roi-summary-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 16px 24px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.roi-summary-item {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.roi-sum-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.roi-sum-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.roi-summary-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

@media (max-width: 1100px) {
    .roi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .roi-grid {
        grid-template-columns: 1fr;
    }

    .roi-summary-strip {
        flex-wrap: wrap;
        gap: 12px;
    }

    .roi-summary-divider {
        display: none;
    }
}

/* ================================================================
   CORTEX ACTIVITY TIMELINE
   ================================================================ */
.timeline-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.timeline-filter {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 18px;
    border-radius: 99px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.timeline-filter:hover {
    border-color: rgba(0, 229, 255, 0.3);
    color: var(--cyan);
    background: rgba(0, 229, 255, 0.06);
}

.timeline-filter.active {
    background: rgba(0, 229, 255, 0.12);
    border-color: rgba(0, 229, 255, 0.4);
    color: var(--cyan);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.15);
}

.timeline-feed {
    position: relative;
    padding-left: 28px;
}


.timeline-feed::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, rgba(0, 229, 255, 0.3), rgba(255, 255, 255, 0.05));
    border-radius: 2px;
}

.timeline-entry {
    position: relative;
    padding: 14px 18px;
    margin-bottom: 6px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: all 0.2s ease;
    animation: timelineSlideIn 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) both;
}

.timeline-entry:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

@keyframes timelineSlideIn {
    from {
        opacity: 0;
        transform: translateX(-12px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-entry::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--bg-primary);
    z-index: 1;
}

.timeline-entry.node-heist::before {
    background: #f59e0b;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

.timeline-entry.node-columnini::before {
    background: #a78bfa;
    box-shadow: 0 0 8px rgba(167, 139, 250, 0.5);
}

.timeline-entry.node-redeye::before {
    background: #14b8a6;
    box-shadow: 0 0 8px rgba(20, 184, 166, 0.5);
}

.timeline-entry.node-pulse::before {
    background: #3b82f6;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

.timeline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.timeline-node-badge {
    font-size: 13px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-heist {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
}

.badge-columnini {
    background: rgba(167, 139, 250, 0.12);
    color: #a78bfa;
}

.badge-redeye {
    background: rgba(20, 184, 166, 0.12);
    color: #14b8a6;
}

.badge-pulse {
    background: rgba(59, 130, 246, 0.12);
    color: #3b82f6;
}

.timeline-time {
    font-size: 13px;
    color: var(--text-dim);
    font-family: 'Inter', monospace;
    font-variant-numeric: tabular-nums;
}

.timeline-desc {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.5;
    font-weight: 500;
}

.timeline-severity {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
    margin-left: 8px;
}

.sev-success {
    background: rgba(16, 185, 129, 0.12);
    color: var(--green);
}

.sev-warning {
    background: rgba(245, 158, 11, 0.12);
    color: var(--amber);
}

.sev-info {
    background: rgba(59, 130, 246, 0.1);
    color: var(--blue);
}

.sev-critical {
    background: rgba(239, 68, 68, 0.12);
    color: var(--red);
}