:root {
    --bg-dark: #121212;
    --primary-surface: #1E1E1E;
    --secondary-surface: #2A2A2A;
    --text-primary: #E0E0E0;
    --text-secondary: #A0A0A0;
    --accent-color: #03DAC6;
    
    /* We no longer need the specific long/short colors */
}

body { background-color: var(--bg-dark); color: var(--text-primary); font-family: 'Roboto', sans-serif; margin: 0; padding: 20px; }
header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--secondary-surface); padding-bottom: 15px; margin-bottom: 20px; }
header h1 { margin: 0; font-size: 2em; color: var(--accent-color); }
.controls { display: flex; align-items: center; gap: 20px; }
.controls button { background-color: var(--primary-surface); color: var(--text-primary); border: 1px solid var(--secondary-surface); padding: 8px 16px; border-radius: 5px; cursor: pointer; font-weight: bold; }

.view-switch { display: flex; background-color: var(--secondary-surface); border-radius: 5px; }
.view-switch button { border: none; background-color: transparent; }
.view-switch button.active { background-color: var(--accent-color); color: var(--bg-dark); }

#terminal-container { background-color: var(--primary-surface); border-radius: 8px; padding: 15px; margin-bottom: 20px; }
#terminal-container h2 { margin-top: 0; font-size: 1.2em; color: var(--text-secondary); }
#terminal { background-color: black; color: #00FF00; font-family: 'Roboto Mono', monospace; height: 200px; overflow-y: scroll; padding: 10px; border-radius: 4px; font-size: 0.9em; }
#terminal p { margin: 0 0 5px 0; word-break: break-all; }

.panels-container { display: flex; gap: 20px; align-items: flex-start; }
.panel { flex: 1; background-color: var(--primary-surface); padding: 20px; border-radius: 8px; }
.panel > h2 { margin-top: 0; color: var(--accent-color); padding-bottom: 10px; border-bottom: 1px solid var(--secondary-surface); }

.alerts-section { margin-top: 20px; }
.alerts-section h3 { margin-bottom: 10px; color: var(--text-secondary); }

.alerts-header { display: flex; font-weight: bold; color: var(--text-secondary); padding: 0 5px; margin-bottom: 10px; font-size: 0.9em; }

/* --- UPDATED ALERT ROW STYLE --- */
.alert-row {
    display: flex;
    align-items: center;
    padding: 12px 5px;
    border-radius: 5px;
    margin-bottom: 5px;
    animation: fadeIn 0.5s ease-in-out;
    background-color: var(--secondary-surface); /* A single color for all rows */
}

.cell { display: flex; align-items: center; padding-right: 10px; }
.cell.amount-usd { flex: 2; font-weight: bold; }
.cell.timestamp { flex: 3; }
.cell.tx-hash { flex: 2; }
.cell.tx-hash a { color: var(--accent-color); text-decoration: none; font-family: 'Roboto Mono', monospace; }

/* --- UPDATED ARROW STYLE --- */
.arrow {
    margin-right: 8px;
    color: var(--accent-color); /* A single color for all icons */
}
/* In static/style.css (add this at the end) */

.amount-crypto {
    font-size: 0.9em;
    font-weight: normal;
    color: var(--text-secondary);
    margin-left: 10px;
}
.chart-container { position: relative; height: 300px; width: 100%; margin-bottom: 20px; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.chart-view { display: none; }
.data-view { display: block; }

body.chart-mode .chart-view { display: block; }
body.chart-mode .data-view { display: none; }