body { 
    font-family: system-ui, -apple-system, sans-serif; 
    background-color: #0a0a0a; 
    color: #e5e5e5; 
    margin: 0; 
    padding: 20px;
}

select, input {
    background: #111827;
    color: #e6e6e6;
    border: 1px solid #2b3648;
    border-radius: 6px;
    padding: 6px 8px;
    outline: none;
}

select:focus, input:focus {
    border-color: #73a4ff;
}

button {
    background: #1f2937;
    color: #e6e6e6;
    border: 1px solid #2b3648;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.15s ease;
}

button:hover {
    background: #2b3648;
}

.container { 
    max-width: 96%; 
    margin: 0 auto; 
}

h1 { 
    margin-bottom: 8px; 
}

.subtitle { 
    color: #888; 
    margin-bottom: 20px; 
}

#data-table {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
}

#chart-info {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #fff;
    font-family: monospace;
    font-size: 12px;
    line-height: 1.4;
    pointer-events: auto;
    z-index: 100;
}

.chart-info-series {
    cursor: pointer;
    z-index: 200;
}

.tabulator {
    background-color: #111111;
    border: 1px solid #333;
}

/* header */
.tabulator .tabulator-header {
    background-color: #1a1a1a;
    border-bottom: 1px solid #444;
}

.tabulator .tabulator-header .tabulator-col {
    background-color: #1a1a1a;
    color: #ddd;
}

.tabulator .tabulator-row {
    background-color: #111111;
    color: #e0e0e0;
}

.tabulator .tabulator-row.tabulator-row-even {
    background-color: #0d0d0d;
}

.tabulator .tabulator-row:hover {
    background-color: #1f1f1f;
}

.tabulator .tabulator-cell {
    font-family: 'Courier New', Courier, monospace;
}

.tabulator-cell[tabulator-field$="Price"],
.tabulator-cell[tabulator-field$="ATH"],
.tabulator-cell[tabulator-field^="SMA"],
.tabulator-cell[tabulator-field^="RSI"] {
    text-align: right;
}


.tabulator .tabulator-footer {
    background-color: #0f0f0f;
    border-top: 1px solid #333;
    color: #e5e5e5;
}

.tabulator .tabulator-page {
    background: #1f2937;
    color: #e5e5e5;
    border: 1px solid #2b3648;
    margin: 2px;
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.15s ease;
}

.tabulator .tabulator-page:hover {
    background: #2b3648;
}

.tabulator .tabulator-page.active {
    color: #ffffff;
    box-shadow: 0 0 8px rgba(79, 140, 255, 0.5);
}

.tabulator .tabulator-page:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.tabulator .tabulator-page-size {
    background: #111827;
    color: #e6e6e6;
    border: 1px solid #2b3648;
    border-radius: 6px;
}

.tabulator .tabulator-footer .tabulator-paginator {
    color: #e5e5e5;
}

.positive { 
    color: #22c55e; 
}

.negative { 
    color: #ef4444; 
}