/* --- Chart Containers --- */
.chart-box {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    height: 450px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.chart-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

/* Canvas Size */
canvas {
    width: 100% !important;
    height: 100% !important;
    max-height: 380px;
}

/* --- Date Picker Input --- */
.date-input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    width: 220px;
    font-size: 14px;
    color: #555;
    background-color: #fff;
    transition: all 0.2s;
}

.date-input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.1);
}

.chartTooltip {
    background: rgba(0,0,0,0.8);
    color: white;
    border-radius: 4px;
    padding: 8px;
    pointer-events: none;
    position: absolute;
    z-index: 100;
    font-size: 12px;
}