/* 차트 컨트롤 스타일 */
.chart-controls {
    padding: 15px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-radius: 0 0 8px 8px;
    margin-bottom: 10px;
}

.date-range-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.date-input-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.date-input-group label {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
}

.date-input {
    padding: 6px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 14px;
    background: white;
    width: 140px;
}

.date-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.view-mode-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.view-mode-group label {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
}

.view-mode-select {
    padding: 6px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 14px;
    background: white;
    width: 100px;
    cursor: pointer;
}

.view-mode-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn-apply-date {
    padding: 8px 16px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    align-self: flex-end;
}

.btn-apply-date:hover {
    background: #2563eb;
}

.btn-apply-date:active {
    background: #1d4ed8;
}

.chart-period-buttons {
    display: flex;
    gap: 8px;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .date-range-picker {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .date-input,
    .view-mode-select {
        width: 100%;
    }
    
    .btn-apply-date {
        align-self: stretch;
    }
}