.tab-container {
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}
.tab-button {
    padding: 5px 20px;
    border: none;
    background: none;
    cursor: pointer;
    color: #666;
    background-color: #f5f5f5;
    border-bottom: 2px solid #f5f5f5;
}
.tab-button.active {
    color: #0047AB;
    border-bottom-color: #0047AB;
}
.date-selector {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
th {
    background-color: #f8f9fa;
}
.metal-color {
    width: 12px;
    height: 12px;
    display: inline-block;
    border-radius: 50%;
    margin-right: 8px;
}
.metal-title {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    margin-bottom: 15px;
    border-top: 1px solid #ddd;
    text-align: right;
}
.metal-title b{color: #333;}
.chart-container {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}
.metal-filters {
    width: 180px;
    border-right: 1px solid #ddd;
    padding-right: 20px;

}
.metal-filter-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}
.metal-checkbox {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    cursor: pointer;
}
.metal-name {
    display: flex;
    align-items: center;
    font-family: Arial;
    color: #333;
}
.metal-price {
    margin-left: auto;
    font-family: Arial;
    color: #666;
}
.chart-wrapper {
    flex: 1;
}
.metal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}
.stats-container {
    margin-top: 20px;
    font-family: Arial;
    color: #666;
}

.canvasjs-chart-credit{display: none!important;}
#metalChart{height: 320px;}
#tableView{overflow: auto; max-height: 258px; margin-top: 20px;}
#tableView table{table-layout: fixed;margin: 0;}
#tableView th{color: #666;}
#tableView th,
#tableView td{text-align: center;}
#tableView .tr-top{position: sticky;top: 0;z-index: 1;}
#tableView .tr-top.b{position: sticky;top:41px;}

