/* fc_finance_styles.css */
.finance-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    color: #ffffff;
    background-color: #0f1420;
}

.finance-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
    color: #e83e8c;
}

.finance-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #4fd1c5;
}

.chart-container {
    background-color: #1a202c;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

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

.finance-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #1a202c;
    border-radius: 8px;
    overflow: hidden;
}

.finance-table th,
.finance-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #2d3748;
}

.finance-table th {
    background-color: #2d3748;
    font-weight: bold;
    color: #4fd1c5;
}

.finance-table tr:hover {
    background-color: #2c3e50;
}

@media (max-width: 768px) {
    .finance-title {
        font-size: 2em;
    }

    .section-title {
        font-size: 1.5em;
    }

    .finance-table th,
    .finance-table td {
        padding: 8px;
        font-size: 0.8em;
    }
}

/* fc_finance_styles.css */

.finance-table td.positive {
    color: #4fd1c5; /* 양수 값 색상 */
}

.finance-table td.negative {
    color: #f56565; /* 음수 값 색상 */
}

.finance-table td, .finance-table th {
    padding: 12px;
    text-align: right; /* 숫자 데이터 오른쪽 정렬 */
}

.finance-table td:nth-child(2), .finance-table th:nth-child(2) {
    text-align: left; /* 종목명 왼쪽 정렬 */
}

@media (max-width: 768px) {
    .finance-table {
        font-size: 0.8em;
    }
    
    .finance-table td, .finance-table th {
        padding: 8px 4px;
    }
}

/* chart css */
/* fc_finance_styles.css */

.chart-section {
    background-color: #2c3e50;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 30px;
    width: 100%;
}

.section-title {
    font-size: 1.5em;
    color: #fff;
    margin-bottom: 20px;
}

.chart-container {
    width: 94%;
    height: 400px;
}

/* 차트 컴포넌트 색상 */
:root {
    --chart-background-color: #1E2028;
    --chart-grid-color: rgba(255, 255, 255, 0.1);
    --chart-font-color: #a0aec0;
    --chart-data-color-1: #ff69b4; /* Strength 색상 */
    --chart-data-color-2: #00bfff; /* Key Sum 색상 */
}

@media (max-width: 768px) {
    .chart-container {
        height: 300px;
    }
}
