
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
h1 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.tab {
    padding: 8px 16px;
    border: 1px solid #d1d5db;
    cursor: pointer;
    border-radius: 5px;
    background-color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.tab.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}
.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}
.time-range {
    display: flex;
    gap: 15px;
}
.time-range button {
    padding: 5px 0;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 14px;
    color: #6b7280;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s ease, color 0.3s ease;
}
.time-range button.active {
    border-bottom: 2px solid #007bff;
    color: #000;
    font-weight: bold;
}
.date-picker {
    display: flex;
    gap: 10px;
    align-items: center;
}
.date-picker label {
    font-size: 14px;
    color: #6b7280;
}
.date-picker input {
    padding: 5px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}
.date-picker input:focus {
    border-color: #007bff;
    outline: none;
}
.change {
    font-size: 16px;
    font-weight: bold;
    color: #28a745;
}
.chart-container {
    width: 100%;
    height: 450px;
}
.table-container {
    width: 100%;
    display: none;
}
table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    border: 1px solid #e5e7eb;
    padding: 8px;
    text-align: center;
    font-size: 14px;
}
th {
    background-color: #f9fafb;
    font-weight: 500;
}
.view-options {
    display: flex;
    gap: 10px;
    position: absolute;
    right: 20px;
    top: 90px;
}
.view-options button {
    padding: 6px 12px;
    border: 1px solid #d1d5db;
    background-color: #fff;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
    color: #6b7280;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.view-options button.active {
    background-color: #e5f0ff;
    border-color: #007bff;
    color: #007bff;
}
.highcharts-navigator {
    height: 40px !important;
}
.highcharts-navigator-series {
    fill: #e5e7eb;
    stroke: #28a745;
}
.highcharts-navigator-handle {
    fill: #007bff;
    stroke: #007bff;
    width: 8px;
}
.highcharts-tooltip {
    font-family: Arial, sans-serif;
}
.tooltip-header {
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
}
.tooltip-date {
    text-align: center;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 5px;
}
.tooltip-divider {
    border-top: 1px solid #d1d5db;
    margin: 5px 0;
}
.tooltip-content {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}
.tooltip-label {
    color: #6b7280;
}
.tooltip-value {
    color: #28a745;
    font-weight: bold;
}