/* Стили для страницы графиков */
.content-area {
    padding: 20px;
    height: calc(100vh - 100px);
}

#chart-container {
    width: 100%;
    height: 100%;
    min-height: 600px;
    border: 1px solid var(--surface-600, #333);
    border-radius: 8px;
    background: var(--surface-900, #1a1a1a);
    position: relative;
}

/* Стили для скринера */
.screener-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--surface-800, #2a2a2a);
    border-radius: 8px;
    border: 1px solid var(--surface-600, #333);
}

.indicator-selector select {
    padding: 8px 12px;
    background: var(--surface-700, #333);
    border: 1px solid var(--surface-600, #444);
    border-radius: 4px;
    color: var(--text-color, #fff);
    font-size: 14px;
}

.screener-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface-800, #2a2a2a);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--surface-600, #333);
}

.screener-table th {
    background: var(--surface-700, #333);
    color: var(--text-color, #fff);
    padding: 12px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--surface-600, #444);
}

.screener-table td {
    padding: 12px;
    border-bottom: 1px solid var(--surface-600, #333);
    color: var(--text-color-secondary, #ccc);
}

.screener-table tr:hover {
    background: var(--surface-700, #333);
}

.screener-table .positive {
    color: #22c55e;
}

.screener-table .negative {
    color: #ef4444;
}

.screener-table button {
    background: var(--primary-color, #3b82f6);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.2s;
}

.screener-table button:hover {
    background: var(--primary-color-dark, #2563eb);
}

.loading {
    text-align: center;
    padding: 40px;
    color: var(--text-color-secondary, #ccc);
    font-size: 16px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .screener-controls {
        flex-direction: column;
        gap: 10px;
    }
    
    .screener-table {
        font-size: 14px;
    }
    
    .screener-table th,
    .screener-table td {
        padding: 8px;
    }
}