/* Cyberpunk / Glassmorphic Custom Style Guide */
:root {
    --bg-dark: #0a0a0f;
    --bg-panel: rgba(16, 17, 28, 0.65);
    --border-light: rgba(255, 255, 255, 0.08);
    --border-active: rgba(255, 255, 255, 0.18);
    
    /* Neon Palettes */
    --neon-green: #00ff88;
    --neon-green-glow: rgba(0, 255, 136, 0.15);
    --neon-red: #ff3366;
    --neon-red-glow: rgba(255, 51, 102, 0.15);
    --neon-cyan: #00f0ff;
    --neon-cyan-glow: rgba(0, 240, 255, 0.15);
    --neon-orange: #ffaa00;
    --neon-orange-glow: rgba(255, 170, 0, 0.15);
    --neon-purple: #9d4edd;
    
    /* Text Colors */
    --text-main: #f1f1f6;
    --text-muted: #8e92a8;
    --text-dark: #12131a;

    /* Fonts */
    --font-ui: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(at 0% 0%, rgba(157, 78, 221, 0.07) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(0, 240, 255, 0.05) 0px, transparent 50%),
        radial-gradient(at 50% 100%, rgba(0, 255, 136, 0.03) 0px, transparent 50%);
    color: var(--text-main);
    font-family: var(--font-ui);
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

/* App Container Layout */
.app-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
}

/* Header Styling */
.app-header {
    min-height: 75px;
    height: auto;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(env(safe-area-inset-top, 0px) + 10px) 30px 10px 30px;
    box-sizing: border-box;
    z-index: 100;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 900;
    font-size: 22px;
    letter-spacing: 2px;
}

.logo-accent {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan-glow);
}

.logo-separator {
    color: var(--text-muted);
}

.logo-title {
    color: var(--text-main);
}

/* Global Stats Bar */
.global-stats {
    display: flex;
    gap: 30px;
    flex-grow: 1;
    justify-content: center;
}

.stat-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

.stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.stat-value {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 700;
}

.header-status {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid var(--border-light);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: relative;
}

.status-indicator.online {
    background-color: var(--neon-green);
    box-shadow: 0 0 10px var(--neon-green);
    animation: pulse 2s infinite;
}

.status-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--neon-green);
}

/* Body / Core Dashboard */
.dashboard-body {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    min-height: 0;
}

.symbols-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    align-items: start;
}

/* Loading & Empty State */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    height: 200px;
    grid-column: 1 / -1;
    color: var(--text-muted);
}

.loading-state i {
    font-size: 32px;
    color: var(--neon-cyan);
}

/* Symbol Dashboard Card */
.symbol-card {
    background: var(--bg-panel);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.symbol-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    opacity: 0.8;
}

.symbol-card:hover {
    border-color: var(--border-active);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Card Header */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-title-group {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.card-symbol {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}

.card-price {
    font-family: var(--font-mono);
    font-size: 16px;
    color: var(--text-muted);
}

.card-badge {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Badge States */
.badge-long {
    background: rgba(0, 255, 136, 0.1);
    color: var(--neon-green);
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.badge-short {
    background: rgba(255, 51, 102, 0.1);
    color: var(--neon-red);
    border: 1px solid rgba(255, 51, 102, 0.2);
}

.badge-inactive {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Position Details Box */
.position-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-item.span-2 {
    grid-column: span 2;
}

.detail-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.detail-value {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
}

.detail-value.profit-green {
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green-glow);
}

.detail-value.profit-red {
    color: var(--neon-red);
    text-shadow: 0 0 10px var(--neon-red-glow);
}

/* Grid Meta Config */
.grid-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 12px;
}

.meta-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    padding: 4px 10px;
    border-radius: 6px;
    display: flex;
    gap: 6px;
    color: var(--text-muted);
}

.meta-pill strong {
    color: var(--text-main);
}

/* Indicators (EMA/RSI/Funding) Row */
.indicators-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.indicator-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 10px 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.indicator-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
}

.indicator-icon-box.green {
    color: var(--neon-green);
    background: rgba(0, 255, 136, 0.05);
}

.indicator-icon-box.red {
    color: var(--neon-red);
    background: rgba(255, 51, 102, 0.05);
}

.indicator-icon-box.cyan {
    color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.05);
}

.indicator-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.indicator-title {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.indicator-val {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
}

/* DCA Progress Grid styling */
.dca-grid-container {
    margin-top: 15px;
}

.dca-grid-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dca-timeline {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dca-step {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.2s, border-color 0.2s;
}

.dca-step.executed {
    background: rgba(0, 240, 255, 0.04);
    border-color: rgba(0, 240, 255, 0.3);
}

.dca-step.current-target {
    background: rgba(255, 170, 0, 0.04);
    border-color: rgba(255, 170, 0, 0.3);
    box-shadow: 0 0 10px var(--neon-orange-glow);
}

.dca-step-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dca-number {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.dca-step.executed .dca-number {
    background: var(--neon-cyan);
    color: var(--text-dark);
}

.dca-step.current-target .dca-number {
    background: var(--neon-orange);
    color: var(--text-dark);
}

.dca-label-txt {
    font-size: 12px;
}

.dca-step.executed .dca-label-txt {
    color: var(--neon-cyan);
    font-weight: 600;
}

.dca-step-right {
    font-family: var(--font-mono);
    font-size: 11px;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dca-size-txt {
    font-weight: 700;
}

.dca-drop-txt {
    color: var(--text-muted);
    font-size: 9px;
}

/* System Logs Panel */
.terminal-footer {
    height: 260px;
    flex-shrink: 0;
    background: rgba(6, 6, 10, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    z-index: 100;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-sizing: border-box;
}

.terminal-header {
    height: 40px;
    padding: 0 20px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.01);
}

.terminal-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.terminal-title i {
    color: var(--neon-cyan);
}

.terminal-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-wrapper i {
    position: absolute;
    left: 10px;
    font-size: 11px;
    color: var(--text-muted);
}

.search-wrapper input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 4px 10px 4px 28px;
    color: var(--text-main);
    font-family: var(--font-mono);
    font-size: 11px;
    outline: none;
    width: 180px;
    transition: width 0.2s, border-color 0.2s;
}

.search-wrapper input:focus {
    width: 250px;
    border-color: rgba(0, 240, 255, 0.5);
}

.toggle-control {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
}

.toggle-control input {
    accent-color: var(--neon-cyan);
}

.terminal-body {
    flex: 1;
    overflow-y: auto;
    padding: 15px 20px;
}

.logs-content {
    font-family: var(--font-mono);
    font-size: 11.5px;
    line-height: 1.6;
    color: #a4a9c4;
    white-space: pre-wrap;
}

/* System Log Highlight Formatting classes */
.log-line {
    border-bottom: 1px solid rgba(255, 255, 255, 0.01);
    padding: 2px 0;
}

.log-line.system { color: var(--neon-cyan); }
.log-line.error { color: var(--neon-red); }
.log-line.warning { color: var(--neon-orange); }
.log-line.success { color: var(--neon-green); }

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.01);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

/* Target / Entry Conditions styling */
.dca-target-conditions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 12px;
    margin-top: 10px;
}

.condition-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    color: var(--text-muted);
}

.condition-pill i {
    font-size: 12px;
}

.condition-pill.met {
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green-glow);
}

.condition-pill.pending {
    color: var(--neon-orange);
    text-shadow: 0 0 10px var(--neon-orange-glow);
}

.condition-pill.blocked {
    color: var(--neon-red);
    text-shadow: 0 0 10px var(--neon-red-glow);
}

/* Responsive fixes for mobile and small screens */
@media (max-width: 768px) {
    .app-header {
        height: auto;
        flex-direction: column;
        gap: 15px;
        padding: calc(env(safe-area-inset-top, 0px) + 15px) 15px 15px 15px;
        align-items: stretch;
    }

    .header-logo {
        justify-content: space-between;
        width: 100%;
    }

    .global-stats {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
        gap: 10px;
        width: 100%;
    }

    .stat-box {
        text-align: left;
        background: rgba(255, 255, 255, 0.02);
        padding: 8px 12px;
        border-radius: 8px;
        border: 1px solid var(--border-light);
    }

    .stat-label {
        font-size: 10px;
    }

    .stat-value {
        font-size: 15px;
    }

    .header-status {
        width: 100%;
        justify-content: center;
        padding: 6px;
    }

    .dashboard-body {
        padding: 15px;
    }

    .symbols-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .symbol-card {
        padding: 16px;
        border-radius: 12px;
    }

    .card-symbol {
        font-size: 20px;
    }

    .card-price {
        font-size: 14px;
    }

    .indicators-panel {
        grid-template-columns: 1fr; /* Stack indicators on mobile to prevent text overflow */
        gap: 8px;
    }

    .terminal-footer {
        height: 180px;
        flex-shrink: 0;
    }

    .terminal-header {
        padding: 8px 12px;
        height: auto;
        flex-direction: column;
        gap: 8px;
    }

    .terminal-controls {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .search-wrapper {
        flex: 1;
    }

    .search-wrapper input {
        width: 100%;
    }

    .search-wrapper input:focus {
        width: 100%;
    }
}

@media (max-height: 700px) {
    .terminal-footer {
        height: 180px;
    }
}

/* Interactive Chart Styles */
.chart-wrapper {
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chart-controls {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
}

.interval-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-ui);
    transition: all 0.2s;
}

.interval-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border-color: var(--border-active);
}

.interval-btn.active {
    background: var(--neon-cyan);
    color: var(--text-dark);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 8px var(--neon-cyan-glow);
}

.chart-container {
    height: 220px;
    width: 100%;
    position: relative;
}

/* Daily Performance History Panel */
.performance-history-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 24px;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.performance-history-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-cyan));
    opacity: 0.8;
}

.performance-history-panel:hover {
    border-color: var(--border-active);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.performance-history-panel .panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.performance-history-panel .panel-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.performance-history-panel .panel-title i {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan-glow);
}

.history-table-container {
    width: 100%;
    overflow-x: auto;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13px;
}

.history-table th, .history-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
}

.history-table th {
    font-family: var(--font-ui);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: 1px;
}

.history-table tbody tr {
    transition: background-color 0.2s;
}

.history-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.history-table td {
    font-family: var(--font-mono);
}

.history-table td strong {
    font-family: var(--font-ui);
    font-weight: 700;
}

.history-table .empty-state {
    text-align: center;
    color: var(--text-muted);
    font-family: var(--font-ui);
    padding: 30px;
    font-style: italic;
}

.history-table .profit-green {
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green-glow);
    font-weight: 700;
}

.history-table .profit-red {
    color: var(--neon-red);
    text-shadow: 0 0 10px var(--neon-red-glow);
    font-weight: 700;
}

.history-table .text-muted {
    color: var(--text-muted);
}

/* Predictor Panel Specifics */
.predictions-panel {
    margin-top: 30px;
}

.predictor-stats {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-color);
}

.predictor-stats .p-stat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 4px 10px;
    font-family: var(--font-mono);
}

.predictor-stats strong {
    font-weight: 700;
}

.predictor-stats .text-green {
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green-glow);
}

.predictor-stats .text-red {
    color: var(--neon-red);
    text-shadow: 0 0 10px var(--neon-red-glow);
}

.predictions-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 20px;
}

@media (max-width: 900px) {
    .predictions-grid {
        grid-template-columns: 1fr;
    }
    .predictions-table-container {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .predictions-grid {
        grid-template-columns: 1fr;
    }
    .predictions-table-container {
        grid-column: span 1;
    }
}

/* Active Target Contracts List */
.active-contracts-card {
    height: 100%;
}

.contracts-list-body {
    max-height: 250px;
    overflow-y: auto;
    padding-right: 5px;
}

.contracts-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contract-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.contract-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 242, 254, 0.3);
}

.contract-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
}

.contract-title {
    font-weight: 700;
    font-family: var(--font-ui);
    color: var(--text-color);
}

.contract-expiry {
    font-family: var(--font-mono);
    color: var(--text-muted);
}

.contract-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    margin-top: 2px;
}

.contract-strike {
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--text-color);
}

.contract-pred-badge {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 4px;
}

.contract-pred-badge.over {
    background: rgba(0, 230, 118, 0.15);
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
    text-shadow: 0 0 5px var(--neon-green-glow);
}

.contract-pred-badge.under {
    background: rgba(255, 23, 68, 0.15);
    color: var(--neon-red);
    border: 1px solid var(--neon-red);
    text-shadow: 0 0 5px var(--neon-red-glow);
}


.prediction-live-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.live-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 10px;
}

.live-card-header .live-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--neon-cyan);
    display: flex;
    align-items: center;
    gap: 6px;
}

.live-card-header .live-timer {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
}

.prediction-outcome-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
}

.prediction-outcome-indicator .label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.direction-badge {
    font-size: 20px;
    font-weight: 900;
    padding: 6px 20px;
    border-radius: 8px;
    letter-spacing: 1px;
    text-align: center;
    width: 100%;
}

.direction-badge.up {
    background: rgba(0, 230, 118, 0.1);
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
    box-shadow: 0 0 15px rgba(0, 230, 118, 0.2);
}

.direction-badge.down {
    background: rgba(255, 23, 68, 0.1);
    color: var(--neon-red);
    border: 1px solid var(--neon-red);
    box-shadow: 0 0 15px rgba(255, 23, 68, 0.2);
}

.direction-badge.neutral {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid var(--border-light);
}

.live-metrics-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--border-light);
    padding-top: 15px;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

.metric-row span:first-child {
    color: var(--text-muted);
}

.metric-row span:last-child {
    font-family: var(--font-mono);
    font-weight: 700;
}

.predictions-table-container {
    overflow-x: auto;
}

.predictions-table-container table {
    width: 100%;
}

/* Dot Blinking */
.dot.blinking {
    width: 6px;
    height: 6px;
    background-color: var(--neon-cyan);
    border-radius: 50%;
    display: inline-block;
    animation: blinker 1.5s linear infinite;
    box-shadow: 0 0 8px var(--neon-cyan);
}

@keyframes blinker {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.2;
    }
    100% {
        opacity: 1;
    }
}

/* Custom Strike Input styling */
.custom-target-input {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px dashed var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.custom-target-input .label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.strike-input-row {
    display: flex;
    gap: 8px;
}

.strike-input-row input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-light);
    color: var(--text-color);
    font-family: var(--font-mono);
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s;
}

.strike-input-row input:focus {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 5px rgba(0, 242, 254, 0.2);
}

.custom-strike-result {
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 8px;
    border-radius: 6px;
    text-align: center;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.custom-strike-result.over {
    background: rgba(0, 230, 118, 0.05);
    color: var(--neon-green);
    border-color: rgba(0, 230, 118, 0.2);
    text-shadow: 0 0 5px var(--neon-green-glow);
}

.custom-strike-result.under {
    background: rgba(255, 23, 68, 0.05);
    color: var(--neon-red);
    border-color: rgba(255, 23, 68, 0.2);
    text-shadow: 0 0 5px var(--neon-red-glow);
}

