.header-tab h1 strong {
    color: #f5a504;
}
#stock-industry {
    min-height: 80vh;
}
#stock-industry .nav-link {
    padding: 6px 10px;
    font-weight: 500;
    background-color: var(--bg-thead);
    color: var(--text-main);
    transition: color ease-in-out 0.3s;
}
#stock-industry .nav-link.active {
    background-color: #f5a504;
    color: #ffffff;
}
.financial-industry .item {
    font-weight: 500;
}
.financial-industry .item .title {
    color: var(--text-button-chart);
}
.financial-industry .item .value {
    color: var(--text-main);
}
#stock-industry table {
    margin-bottom: 0;
}
#stock-industry table thead {
    top: 0px;
    z-index: 10;
}
#stock-industry tr td.market-industry {
    font-weight: 500;
    text-align: left;
}
#stock-industry .box-result {
    overflow-x: auto;
    max-height: 100vh;
}
#stock-industry .box-result::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}
#stock-industry table td {
    min-width: 80px;
}
#stock-industry table td.market-industry, #stock-industry table td.market-symbol {
    position: sticky;
    left: 0px;
}
#stock-industry table td.market-industry {
    min-width: 180px;
}
#stock-industry table td.market-industry a {
    color: inherit;
    text-decoration: none;
}
#stock-industry table td.market-symbol {
    min-width: 100px;
    padding-left: 10px;
    padding-right: 10px;
}
#stock-industry table td.market-count {
    width: 86px;
    min-width: 86px;
}
#stock-industry table td.sort-col {
    cursor: pointer;
}
#stock-industry .chart-container .btn-chart {
    background-color: var(--bg-button-chart);
    position: absolute;
    top: 15px;
    padding: 3px;
    border-radius: 10px;
    z-index: 100;
}
#stock-industry .chart-container .btn-chart button {
    border: none;
    color: var(--text-button-chart);
    font-size: 14px;
    border-radius: 6px;
}
#stock-industry .chart-container .btn-chart button.active {
    background-color: var(--bg-box-white);
}
#stock-industry .chart-container .time-chart {
    right: 45px;
}
#stock-industry .chart-container .type-chart {
    left: 15px;
}
#valuation-chart, #finance-chart {
    background-color: var(--bg-box-white);
    width: 100%;
    height: 500px;
    border-radius: 6px;
}
.chart-container .save-chart {
    top: 15px;
}
@media (max-width: 768px) {
    #stock-industry table td.market-industry {
        padding-left: 10px;
        padding-right: 10px;
    }
    .financial-industry {
        justify-content: stretch;
    }
}
@media (max-width: 576px) {
    #stock-industry table td.market-industry {
        min-width: 140px;
    }
    #stock-industry table td.market-count {
        width: 66px;
        min-width: 66px;
    }
    .chart-container .caption p {
        font-size: 13px;
    }
}
@media (max-width: 480px) {
    .financial-industry .item, #stock-industry .nav-link {
        font-size: 15px;
    }
    #finance-chart {
        height: 400px;
    }
    #stock-industry .finance-chart .time-chart {
        top: 50px;
    }
}
/* Sức mạnh ngành - ERS heatmap */
#ers-strength .ers-period {
    background-color: var(--bg-button-chart);
    color: var(--text-main);
    padding: 5px 10px;
    border: none;
}
#ers-strength .ers-period.active {
    background-color: #f5a504;
    border-color: #f5a504;
    color: #ffffff;
}
#ers-strength .ers-period:not(.active):hover {
    background-color: var(--bg-box-indexs);
}
#ers-strength-content {
    background-color: var(--bg-box-white);
}
.table-ers-industry {
    width: 100%;
    max-height: 652px;
    overflow: auto;
}
.table-ers-industry::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}
.table-ers-industry thead {
    position: sticky;
    top: 0;
    z-index: 10;
}
.table-ers-industry thead td.sort-col-ers {
    cursor: pointer;
}
.table-ers-industry td {
    padding: 8px 6px;
    border: none;
    text-align: center;
    min-width: 50px;
}
.table-ers-industry td.market-industry,
.table-ers-industry td.market-symbol {
    position: sticky;
    left: 0;
    min-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
    border-bottom: 1px solid var(--border-soft);
    z-index: 5;
}
@media (max-width: 576px) {
    .table-ers-industry td.market-industry,
    .table-ers-industry td.market-symbol {
        min-width: 120px;
        max-width: 120px;
    }
}
.table-ers-industry td.tang-nhat {
    background-color: rgb(113 44 248);
    color: #ffffff !important;
}
.table-ers-industry td.tang-manh {
    background-color: rgb(113 44 248 / 80%);
    color: #ffffff !important;
}
.table-ers-industry td.tang-vua {
    background-color: rgb(38 168 78);
    color: #ffffff !important;
}
.table-ers-industry td.tang-nhe {
    background-color: rgb(38 168 78 / 80%);
    color: #ffffff !important;
}
.table-ers-industry td.khong-doi {
    background-color: #f1b63f;
    color: #ffffff !important;
}
.table-ers-industry td.giam-nhe {
    background-color: rgb(248 40 48 / 60%);
    color: #ffffff !important;
}
.table-ers-industry td.giam-vua {
    background-color: rgb(248 40 48 / 80%);
    color: #ffffff !important;
}
.table-ers-industry td.giam-manh {
    background-color: rgb(248 40 48);
    color: #ffffff !important;
}
.table-ers-industry td.no-data {
    background-color: #cccccc;
}
.table-ers-industry td:is(.tang-nhat, .tang-manh, .tang-vua, .tang-nhe, .khong-doi, .giam-nhe, .giam-vua, .giam-manh) {
    border: 1px solid var(--border-soft);
}

@media (max-width: 360px) {
    .financial-industry .item .title {
        font-size: 14px;
    }
    #stock-industry .chart-container .type-chart {
        left: 6px;
    }
    .chart-container .save-chart {
        right: 6px;
    }
    #stock-industry .chart-container .time-chart {
        right: 30px;
    }
}